Skip to content

carat

2.2.1

Covariate-Adaptive Randomization for Clinical Trials

0packages depend
7.1Kdownloads / year
test coverage
13/13checks pass

Overview

About
Maintained by Xiaoqing YeFirst published 2020-01-1514 releasesCRAN page ↗

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.

Install

Health

CRAN checks
13OK
Slowest check: 4.1 min · r-oldrel-windows-x86_64
Code health
None
Tests · ratio 0.00
not tracked
Coverage
100%
Documentation · exports
5
Dependencies · direct
Check history
  • OK2026-05-02
    13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • NOTE2026-04-22
    12 OK · 2 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • ERROR2026-04-18
    11 OK · 2 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE
  • NOTE2026-03-10
    12 OK · 2 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE

Documentation

Documentation
READMENoVignettesNopkgdown siteNoNEWSNoCode of conductNoContributing guideNo
Examples that run
100%
Documented parameters
97%
Return-value docs
100%
References docs
83%

Downloads

7.1K
CRAN downloads in the past year
Rank #7,358 · ~19/day · ~590/mo
Daily download trend is not available in this view yet.
42330 days
1.4K90 days
7.1K1 year
Compare downloads with other packages →
Also on420 r2u19 autocran

Dependencies

Declared dependencies
7 external dependencies (excludes base and recommended)
Depends (1)
R >= 3.6.0
Imports (5)
LinkingTo (2)
Suggests (1)
Enhances (0)
none
Reverse dependencies
0direct
0indirect

Nothing depends on this yet.

Code & Tests

Datasets

People & History

People (4)
Maintainer (1)
Author, Maintainer
Authors (4)
Author, Maintainer
Author, Thesis advisor
Author, Thesis advisor
Author
Package Timeline

14 releases. Pick two to compare their code metrics. R releases are shown for context.

  • 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
  • 2.2.1Latest
    2023-09-05 · current release · diff ↗
  • 2.2.0
    2023-05-01 · diff ↗
  • R
    R 4.3.0 released · 2023-04-21
  • 2.1.0
    2022-11-30 · diff ↗
  • R
    R 4.2.0 released · 2022-04-22
  • 2.0.2
    2021-10-16 · diff ↗
  • 2.0.1
    2021-10-02 · diff ↗
  • 2.0
    2021-09-23 · diff ↗
  • 1.5
    2021-07-26 · diff ↗
  • R
    R 4.1.0 released · 2021-05-18
  • 1.4
    2020-09-27 · diff ↗
  • 1.3
    2020-09-08 · diff ↗
  • 1.2
    2020-08-31 · diff ↗
Show 6 earlier events
  • 1.1
    2020-05-17 · diff ↗
  • 1.0
    2020-05-07 · diff ↗
  • R
    R 4.0.0 released · 2020-04-24
  • 0.1.1
    2020-03-21 · diff ↗
  • 0.1.0
    2020-01-15
  • R
    R 3.6.0 released · 2019-04-26

Package metadata

First published
2020-01-15
Total releases
14 / 6 yrs
License
GPL (>= 2) OSI
Minimum R
≥ 3.6.0
Bundled data
1.6 KB / 1 file
Download size
64 KB
Installed size
not tracked yet
With dependencies
not tracked yet
Report a problem with this page →