Changelog
Source:NEWS.md
ustats (development version)
- Added a
CITATIONfile:citation("ustats")now returns both the package reference and the paper describing the implemented methods (Chen, Zhang, and Liu, 2025, doi:10.48550/arXiv.2508.12627). - Added a package-level help page, accessible via
?ustatsorpackage?ustats, summarising the package and linking to its documentation site.
ustats 0.1.5
CRAN release: 2026-06-18
- The DESCRIPTION now cites the paper describing the implemented methods: Chen, Zhang, and Liu (2025) doi:10.48550/arXiv.2508.12627.
-
setup_ustats(persist = TRUE)no longer offers to write to the project.Rprofile. It now only prints theRETICULATE_PYTHONline for the user to add manually, so the package never writes to the user’s file space (CRAN policy).
ustats 0.1.4
Python environment handling
- Python dependencies (u-stats, numpy, torch) are now declared with
reticulate::py_require()in.onLoad(). With reticulate (>= 1.41) they are provisioned automatically in a cached environment on first use, so most users need no manual setup at all. reticulate (>= 1.41) is now required. -
setup_ustats()gains agpuargument. By default (gpu = FALSE) the much smaller CPU-only PyTorch build is installed from the official PyTorch wheel index;gpu = TRUEinstalls the default PyPI build (CUDA-enabled on Linux). -
check_ustats_setup()now reports the detected PyTorch version and whether CUDA is available, and prints actionable installation hints when something is missing. - Added a “Getting started” vignette with a complete installation guide (automatic setup,
setup_ustats(), and bring-your-own-environment) and troubleshooting tips; the README installation section was rewritten accordingly.
Bug fixes
-
setup_ustats()now invisibly returnsTRUE/FALSEas documented (it previously returnedNULLbecause the persistence step was unreachable dead code placed after the return value). - Fixed a duplicated “Description:” prefix in the DESCRIPTION file.