{
  "_id": "6a107de8acfb0bcc41cae814",
  "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-05-06 06:27:23 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>",
  "MD5sum": "6a5f843e0218f0d7157e1c0ad091e671",
  "_user": "lbau7",
  "_type": "src",
  "_file": "baskexact_1.0.2.tar.gz",
  "_fileid": "1729634fd7ebed22a718bb5dab7c14f80fe560ad41f1718eee2f4c614a9fbd5b",
  "_filesize": 273628,
  "_sha256": "1729634fd7ebed22a718bb5dab7c14f80fe560ad41f1718eee2f4c614a9fbd5b",
  "_created": "2026-05-06T06:27:23.000Z",
  "_published": "2026-05-22T16:01:44.828Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 77416321807,
      "time": 384,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "NOTE",
      "artifact": "6824069979"
    },
    {
      "job": 77416322110,
      "time": 388,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "NOTE",
      "artifact": "6824072140"
    },
    {
      "job": 77416321880,
      "time": 359,
      "config": "linux-release-arm64",
      "r": "4.6.0",
      "check": "NOTE",
      "artifact": "6824064335"
    },
    {
      "job": 77416322209,
      "time": 392,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "NOTE",
      "artifact": "6824072985"
    },
    {
      "job": 77416322034,
      "time": 269,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "NOTE",
      "artifact": "6824048690"
    },
    {
      "job": 77416322071,
      "time": 733,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "NOTE",
      "artifact": "6824159660"
    },
    {
      "job": 77416321887,
      "time": 258,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "NOTE",
      "artifact": "6824051004"
    },
    {
      "job": 77416321842,
      "time": 550,
      "config": "macos-release-x86_64",
      "r": "4.6.0",
      "check": "NOTE",
      "artifact": "6824107192"
    },
    {
      "job": 77416321266,
      "time": 253,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6823985871"
    },
    {
      "job": 77416321215,
      "time": 133,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7164934706"
    },
    {
      "job": 77416321969,
      "time": 418,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "NOTE",
      "artifact": "6824077270"
    },
    {
      "job": 77416321924,
      "time": 405,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "NOTE",
      "artifact": "6824074724"
    },
    {
      "job": 77416321648,
      "time": 363,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "NOTE",
      "artifact": "6824065366"
    }
  ],
  "_buildurl": "https://github.com/r-universe/lbau7/actions/runs/25419861433",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_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",
    "uuid": 55873662,
    "orcid": "0000-0001-7931-7470"
  },
  "_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"
  },
  "_downloads": {
    "count": 314,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/baskexact"
  },
  "_devurl": "https://github.com/lbau7/baskexact",
  "_searchresults": 12,
  "_topics": [
    "openblas",
    "cpp"
  ],
  "_rbuild": "4.6.0",
  "_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.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": "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.334453751150931,
  "_indexed": true,
  "_nocasepkg": "baskexact",
  "_universes": [
    "lbau7"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.0.2",
      "date": "2026-05-06T06:30:28.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "a524dd9714f05313b218ba30a247dca102015e8c",
      "fileid": "a3323b2fbf6047def12a9ac313f3b64eec5693fbf6e15dd64c54ef74df0692cb",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/lbau7/actions/runs/25419861433"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.0.2",
      "date": "2026-05-06T06:30:03.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "a524dd9714f05313b218ba30a247dca102015e8c",
      "fileid": "5c886a31c37e8f6bf30ea5c44bce1dabc8c521782e4a0e5610c1dd1ca5a9757b",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/lbau7/actions/runs/25419861433"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "1.0.2",
      "date": "2026-05-06T06:29:50.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "a524dd9714f05313b218ba30a247dca102015e8c",
      "fileid": "438b1649bc750fd4aa1e344c0e10d57dd7a1a853818230125e33f2cb73d3f3c7",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/lbau7/actions/runs/25419861433"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "1.0.2",
      "date": "2026-05-06T06:29:59.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "a524dd9714f05313b218ba30a247dca102015e8c",
      "fileid": "f3161eace0545bbaeefc86f2219fbff2f17557acad2d84a822674893669e8fa7",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/lbau7/actions/runs/25419861433"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.0.2",
      "date": "2026-05-06T06:29:19.000Z",
      "arch": "aarch64",
      "commit": "a524dd9714f05313b218ba30a247dca102015e8c",
      "fileid": "a7509fee2f3c66f65b5e72c5ecad2a7cc45fe69a06b2087e9ad2ce4d76bde854",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/lbau7/actions/runs/25419861433"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.0.2",
      "date": "2026-05-06T06:33:15.000Z",
      "arch": "x86_64",
      "commit": "a524dd9714f05313b218ba30a247dca102015e8c",
      "fileid": "bd7b1465dc1791a61f4b45d4350b7a4e934e17595af7d33daefad9d07acc3c9c",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/lbau7/actions/runs/25419861433"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "1.0.2",
      "date": "2026-05-06T06:30:02.000Z",
      "arch": "aarch64",
      "commit": "a524dd9714f05313b218ba30a247dca102015e8c",
      "fileid": "eb7f98e55a5136a01154478253f92af36133d84fd434f18edad0938cae4a2009",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/lbau7/actions/runs/25419861433"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "1.0.2",
      "date": "2026-05-06T06:30:31.000Z",
      "arch": "x86_64",
      "commit": "a524dd9714f05313b218ba30a247dca102015e8c",
      "fileid": "aa84926d86c4d35c452c053de03b8a604f100f0ec94e18bf44bd7dd7ce0dd1c7",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/lbau7/actions/runs/25419861433"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.0.2",
      "date": "2026-05-06T06:28:56.000Z",
      "arch": "x86_64",
      "commit": "a524dd9714f05313b218ba30a247dca102015e8c",
      "fileid": "47a90d87c1b89cb16147130eac38faed709d57e520827486b9788cac20a93642",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/lbau7/actions/runs/25419861433"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.0.2",
      "date": "2026-05-06T06:28:51.000Z",
      "arch": "x86_64",
      "commit": "a524dd9714f05313b218ba30a247dca102015e8c",
      "fileid": "bacfbdc002d42d7cb7a9d0456c390f62399906e62235a5ddbba76e0ecec765ab",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/lbau7/actions/runs/25419861433"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "1.0.2",
      "date": "2026-05-06T06:29:14.000Z",
      "arch": "x86_64",
      "commit": "a524dd9714f05313b218ba30a247dca102015e8c",
      "fileid": "143bbea2b7902e9b908c5ab03b775203ceef50d86efa136fe88374a5d86bedc5",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/lbau7/actions/runs/25419861433"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.0.2",
      "date": "2026-05-22T16:00:55.000Z",
      "arch": "emscripten",
      "commit": "a524dd9714f05313b218ba30a247dca102015e8c",
      "fileid": "0939333e08891f318137205ccbc6008b2525933dbde6998e37b786d6bc3855d2",
      "status": "success",
      "buildurl": "https://github.com/r-universe/lbau7/actions/runs/25419861433"
    }
  ]
}