Skip to content

carat

Covariate-Adaptive Randomization for Clinical Trials

v2.2.1 · Sep 5, 2023 · GPL (>= 2)

Description

Provides functions and command-line user interface to generate allocation sequence by covariate-adaptive randomization for clinical trials. The package currently supports six covariate-adaptive randomization procedures. Three hypothesis testing methods that are valid and robust under covariate-adaptive randomization are also available in the package to facilitate the inference for treatment effect under the included randomization procedures. Additionally, the package provides comprehensive and efficient tools to allow one to evaluate and compare the performance of randomization procedures and tests based on various criteria. See Ma W, Ye X, Tu F, and Hu F (2023) <doi: 10.18637/jss.v107.i02> for details.

Downloads

536

Last 30 days

7505th

1.6K

Last 90 days

7.8K

Last year

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

CRAN Check Status

6 NOTE
8 OK
Show all 14 flavors
Flavor Status
r-devel-linux-x86_64-debian-clang NOTE
r-devel-linux-x86_64-debian-gcc NOTE
r-devel-linux-x86_64-fedora-clang OK
r-devel-linux-x86_64-fedora-gcc OK
r-devel-macos-arm64 OK
r-devel-windows-x86_64 NOTE
r-oldrel-macos-arm64 NOTE
r-oldrel-macos-x86_64 NOTE
r-oldrel-windows-x86_64 OK
r-patched-linux-x86_64 NOTE
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 (6 non-OK)
NOTE r-devel-linux-x86_64-debian-clang

compiled code

File ‘carat/libs/carat.so’:
  Found non-API call to R: ‘R_UnboundValue’

Compiled code should not call non-API entry points in R.

See ‘Writing portable packages’ in the ‘Writing R Extensions’ manual,
and section ‘Moving into C API compliance’ for issues with the use of
non-API entry points.
NOTE r-devel-linux-x86_64-debian-gcc

compiled code

File ‘carat/libs/carat.so’:
  Found non-API call to R: ‘R_UnboundValue’

Compiled code should not call non-API entry points in R.

See ‘Writing portable packages’ in the ‘Writing R Extensions’ manual,
and section ‘Moving into C API compliance’ for issues with the use of
non-API entry points.
NOTE r-devel-windows-x86_64

compiled code

File 'carat/libs/x64/carat.dll':
  Found non-API call to R: 'R_UnboundValue'

Compiled code should not call non-API entry points in R.

See 'Writing portable packages' in the 'Writing R Extensions' manual,
and section 'Moving into C API compliance' for issues with the use of
non-API entry points.
NOTE r-oldrel-macos-arm64

installed package size

installed size is 10.6Mb
  sub-directories of 1Mb or more:
    libs  10.2Mb
NOTE r-oldrel-macos-x86_64

installed package size

installed size is 11.2Mb
  sub-directories of 1Mb or more:
    libs  10.7Mb
NOTE r-patched-linux-x86_64

compiled code

File ‘carat/libs/carat.so’:
  Found non-API call to R: ‘R_UnboundValue’

Compiled code should not call non-API entry points in R.

See ‘Writing portable packages’ in the ‘Writing R Extensions’ manual,
and section ‘Moving into C API compliance’ for issues with the use of
non-API entry points.

Check History

NOTE 12 OK · 2 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 10, 2026
NOTE r-oldrel-macos-arm64

installed package size

installed size is 10.6Mb
  sub-directories of 1Mb or more:
    libs  10.2Mb
NOTE r-oldrel-macos-x86_64

installed package size

installed size is 11.2Mb
  sub-directories of 1Mb or more:
    libs  10.7Mb

Dependency Network

Dependencies Reverse dependencies Rcpp ggplot2 gridExtra stringr carat

Version History

new 2.2.1 Mar 10, 2026
updated 2.2.1 ← 2.2.0 diff Sep 4, 2023
updated 2.2.0 ← 2.1.0 diff Apr 30, 2023
updated 2.1.0 ← 2.0.2 diff Nov 29, 2022
updated 2.0.2 ← 2.0.1 diff Oct 15, 2021
updated 2.0.1 ← 2.0 diff Oct 1, 2021
updated 2.0 ← 1.5 diff Sep 22, 2021
updated 1.5 ← 1.4 diff Jul 25, 2021
updated 1.4 ← 1.3 diff Sep 26, 2020
updated 1.3 ← 1.2 diff Sep 7, 2020
updated 1.2 ← 1.1 diff Aug 30, 2020
updated 1.1 ← 1.0 diff May 16, 2020
updated 1.0 ← 0.1.1 diff May 6, 2020
updated 0.1.1 ← 0.1.0 diff Mar 20, 2020
new 0.1.0 Jan 14, 2020