{
  "_id": "6ad9cf18021a938ed758eb4a",
  "Package": "carts",
  "Type": "Package",
  "Title": "Simulation-Based Assessment of Covariate Adjustment in\nRandomized Trials",
  "Version": "0.2.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\"))",
  "Author": "Benedikt Sommer [aut, cre], Klaus K. Holst [aut], Foroogh\nShamsi [aut]",
  "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.",
  "License": "MIT + file LICENSE",
  "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",
  "Config/roxygen2/version": "8.0.0",
  "NeedsCompilation": "yes",
  "Packaged": {
    "Date": "2026-10-22 08:47:43 UTC",
    "User": "root"
  },
  "Repository": "https://cran.r-universe.dev",
  "Date/Publication": "2026-07-16 11:00:02 UTC",
  "RemoteUrl": "https://github.com/cran/carts",
  "RemoteRef": "HEAD",
  "RemoteSha": "9c4f200b28b2cccc9e258ff1c6efc02caf6b2ebd",
  "_user": "cran",
  "_type": "src",
  "_file": "carts_0.2.0.tar.gz",
  "_fileid": "https://r2.ropensci.org/c0841a610662370f3062f014944eae9bca2e7885e8bcf8756167f7884733e63b",
  "_filesize": 1234893,
  "_sha256": "c0841a610662370f3062f014944eae9bca2e7885e8bcf8756167f7884733e63b",
  "_expires": "2027-01-30T08:53:42.000Z",
  "_created": "2026-10-22T08:47:43.000Z",
  "_published": "2026-10-22T08:53:44.823Z",
  "_upstream": "https://github.com/cran/carts",
  "_status": "success",
  "_maintainer": {
    "name": "Benedikt Sommer",
    "email": "benediktsommer92@gmail.com",
    "login": "benesom",
    "description": "",
    "uuid": 55534750
  },
  "_jobs": [
    {
      "job": 119729599877,
      "time": 168,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "12413407270"
    },
    {
      "job": 119729599899,
      "time": 213,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "12413840696"
    },
    {
      "job": 119729599835,
      "time": 177,
      "config": "linux-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12412929789"
    },
    {
      "job": 119729599806,
      "time": 207,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12412858601"
    },
    {
      "job": 119727839534,
      "time": 242,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12413606092"
    },
    {
      "job": 119729599823,
      "time": 105,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "12413456247"
    },
    {
      "job": 119729599944,
      "time": 301,
      "config": "windows-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "12413367042"
    },
    {
      "job": 119729599973,
      "time": 225,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "12412814722"
    },
    {
      "job": 119729599911,
      "time": 298,
      "config": "windows-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12412814939"
    },
    {
      "job": 119729599828,
      "time": 203,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12413507125"
    }
  ],
  "_buildurl": "https://github.com/r-universe/cran/actions/runs/39749937593",
  "_commit": {
    "id": "9c4f200b28b2cccc9e258ff1c6efc02caf6b2ebd",
    "author": "Benedikt Sommer <benediktsommer92@gmail.com>",
    "committer": "cran-robot <csardi.gabor+cran@gmail.com>",
    "message": "version 0.2.0\n",
    "time": 1784199602
  },
  "_distro": "resolute",
  "_host": "GitHub-Actions",
  "_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.8",
      "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
    },
    {
      "week": "2026-29",
      "n": 1
    }
  ],
  "_tags": [
    {
      "name": "0.1.0",
      "date": "2025-11-13"
    },
    {
      "name": "0.2.0",
      "date": "2026-07-16"
    }
  ],
  "_stars": 0,
  "_contributors": [
    {
      "user": "benesom",
      "count": 2,
      "uuid": 55534750
    }
  ],
  "_userbio": {
    "uuid": 6899542,
    "type": "organization",
    "name": "cran",
    "followers": 634,
    "description": "Unofficial read-only mirror of all CRAN R packages"
  },
  "_downloads": {
    "count": 344,
    "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.1",
  "_assets": [
    "extra/carts.html",
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/manual.pdf",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "LICENSE"
  ],
  "_homeurl": "https://github.com/novonordisk-opensource/carts",
  "_realowner": "novonordisk-opensource",
  "_cranurl": false,
  "_releases": [
    {
      "version": "0.1.0",
      "date": "2025-11-13"
    },
    {
      "version": "0.2.0",
      "date": "2026-07-16"
    }
  ],
  "_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_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": "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.32+ds-5",
      "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.32+ds-5",
      "name": "openblas",
      "homepage": "https://www.openblas.net/",
      "description": "Optimized BLAS (linear algebra) library (shared lib, pthread)"
    },
    {
      "shlib": "libstdc++",
      "package": "libstdc++6",
      "source": "gcc",
      "version": "16-20260322-1ubuntu1",
      "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.3010299956639813,
  "_indexed": false,
  "_nocasepkg": "carts",
  "_universes": [
    "cran"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.2.0",
      "date": "2026-10-22T08:49:43.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "9c4f200b28b2cccc9e258ff1c6efc02caf6b2ebd",
      "fileid": "https://r2.ropensci.org/5737ccd9b5a38f2af6091535c764b4a1869b2d1e4d518f3e05a8c68956e121c1",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/39749937593"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.2.0",
      "date": "2026-10-22T08:50:04.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "9c4f200b28b2cccc9e258ff1c6efc02caf6b2ebd",
      "fileid": "https://r2.ropensci.org/d69d5ffd8de62d094af2ec55d4bd32fca2bd0fb91fb3ebdf18e00e5a158af84a",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/39749937593"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.2.0",
      "date": "2026-10-22T08:49:48.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "9c4f200b28b2cccc9e258ff1c6efc02caf6b2ebd",
      "fileid": "https://r2.ropensci.org/021ae26351c9c2e969cb4c1e8bd03e43a237d33459fdfff7ca5e0b2f37d0e089",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/39749937593"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.2.0",
      "date": "2026-10-22T08:50:07.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "9c4f200b28b2cccc9e258ff1c6efc02caf6b2ebd",
      "fileid": "https://r2.ropensci.org/fe1e5ba6972592a97113cffa790bec76214722eee8e54e3d0608929a08b05846",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/39749937593"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.2.0",
      "date": "2026-10-22T08:49:59.000Z",
      "arch": "emscripten",
      "commit": "9c4f200b28b2cccc9e258ff1c6efc02caf6b2ebd",
      "fileid": "https://r2.ropensci.org/baf5310d9b2fc1af4128a7788880be198ff6502691ab16877f0f8492ae739bf6",
      "status": "success",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/39749937593"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.2.0",
      "date": "2026-10-22T08:51:23.000Z",
      "arch": "aarch64",
      "commit": "9c4f200b28b2cccc9e258ff1c6efc02caf6b2ebd",
      "fileid": "https://r2.ropensci.org/cfa8158dbfc3e483ddddb370505ae3960136c62fd10a1673a88716546a0a7969",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/39749937593"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.2.0",
      "date": "2026-10-22T08:49:12.000Z",
      "arch": "x86_64",
      "commit": "9c4f200b28b2cccc9e258ff1c6efc02caf6b2ebd",
      "fileid": "https://r2.ropensci.org/a9ec9fe1bf86584a267ed60b39f5013e3fbaf4e61e2328f360aad2c7bdedd478",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/39749937593"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.2.0",
      "date": "2026-10-22T08:51:24.000Z",
      "arch": "aarch64",
      "commit": "9c4f200b28b2cccc9e258ff1c6efc02caf6b2ebd",
      "fileid": "https://r2.ropensci.org/4fe51da90ec5d20c50e4d6a3a43d72258c96c33cce56eeeaab9aeda6e638b475",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/39749937593"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.2.0",
      "date": "2026-10-22T08:49:22.000Z",
      "arch": "x86_64",
      "commit": "9c4f200b28b2cccc9e258ff1c6efc02caf6b2ebd",
      "fileid": "https://r2.ropensci.org/94f82159b73473895e2fdf266d89a54c6645452bb1f5489d9cbae614f7afed47",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/39749937593"
    }
  ]
}