{
  "_id": "6a2a74107b7a29ca60044831",
  "Package": "carts",
  "Type": "Package",
  "Title": "Simulation-Based Assessment of Covariate Adjustment in\nRandomized Trials",
  "Version": "0.1.0",
  "Authors@R": "c(person(given = \"Benedikt\",\nfamily = \"Sommer\",\nrole = c(\"aut\", \"cre\"),\nemail = \"benediktsommer92@gmail.com\"),\nperson(given = \"Klaus K.\",\nfamily = \"Holst\",\nrole = c(\"aut\"),\nemail = \"klaus@holst.it\"),\nperson(given = \"Foroogh\",\nfamily = \"Shamsi\",\nrole = c(\"aut\"),\nemail = \"foroogh.shamsi1@gmail.com\"),\nperson(\"Novo Nordisk A/S\", role = \"cph\")\n)",
  "Maintainer": "Benedikt Sommer <benediktsommer92@gmail.com>",
  "Description": "Monte Carlo simulation framework for different randomized\nclinical trial designs with a special emphasis on estimators\nbased on covariate adjustment. The package implements\nregression-based covariate adjustment (Rosenblum & van der Laan\n(2010) <doi:10.2202/1557-4679.1138>) and a one-step estimator\n(Van Lancker et al (2024) <doi:10.48550/arXiv.2404.11150>) for\ntrials with continuous, binary and count outcomes. The\nestimation of the minimum sample-size required to reach a\nspecified statistical power for a given estimator uses\nbisection to find an initial rough estimate, followed by\nstochastic approximation (Robbins-Monro (1951)\n<doi:10.1214/aoms/1177729586>) to improve the estimate, and\nfinally, a grid search to refine the estimate in the\nneighborhood of the current best solution.",
  "License": "Apache License (>= 2)",
  "BugReports": "https://github.com/NovoNordisk-OpenSource/carts/issues",
  "URL": "https://novonordisk-opensource.github.io/carts/,\nhttps://github.com/NovoNordisk-OpenSource/carts",
  "VignetteBuilder": "knitr",
  "ByteCompile": "yes",
  "Encoding": "UTF-8",
  "RoxygenNote": "7.3.3",
  "NeedsCompilation": "yes",
  "Packaged": {
    "Date": "2026-06-11 08:34:10 UTC",
    "User": "root"
  },
  "Author": "Benedikt Sommer [aut, cre], Klaus K. Holst [aut], Foroogh\nShamsi [aut], Novo Nordisk A/S [cph]",
  "Repository": "https://cran.r-universe.dev",
  "Date/Publication": "2025-11-13 21:20:02 UTC",
  "RemoteUrl": "https://github.com/cran/carts",
  "RemoteRef": "HEAD",
  "RemoteSha": "0a2bd54cab5b7dd2807d1b2c04e70edd1453b1eb",
  "MD5sum": "9fab01365d6b86ae3c8bcb69da31bb19",
  "_user": "cran",
  "_type": "src",
  "_file": "carts_0.1.0.tar.gz",
  "_fileid": "afab582218840eac19f337d1d978ed6b939d47410fc56d3e4e25afd0291b79f3",
  "_filesize": 1956157,
  "_sha256": "afab582218840eac19f337d1d978ed6b939d47410fc56d3e4e25afd0291b79f3",
  "_created": "2026-06-11T08:34:10.000Z",
  "_published": "2026-06-11T08:38:40.624Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 80754901468,
      "time": 215,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7559021311"
    },
    {
      "job": 80754901451,
      "time": 222,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7559024494"
    },
    {
      "job": 80754901456,
      "time": 213,
      "config": "linux-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7559021224"
    },
    {
      "job": 80754901474,
      "time": 218,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7559023204"
    },
    {
      "job": 80754141210,
      "time": 247,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7558936648"
    },
    {
      "job": 80754901432,
      "time": 135,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7558989916"
    }
  ],
  "_buildurl": "https://github.com/r-universe/cran/actions/runs/27334220846",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/cran/carts",
  "_commit": {
    "id": "0a2bd54cab5b7dd2807d1b2c04e70edd1453b1eb",
    "author": "Benedikt Sommer <benediktsommer92@gmail.com>",
    "committer": "cran-robot <csardi.gabor+cran@gmail.com>",
    "message": "version 0.1.0\n",
    "time": 1763068802
  },
  "_maintainer": {
    "name": "Benedikt Sommer",
    "email": "benediktsommer92@gmail.com",
    "login": "benesom",
    "description": "",
    "uuid": 55534750
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.1",
      "role": "Depends"
    },
    {
      "package": "lava",
      "version": ">= 1.8.0",
      "role": "Depends"
    },
    {
      "package": "Rcpp",
      "version": ">= 1.0.11",
      "role": "LinkingTo"
    },
    {
      "package": "RcppArmadillo",
      "role": "LinkingTo"
    },
    {
      "package": "data.table",
      "version": ">= 1.14",
      "role": "Imports"
    },
    {
      "package": "logger",
      "version": ">= 0.2.2",
      "role": "Imports"
    },
    {
      "package": "methods",
      "role": "Imports"
    },
    {
      "package": "progressr",
      "role": "Imports"
    },
    {
      "package": "R6",
      "version": ">= 2.5.1",
      "role": "Imports"
    },
    {
      "package": "survival",
      "role": "Imports"
    },
    {
      "package": "targeted",
      "version": ">= 0.6",
      "role": "Imports"
    },
    {
      "package": "rlang",
      "role": "Imports"
    },
    {
      "package": "future",
      "role": "Suggests"
    },
    {
      "package": "tinytest",
      "role": "Suggests"
    },
    {
      "package": "MASS",
      "role": "Suggests"
    },
    {
      "package": "geepack",
      "role": "Suggests"
    },
    {
      "package": "covr",
      "role": "Suggests"
    },
    {
      "package": "pdftools",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "mets",
      "version": ">= 1.3.4",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "magick",
      "role": "Suggests"
    },
    {
      "package": "pwr",
      "role": "Suggests"
    },
    {
      "package": "pwrss",
      "role": "Suggests"
    }
  ],
  "_owner": "cran",
  "_selfowned": false,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2025-46",
      "n": 1
    }
  ],
  "_tags": [
    {
      "name": "0.1.0",
      "date": "2025-11-13"
    }
  ],
  "_stars": 0,
  "_contributors": [
    {
      "user": "benesom",
      "count": 1,
      "uuid": 55534750
    }
  ],
  "_userbio": {
    "uuid": 6899542,
    "type": "organization",
    "name": "cran",
    "description": "Unofficial read-only mirror of all CRAN R packages"
  },
  "_downloads": {
    "count": 177,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/carts"
  },
  "_devurl": "https://github.com/novonordisk-opensource/carts",
  "_pkgdown": "https://novonordisk-opensource.github.io/carts/",
  "_searchresults": 0,
  "_topics": [
    "openblas",
    "cpp"
  ],
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/carts.html",
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/novonordisk-opensource/carts",
  "_realowner": "novonordisk-opensource",
  "_cranurl": false,
  "_releases": [
    {
      "version": "0.1.0",
      "date": "2025-11-13"
    }
  ],
  "_exports": [
    "%join%",
    "aggrsurv",
    "append<-",
    "covar_add",
    "covar_bootstrap",
    "covar_join",
    "covar_loggamma",
    "covar_normal",
    "derive_covar_distribution",
    "est_adj",
    "est_gee",
    "est_geebin",
    "est_glm",
    "est_glmbin",
    "estimate_covar_model_full_cond",
    "outcome_binary",
    "outcome_continuous",
    "outcome_count",
    "rmvn",
    "rnb",
    "sample_covar_parametric_model",
    "setallargs",
    "setargs",
    "Trial"
  ],
  "_help": [
    {
      "page": "aggrsurv",
      "title": "Aggregate data in counting process format",
      "topics": [
        "aggrsurv"
      ]
    },
    {
      "page": "append-set-.list",
      "title": "Assignment function to append values to existing list",
      "topics": [
        "append<-",
        "append<-.list"
      ]
    },
    {
      "page": "bisection",
      "title": "Root finding by bisection",
      "topics": [
        "bisection"
      ]
    },
    {
      "page": "covar_add",
      "title": "Add additional covariates to existing list of covariates",
      "topics": [
        "covar_add"
      ]
    },
    {
      "page": "covar_bootstrap",
      "title": "Sample from empirical distribution of covariate data",
      "topics": [
        "covar_bootstrap"
      ]
    },
    {
      "page": "covar_join",
      "title": "Add additional covariates to existing covariate random generator",
      "topics": [
        "%join%",
        "covar_join",
        "join_covar"
      ]
    },
    {
      "page": "covar_loggamma",
      "title": "Simulate from a log gamma-gaussian copula distribution",
      "topics": [
        "covar_loggamma"
      ]
    },
    {
      "page": "covar_normal",
      "title": "Simulate from multivariate normal distribution",
      "topics": [
        "covar_normal"
      ]
    },
    {
      "page": "derive_covar_distribution",
      "title": "Derive covariate distribution from covariate data type",
      "topics": [
        "derive_covar_distribution"
      ]
    },
    {
      "page": "est_adj",
      "title": "Construct estimator for the treatment effect in RCT based on covariate adjustment",
      "topics": [
        "est_adj"
      ]
    },
    {
      "page": "est_glm",
      "title": "Construct estimator for the treatment effect in RCT",
      "topics": [
        "est_gee",
        "est_geebin",
        "est_glm",
        "est_glmbin"
      ]
    },
    {
      "page": "est_phreg",
      "title": "Marginal Cox proportional hazards model for the treatment effect in RCT",
      "topics": [
        "est_phreg"
      ]
    },
    {
      "page": "estimate_covar_model_full_cond",
      "title": "Full conditional covariate simulation model",
      "topics": [
        "estimate_covar_model_full_cond"
      ]
    },
    {
      "page": "get_factor_levels",
      "title": "Get levels for factor columns in data.table",
      "topics": [
        "get_factor_levels"
      ]
    },
    {
      "page": "optim_sa",
      "title": "Root solver by Stochastic Approximation",
      "topics": [
        "optim_sa"
      ]
    },
    {
      "page": "outcome_binary",
      "title": "Simulate from binary model given covariates",
      "topics": [
        "outcome_binary"
      ]
    },
    {
      "page": "outcome_continuous",
      "title": "Simulate from continuous outcome model given covariates",
      "topics": [
        "outcome_continuous"
      ]
    },
    {
      "page": "outcome_count",
      "title": "Simulate from count model given covariates",
      "topics": [
        "outcome_count"
      ]
    },
    {
      "page": "outcome_lp",
      "title": "Calculate linear predictor from covariates",
      "topics": [
        "outcome_lp"
      ]
    },
    {
      "page": "outcome_phreg",
      "title": "Outcome model for time-to-event end-points (proportional hazards)",
      "topics": [
        "outcome_phreg"
      ]
    },
    {
      "page": "outcome_recurrent",
      "title": "EXPERIMENTAL: Outcome model for recurrent events with terminal events end-points",
      "topics": [
        "outcome_recurrent"
      ]
    },
    {
      "page": "outcome_shared",
      "title": "Outcome model",
      "topics": [
        "outcome_shared"
      ]
    },
    {
      "page": "rmvn",
      "title": "Multivariate normal distribution function",
      "topics": [
        "rmvn"
      ]
    },
    {
      "page": "rnb",
      "title": "Simulate from a negative binomial distribution",
      "topics": [
        "rnb"
      ]
    },
    {
      "page": "sample_covar_parametric_model",
      "title": "Sample from an estimated parametric covariate model",
      "topics": [
        "sample_covar_parametric_model"
      ]
    },
    {
      "page": "setargs",
      "title": "Set default arguments of a function",
      "topics": [
        "setallargs",
        "setargs"
      ]
    },
    {
      "page": "Trial",
      "title": "R6 class for power and sample-size calculations for a clinical trial",
      "topics": [
        "Trial"
      ]
    },
    {
      "page": "trial.estimates-class",
      "title": "trial.estimates class object",
      "topics": [
        "trial.estimates-class"
      ]
    }
  ],
  "_pkglogo": "https://github.com/cran/carts/raw/HEAD/man/figures/logo.png",
  "_readme": "https://github.com/cran/carts/raw/HEAD/README.md",
  "_rundeps": [
    "abind",
    "cli",
    "codetools",
    "data.table",
    "digest",
    "future",
    "future.apply",
    "globals",
    "lattice",
    "lava",
    "listenv",
    "logger",
    "Matrix",
    "mets",
    "mvtnorm",
    "numDeriv",
    "parallelly",
    "progressr",
    "quadprog",
    "R6",
    "Rcpp",
    "RcppArmadillo",
    "rlang",
    "SQUAREM",
    "survival",
    "targeted",
    "timereg"
  ],
  "_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"
    }
  ],
  "_vignettes": [
    {
      "source": "gettingstarted.Rmd",
      "filename": "gettingstarted.html",
      "title": "Getting started",
      "author": "Klaus K. Holst and Benedikt Sommer",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Introduction",
        "Preliminaries",
        "Setting up parallel computations",
        "Progress bars and logging information",
        "Reproducibility",
        "Two-armed parallel design",
        "Trial model",
        "Trial simulation",
        "Updating model parameters",
        "Safeguarding parameter clashes",
        "Updating default parameters of a trial model",
        "Estimators",
        "Power estimation",
        "Hypothesis testing",
        "Multiple estimators",
        "Sample-size estimations"
      ],
      "created": "2025-11-13 21:20:02",
      "modified": "2025-11-13 21:20:02",
      "commits": 1
    },
    {
      "source": "param.Rmd",
      "filename": "param.html",
      "title": "Parametrization of the negative binomial and gamma distribution",
      "author": "Klaus K. Holst",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Bibliography"
      ],
      "created": "2025-11-13 21:20:02",
      "modified": "2025-11-13 21:20:02",
      "commits": 1
    }
  ],
  "_score": 3,
  "_indexed": false,
  "_nocasepkg": "carts",
  "_universes": [
    "cran"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.1.0",
      "date": "2026-06-11T08:36:37.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "0a2bd54cab5b7dd2807d1b2c04e70edd1453b1eb",
      "fileid": "84ea6210fcecb57000b6ba126b72e4496097afd81ce732c05084af125b9a98bf",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/27334220846"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.1.0",
      "date": "2026-06-11T08:36:41.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "0a2bd54cab5b7dd2807d1b2c04e70edd1453b1eb",
      "fileid": "8dde38e073d9575092a061ec7432b304b2f7960e12523ba3b90c77395e7624ad",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/27334220846"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.1.0",
      "date": "2026-06-11T08:36:38.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "0a2bd54cab5b7dd2807d1b2c04e70edd1453b1eb",
      "fileid": "ff986ffe53254e51e48b7920300bcdf00f650b98844f2315372790bb104799c0",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/27334220846"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.1.0",
      "date": "2026-06-11T08:36:37.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "0a2bd54cab5b7dd2807d1b2c04e70edd1453b1eb",
      "fileid": "de1f1556f148951fa89dacb1cf022df0db3a4e288a6a45886d30b533f32ec41c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/27334220846"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.1.0",
      "date": "2026-06-11T08:36:48.000Z",
      "arch": "emscripten",
      "commit": "0a2bd54cab5b7dd2807d1b2c04e70edd1453b1eb",
      "fileid": "a4d7e5574d51053e70d6464bc5d8de26780de916577ca1aebb7a019a72583ec5",
      "status": "success",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/27334220846"
    }
  ]
}