{
  "_id": "6a1fee74b401979e73441341",
  "Package": "carat",
  "Type": "Package",
  "Title": "Covariate-Adaptive Randomization for Clinical Trials",
  "Version": "2.2.1",
  "Date": "2023-09-05",
  "Authors@R": "c(\nperson(given=\"Fuyi\", family=\"Tu\", email=\"fuyi.tu@ruc.edu.cn\", role=\"aut\"),\nperson(given=\"Xiaoqing\", family=\"Ye\", email=\"ye_xiaoq@163.com\", role=c(\"aut\",\"cre\")),\nperson(given=\"Wei\", family=\"Ma\", email=\"mawei@ruc.edu.cn\", role=c(\"aut\", \"ths\")),\nperson(given=\"Feifang\", family=\"Hu\", email=\"ffhu68@163.com\", role=c(\"aut\",\"ths\"))\n)",
  "Author": "Fuyi Tu [aut], Xiaoqing Ye [aut, cre], Wei Ma [aut, ths],\nFeifang Hu [aut, ths]",
  "Maintainer": "Xiaoqing Ye <ye_xiaoq@163.com>",
  "Description": "Provides functions and command-line user interface to\ngenerate allocation sequence by covariate-adaptive\nrandomization for clinical trials. The package currently\nsupports six covariate-adaptive randomization procedures. Three\nhypothesis testing methods that are valid and robust under\ncovariate-adaptive randomization are also available in the\npackage to facilitate the inference for treatment effect under\nthe included randomization procedures. Additionally, the\npackage provides comprehensive and efficient tools to allow one\nto evaluate and compare the performance of randomization\nprocedures and tests based on various criteria. See Ma W, Ye X,\nTu F, and Hu F (2023) <doi: 10.18637/jss.v107.i02> for details.",
  "License": "GPL (>= 2)",
  "NeedsCompilation": "yes",
  "Packaged": {
    "Date": "2026-06-03 08:56:49 UTC",
    "User": "root"
  },
  "Config/pak/sysreqs": "libicu-dev",
  "Repository": "https://yexiaoqingruc.r-universe.dev",
  "Date/Publication": "2023-09-05 17:30:58 UTC",
  "RemoteUrl": "https://github.com/cran/carat",
  "RemoteRef": "HEAD",
  "RemoteSha": "ed7736397fb600af86e5279334912ed175978e7d",
  "MD5sum": "ba34aa97bf6c2eed0e49b8c9f0236f93",
  "_user": "yexiaoqingruc",
  "_type": "src",
  "_file": "carat_2.2.1.tar.gz",
  "_fileid": "36b360a4c93e1c850fde5ea6cb6787a7c95ea4519382037957391072303ddcfa",
  "_filesize": 434837,
  "_sha256": "36b360a4c93e1c850fde5ea6cb6787a7c95ea4519382037957391072303ddcfa",
  "_created": "2026-06-03T08:56:49.000Z",
  "_published": "2026-06-03T09:05:56.470Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 79257893827,
      "time": 161,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7380127015"
    },
    {
      "job": 79257893764,
      "time": 150,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7380122406"
    },
    {
      "job": 79257893714,
      "time": 171,
      "config": "linux-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7380130039"
    },
    {
      "job": 79257893671,
      "time": 151,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7380122806"
    },
    {
      "job": 79257893718,
      "time": 253,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7380138496"
    },
    {
      "job": 79257893822,
      "time": 473,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": ""
    },
    {
      "job": 79257893713,
      "time": 186,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7380118512"
    },
    {
      "job": 79257893636,
      "time": 351,
      "config": "macos-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7380182589"
    },
    {
      "job": 79257287154,
      "time": 208,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7380068567"
    },
    {
      "job": 79257893604,
      "time": 114,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7380110160"
    },
    {
      "job": 79257893781,
      "time": 157,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7380124755"
    },
    {
      "job": 79257893629,
      "time": 147,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7380121487"
    },
    {
      "job": 79257893734,
      "time": 161,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7380126199"
    }
  ],
  "_buildurl": "https://github.com/r-universe/yexiaoqingruc/actions/runs/26874270343",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/cran/carat",
  "_commit": {
    "id": "ed7736397fb600af86e5279334912ed175978e7d",
    "author": "Xiaoqing Ye <ye_xiaoq@163.com>",
    "committer": "cran-robot <csardi.gabor+cran@gmail.com>",
    "message": "version 2.2.1\n",
    "time": 1693935058
  },
  "_maintainer": {
    "name": "Xiaoqing Ye",
    "email": "ye_xiaoq@163.com",
    "login": "yexiaoqingruc",
    "description": "",
    "uuid": 32114880
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 3.6.0",
      "role": "Depends"
    },
    {
      "package": "Rcpp",
      "role": "LinkingTo"
    },
    {
      "package": "RcppArmadillo",
      "role": "LinkingTo"
    },
    {
      "package": "Rcpp",
      "version": ">= 1.0.4.6",
      "role": "Imports"
    },
    {
      "package": "ggplot2",
      "version": ">= 3.3.0",
      "role": "Imports"
    },
    {
      "package": "gridExtra",
      "version": ">= 2.3",
      "role": "Imports"
    },
    {
      "package": "stringr",
      "version": ">= 1.4.0",
      "role": "Imports"
    },
    {
      "package": "methods",
      "role": "Imports"
    },
    {
      "package": "dplyr",
      "version": ">= 0.8.5",
      "role": "Suggests"
    }
  ],
  "_owner": "cran",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [],
  "_tags": [],
  "_stars": 0,
  "_contributors": [
    {
      "user": "yexiaoqingruc",
      "count": 14,
      "uuid": 32114880
    }
  ],
  "_userbio": {
    "uuid": 32114880,
    "type": "user",
    "name": "yexiaoqingruc"
  },
  "_downloads": {
    "count": 400,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/carat"
  },
  "_mentions": 3,
  "_searchresults": 37,
  "_topics": [
    "openblas",
    "cpp",
    "openmp"
  ],
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/carat.html",
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "manual.pdf"
  ],
  "_realowner": "yexiaoqingruc",
  "_cranurl": false,
  "_releases": [
    {
      "version": "0.1.0",
      "date": "2020-01-15"
    },
    {
      "version": "0.1.1",
      "date": "2020-03-21"
    },
    {
      "version": "1.0",
      "date": "2020-05-07"
    },
    {
      "version": "1.1",
      "date": "2020-05-17"
    },
    {
      "version": "1.2",
      "date": "2020-08-31"
    },
    {
      "version": "1.3",
      "date": "2020-09-08"
    },
    {
      "version": "1.4",
      "date": "2020-09-27"
    },
    {
      "version": "1.5",
      "date": "2021-07-25"
    },
    {
      "version": "2.0",
      "date": "2021-09-23"
    },
    {
      "version": "2.0.1",
      "date": "2021-10-02"
    },
    {
      "version": "2.0.2",
      "date": "2021-10-16"
    },
    {
      "version": "2.1.0",
      "date": "2022-11-30"
    },
    {
      "version": "2.2.0",
      "date": "2023-05-01"
    },
    {
      "version": "2.2.1",
      "date": "2023-09-05"
    }
  ],
  "_exports": [
    "AdjBCD",
    "AdjBCD.sim",
    "AdjBCD.ui",
    "boot.test",
    "compPower",
    "compRand",
    "corr.test",
    "DoptBCD",
    "DoptBCD.sim",
    "DoptBCD.ui",
    "evalPower",
    "evalRand",
    "evalRand.sim",
    "getData",
    "HuHuCAR",
    "HuHuCAR.sim",
    "HuHuCAR.ui",
    "PocSimMIN",
    "PocSimMIN.sim",
    "PocSimMIN.ui",
    "rand.test",
    "StrBCD",
    "StrBCD.sim",
    "StrBCD.ui",
    "StrPBR",
    "StrPBR.sim",
    "StrPBR.ui"
  ],
  "_datasets": [
    {
      "name": "pats",
      "title": "Data of Covariate Profile of Patients",
      "object": "pats",
      "file": "pats.rda",
      "class": [
        "data.frame"
      ],
      "fields": [
        "gender",
        "employment.status",
        "income",
        "marriage.status"
      ],
      "rows": 1000,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "carat-package",
      "title": "carat-package: Covariate-Adaptive Randomization for Clinical Trials",
      "topics": [
        "carat-package",
        "carat"
      ]
    },
    {
      "page": "AdjBCD",
      "title": "Covariate-adjusted Biased Coin Design",
      "topics": [
        "AdjBCD"
      ]
    },
    {
      "page": "AdjBCD.sim",
      "title": "Covariate-adjusted Biased Coin Design with Covariate Data Generating Mechanism",
      "topics": [
        "AdjBCD.sim"
      ]
    },
    {
      "page": "AdjBCD.ui",
      "title": "Command-line User Interface Using Covariate-adjusted Biased Coin Design",
      "topics": [
        "AdjBCD.ui"
      ]
    },
    {
      "page": "boot.test",
      "title": "Bootstrap t-test",
      "topics": [
        "boot.test"
      ]
    },
    {
      "page": "CompPower",
      "title": "Comparison of Powers for Different Tests under Different Randomization methods",
      "topics": [
        "compPower"
      ]
    },
    {
      "page": "compRand",
      "title": "Compare Different Randomization Procedures via Tables and Plots",
      "topics": [
        "compRand"
      ]
    },
    {
      "page": "corr.test",
      "title": "Corrected t-test",
      "topics": [
        "corr.test"
      ]
    },
    {
      "page": "DoptBCD",
      "title": "Atkinson's D_A-optimal Biased Coin Design",
      "topics": [
        "DoptBCD"
      ]
    },
    {
      "page": "DoptBCD.sim",
      "title": "Atkinson's D_A-optimal Biased Coin Design with Covariate Data Generating Mechanism",
      "topics": [
        "DoptBCD.sim"
      ]
    },
    {
      "page": "DoptBCD.ui",
      "title": "Command-line User Interface Using Atkinson's D_A-optimal Biased Coin Design",
      "topics": [
        "DoptBCD.ui"
      ]
    },
    {
      "page": "evalPower",
      "title": "Evaluation of Tests and Randomization Procedures through Power",
      "topics": [
        "evalPower"
      ]
    },
    {
      "page": "evalRand",
      "title": "Evaluation of Randomization Procedures",
      "topics": [
        "evalRand"
      ]
    },
    {
      "page": "evalRand.sim",
      "title": "Evaluation Randomization Procedures with Covariate Data Generating Mechanism",
      "topics": [
        "evalRand.sim"
      ]
    },
    {
      "page": "getData",
      "title": "Data Generation",
      "topics": [
        "getData"
      ]
    },
    {
      "page": "HuHuCAR",
      "title": "Hu and Hu's General Covariate-Adaptive Randomization",
      "topics": [
        "HuHuCAR"
      ]
    },
    {
      "page": "HuHuCAR.sim",
      "title": "Hu and Hu's General Covariate-Adaptive Randomization with Covariate Data Generating Mechanism",
      "topics": [
        "HuHuCAR.sim"
      ]
    },
    {
      "page": "HuHuCAR.ui",
      "title": "Command-line User Interface Using Hu and Hu's General Covariate-adaptive Randomization",
      "topics": [
        "HuHuCAR.ui"
      ]
    },
    {
      "page": "pats",
      "title": "Data of Covariate Profile of Patients",
      "topics": [
        "pats"
      ]
    },
    {
      "page": "PocSimMIN",
      "title": "Pocock and Simon's Method in the Two-Arms Case",
      "topics": [
        "PocSimMIN"
      ]
    },
    {
      "page": "PocSimMIN.sim",
      "title": "Pocock and Simon's Method in the Two-Arms Case with Covariate Data Generating Mechanism",
      "topics": [
        "PocSimMIN.sim"
      ]
    },
    {
      "page": "PocSimMIN.ui",
      "title": "Command-line User Interface Using Pocock and Simon's Procedure with Two-Arms Case",
      "topics": [
        "PocSimMIN.ui"
      ]
    },
    {
      "page": "rand.test",
      "title": "Randomization Test",
      "topics": [
        "rand.test"
      ]
    },
    {
      "page": "StrBCD",
      "title": "Shao's Method in the Two-Arms Case",
      "topics": [
        "StrBCD"
      ]
    },
    {
      "page": "StrBCD.sim",
      "title": "Shao's Method in the Two-Arms Case with Covariate Data Generating Mechanism",
      "topics": [
        "StrBCD.sim"
      ]
    },
    {
      "page": "StrBCD.ui",
      "title": "Command-line User Interface Using Shao's Method",
      "topics": [
        "StrBCD.ui"
      ]
    },
    {
      "page": "StrPBR",
      "title": "Stratified Permuted Block Randomization",
      "topics": [
        "StrPBR"
      ]
    },
    {
      "page": "StrPBR.sim",
      "title": "Stratified Permuted Block Randomization with Covariate Data Generating Mechanism",
      "topics": [
        "StrPBR.sim"
      ]
    },
    {
      "page": "StrPBR.ui",
      "title": "Command-line User Interface Using Stratified Permuted Block Randomization with Two-Arms Case",
      "topics": [
        "StrPBR.ui"
      ]
    }
  ],
  "_rundeps": [
    "cli",
    "cpp11",
    "farver",
    "ggplot2",
    "glue",
    "gridExtra",
    "gtable",
    "isoband",
    "labeling",
    "lifecycle",
    "magrittr",
    "R6",
    "RColorBrewer",
    "Rcpp",
    "RcppArmadillo",
    "rlang",
    "S7",
    "scales",
    "stringi",
    "stringr",
    "vctrs",
    "viridisLite",
    "withr"
  ],
  "_sysdeps": [
    {
      "shlib": "liblapack",
      "package": "libopenblas0-pthread",
      "source": "openblas",
      "version": "0.3.26+ds-1ubuntu0.1",
      "name": "openblas",
      "homepage": "https://www.openblas.net/",
      "description": "Optimized BLAS (linear algebra) library (shared lib, pthread)"
    },
    {
      "shlib": "libblas",
      "package": "libopenblas0-pthread",
      "source": "openblas",
      "version": "0.3.26+ds-1ubuntu0.1",
      "name": "openblas",
      "homepage": "https://www.openblas.net/",
      "description": "Optimized BLAS (linear algebra) library (shared lib, pthread)"
    },
    {
      "shlib": "libstdc++",
      "package": "libstdc++6",
      "source": "gcc",
      "version": "14.2.0-4ubuntu2~24.04.1",
      "name": "c++",
      "homepage": "http://gcc.gnu.org/",
      "description": "GNU Standard C++ Library v3"
    },
    {
      "shlib": "libgomp",
      "package": "libgomp1",
      "source": "gcc",
      "version": "14.2.0-4ubuntu2~24.04.1",
      "name": "openmp",
      "homepage": "http://gcc.gnu.org/",
      "description": "GCC OpenMP (GOMP) support library"
    }
  ],
  "_score": 2.0453229787866576,
  "_indexed": true,
  "_nocasepkg": "carat",
  "_universes": [
    "yexiaoqingruc"
  ],
  "_binaries": [
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "2.2.1",
      "date": "2026-05-04T07:54:22.000Z",
      "arch": "x86_64",
      "commit": "ed7736397fb600af86e5279334912ed175978e7d",
      "fileid": "237201f2cce21e034ad6a5f35ad43a104fda3e6c87379dd0fc604d6956f2d617",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/yexiaoqingruc/actions/runs/25307300839"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "2.2.1",
      "date": "2026-06-03T08:59:34.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "ed7736397fb600af86e5279334912ed175978e7d",
      "fileid": "4de41496193cbd2a480666275dc7b2850d590e4625eeae92efa015d81fb0da97",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/yexiaoqingruc/actions/runs/26874270343"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "2.2.1",
      "date": "2026-06-03T08:59:20.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "ed7736397fb600af86e5279334912ed175978e7d",
      "fileid": "b51a3e4372daf81f398b5021071379d31114a8f79bd06da2dab4c6e7fc5f009a",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/yexiaoqingruc/actions/runs/26874270343"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "2.2.1",
      "date": "2026-06-03T08:59:36.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "ed7736397fb600af86e5279334912ed175978e7d",
      "fileid": "db46c414518fb09ee1f7510423d4c03ca88b0914f0df85654e86a37f4e2b0d70",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/yexiaoqingruc/actions/runs/26874270343"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "2.2.1",
      "date": "2026-06-03T08:59:20.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "ed7736397fb600af86e5279334912ed175978e7d",
      "fileid": "2f85945d84a68ad953bca4858c04886691bd60e086a6719c3f61952a52cc04e4",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/yexiaoqingruc/actions/runs/26874270343"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "2.2.1",
      "date": "2026-06-03T09:00:04.000Z",
      "arch": "aarch64",
      "commit": "ed7736397fb600af86e5279334912ed175978e7d",
      "fileid": "732fff86281c36fcf7812013a0d3c1afbf602c977113ff3a402898a3c9be8f5c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/yexiaoqingruc/actions/runs/26874270343"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "2.2.1",
      "date": "2026-06-03T08:59:14.000Z",
      "arch": "aarch64",
      "commit": "ed7736397fb600af86e5279334912ed175978e7d",
      "fileid": "14ab853f630ee20898b1f7a6a3d3ff0fbfb93404905e76d66586beec9a7c2f47",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/yexiaoqingruc/actions/runs/26874270343"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "2.2.1",
      "date": "2026-06-03T09:01:14.000Z",
      "arch": "x86_64",
      "commit": "ed7736397fb600af86e5279334912ed175978e7d",
      "fileid": "9ed95706b72fef158bae3c90fe7a72bde2b1cb6b75d757c7863bd92c881d6e05",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/yexiaoqingruc/actions/runs/26874270343"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "2.2.1",
      "date": "2026-06-03T08:59:26.000Z",
      "arch": "emscripten",
      "commit": "ed7736397fb600af86e5279334912ed175978e7d",
      "fileid": "0ccba4caba665db982f1f44f7410a11abacf1087683b7cefdb15396ee33b1a6b",
      "status": "success",
      "buildurl": "https://github.com/r-universe/yexiaoqingruc/actions/runs/26874270343"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "2.2.1",
      "date": "2026-06-03T08:58:40.000Z",
      "arch": "x86_64",
      "commit": "ed7736397fb600af86e5279334912ed175978e7d",
      "fileid": "b30b6a72e2db7ecb8c032f7b34ad92cd719d4310055a08f46f11418c35ef5e40",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/yexiaoqingruc/actions/runs/26874270343"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "2.2.1",
      "date": "2026-06-03T08:58:42.000Z",
      "arch": "x86_64",
      "commit": "ed7736397fb600af86e5279334912ed175978e7d",
      "fileid": "9d30150cb2cebe987848dab8a5867f54474e2205f9dc336e0e9899f103b9c0e1",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/yexiaoqingruc/actions/runs/26874270343"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "2.2.1",
      "date": "2026-06-03T08:58:39.000Z",
      "arch": "x86_64",
      "commit": "ed7736397fb600af86e5279334912ed175978e7d",
      "fileid": "b4d5f3f534d3657093bb63ccd36a2aa54dcdda26c1196684aa4f66d8e9e2e148",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/yexiaoqingruc/actions/runs/26874270343"
    }
  ]
}