Skip to content

blockRAR

Block Design for Response-Adaptive Randomization

v1.0.3 · Jun 29, 2026 · MIT + file LICENSE

Description

Computes power for response-adaptive randomization with a block design that captures both the time and treatment effect. T. Chandereng, R. Chappell (2019) <doi:10.48550/arXiv.1904.07758>.

Downloads

CRAN

69

Last 30 days

24142nd

69

Last 90 days

74

Last year

autoCRAN

3

Last 7 days

15

Last 30 days

0

All-time

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

CRAN Check Status

11 OK
Show all 11 flavors
Flavor Status
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-macos-arm64 OK
r-release-macos-x86_64 OK
r-release-windows-x86_64 OK

Check History

OK 7 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Jun 30, 2026

Code

Structure

Lines of code

2,176

Files

24

Compiled share

0%

Has compiled src

No

Language breakdown

R 1,388 (63.8%)Tests 108 (5%)Docs 448 (20.6%)Vignettes 232 (10.7%)

API

Exported functions

5

Internal functions

1

Recent export changes

v1.0.2+1 bdpbinomial
v1.0.0+4 %>%, binomialbayes, binomialfreq +1 more

Testing & CI

Has tests

Yes

Test-to-code ratio

0.08

testthat edition

CI present

No

CI type

[]

PR gated

No

Docs

Return-value doc rate

100%

\dontrun example ratio

0%

Roxygen coverage

80%

Has pkgdown

No

NEWS present

No

Health & Security signals

Informational signals; not verdicts.

on.exit coverage

Unsafe pattern score

0

Dep constraint coverage

0%

Secret pattern count

0

Bundled 3rd-party code

2 items

Portability & License

Min R version

System requirements

C++ standard

License

MIT + file LICENSE

License flags

SPDX valid, OSI approved

History

Versions

4

First release

2019-04-27

Latest release

2026-06-29

Avg cadence

135 days

Cold removal rate

Dep drift

3

LOC over versions

v1.0.0: 1,289 LOCv1.0.1: 1,272 LOCv1.0.2: 2,145 LOCv1.0.3: 2,176 LOC

Per-file churn detail lives in the source pipeline: https://github.com/r-observatory/cran-code-metrics.

Dependency Network

Dependencies Reverse dependencies dplyr magrittr ldbounds arm blockRAR

Version History

1 tracked
new 1.0.3 Jun 29, 2026