{
  "_id": "6a344a733efcd9bda43c25e8",
  "Package": "ustats",
  "Type": "Package",
  "Title": "R Interface to Python Tools for Computing Higher-Order\nU-Statistics",
  "Version": "0.1.5",
  "Authors@R": "c(\nperson(\"Xingyu\", \"Chen\",\nemail = \"xingyuchen0714@sjtu.edu.cn\",\nrole = c(\"aut\", \"cre\")),\nperson(\"Ruiqi\", \"Zhang\",\nemail = \"zrq1706@outlook.com\",\nrole = \"aut\"),\nperson(\"Lin\", \"Liu\",\nemail = \"linliu@sjtu.edu.cn\",\nrole = \"aut\")\n)",
  "Description": "Provides an R interface to the Python package 'u-stats'\n<https://pypi.org/project/u-stats/> for efficient computation\nof higher-order U-statistics using Einstein summation notation,\nimplementing the methods of Chen, Zhang, and Liu (2025)\n<doi:10.48550/arXiv.2508.12627>. The package automatically\nconverts R objects to 'NumPy' or 'PyTorch' tensors via\n'reticulate' and supports GPU acceleration when 'PyTorch' with\n'CUDA' is available. Python dependencies are declared via\n'reticulate' and can be installed automatically on first use.\nDesigned for large-scale statistical estimation where numerical\nstability and performance are critical.",
  "License": "MIT + file LICENSE",
  "Encoding": "UTF-8",
  "SystemRequirements": "Python (>= 3.11); Python packages: u-stats, numpy,\ntorch (installed automatically on first use, or via\nsetup_ustats())",
  "Config/reticulate": "packages: - u-stats - numpy - torch",
  "VignetteBuilder": "knitr",
  "RoxygenNote": "7.3.3",
  "Config/testthat/edition": "3",
  "URL": "https://github.com/cxy0714/U-Statistics-R,\nhttps://pypi.org/project/u-stats/",
  "BugReports": "https://github.com/cxy0714/U-Statistics-R/issues",
  "Language": "en-US",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-06-18 19:40:45 UTC",
    "User": "root"
  },
  "Author": "Xingyu Chen [aut, cre], Ruiqi Zhang [aut], Lin Liu [aut]",
  "Maintainer": "Xingyu Chen <xingyuchen0714@sjtu.edu.cn>",
  "Config/pak/sysreqs": "python3",
  "Repository": "https://cran.r-universe.dev",
  "Date/Publication": "2026-06-18 17:37:00 UTC",
  "RemoteUrl": "https://github.com/cran/ustats",
  "RemoteRef": "HEAD",
  "RemoteSha": "1c62f1267ff1c1bcf2aeb362cd0407108982a5c1",
  "MD5sum": "31588e71980cd8c31e5353f324531607",
  "_user": "cran",
  "_type": "src",
  "_file": "ustats_0.1.5.tar.gz",
  "_fileid": "763b89f08538de1a44e95756877b4408dc81a34bd8e90e133e57210577cb595c",
  "_filesize": 110141,
  "_sha256": "763b89f08538de1a44e95756877b4408dc81a34bd8e90e133e57210577cb595c",
  "_created": "2026-06-18T19:40:45.000Z",
  "_published": "2026-06-18T19:43:47.684Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 82218605438,
      "time": 119,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7734005665"
    },
    {
      "job": 82218605426,
      "time": 146,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7734014841"
    },
    {
      "job": 82218047746,
      "time": 173,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7733961416"
    },
    {
      "job": 82218605421,
      "time": 112,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7734003210"
    }
  ],
  "_buildurl": "https://github.com/r-universe/cran/actions/runs/27784612004",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/cran/ustats",
  "_commit": {
    "id": "1c62f1267ff1c1bcf2aeb362cd0407108982a5c1",
    "author": "Xingyu Chen <xingyuchen0714@sjtu.edu.cn>",
    "committer": "cran-robot <csardi.gabor+cran@gmail.com>",
    "message": "version 0.1.5\n",
    "time": 1781804220
  },
  "_maintainer": {
    "name": "Xingyu Chen",
    "email": "xingyuchen0714@sjtu.edu.cn",
    "login": "cxy0714",
    "uuid": 111479614
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "reticulate",
      "version": ">= 1.41",
      "role": "Imports"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "rstudioapi",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    }
  ],
  "_owner": "cran",
  "_selfowned": false,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2026-25",
      "n": 1
    }
  ],
  "_tags": [
    {
      "name": "0.1.5",
      "date": "2026-06-18"
    }
  ],
  "_stars": 0,
  "_contributors": [
    {
      "user": "cxy0714",
      "count": 1,
      "uuid": 111479614
    }
  ],
  "_userbio": {
    "uuid": 6899542,
    "type": "organization",
    "name": "cran",
    "followers": 610,
    "description": "Unofficial read-only mirror of all CRAN R packages"
  },
  "_downloads": {
    "count": 0,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/ustats"
  },
  "_devurl": "https://github.com/cxy0714/u-statistics-r",
  "_searchresults": 6,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/ustats.html",
    "LICENSE",
    "manual.pdf"
  ],
  "_cranurl": false,
  "_releases": [
    {
      "version": "0.1.5",
      "date": "2026-06-18"
    }
  ],
  "_exports": [
    "check_ustats_setup",
    "setup_ustats",
    "ustat"
  ],
  "_help": [
    {
      "page": "check_ustats_setup",
      "title": "Check ustats Python Environment Status",
      "topics": [
        "check_ustats_setup"
      ]
    },
    {
      "page": "setup_ustats",
      "title": "Set Up Python Environment for ustats",
      "topics": [
        "setup_ustats"
      ]
    },
    {
      "page": "ustat",
      "title": "Compute a Higher-Order U-Statistic via Python",
      "topics": [
        "ustat"
      ]
    }
  ],
  "_rundeps": [
    "here",
    "jsonlite",
    "lattice",
    "Matrix",
    "png",
    "rappdirs",
    "Rcpp",
    "RcppTOML",
    "reticulate",
    "rlang",
    "rprojroot",
    "withr"
  ],
  "_vignettes": [
    {
      "source": "ustats.Rmd",
      "filename": "ustats.html",
      "title": "Getting started with ustats",
      "engine": "knitr::rmarkdown",
      "headings": [
        "TL;DR",
        "How the Python environment is resolved",
        "Option 1: automatic (recommended)",
        "Option 2: a persistent environment with setup_ustats()",
        "Option 3: bring your own environment",
        "Verifying the setup",
        "Computing U-statistics",
        "GPU acceleration",
        "Troubleshooting"
      ],
      "created": "2026-06-18 17:37:00",
      "modified": "2026-06-18 17:37:00",
      "commits": 1
    }
  ],
  "_score": 2,
  "_indexed": false,
  "_nocasepkg": "ustats",
  "_universes": [
    "cran",
    "cxy0714"
  ],
  "_indexurl": "https://cxy0714.r-universe.dev/ustats",
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.1.5",
      "date": "2026-06-18T19:42:40.000Z",
      "distro": "noble",
      "commit": "1c62f1267ff1c1bcf2aeb362cd0407108982a5c1",
      "fileid": "b962013da5cf3761d3f1ec5ae702c850c4675ccd22f81d0d8b6fc79e3a7075c0",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/27784612004"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.1.5",
      "date": "2026-06-18T19:42:58.000Z",
      "distro": "noble",
      "commit": "1c62f1267ff1c1bcf2aeb362cd0407108982a5c1",
      "fileid": "90584edbd1c91e68f200bb19b3ad768d92696f3e214cde42707872f6138e1a9a",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/27784612004"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.1.5",
      "date": "2026-06-18T19:42:57.000Z",
      "commit": "1c62f1267ff1c1bcf2aeb362cd0407108982a5c1",
      "fileid": "c42844641af839d1f27b15ee5228de2f298e006fbf69a0602623c07b0ac32a4b",
      "status": "success",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/27784612004"
    }
  ]
}