Package: fastrerandomize Title: Hardware-Accelerated Rerandomization for Improved Balance Version: 0.4 Authors@R: c(person(given = "Fucheng Warren", family = "Zhu", role = c("aut"), email = "wzhu@college.harvard.edu", comment = c(ORCID = "0009-0001-5692-7572")), person(given = "Aniket Sachin", family = "Kamat", role = "aut", email = "aniketkamat@berkeley.edu", comment = c(ORCID = "0009-0003-6411-1084")), person(given = "Connor", family = "Jerzak", role = c("aut", "cre"), email = "connor.jerzak@gmail.com", comment = c(ORCID = "0000-0003-1914-8905")), person(given = "Rebecca", family = "Goldstein", role = "aut", email = "rgoldstein@berkeley.edu", comment = c(ORCID = "0000-0002-9944-8440"))) Description: Provides hardware-accelerated tools for performing rerandomization and randomization testing in experimental research. Using a 'JAX' backend, the package enables exact rerandomization inference even for large experiments with hundreds of billions of possible randomizations. Key functionalities include generating pools of acceptable rerandomizations based on covariate balance, conducting exact randomization tests, and performing pre-analysis evaluations to determine optimal rerandomization acceptance thresholds. The package supports various hardware acceleration frameworks including 'CPU', 'CUDA', and 'METAL', making it versatile across accelerated computing environments. This allows researchers to efficiently implement stringent rerandomization designs and conduct valid inference even with large sample sizes. The package is partly based on Jerzak and Goldstein (2023) . URL: https://github.com/cjerzak/fastrerandomize-software BugReports: https://github.com/cjerzak/fastrerandomize-software/issues Depends: R (>= 3.5.0) License: GPL-3 Encoding: UTF-8 LazyData: false Imports: reticulate, assertthat, utils, stats, graphics Suggests: knitr, rmarkdown, testthat (>= 3.0.0) Config/testthat/edition: 3 VignetteBuilder: knitr Config/roxygen2/version: 8.0.0 Config/pak/sysreqs: libpng-dev python3 Repository: https://cjerzak.r-universe.dev Date/Publication: 2026-07-12 12:39:33 UTC RemoteUrl: https://github.com/cjerzak/fastrerandomize-software RemoteRef: HEAD RemoteSha: 4bcfd86c55749e5a3349fba36519963c3fe95148 RemoteSubdir: fastrerandomize NeedsCompilation: no Packaged: 2026-07-12 14:16:23 UTC; root Author: Fucheng Warren Zhu [aut] (ORCID: ), Aniket Sachin Kamat [aut] (ORCID: ), Connor Jerzak [aut, cre] (ORCID: ), Rebecca Goldstein [aut] (ORCID: ) Maintainer: Connor Jerzak