{
  "_id": "6a2a59fd7b7a29ca6003ad16",
  "Package": "basksim",
  "Type": "Package",
  "Title": "Simulation-Based Calculation of Basket Trial Operating\nCharacteristics",
  "Version": "2.2.0",
  "Authors@R": "c(\nperson(\"Lukas\", \"Baumann\", , \"baumann@imbi.uni-heidelberg.de\",\nrole = c(\"aut\", \"cre\"),\ncomment = c(ORCID = \"0000-0001-7931-7470\")),\nperson(\"Lukas D\", \"Sauer\", ,\"sauer@imbi.uni-heidelberg.de\",\nrole = c(\"aut\"),\ncomment = c(ORCID = \"0000-0002-1340-9994\")),\nperson(\"Sabrina\", \"Schmitt\", ,\"sabrina.schmitt@uni-wuerzburg.de\",\nrole = c(\"aut\"),\ncomment = c(ORCID = \"0009-0008-2719-6513\"))\n)",
  "Description": "Provides a unified syntax for the simulation-based\ncomparison of different single-stage basket trial designs with\na binary endpoint and equal sample sizes in all baskets.\nMethods include the designs by Baumann et al. (2025)\n<doi:10.1080/19466315.2024.2402275>, Schmitt and Baumann (2025)\n<doi:10.1080/19466315.2025.2486231>, Fujikawa et al. (2020)\n<doi:10.1002/bimj.201800404>, Berry et al. (2020)\n<doi:10.1177/1740774513497539>, and Neuenschwander et al.\n(2016) <doi:10.1002/pst.1730>. For the latter two designs, the\nfunctions are mostly wrappers for functions provided by the\npackage 'bhmbasket'.",
  "License": "GPL (>= 3)",
  "Encoding": "UTF-8",
  "RoxygenNote": "7.3.3",
  "Config/testthat/edition": "3",
  "URL": "https://github.com/lbau7/basksim",
  "BugReports": "https://github.com/lbau7/basksim/issues",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-06-11 06:42:41 UTC",
    "User": "root"
  },
  "Author": "Lukas Baumann [aut, cre] (ORCID:\n<https://orcid.org/0000-0001-7931-7470>), Lukas D Sauer [aut]\n(ORCID: <https://orcid.org/0000-0002-1340-9994>), Sabrina\nSchmitt [aut] (ORCID: <https://orcid.org/0009-0008-2719-6513>)",
  "Maintainer": "Lukas Baumann <baumann@imbi.uni-heidelberg.de>",
  "Repository": "https://cran.r-universe.dev",
  "Date/Publication": "2026-05-12 10:02:23 UTC",
  "RemoteUrl": "https://github.com/cran/basksim",
  "RemoteRef": "HEAD",
  "RemoteSha": "c35bfc470b5f699670812c189373c3d55772d9ae",
  "MD5sum": "e4e56597e73909ad9d05aa05507b3ca4",
  "_user": "cran",
  "_type": "src",
  "_file": "basksim_2.2.0.tar.gz",
  "_fileid": "942b379909ab8db74537d6146c28a645536f78e64dd78144cc33c226498902f3",
  "_filesize": 261603,
  "_sha256": "942b379909ab8db74537d6146c28a645536f78e64dd78144cc33c226498902f3",
  "_created": "2026-06-11T06:42:41.000Z",
  "_published": "2026-06-11T06:47:25.017Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 80736446371,
      "time": 250,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7556763776"
    },
    {
      "job": 80736446350,
      "time": 238,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7556760265"
    },
    {
      "job": 80736060590,
      "time": 158,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7556688106"
    },
    {
      "job": 80736446332,
      "time": 112,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7556722191"
    }
  ],
  "_buildurl": "https://github.com/r-universe/cran/actions/runs/27328831460",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/cran/basksim",
  "_commit": {
    "id": "c35bfc470b5f699670812c189373c3d55772d9ae",
    "author": "Lukas Baumann <baumann@imbi.uni-heidelberg.de>",
    "committer": "cran-robot <csardi.gabor+cran@gmail.com>",
    "message": "version 2.2.0\n",
    "time": 1778580143
  },
  "_maintainer": {
    "name": "Lukas Baumann",
    "email": "baumann@imbi.uni-heidelberg.de",
    "login": "lbau7",
    "description": "",
    "uuid": 55873662,
    "orcid": "0000-0001-7931-7470"
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "arrangements",
      "role": "Imports"
    },
    {
      "package": "bhmbasket",
      "version": ">= 1.0.0",
      "role": "Imports"
    },
    {
      "package": "doFuture",
      "role": "Imports"
    },
    {
      "package": "extraDistr",
      "role": "Imports"
    },
    {
      "package": "foreach",
      "role": "Imports"
    },
    {
      "package": "HDInterval",
      "role": "Imports"
    },
    {
      "package": "progressr",
      "role": "Imports"
    },
    {
      "package": "purrr",
      "role": "Imports"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "covr",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    },
    {
      "package": "ggplot2",
      "role": "Suggests"
    }
  ],
  "_owner": "cran",
  "_selfowned": false,
  "_usedby": 2,
  "_updates": [
    {
      "week": "2026-08",
      "n": 1
    },
    {
      "week": "2026-10",
      "n": 1
    },
    {
      "week": "2026-20",
      "n": 1
    }
  ],
  "_tags": [
    {
      "name": "2.0.2",
      "date": "2026-02-20"
    },
    {
      "name": "2.1.0",
      "date": "2026-03-03"
    },
    {
      "name": "2.2.0",
      "date": "2026-05-12"
    }
  ],
  "_stars": 0,
  "_contributors": [
    {
      "user": "lbau7",
      "count": 4,
      "uuid": 55873662
    }
  ],
  "_userbio": {
    "uuid": 6899542,
    "type": "organization",
    "name": "cran",
    "description": "Unofficial read-only mirror of all CRAN R packages"
  },
  "_downloads": {
    "count": 492,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/basksim"
  },
  "_devurl": "https://github.com/lbau7/basksim",
  "_searchresults": 19,
  "_topics": [
    "jags",
    "cpp"
  ],
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/basksim.html",
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/lbau7/basksim",
  "_realowner": "lbau7",
  "_cranurl": false,
  "_releases": [
    {
      "version": "1.0.0",
      "date": "2024-04-12"
    },
    {
      "version": "2.0.2",
      "date": "2026-02-20"
    },
    {
      "version": "2.1.0",
      "date": "2026-03-03"
    },
    {
      "version": "2.2.0",
      "date": "2026-05-12"
    }
  ],
  "_exports": [
    "adjust_lambda",
    "ecd",
    "geom_borrow",
    "geom_posterior",
    "geom_prior",
    "get_data",
    "get_details",
    "get_evaluation",
    "get_results",
    "get_scenarios",
    "opt_design",
    "setup_app",
    "setup_bhm",
    "setup_binomial",
    "setup_cpp",
    "setup_cppglobal",
    "setup_cpplim",
    "setup_exnex",
    "setup_fujikawa",
    "setup_jsdglobal",
    "setup_mml",
    "setup_mmlglobal",
    "toer"
  ],
  "_help": [
    {
      "page": "adjust_lambda",
      "title": "Adjust Lambda",
      "topics": [
        "adjust_lambda"
      ]
    },
    {
      "page": "adjust_lambda.bhm",
      "title": "Adjust Lambda for the BHM Design",
      "topics": [
        "adjust_lambda.bhm"
      ]
    },
    {
      "page": "adjust_lambda.default",
      "title": "Adjust Lambda",
      "topics": [
        "adjust_lambda.default"
      ]
    },
    {
      "page": "adjust_lambda.exnex",
      "title": "Adjust Lambda for the EXNEX Design",
      "topics": [
        "adjust_lambda.exnex"
      ]
    },
    {
      "page": "ecd",
      "title": "Calculate the Expected Number of Correct Decisions for a Basket Trial Design",
      "topics": [
        "ecd"
      ]
    },
    {
      "page": "geom_borrow",
      "title": "Plot a Bayesian basket trial's posterior distribution after borrowing",
      "topics": [
        "geom_borrow"
      ]
    },
    {
      "page": "geom_borrow.fujikawa",
      "title": "Plot a Fujikawa basket trial's posterior distribution after borrowing",
      "topics": [
        "geom_borrow.fujikawa"
      ]
    },
    {
      "page": "geom_posterior",
      "title": "Plot a Bayesian basket trial's posterior distribution",
      "topics": [
        "geom_posterior"
      ]
    },
    {
      "page": "geom_posterior.fujikawa",
      "title": "Plot a Fujikawa basket trial's posterior distribution",
      "topics": [
        "geom_posterior.fujikawa"
      ]
    },
    {
      "page": "geom_prior",
      "title": "Plot a Bayesian basket trial's prior distribution",
      "topics": [
        "geom_prior"
      ]
    },
    {
      "page": "geom_prior.fujikawa",
      "title": "Plot a Fujikawa basket trial's prior distribution",
      "topics": [
        "geom_prior.fujikawa"
      ]
    },
    {
      "page": "get_data",
      "title": "Simulate Data Based on a Binomial Distribution",
      "topics": [
        "get_data"
      ]
    },
    {
      "page": "get_details",
      "title": "Get Details of a Basket Trial Simulation",
      "topics": [
        "get_details"
      ]
    },
    {
      "page": "get_details.app",
      "title": "Get Details of a Basket Trial Simulation with the Adaptive Power Prior Design for sequential clinical trials",
      "topics": [
        "get_details.app"
      ]
    },
    {
      "page": "get_details.bhm",
      "title": "Get Details of a BHM Basket Trial Simulation",
      "topics": [
        "get_details.bhm"
      ]
    },
    {
      "page": "get_details.binomial",
      "title": "Get Details of a Basket Trial with the Frequentist Binomial Design",
      "topics": [
        "get_details.binomial"
      ]
    },
    {
      "page": "get_details.cpp",
      "title": "Get Details of a Basket Trial Simulation with the Calibrated Power Prior Design",
      "topics": [
        "get_details.cpp"
      ]
    },
    {
      "page": "get_details.cppglobal",
      "title": "Get Details of a Basket Trial Simulation with the Global Calibrated Power Prior Design",
      "topics": [
        "get_details.cppglobal"
      ]
    },
    {
      "page": "get_details.cpplim",
      "title": "Get Details of a Basket Trial Simulation with the Limited Calibrated Power Prior Design",
      "topics": [
        "get_details.cpplim"
      ]
    },
    {
      "page": "get_details.exnex",
      "title": "Get Details of a Basket Trial Simulation with the EXNEX Design",
      "topics": [
        "get_details.exnex"
      ]
    },
    {
      "page": "get_details.fujikawa",
      "title": "Get Details of a Basket Trial Simulation with Fujikawa's Design",
      "topics": [
        "get_details.fujikawa"
      ]
    },
    {
      "page": "get_details.jsdglobal",
      "title": "Get Details of a Basket Trial Simulation with the Power Prior Design Based on Global JSD Weights",
      "topics": [
        "get_details.jsdglobal"
      ]
    },
    {
      "page": "get_details.mml",
      "title": "Get Details of a Basket Trial Simulation with the MML Design",
      "topics": [
        "get_details.mml"
      ]
    },
    {
      "page": "get_details.mmlglobal",
      "title": "Get Details of a Basket Trial Simulation with the Global MML Design",
      "topics": [
        "get_details.mmlglobal"
      ]
    },
    {
      "page": "get_evaluation",
      "title": "Evaluate a Basket Trial",
      "topics": [
        "get_evaluation"
      ]
    },
    {
      "page": "get_evaluation.app",
      "title": "Evaluate a Basket Trial with the Adaptive Power Prior Design for sequential clinical trials",
      "topics": [
        "get_evaluation.app"
      ]
    },
    {
      "page": "get_evaluation.bhm",
      "title": "Evaluate a BHM Basket Trial",
      "topics": [
        "get_evaluation.bhm"
      ]
    },
    {
      "page": "get_evaluation.cpp",
      "title": "Evaluate a Basket Trial with the Calibrated Power Prior Design",
      "topics": [
        "get_evaluation.cpp"
      ]
    },
    {
      "page": "get_evaluation.cpplim",
      "title": "Evaluate a Basket Trial with the Limited Calibrated Power Prior Design",
      "topics": [
        "get_evaluation.cpplim"
      ]
    },
    {
      "page": "get_evaluation.exnex",
      "title": "Evaluate a Basket Trial with the EXNEX Design",
      "topics": [
        "get_evaluation.exnex"
      ]
    },
    {
      "page": "get_evaluation.fujikawa",
      "title": "Evaluate a Basket Trial with Fujikawa's Design",
      "topics": [
        "get_evaluation.fujikawa"
      ]
    },
    {
      "page": "get_results",
      "title": "Get Results for Simulation of Basket Trial Designs",
      "topics": [
        "get_results"
      ]
    },
    {
      "page": "get_results.app",
      "title": "Get Results for Simulation of a Basket Trial with Adaptive Power Prior Design",
      "topics": [
        "get_results.app"
      ]
    },
    {
      "page": "get_results.bhm",
      "title": "Get Results for Simulation of a Basket Trial with the BHM Design",
      "topics": [
        "get_results.bhm"
      ]
    },
    {
      "page": "get_results.cpp",
      "title": "Get Results for Simulation of a Basket Trial with a Calibrated Power Prior Design",
      "topics": [
        "get_results.cpp"
      ]
    },
    {
      "page": "get_results.cppglobal",
      "title": "Get Results for Simulation of a Basket Trial with a Global Calibrated Power Prior Design",
      "topics": [
        "get_results.cppglobal"
      ]
    },
    {
      "page": "get_results.cpplim",
      "title": "Get Results for Simulation of a Basket Trial with a Limited Calibrated Power Prior Design",
      "topics": [
        "get_results.cpplim"
      ]
    },
    {
      "page": "get_results.exnex",
      "title": "Get Results for Simulation of a Basket Trial with the EXNEX Design",
      "topics": [
        "get_results.exnex"
      ]
    },
    {
      "page": "get_results.fujikawa",
      "title": "Get Results for Simulation of a Basket Trial with Fujikawa's Design",
      "topics": [
        "get_results.fujikawa"
      ]
    },
    {
      "page": "get_results.jsdglobal",
      "title": "Get Results for Simulation of a Basket Trial with the Power Prior Design Based on Global JSD Weights",
      "topics": [
        "get_results.jsdglobal"
      ]
    },
    {
      "page": "get_results.mml",
      "title": "Get Results for Simulation of a Basket Trial with the MML Design",
      "topics": [
        "get_results.mml"
      ]
    },
    {
      "page": "get_results.mmlglobal",
      "title": "Get Results for Simulation of a Basket Trial with the Global MML Design",
      "topics": [
        "get_results.mmlglobal"
      ]
    },
    {
      "page": "get_scenarios",
      "title": "Create a Scenario Matrix",
      "topics": [
        "get_scenarios"
      ]
    },
    {
      "page": "opt_design",
      "title": "Optimize a Basket Trial Design",
      "topics": [
        "opt_design"
      ]
    },
    {
      "page": "setup_app",
      "title": "Set Up Adaptive Power Prior Design Object",
      "topics": [
        "setup_app"
      ]
    },
    {
      "page": "setup_bhm",
      "title": "Set Up BHM Design Object",
      "topics": [
        "setup_bhm"
      ]
    },
    {
      "page": "setup_binomial",
      "title": "Set Up Frequentist Binomial Design Object",
      "topics": [
        "setup_binomial"
      ]
    },
    {
      "page": "setup_cpp",
      "title": "Set Up Calibrated Power Prior Design Object",
      "topics": [
        "setup_cpp"
      ]
    },
    {
      "page": "setup_cppglobal",
      "title": "Set Up Global Calibrated Power Prior Design Object",
      "topics": [
        "setup_cppglobal"
      ]
    },
    {
      "page": "setup_cpplim",
      "title": "Set Up Limited Calibrated Power Prior Design Object",
      "topics": [
        "setup_cpplim"
      ]
    },
    {
      "page": "setup_exnex",
      "title": "Set Up EXNEX Design Object",
      "topics": [
        "setup_exnex"
      ]
    },
    {
      "page": "setup_fujikawa",
      "title": "Set Up Fujikawa Design Object",
      "topics": [
        "setup_fujikawa"
      ]
    },
    {
      "page": "setup_jsdglobal",
      "title": "Set Up Global JSD Design Object",
      "topics": [
        "setup_jsdglobal"
      ]
    },
    {
      "page": "setup_mml",
      "title": "Set Up mml Design Object",
      "topics": [
        "setup_mml"
      ]
    },
    {
      "page": "setup_mmlglobal",
      "title": "Set Up mmlglobal Design Object",
      "topics": [
        "setup_mmlglobal"
      ]
    },
    {
      "page": "toer",
      "title": "Calculate the Type 1 Error Rate for a Basket Trial Design",
      "topics": [
        "toer"
      ]
    }
  ],
  "_readme": "https://github.com/cran/basksim/raw/HEAD/README.md",
  "_rundeps": [
    "arrangements",
    "backports",
    "bhmbasket",
    "checkmate",
    "cli",
    "coda",
    "codetools",
    "digest",
    "doFuture",
    "doRNG",
    "extraDistr",
    "foreach",
    "future",
    "future.apply",
    "globals",
    "glue",
    "gmp",
    "HDInterval",
    "iterators",
    "lattice",
    "lifecycle",
    "listenv",
    "magrittr",
    "parallelly",
    "progressr",
    "purrr",
    "R6",
    "Rcpp",
    "RcppArmadillo",
    "rjags",
    "rlang",
    "rngtools",
    "vctrs"
  ],
  "_sysdeps": [
    {
      "shlib": "libjags",
      "package": "jags",
      "headers": "jags",
      "source": "jags",
      "version": "4.3.2-2.2404.0",
      "name": "jags",
      "homepage": "https://mcmc-jags.sourceforge.io",
      "description": "Just Another Gibbs Sampler for Bayesian MCMC - binary"
    },
    {
      "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"
    }
  ],
  "_score": 3.232996110392154,
  "_indexed": false,
  "_nocasepkg": "basksim",
  "_universes": [
    "cran"
  ],
  "_indexurl": "https://lbau7.r-universe.dev/basksim",
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "2.2.0",
      "date": "2026-06-11T06:45:01.000Z",
      "distro": "noble",
      "commit": "c35bfc470b5f699670812c189373c3d55772d9ae",
      "fileid": "fd15a30fb9812270abf9ba1455b75961b101f49480c774c861779a0ab76ae672",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/27328831460"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "2.2.0",
      "date": "2026-06-11T06:44:48.000Z",
      "distro": "noble",
      "commit": "c35bfc470b5f699670812c189373c3d55772d9ae",
      "fileid": "6fe0675de47b231f5ac6be3eabbbb093a34feedf7110f311ff2a97aeb3a20f47",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/27328831460"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "2.2.0",
      "date": "2026-06-11T06:44:51.000Z",
      "commit": "c35bfc470b5f699670812c189373c3d55772d9ae",
      "fileid": "837915eb32a7555ddfd505deba974d1e91f5f548f7bffff2eb2374f9550c71b2",
      "status": "success",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/27328831460"
    }
  ]
}