Skip to content

designit

0.5.1Package record

Blocking and Randomization for Experimental Design

0packages depend
8.4Kdownloads / year
46.0%test coverage
13/13flavors OK

Overview

About
Maintained by Iakov I. DavydovCRAN page ↗GitHub ↗Website ↗Issues ↗Declared funder: F. Hoffman-La Roche

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).

Changes in 0.5.1
  • fix test failure on R-devel. RNGkind() gained a fourth component, binom.kind, in R 4.7.0 (r90299, 2026-07-25, "fix 2 signs in formula of the BTPE algorithm for rbinom(); add RNGkind(binom.kind=*)"). The tests no longer assert that it has exactly three elements. BatchContainer traces already stored RNGkind() verbatim, so no user-visible behaviour changed.
  • examples, tests and vignettes now call data.table::setDTthreads(2), to avoid CPU time issues on CRAN check machines. This affects package checks only, not normal use.
  • optimize_multi_plate_design() now passes p = 1 and penalize_lines = "none" to the within-plate scoring functions.
  • new vignette showing how batch effects produce false positives.
  • basic_examples vignette updated to the current $move_samples() syntax and a more designit-centric workflow.

From NEWS.md in the release

Install

Health

CRAN checks
13OK
Slowest check: 12.9 min · r-devel-linux-x86_64-debian-clang
Status changes
  • OK13 OK2026-09-09
  • ERROR10 OK, 3 ERROR2026-07-27
  • OK13 OK2026-06-09
  • ERROR12 OK, 1 ERROR2026-06-08
  • OK12 OK2026-04-25
Show 1 earlier changeHide 1 earlier change
  • NOTE12 OK, 2 NOTE2026-03-10
Advisories

none known

Documentation

In release 0.5.1
READMEYes · 165 wordsVignettesYes · 10 · dynamicNEWSYes · 100% structured · mentions 0.5.1Citation fileNoWebsiteYes · pkgdown
Help pages
57 (18 internal)includes a package overview page
Examples that run
100%20 run in a plain check
Exported functions with examples
63%
Documented parameters
96%
Return-value docs
91%
Help pages citing references
0%

Downloads

8.4K
CRAN downloads in the past year
Rank #4,306 · ~23/day · ~703/mo
Daily download trend is not available in this view yet.
1K30 days
2K90 days
8.4K1 year
Compare downloads with other packages →
Also on110 r2u13 autocran

Repository

9Stars
1Forks
15Open issues
6Open PRs
0Releases
205Commits
7Commit identities
rstatsdesign-of-experimentsrandomization
205 commits · Last activity 2026-09-03 · 0% stars, 30d
Responsiveness
How these are sampled
PRs merged (all time)
92%
Median days to close, 50 most recently updated closed issues
102
Median days to close, 50 most recently updated closed PRs
0

Stars over time

2025-06-18 · 72026-07-07 · 9
PracticesBeta

10 development-tooling and community-health practices detected across 5 families in the upstream repository

Checks run against github.com/bedapub/designit on 2026-10-11.

Continuous integration (2)
GitHub ActionsR CMD check workflow

The R CMD check workflow runs on Linux, macOS and Windows, and on R-devel

Governance and community (2)
Code of conductIssue templates
Docs source (4)
README.Rmdpkgdown

GitHub Pages site last deployed 2026-09-03 · The repository has a site deploy workflow

pkgdown site last built 2026-09-03

CRAN release process (1)
cran-comments.md
Show all practicesHide 1 practice
Lint, format, editor (1)
RStudio project
How this is detected·Detection ruleset v3 (2026-09-26)
AI coding toolsBeta

This repository shows signs of AI coding tools.

  • Claude Codefirst seen on or before 2026-09-01
    Commits: at least 2 crediting it in the message
Models named in its commits
  • Claude Opus 52 commits · Sep 2026
Counts are commits, not lines of code. Commits by a tool's accounts count once across all of its accounts. Commits crediting it are the largest count among its credit lines, a minimum.How this is detected·Detection ruleset v4 (updated 2026-09-27)

Dependencies

Declared dependencies
27 external dependencies (excludes base and recommended)

Installing designit adds 31 packages (16 with compiled code, 34 MB of source tarballs). Heaviest: stringi 11 MB, ggplot2 6.0 MB, data.table 5.7 MB.

Depends (1)
R >= 4.1.0
LinkingTo (0)
none
Enhances (0)
none
Reverse dependencies
0direct
0indirect

Nothing depends on this yet.

Datasets

People & History

People (7)
Author, Maintainer since 0.5.0 (2024), Copyright holder
Author, Copyright holder
Author, Copyright holder
Author, Copyright holder
Author, Copyright holder
Contributor
Copyright holder, Funder
Listed in earlier versions (1)
no longer listed · 0.5.0 to 0.5.1
Releases (2)

Pick two releases to compare their code metrics.

  • 0.5.1Latest
    record
    2026-09-03 · current release · diff ↗
  • R
    R 4.6.0 released · 2026-04-24
  • R
    R 4.5.0 released · 2025-04-11
  • R
    R 4.4.0 released · 2024-04-24
  • 0.5.0
    record
    2024-03-21
  • R
    R 4.3.0 released · 2023-04-21

Package metadata

First published
2024-03-21
Total releases
2 / 2 yrs
License
MIT + file LICENSE OSI
Minimum R
≥ 4.1.0
Bundled data
4.0 KB / 5 files
Download size
4.6 MB

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("designit")
Davydov, I. I., F. Hoffman-La Roche, Banfai, B., Rudolph, K., Siebourg-Polster, J., Steiner, G., & Zhang, J. D. (2026). designit: Blocking and Randomization for Experimental Design (Version 0.5.1) [Computer software]. https://doi.org/10.32614/CRAN.package.designit

This package has no citation file, so citation() returns this entry built from DESCRIPTION.

Cite the R Observatory

For a number measured here: a download total, a coverage figure, an archival date.

APA

Balamuta, J. J. (2026). R Observatory: Metrics for designit version 0.5.1 [Data set]. HJJB, LLC. Data release v2026-10-18. https://doi.org/10.5281/zenodo.21843040

From data release v2026-10-18, which the citation names so these numbers can be found later. More on citing and the projects behind them.

Report a problem with this page →

Privacy choices

These apply to this browser and are stored on this device only. Nothing about your choice is sent to us.

Read the privacy policy