Package: ustats
Type: Package
Title: R Interface to Python Tools for Computing Higher-Order
U-Statistics
Version: 0.1.5
Authors@R: c(
person("Xingyu", "Chen",
email = "xingyuchen0714@sjtu.edu.cn",
role = c("aut", "cre")),
person("Ruiqi", "Zhang",
email = "zrq1706@outlook.com",
role = "aut"),
person("Lin", "Liu",
email = "linliu@sjtu.edu.cn",
role = "aut")
)
Description: Provides an R interface to the Python package 'u-stats'
for efficient computation
of higher-order U-statistics using Einstein summation notation,
implementing the methods of Chen, Zhang, and Liu (2025)
. The package automatically
converts R objects to 'NumPy' or 'PyTorch' tensors via
'reticulate' and supports GPU acceleration when 'PyTorch' with
'CUDA' is available. Python dependencies are declared via
'reticulate' and can be installed automatically on first use.
Designed for large-scale statistical estimation where numerical
stability and performance are critical.
License: MIT + file LICENSE
Encoding: UTF-8
Imports: reticulate (>= 1.41)
SystemRequirements: Python (>= 3.11); Python packages: u-stats, numpy,
torch (installed automatically on first use, or via
setup_ustats())
Config/reticulate: packages: - u-stats - numpy - torch
Suggests: knitr, rmarkdown, rstudioapi, testthat (>= 3.0.0)
VignetteBuilder: knitr
Roxygen: list(markdown = TRUE)
RoxygenNote: 7.3.3
Config/testthat/edition: 3
URL: https://cxy0714.github.io/U-Statistics-R/,
https://github.com/cxy0714/U-Statistics-R,
https://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: 2026-11-16 09:34:39 UTC; root
Author: Xingyu Chen [aut, cre],
Ruiqi Zhang [aut],
Lin Liu [aut]
Maintainer: Xingyu Chen