{
  "_id": "6a4a17da0b5cb829d37076bf",
  "Type": "Package",
  "Package": "baskexact",
  "Title": "Analytical Calculation of Basket Trial Operating Characteristics",
  "Version": "1.0.2",
  "Authors@R": "person(\"Lukas\", \"Baumann\", , \"baumann@imbi.uni-heidelberg.de\", role = c(\"aut\", \"cre\"),\ncomment = c(ORCID = \"0000-0001-7931-7470\"))",
  "Description": "Analytically calculates the operating characteristics of\nsingle-stage and two-stage basket trials with equal sample\nsizes using the power prior design by Baumann et al. (2024)\n<doi:10.48550/arXiv.2309.06988> and the design by Fujikawa et\nal. (2020) <doi:10.1002/bimj.201800404>.",
  "License": "GPL (>= 3)",
  "URL": "https://github.com/lbau7/baskexact",
  "VignetteBuilder": "knitr",
  "Config/testthat/edition": "3",
  "Encoding": "UTF-8",
  "RoxygenNote": "7.2.3",
  "Collate": "'RcppExports.R' 'class.R' 'adjust_lambda.R' 'analysis.R'\n'basket_test.R' 'baskexact-package.R' 'borrowing.R' 'check.R'\n'ecd.R' 'ess.R' 'estim.R' 'globalweights.R' 'helper.R'\n'interim.R' 'monotonicity.R' 'opt_design.R' 'plot.R' 'pow.R'\n'rejection_probabilities.R' 'toer.R' 'validate.R' 'weights.R'",
  "Config/pak/sysreqs": "libgmp3-dev",
  "Repository": "https://lbau7.r-universe.dev",
  "Date/Publication": "2024-08-15 13:14:05 UTC",
  "RemoteUrl": "https://github.com/lbau7/baskexact",
  "RemoteRef": "HEAD",
  "RemoteSha": "a524dd9714f05313b218ba30a247dca102015e8c",
  "NeedsCompilation": "yes",
  "Packaged": {
    "Date": "2026-07-05 08:27:43 UTC",
    "User": "root"
  },
  "Author": "Lukas Baumann [aut, cre] (ORCID:\n<https://orcid.org/0000-0001-7931-7470>)",
  "Maintainer": "Lukas Baumann <baumann@imbi.uni-heidelberg.de>",
  "_user": "lbau7",
  "_type": "src",
  "_file": "baskexact_1.0.2.tar.gz",
  "_fileid": "https://r2.ropensci.org/a03b4d195a1eb371c03b7120e1e6cb13aef03741bb49f912303241fd73da3a50",
  "_filesize": 273743,
  "_sha256": "a03b4d195a1eb371c03b7120e1e6cb13aef03741bb49f912303241fd73da3a50",
  "_expires": "2026-10-13T08:37:44.000Z",
  "_created": "2026-07-05T08:27:43.000Z",
  "_published": "2026-07-05T08:37:46.289Z",
  "_jobs": [
    {
      "job": 85206879523,
      "time": 362,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "NOTE",
      "artifact": "8090017900"
    },
    {
      "job": 85206879530,
      "time": 403,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "NOTE",
      "artifact": "8090022542"
    },
    {
      "job": 85206879528,
      "time": 406,
      "config": "linux-release-arm64",
      "r": "4.6.1",
      "check": "NOTE",
      "artifact": "8090023204"
    },
    {
      "job": 85206879531,
      "time": 332,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "NOTE",
      "artifact": "8090013654"
    },
    {
      "job": 85206879535,
      "time": 220,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "NOTE",
      "artifact": "8089999423"
    },
    {
      "job": 85206879511,
      "time": 517,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "NOTE",
      "artifact": "8090036627"
    },
    {
      "job": 85206879500,
      "time": 231,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "NOTE",
      "artifact": "8090000473"
    },
    {
      "job": 85206879509,
      "time": 554,
      "config": "macos-release-x86_64",
      "r": "4.6.1",
      "check": "NOTE",
      "artifact": "8090040938"
    },
    {
      "job": 85206668391,
      "time": 204,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8089972200"
    },
    {
      "job": 85206879504,
      "time": 137,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "8089989080"
    },
    {
      "job": 85206879534,
      "time": 418,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "NOTE",
      "artifact": "8090024302"
    },
    {
      "job": 85206879499,
      "time": 420,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "NOTE",
      "artifact": "8090024459"
    },
    {
      "job": 85206879503,
      "time": 436,
      "config": "windows-release",
      "r": "4.6.1",
      "check": "NOTE",
      "artifact": "8090026285"
    }
  ],
  "_host": "GitHub-Actions",
  "_buildurl": "https://github.com/r-universe/lbau7/actions/runs/28734684033",
  "_status": "success",
  "_upstream": "https://github.com/lbau7/baskexact",
  "_commit": {
    "id": "a524dd9714f05313b218ba30a247dca102015e8c",
    "author": "Lukas Baumann <55873662+lbau7@users.noreply.github.com>",
    "committer": "GitHub <noreply@github.com>",
    "message": "Merge pull request #5 from LukasDSauer/main\n\nFixing bug that appears when no critical value exists",
    "time": 1723727645
  },
  "_maintainer": {
    "name": "Lukas Baumann",
    "email": "baumann@imbi.uni-heidelberg.de",
    "login": "lbau7",
    "description": "",
    "uuid": 55873662,
    "orcid": "0000-0001-7931-7470"
  },
  "_distro": "resolute",
  "_registered": true,
  "_dependencies": [
    {
      "package": "Rcpp",
      "role": "LinkingTo"
    },
    {
      "package": "RcppArmadillo",
      "role": "LinkingTo"
    },
    {
      "package": "arrangements",
      "role": "Imports"
    },
    {
      "package": "doFuture",
      "role": "Imports"
    },
    {
      "package": "extraDistr",
      "role": "Imports"
    },
    {
      "package": "foreach",
      "role": "Imports"
    },
    {
      "package": "ggplot2",
      "role": "Imports"
    },
    {
      "package": "methods",
      "role": "Imports"
    },
    {
      "package": "Rcpp",
      "role": "Imports"
    },
    {
      "package": "covr",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "progressr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    }
  ],
  "_owner": "lbau7",
  "_selfowned": true,
  "_usedby": 2,
  "_updates": [],
  "_tags": [],
  "_stars": 2,
  "_contributors": [
    {
      "user": "lbau7",
      "count": 198,
      "uuid": 55873662
    },
    {
      "user": "lukasdsauer",
      "count": 3,
      "uuid": 10990295
    }
  ],
  "_userbio": {
    "uuid": 55873662,
    "type": "user",
    "name": "Lukas Baumann",
    "followers": 6
  },
  "_downloads": {
    "count": 414,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/baskexact"
  },
  "_devurl": "https://github.com/lbau7/baskexact",
  "_searchresults": 13,
  "_topics": [
    "openblas",
    "cpp"
  ],
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/baskexact.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/baskexact",
  "_realowner": "lbau7",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.1.0",
      "date": "2021-09-15"
    },
    {
      "version": "1.0.0",
      "date": "2024-03-13"
    },
    {
      "version": "1.0.1",
      "date": "2024-04-09"
    }
  ],
  "_exports": [
    "adjust_lambda",
    "basket_test",
    "check_mon_between",
    "check_mon_within",
    "ecd",
    "ess",
    "estim",
    "get_scenarios",
    "globalweights_diff",
    "globalweights_fix",
    "interim_posterior",
    "interim_postpred",
    "opt_design",
    "plot_weights",
    "pow",
    "setupOneStageBasket",
    "setupTwoStageBasket",
    "toer",
    "weights_cpp",
    "weights_fujikawa",
    "weights_jsd",
    "weights_mml",
    "weights_pool",
    "weights_separate"
  ],
  "_help": [
    {
      "page": "adjust_lambda",
      "title": "Adjust Lambda",
      "topics": [
        "adjust_lambda",
        "adjust_lambda,OneStageBasket-method",
        "adjust_lambda,TwoStageBasket-method"
      ]
    },
    {
      "page": "basket_test",
      "title": "Test for the Results of a Basket Trial",
      "topics": [
        "basket_test",
        "basket_test,OneStageBasket-method"
      ]
    },
    {
      "page": "check_mon_between",
      "title": "Check Between-Trial Monotonicity",
      "topics": [
        "check_mon_between",
        "check_mon_between,OneStageBasket-method"
      ]
    },
    {
      "page": "check_mon_within",
      "title": "Check Within-Trial Monotonicity",
      "topics": [
        "check_mon_within",
        "check_mon_within,OneStageBasket-method"
      ]
    },
    {
      "page": "ecd",
      "title": "Expected number of correct decisions",
      "topics": [
        "ecd",
        "ecd,OneStageBasket-method",
        "ecd,TwoStageBasket-method"
      ]
    },
    {
      "page": "ess",
      "title": "Expected Sample Size",
      "topics": [
        "ess",
        "ess,TwoStageBasket-method"
      ]
    },
    {
      "page": "estim",
      "title": "Posterior Mean and Mean Squared Error",
      "topics": [
        "estim",
        "estim,OneStageBasket-method",
        "estim,TwoStageBasket-method"
      ]
    },
    {
      "page": "get_scenarios",
      "title": "Create a Scenario Matrix",
      "topics": [
        "get_scenarios"
      ]
    },
    {
      "page": "globalweights_diff",
      "title": "Global Weights Based on Response Rate Differences",
      "topics": [
        "globalweights_diff"
      ]
    },
    {
      "page": "globalweights_fix",
      "title": "Fixed Global Weights",
      "topics": [
        "globalweights_fix"
      ]
    },
    {
      "page": "interim_posterior",
      "title": "Interim analysis based on the posterior probability",
      "topics": [
        "interim_posterior",
        "interim_posterior,TwoStageBasket-method"
      ]
    },
    {
      "page": "interim_postpred",
      "title": "Interim analysis based on the posterior predictive probability",
      "topics": [
        "interim_postpred",
        "interim_postpred,TwoStageBasket-method"
      ]
    },
    {
      "page": "OneStageBasket-class",
      "title": "Class OneStageBasket",
      "topics": [
        "OneStageBasket",
        "OneStageBasket-class"
      ]
    },
    {
      "page": "opt_design",
      "title": "Optimize a Basket Design",
      "topics": [
        "opt_design",
        "opt_design,OneStageBasket-method",
        "opt_design,TwoStageBasket-method"
      ]
    },
    {
      "page": "plot_weights",
      "title": "Plot Weight Functions",
      "topics": [
        "plot_weights",
        "plot_weights,OneStageBasket-method"
      ]
    },
    {
      "page": "pow",
      "title": "Power",
      "topics": [
        "pow",
        "pow,OneStageBasket-method",
        "pow,TwoStageBasket-method"
      ]
    },
    {
      "page": "setupOneStageBasket",
      "title": "Setup OneStageBasket",
      "topics": [
        "setupOneStageBasket"
      ]
    },
    {
      "page": "setupTwoStageBasket",
      "title": "Setup TwoStageBasket",
      "topics": [
        "setupTwoStageBasket"
      ]
    },
    {
      "page": "toer",
      "title": "Type 1 Error Rate",
      "topics": [
        "toer",
        "toer,OneStageBasket-method",
        "toer,TwoStageBasket-method"
      ]
    },
    {
      "page": "TwoStageBasket-class",
      "title": "Class TwoStageBasket",
      "topics": [
        "TwoStageBasket",
        "TwoStageBasket-class"
      ]
    },
    {
      "page": "weights_cpp",
      "title": "Weights Based on the Calibrated Power Prior",
      "topics": [
        "weights_cpp",
        "weights_cpp,OneStageBasket-method",
        "weights_cpp,TwoStageBasket-method"
      ]
    },
    {
      "page": "weights_fujikawa",
      "title": "Weights Based on Fujikawa et al.'s Design",
      "topics": [
        "weights_fujikawa",
        "weights_fujikawa,OneStageBasket-method",
        "weights_fujikawa,TwoStageBasket-method"
      ]
    },
    {
      "page": "weights_jsd",
      "title": "Weights Based on the Jensen-Shannon Divergence",
      "topics": [
        "weights_jsd",
        "weights_jsd,OneStageBasket-method",
        "weights_jsd,TwoStageBasket-method"
      ]
    },
    {
      "page": "weights_mml",
      "title": "Weights Based on the Marginal Maximum Likelihood",
      "topics": [
        "weights_mml",
        "weights_mml,OneStageBasket-method",
        "weights_mml,TwoStageBasket-method"
      ]
    },
    {
      "page": "weights_pool",
      "title": "Pooled Analysis",
      "topics": [
        "weights_pool",
        "weights_pool,OneStageBasket-method",
        "weights_pool,TwoStageBasket-method"
      ]
    },
    {
      "page": "weights_separate",
      "title": "Separate Analysis in Each Basket",
      "topics": [
        "weights_separate",
        "weights_separate,OneStageBasket-method",
        "weights_separate,TwoStageBasket-method"
      ]
    }
  ],
  "_readme": "https://github.com/lbau7/baskexact/raw/HEAD/README.md",
  "_rundeps": [
    "arrangements",
    "cli",
    "codetools",
    "cpp11",
    "digest",
    "doFuture",
    "extraDistr",
    "farver",
    "foreach",
    "future",
    "future.apply",
    "ggplot2",
    "globals",
    "glue",
    "gmp",
    "gtable",
    "isoband",
    "iterators",
    "labeling",
    "lifecycle",
    "listenv",
    "parallelly",
    "R6",
    "RColorBrewer",
    "Rcpp",
    "RcppArmadillo",
    "rlang",
    "S7",
    "scales",
    "vctrs",
    "viridisLite",
    "withr"
  ],
  "_sysdeps": [
    {
      "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": "v2_Extending_baskexact.Rmd",
      "filename": "v2_Extending_baskexact.html",
      "title": "Extending baskexact",
      "author": "Lukas Baumann",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Information Sharing in baskexact",
        "Pairwise Weights",
        "Global Weights",
        "References"
      ],
      "created": "2024-03-13 13:15:16",
      "modified": "2024-03-13 13:15:16",
      "commits": 1
    },
    {
      "source": "v1_Introduction.Rmd",
      "filename": "v1_Introduction.html",
      "title": "Introduction to baskexact",
      "author": "Lukas Baumann",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Scope",
        "Basic Usage",
        "References"
      ],
      "created": "2024-03-13 13:15:16",
      "modified": "2024-05-23 13:45:11",
      "commits": 2
    },
    {
      "source": "v3_Reproduce_Fujikawa.Rmd",
      "filename": "v3_Reproduce_Fujikawa.html",
      "title": "Reproduce Results From Fujikawa et al. (2020)",
      "author": "Lukas Baumann",
      "engine": "knitr::rmarkdown",
      "headings": [
        "References"
      ],
      "created": "2024-03-13 13:15:16",
      "modified": "2024-03-13 13:15:16",
      "commits": 1
    }
  ],
  "_score": 5.369215857410143,
  "_indexed": true,
  "_nocasepkg": "baskexact",
  "_universes": [
    "lbau7"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.0.2",
      "date": "2026-07-05T08:30:30.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "a524dd9714f05313b218ba30a247dca102015e8c",
      "fileid": "https://r2.ropensci.org/013ea191af2791525f33fb080f59234ee04da143d307d1bb324b4463c277e7d8",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/lbau7/actions/runs/28734684033"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.0.2",
      "date": "2026-07-05T08:30:13.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "a524dd9714f05313b218ba30a247dca102015e8c",
      "fileid": "https://r2.ropensci.org/1e94aea724e6428c97a4e72b08ed74fc6c67835c38fe7b7768b114b24505097d",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/lbau7/actions/runs/28734684033"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "1.0.2",
      "date": "2026-07-05T08:31:09.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "a524dd9714f05313b218ba30a247dca102015e8c",
      "fileid": "https://r2.ropensci.org/8ec0b18fdce3c3806ae4fc03095e84e045782ef4c6740917201211f66876e44f",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/lbau7/actions/runs/28734684033"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "1.0.2",
      "date": "2026-07-05T08:30:14.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "a524dd9714f05313b218ba30a247dca102015e8c",
      "fileid": "https://r2.ropensci.org/44175f4573b2c68af12c387cf8aafba9420e602d7f04efbe1496bfc37196994b",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/lbau7/actions/runs/28734684033"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.0.2",
      "date": "2026-07-05T08:29:26.000Z",
      "arch": "aarch64",
      "commit": "a524dd9714f05313b218ba30a247dca102015e8c",
      "fileid": "https://r2.ropensci.org/aa44dd5bbae77eb0c88dd7263db2eb89b659af360025aa9afed61d017d62f2bd",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/lbau7/actions/runs/28734684033"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.0.2",
      "date": "2026-07-05T08:31:10.000Z",
      "arch": "x86_64",
      "commit": "a524dd9714f05313b218ba30a247dca102015e8c",
      "fileid": "https://r2.ropensci.org/f67908e051dd5777805537352e6a8c88fa563088b4721da68c69b1ee2e7c5541",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/lbau7/actions/runs/28734684033"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "1.0.2",
      "date": "2026-07-05T08:29:27.000Z",
      "arch": "aarch64",
      "commit": "a524dd9714f05313b218ba30a247dca102015e8c",
      "fileid": "https://r2.ropensci.org/2433476adef0bd1fd308666fe04453f6a6c58d5a0f3d6164df8079aa23a1e67b",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/lbau7/actions/runs/28734684033"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "1.0.2",
      "date": "2026-07-05T08:30:41.000Z",
      "arch": "x86_64",
      "commit": "a524dd9714f05313b218ba30a247dca102015e8c",
      "fileid": "https://r2.ropensci.org/5ed0ee33fa1c41b9db71ec3efac45930c4674b2de4fabe79945c9f1547ee0f69",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/lbau7/actions/runs/28734684033"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.0.2",
      "date": "2026-07-05T08:30:18.000Z",
      "arch": "emscripten",
      "commit": "a524dd9714f05313b218ba30a247dca102015e8c",
      "fileid": "https://r2.ropensci.org/1b969a0954208b19461fda55cba29cb8b3edc8dbd8ec38607301ecde11e3e855",
      "status": "success",
      "buildurl": "https://github.com/r-universe/lbau7/actions/runs/28734684033"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.0.2",
      "date": "2026-07-05T08:29:09.000Z",
      "arch": "x86_64",
      "commit": "a524dd9714f05313b218ba30a247dca102015e8c",
      "fileid": "https://r2.ropensci.org/3749131dcce6602bbb96c397a4232b424d574be0776511009a01a67ae4db7020",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/lbau7/actions/runs/28734684033"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.0.2",
      "date": "2026-07-05T08:29:21.000Z",
      "arch": "x86_64",
      "commit": "a524dd9714f05313b218ba30a247dca102015e8c",
      "fileid": "https://r2.ropensci.org/1b389e96287a8b90251c0918c03a24e56a53b7933a1b21fd64f2351f5a364539",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/lbau7/actions/runs/28734684033"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "1.0.2",
      "date": "2026-07-05T08:29:14.000Z",
      "arch": "x86_64",
      "commit": "a524dd9714f05313b218ba30a247dca102015e8c",
      "fileid": "https://r2.ropensci.org/cb75ec63830502711ec12a5708d930ed4b0b90a0bbbb36d1f890dd77b96c6bcc",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/lbau7/actions/runs/28734684033"
    }
  ]
}