{
  "_id": "6a350ebd3efcd9bda43de1f7",
  "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",
  "Roxygen": "list(markdown = TRUE)",
  "RoxygenNote": "7.3.3",
  "Config/testthat/edition": "3",
  "URL": "https://cxy0714.github.io/U-Statistics-R/,\nhttps://github.com/cxy0714/U-Statistics-R,\nhttps://pypi.org/project/u-stats/",
  "BugReports": "https://github.com/cxy0714/U-Statistics-R/issues",
  "Language": "en-US",
  "Config/pak/sysreqs": "libpng-dev python3",
  "Repository": "https://cxy0714.r-universe.dev",
  "Date/Publication": "2026-06-19 08:48:20 UTC",
  "RemoteUrl": "https://github.com/cxy0714/u-statistics-r",
  "RemoteRef": "HEAD",
  "RemoteSha": "cf40c189a684b710c40ed3c9bbfc90c58b205bd1",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-06-19 09:26:40 UTC",
    "User": "root"
  },
  "Author": "Xingyu Chen [aut, cre],\nRuiqi Zhang [aut],\nLin Liu [aut]",
  "Maintainer": "Xingyu Chen <xingyuchen0714@sjtu.edu.cn>",
  "MD5sum": "8055662bdebb77f5ce5668235eb9b5c2",
  "_user": "cxy0714",
  "_type": "src",
  "_file": "ustats_0.1.5.tar.gz",
  "_fileid": "bfeda7be68a088f878dd71f051bd1ff79f4c6340ab0efb7e2281cf8aa7d35edc",
  "_filesize": 114828,
  "_sha256": "bfeda7be68a088f878dd71f051bd1ff79f4c6340ab0efb7e2281cf8aa7d35edc",
  "_created": "2026-06-19T09:26:40.000Z",
  "_published": "2026-06-19T09:41:17.157Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 82321960266,
      "time": 136,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7746319125"
    },
    {
      "job": 82321960251,
      "time": 138,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7746319793"
    },
    {
      "job": 82321960263,
      "time": 200,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7746542853"
    },
    {
      "job": 82321960296,
      "time": 175,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7746549059"
    },
    {
      "job": 82321531093,
      "time": 160,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7746272693"
    },
    {
      "job": 82321960278,
      "time": 93,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7746304491"
    },
    {
      "job": 82321960319,
      "time": 143,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7746321341"
    },
    {
      "job": 82321960293,
      "time": 80,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7746300333"
    },
    {
      "job": 82321960307,
      "time": 95,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7746305475"
    }
  ],
  "_buildurl": "https://github.com/r-universe/cxy0714/actions/runs/27817263681",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/cxy0714/u-statistics-r",
  "_commit": {
    "id": "cf40c189a684b710c40ed3c9bbfc90c58b205bd1",
    "author": "Claude <noreply@anthropic.com>",
    "committer": "Claude <noreply@anthropic.com>",
    "message": "docs: add CITATION, package-level help page, and pkgdown site\n\n- inst/CITATION: citation(\"ustats\") now returns both the methods paper\n  (Chen, Zhang & Liu 2025, arXiv:2508.12627) and the package reference.\n- R/ustats-package.R + man/ustats-package.Rd: package-level help page,\n  accessible via ?ustats (generated with roxygen2).\n- _pkgdown.yml + .github/workflows/pkgdown.yaml: pkgdown documentation\n  site deployed to the gh-pages branch; site URL added to DESCRIPTION\n  and ignored in the build tarball and git.\n- NEWS.md: note the new CITATION file and package help page.\n\nCo-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>\nClaude-Session: https://claude.ai/code/session_01PKUeqwVrrF11hPex2BWMgJ\n",
    "time": 1781858900
  },
  "_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": "cxy0714",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2026-05",
      "n": 5
    },
    {
      "week": "2026-12",
      "n": 19
    },
    {
      "week": "2026-24",
      "n": 4
    },
    {
      "week": "2026-25",
      "n": 5
    }
  ],
  "_tags": [
    {
      "name": "v0.1.5",
      "date": "2026-06-19"
    }
  ],
  "_topics": [
    "einsum",
    "statistics",
    "u-statistics",
    "ustats-r"
  ],
  "_stars": 2,
  "_contributors": [
    {
      "user": "cxy0714",
      "count": 24,
      "uuid": 111479614
    },
    {
      "user": "claude",
      "count": 9,
      "uuid": 81847
    }
  ],
  "_userbio": {
    "uuid": 111479614,
    "type": "user",
    "name": "Xingyu Chen  0714",
    "followers": 23,
    "description": "a third-year Ph.D. candidate in Statistics at Shanghai Jiao Tong University."
  },
  "_downloads": {
    "count": 0,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/ustats"
  },
  "_devurl": "https://github.com/cxy0714/u-statistics-r",
  "_pkgdown": "https://cxy0714.github.io/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/readme.html",
    "extra/readme.md",
    "extra/ustats.html",
    "LICENSE",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/cxy0714/u-statistics-r",
  "_realowner": "cxy0714",
  "_cranurl": true,
  "_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"
      ]
    }
  ],
  "_readme": "https://github.com/cxy0714/u-statistics-r/raw/HEAD/README.md",
  "_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": [
        "Quick start",
        "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-10 13:39:35",
      "modified": "2026-06-19 03:12:17",
      "commits": 3
    }
  ],
  "_score": 4.6020599913279625,
  "_indexed": true,
  "_nocasepkg": "ustats",
  "_universes": [
    "cxy0714"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.1.5",
      "date": "2026-06-19T09:28:41.000Z",
      "distro": "noble",
      "commit": "cf40c189a684b710c40ed3c9bbfc90c58b205bd1",
      "fileid": "b9e38fc17515c69419028627850a30ef4e7738b0a271bdb3731be438b7ea0440",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cxy0714/actions/runs/27817263681"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.1.5",
      "date": "2026-06-19T09:28:41.000Z",
      "distro": "noble",
      "commit": "cf40c189a684b710c40ed3c9bbfc90c58b205bd1",
      "fileid": "87bcc67815a08e0e174f23e0d9e83990813bf4c97e8e96e5539d7be00755f324",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cxy0714/actions/runs/27817263681"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.1.5",
      "date": "2026-06-19T09:39:43.000Z",
      "commit": "cf40c189a684b710c40ed3c9bbfc90c58b205bd1",
      "fileid": "c034201f42cb1abf67bedb00aca07b92f0cb855bded85a1a375f08a5b5c52206",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cxy0714/actions/runs/27817263681"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.1.5",
      "date": "2026-06-19T09:40:04.000Z",
      "commit": "cf40c189a684b710c40ed3c9bbfc90c58b205bd1",
      "fileid": "b7c04c5ebd480a69131d38f401e8d4013dc972dc7ed90dae3d6b1dcee5ef369e",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cxy0714/actions/runs/27817263681"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.1.5",
      "date": "2026-06-19T09:28:27.000Z",
      "commit": "cf40c189a684b710c40ed3c9bbfc90c58b205bd1",
      "fileid": "fd299bdc9d7cd449e0b1c938c25d7cab3438c6f029bb2d8d171e00fa8248e0db",
      "status": "success",
      "buildurl": "https://github.com/r-universe/cxy0714/actions/runs/27817263681"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.1.5",
      "date": "2026-06-19T09:28:40.000Z",
      "commit": "cf40c189a684b710c40ed3c9bbfc90c58b205bd1",
      "fileid": "1ade882e1a64e6e7e9bd6796d70c4a130c37ec4baaacbe691570698bf883f9ad",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cxy0714/actions/runs/27817263681"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.1.5",
      "date": "2026-06-19T09:27:42.000Z",
      "commit": "cf40c189a684b710c40ed3c9bbfc90c58b205bd1",
      "fileid": "7a3d2ac4fc28e1fefbfd02dfc2a361cc86e354c8ed6ca579b24c8f6f0a06293a",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cxy0714/actions/runs/27817263681"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "0.1.5",
      "date": "2026-06-19T09:27:56.000Z",
      "commit": "cf40c189a684b710c40ed3c9bbfc90c58b205bd1",
      "fileid": "89ffe758e7588b2f65597865b74a70a4986a54d319af247f3a4dbb6fdb121ee2",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cxy0714/actions/runs/27817263681"
    }
  ]
}