Skip to content

designit

Blocking and Randomization for Experimental Design

v0.5.0 · Mar 21, 2024 · MIT + file LICENSE

Description

Intelligently assign samples to batches in order to reduce batch effects. Batch effects can have a significant impact on data analysis, especially when the assignment of samples to batches coincides with the contrast groups being studied. By defining a batch container and a scoring function that reflects the contrasts, this package allows users to assign samples in a way that minimizes the potential impact of batch effects on the comparison of interest. Among other functionality, we provide an implementation for OSAT score by Yan et al. (2012, <doi:10.1186/1471-2164-13-689>).

Downloads

CRAN

603

Last 30 days

5556th

1.9K

Last 90 days

8.7K

Last year

Trend: -3.1% (30d vs prior 30d)

r2u CRAN

10

Last 30 days

35

Last 90 days

147

Last year

Trend: -58.3% (30d vs prior 30d)

autoCRAN

5

Last 7 days

24

Last 30 days

3

All-time

autoCRAN-only: this name is served only by autoCRAN, so the count is exact.

CRAN Check Status

13 OK
Show all 13 flavors
Flavor Status
r-devel-linux-x86_64-debian-clang OK
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 History

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
ERROR r-devel-linux-x86_64-debian-gcc

examples

Running massageExamples to create ‘designit-Ex.R’ failed
Error in file(out, "wt") : cannot open the connection
Calls: <Anonymous> -> Rd2ex -> file
In addition: Warning message:
In file(out, "wt") :
  cannot open file '/tmp/Rtmp5gcs7o/file3fdba91b5606e2/L1_norm.R': No space left on device
Execution halted
 NONE
OK 12 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Apr 25, 2026
NOTE 12 OK · 2 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 10, 2026
NOTE r-oldrel-macos-arm64

package dependencies

Package suggested but not available for checking: ‘OSAT’
NOTE r-oldrel-macos-x86_64

package dependencies

Package suggested but not available for checking: ‘OSAT’

Dependency Network

Dependencies Reverse dependencies rlang dplyr purrr ggplot2 scales tibble tidyr assertthat stringr R6 data.table designit

Version History

1 tracked
new 0.5.0 Mar 10, 2026

R Observatory began tracking this package on Mar 10, 2026; it first appeared on CRAN Mar 21, 2024. Releases before tracking aren’t shown.