Description
Functions to design and apply tests that are anytime valid. The functions can be used to design hypothesis tests in the prospective/randomised control trial setting or in the observational/retrospective setting. The resulting tests remain valid under both optional stopping and optional continuation. The current version includes safe t-tests and safe tests of two proportions. For details on the theory of safe tests, see Grunwald, de Heide and Koolen (2019) "Safe Testing" <arXiv:1906.07801>, for details on safe logrank tests see ter Schure, Perez-Ortiz, Ly and Grunwald (2020) "The Safe Logrank Test: Error Control under Continuous Monitoring with Unlimited Horizon" <arXiv:2011.06931v3> and Turner, Ly and Grunwald (2021) "Safe Tests and Always-Valid Confidence Intervals for contingency tables and beyond" <arXiv:2106.02693> for details on safe contingency table tests.
Downloads
242
Last 30 days
13302nd
242
Last 90 days
242
Last year
CRAN Check Status
Show all 14 flavors
| Flavor | Status |
|---|---|
| r-devel-linux-x86_64-debian-clang | NOTE |
| r-devel-linux-x86_64-debian-gcc | NOTE |
| r-devel-linux-x86_64-fedora-clang | OK |
| r-devel-linux-x86_64-fedora-gcc | OK |
| r-devel-macos-arm64 | OK |
| r-devel-windows-x86_64 | OK |
| r-oldrel-macos-arm64 | OK |
| r-oldrel-macos-x86_64 | OK |
| r-oldrel-windows-x86_64 | OK |
| r-patched-linux-x86_64 | OK |
| r-release-linux-x86_64 | OK |
| r-release-macos-arm64 | OK |
| r-release-macos-x86_64 | OK |
| r-release-windows-x86_64 | OK |
Check details (14 non-OK)
CRAN incoming feasibility
Maintainer: ‘Alexander Ly <a.ly@jasp-stats.org>’ The Description field contains (2019) "Safe Testing" <arXiv:1906.07801>, for details on safe logrank Horizon" <arXiv:2011.06931v3> and Turner, Ly and Grunwald (2021) "Safe beyond" <arXiv:2106.02693> for details on safe contingency table tests. Please refer to arXiv e-prints via their arXiv DOI <doi:10.48550/arXiv.YYMM.NNNNN>.
CRAN incoming feasibility
Maintainer: ‘Alexander Ly <a.ly@jasp-stats.org>’ The Description field contains (2019) "Safe Testing" <arXiv:1906.07801>, for details on safe logrank Horizon" <arXiv:2011.06931v3> and Turner, Ly and Grunwald (2021) "Safe beyond" <arXiv:2106.02693> for details on safe contingency table tests. Please refer to arXiv e-prints via their arXiv DOI <doi:10.48550/arXiv.YYMM.NNNNN>.
*
*
*
*
*
*
*
*
*
*
*
*
Check History
NOTE 12 OK · 2 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 9, 2026
CRAN incoming feasibility
Maintainer: ‘Alexander Ly <a.ly@jasp-stats.org>’ The Description field contains (2019) "Safe Testing" <arXiv:1906.07801>, for details on safe logrank Horizon" <arXiv:2011.06931v3> and Turner, Ly and Grunwald (2021) "Safe beyond" <arXiv:2106.02693> for details on safe contingency table tests. Please refer to arXiv e-prints via their arXiv DOI <doi:10.48550/arXiv.YYMM.NNNNN>.
CRAN incoming feasibility
Maintainer: ‘Alexander Ly <a.ly@jasp-stats.org>’ The Description field contains (2019) "Safe Testing" <arXiv:1906.07801>, for details on safe logrank Horizon" <arXiv:2011.06931v3> and Turner, Ly and Grunwald (2021) "Safe beyond" <arXiv:2106.02693> for details on safe contingency table tests. Please refer to arXiv e-prints via their arXiv DOI <doi:10.48550/arXiv.YYMM.NNNNN>.