Description
Provides randomization using permutation for applications. To provide a Quality Control (QC) check, QC samples can be randomized within strata. A second function allows for the ability to ”switch” samples to meet set requirements and perform a certain amount of minimization on these switches. The functions are flexible for users by specifying strata size and number of QC samples per strata. The randomization meets the following requirements • QC sample requirements: QC samples not adjacent, QC samples from same mother must follow certain patterns. • Matched sample sets must be within a single strata, and next to each other.
Downloads
180
Last 30 days
23004th
526
Last 90 days
1.5K
Last year
Trend: +45.2% (30d vs prior 30d)
CRAN Check Status
Show all 13 flavors
| Flavor | Status |
|---|---|
| r-devel-linux-x86_64-debian-clang | ERROR |
| r-devel-linux-x86_64-debian-gcc | OK |
| r-devel-linux-x86_64-fedora-clang | OK |
| r-devel-linux-x86_64-fedora-gcc | 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 (1 non-OK)
re-building of vignette outputs
Error(s) in re-building vignettes:
...
--- re-building ‘BatchProc.Rmd’ using rmarkdown
Quitting from BatchProc.Rmd:234-236 [switchR]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
<error/rlang_error>
Error in `switchR()`:
! Function does not converge.
---
Backtrace:
▆
1. └─permRand::switchR(...)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Error: processing vignette 'BatchProc.Rmd' failed with diagnostics:
Function does not converge.
--- failed re-building ‘BatchProc.Rmd’
SUMMARY: processing the following file failed:
‘BatchProc.Rmd’
Error: Vignette re-building failed.
Execution halted
Check History
ERROR 12 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE Jun 24, 2026
re-building of vignette outputs
Error(s) in re-building vignettes: ... --- re-building ‘BatchProc.Rmd’ using rmarkdown Quitting from BatchProc.Rmd:234-236 [switchR] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ <error/rlang_error> Error in `swi ...[truncated]... r: processing vignette 'BatchProc.Rmd' failed with diagnostics: Function does not converge. --- failed re-building ‘BatchProc.Rmd’ SUMMARY: processing the following file failed: ‘BatchProc.Rmd’ Error: Vignette re-building failed. Execution halted
OK 13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Jun 9, 2026
ERROR 12 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE Jun 8, 2026
whether package can be installed
Installation failed. See ‘/home/hornik/tmp/R.check/r-devel-gcc/Work/PKGS/permRand.Rcheck/00install.out’ for details.
OK 14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Apr 14, 2026
ERROR 13 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE Apr 13, 2026
re-building of vignette outputs
Error(s) in re-building vignettes: ... --- re-building ‘BatchProc.Rmd’ using rmarkdown Quitting from BatchProc.Rmd:234-236 [switchR] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ <error/rlang_error> Error in `swi ...[truncated]... r: processing vignette 'BatchProc.Rmd' failed with diagnostics: Function does not converge. --- failed re-building ‘BatchProc.Rmd’ SUMMARY: processing the following file failed: ‘BatchProc.Rmd’ Error: Vignette re-building failed. Execution halted
OK 14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 10, 2026
Dependency Network
Version History
1 trackedR Observatory began tracking this package on Mar 10, 2026; it first appeared on CRAN Sep 3, 2025. Releases before tracking aren’t shown.