{
  "_id": "6a1ee5c9b401979e734113ef",
  "Package": "baskwrap",
  "Title": "Wrapper Package for Several Basket Trial R Packages",
  "Version": "1.0.3",
  "Authors@R": "person(\"Lukas D\", \"Sauer\", , \"sauer@imbi.uni-heidelberg.de\",\nrole = c(\"aut\", \"cre\"),\ncomment = c(ORCID = \"https://orcid.org/0000-0002-1340-9994\"))",
  "Description": "A simple interface to switch between two methods for\ncalculating basket trial characteristics, numerical integration\n(\"exact\") and Monte Carlo simulation (\"simulated\") for the\nbasket trial design by Fujikawa et al. 2020\n<doi:10.1002/bimj.201800404>. The exact implementation is from\nthe 'baskexact' package, see Baumann (2024)\n<doi:10.1016/j.softx.2024.101793>. The simulated implementation\nis from the 'basksim' package, which was developed for Baumann\net al. (2024) <doi:10.1080/19466315.2024.2402275>. The\npackage's syntax is compatible with the 'basksim' syntax and\neasily extendable.",
  "License": "MIT + file LICENSE",
  "Encoding": "UTF-8",
  "Roxygen": "list(markdown = TRUE)",
  "RoxygenNote": "7.3.3",
  "URL": "https://github.com/LukasDSauer/baskwrap",
  "BugReports": "https://github.com/LukasDSauer/baskwrap/issues",
  "Config/testthat/edition": "3",
  "Config/pak/sysreqs": "libgmp3-dev jags",
  "Repository": "https://lukasdsauer.r-universe.dev",
  "Date/Publication": "2026-03-20 09:28:14 UTC",
  "RemoteUrl": "https://github.com/lukasdsauer/baskwrap",
  "RemoteRef": "HEAD",
  "RemoteSha": "60835efed163dce0395f4fd00dfcda8aa35b6c8b",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-05-20 05:52:38 UTC",
    "User": "root"
  },
  "Author": "Lukas D Sauer [aut, cre] (ORCID:\n<https://orcid.org/0000-0002-1340-9994>)",
  "Maintainer": "Lukas D Sauer <sauer@imbi.uni-heidelberg.de>",
  "MD5sum": "ae039805978ae1a08da0f65d539af55f",
  "_user": "lukasdsauer",
  "_type": "src",
  "_file": "baskwrap_1.0.3.tar.gz",
  "_fileid": "f79b23424ae5be2561a48b4eabdacf711ce465109a25627ed81a64073cc65cc5",
  "_filesize": 423385,
  "_sha256": "f79b23424ae5be2561a48b4eabdacf711ce465109a25627ed81a64073cc65cc5",
  "_created": "2026-05-20T05:52:38.000Z",
  "_published": "2026-06-02T14:16:41.310Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 79091936193,
      "time": 218,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7102332495"
    },
    {
      "job": 79091936913,
      "time": 213,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7102331409"
    },
    {
      "job": 79091937641,
      "time": 196,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7102322539"
    },
    {
      "job": 79091936490,
      "time": 185,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7102317965"
    },
    {
      "job": 79091935774,
      "time": 189,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7102285004"
    },
    {
      "job": 79091935950,
      "time": 118,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7360278544"
    },
    {
      "job": 79091936479,
      "time": 185,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7102325417"
    },
    {
      "job": 79091936406,
      "time": 186,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7102325038"
    },
    {
      "job": 79091936714,
      "time": 190,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7102326407"
    }
  ],
  "_buildurl": "https://github.com/r-universe/lukasdsauer/actions/runs/26144074425",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/lukasdsauer/baskwrap",
  "_commit": {
    "id": "60835efed163dce0395f4fd00dfcda8aa35b6c8b",
    "author": "Lukas D Sauer <sauer@imbi.uni-heidelberg.de>",
    "committer": "Lukas D Sauer <sauer@imbi.uni-heidelberg.de>",
    "message": "CRAN badge\n",
    "time": 1773998894
  },
  "_maintainer": {
    "name": "Lukas D Sauer",
    "email": "sauer@imbi.uni-heidelberg.de",
    "login": "lukasdsauer",
    "linkedin": "in/lukas-d-sauer-2288001b0",
    "orcid": "0000-0002-1340-9994",
    "description": "Biometrician at the @imbi-heidelberg, University Hospital of Heidelberg, Germany.",
    "uuid": 10990295
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 3.5.0",
      "role": "Depends"
    },
    {
      "package": "basksim",
      "version": ">= 0.1.0",
      "role": "Imports"
    },
    {
      "package": "baskexact",
      "role": "Imports"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    },
    {
      "package": "here",
      "role": "Suggests"
    },
    {
      "package": "reticulate",
      "role": "Suggests"
    },
    {
      "package": "ggplot2",
      "role": "Suggests"
    }
  ],
  "_owner": "lukasdsauer",
  "_selfowned": true,
  "_usedby": 1,
  "_updates": [
    {
      "week": "2025-23",
      "n": 4
    },
    {
      "week": "2025-24",
      "n": 2
    },
    {
      "week": "2025-26",
      "n": 3
    },
    {
      "week": "2025-38",
      "n": 2
    },
    {
      "week": "2025-39",
      "n": 1
    },
    {
      "week": "2026-10",
      "n": 6
    },
    {
      "week": "2026-11",
      "n": 2
    },
    {
      "week": "2026-12",
      "n": 1
    }
  ],
  "_tags": [
    {
      "name": "v1.0.3",
      "date": "2026-03-13"
    }
  ],
  "_topics": [
    "basket-trials",
    "bayesian-statistics",
    "clinical-trials",
    "jags",
    "cpp"
  ],
  "_stars": 1,
  "_contributors": [
    {
      "user": "lukasdsauer",
      "count": 70,
      "uuid": 10990295
    }
  ],
  "_userbio": {
    "uuid": 10990295,
    "type": "user",
    "name": "Lukas D. Sauer",
    "description": "Biometrician at the @imbi-heidelberg, University Hospital of Heidelberg, Germany."
  },
  "_downloads": {
    "count": 546,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/baskwrap"
  },
  "_devurl": "https://github.com/lukasdsauer/baskwrap",
  "_searchresults": 3,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/baskwrap.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/lukasdsauer/baskwrap",
  "_realowner": "lukasdsauer",
  "_cranurl": true,
  "_releases": [
    {
      "version": "1.0.3",
      "date": "2026-03-19"
    }
  ],
  "_exports": [
    "basket_test",
    "check_mon_between",
    "check_mon_within",
    "convert_to_baskexact",
    "convert_to_basksim",
    "convert_to_fujikawa_x",
    "ecd",
    "estim",
    "get_details",
    "get_scenarios",
    "is_baskexact_design",
    "opt_design",
    "plot_weights",
    "pow",
    "set_backend",
    "setup_fujikawa_x",
    "toer",
    "weights_fujikawa_tuned",
    "weights_hld",
    "weights_hld_vanilla",
    "weights_jsd",
    "weights_jsd_vanilla"
  ],
  "_help": [
    {
      "page": "basket_test",
      "title": "Test for the results of a basket trial",
      "topics": [
        "basket_test"
      ]
    },
    {
      "page": "basket_test.fujikawa_x",
      "title": "Test for the results of a basket trial",
      "topics": [
        "basket_test.fujikawa_x"
      ]
    },
    {
      "page": "check_mon_within",
      "title": "Check Within- And Between-Trial Monotonicity Of A Basket Trial Design",
      "topics": [
        "check_mon_between",
        "check_mon_between.fujikawa_x",
        "check_mon_within",
        "check_mon_within.fujikawa_x"
      ]
    },
    {
      "page": "convert_to_fujikawa_x",
      "title": "Class conversions",
      "topics": [
        "convert_to_baskexact",
        "convert_to_basksim",
        "convert_to_fujikawa_x"
      ]
    },
    {
      "page": "ecd",
      "title": "Calculate the Expected Number of Correct Decisions for a Basket Trial Design",
      "topics": [
        "ecd",
        "ecd.default"
      ]
    },
    {
      "page": "ecd.fujikawa_x",
      "title": "Calculate the Expected Number of Correct Decisions for Fujikawa et al.'s Basket Trial Design",
      "topics": [
        "ecd.fujikawa_x"
      ]
    },
    {
      "page": "estim",
      "title": "Calculate the Posterior Mean and Mean Squared Error for a Basket Trial Design",
      "topics": [
        "estim",
        "estim.default",
        "estim.fujikawa_x"
      ]
    },
    {
      "page": "get_details.fujikawa_x",
      "title": "Get Details of a Basket Trial Simulation with Fujikawa's Design",
      "topics": [
        "get_details.fujikawa_x"
      ]
    },
    {
      "page": "get_scenarios",
      "title": "Generate a matrix of default outcome scenarios",
      "topics": [
        "get_scenarios"
      ]
    },
    {
      "page": "is_baskexact_design",
      "title": "Check whether an R object is a 'baskexact' design.",
      "topics": [
        "is_baskexact_design"
      ]
    },
    {
      "page": "opt_design",
      "title": "Optimize a Basket Trial Design",
      "topics": [
        "opt_design",
        "opt_design.default"
      ]
    },
    {
      "page": "opt_design.fujikawa_x",
      "title": "Optimize Fujikawa et al.'s Basket Trial Design",
      "topics": [
        "opt_design.fujikawa_x"
      ]
    },
    {
      "page": "plot_weights",
      "title": "Plot Weights of a Basket Trial Design",
      "topics": [
        "plot_weights"
      ]
    },
    {
      "page": "plot_weights.fujikawa_x",
      "title": "Plot Weight Functions of Fujikawa et al.'s Basket Trial Design",
      "topics": [
        "plot_weights.fujikawa_x"
      ]
    },
    {
      "page": "pow",
      "title": "Calculate the Power for a Basket Trial Design",
      "topics": [
        "pow",
        "pow.default"
      ]
    },
    {
      "page": "pow.fujikawa_x",
      "title": "Calculate the Power for a Fujikawa et al.'s Basket Trial Design",
      "topics": [
        "pow.fujikawa_x"
      ]
    },
    {
      "page": "set_backend",
      "title": "Set the backend of a Fujikawa design",
      "topics": [
        "set_backend"
      ]
    },
    {
      "page": "set_design_exact",
      "title": "Set baskexact design object",
      "topics": [
        "set_design_exact"
      ]
    },
    {
      "page": "setup_fujikawa_x",
      "title": "Set up a Fujikawa design object with flexible backend",
      "topics": [
        "setup_fujikawa_x"
      ]
    },
    {
      "page": "toer",
      "title": "Calculate the Type 1 Error Rate for a Basket Trial Design",
      "topics": [
        "toer",
        "toer.default"
      ]
    },
    {
      "page": "toer.fujikawa_x",
      "title": "Calculate the Type 1 Error Rate for a Fujikawa et al.'s Basket Trial Design",
      "topics": [
        "toer.fujikawa_x"
      ]
    },
    {
      "page": "weights_jsd",
      "title": "Further weight functions",
      "topics": [
        "weights_fujikawa_tuned",
        "weights_hld",
        "weights_hld_vanilla",
        "weights_jsd",
        "weights_jsd_vanilla"
      ]
    }
  ],
  "_pkglogo": "https://github.com/lukasdsauer/baskwrap/raw/HEAD/man/figures/logo.png",
  "_readme": "https://github.com/lukasdsauer/baskwrap/raw/HEAD/README.md",
  "_rundeps": [
    "arrangements",
    "backports",
    "baskexact",
    "basksim",
    "bhmbasket",
    "checkmate",
    "cli",
    "coda",
    "codetools",
    "cpp11",
    "digest",
    "doFuture",
    "doRNG",
    "extraDistr",
    "farver",
    "foreach",
    "future",
    "future.apply",
    "ggplot2",
    "globals",
    "glue",
    "gmp",
    "gtable",
    "HDInterval",
    "isoband",
    "iterators",
    "labeling",
    "lattice",
    "lifecycle",
    "listenv",
    "magrittr",
    "parallelly",
    "progressr",
    "purrr",
    "R6",
    "RColorBrewer",
    "Rcpp",
    "RcppArmadillo",
    "rjags",
    "rlang",
    "rngtools",
    "S7",
    "scales",
    "vctrs",
    "viridisLite",
    "withr"
  ],
  "_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\nJAGS is Just Another Gibbs Sampler.  It is a program for analysis of\nBayesian hierarchical models using Markov Chain Monte Carlo (MCMC)\nsimulation not wholly unlike BUGS.\n\nJAGS was written with three aims in mind:\n* To have an engine for the BUGS language that runs on Unix\n* To be extensible, allowing users to write their own functions,\ndistributions and samplers.\n* To be a plaftorm for experimentation with ideas in Bayesian modelling\n\nThis package contains the 'jags' binary as well as the associated\nshared library modules loaded by the 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": 4.079181246047625,
  "_indexed": true,
  "_nocasepkg": "baskwrap",
  "_universes": [
    "lukasdsauer"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.0.3",
      "date": "2026-05-20T05:55:00.000Z",
      "distro": "noble",
      "commit": "60835efed163dce0395f4fd00dfcda8aa35b6c8b",
      "fileid": "6b6d10e5276bb104ef37512743146817644a45d274d6ecb277df73bdac16b7c5",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/lukasdsauer/actions/runs/26144074425"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "1.0.3",
      "date": "2026-05-20T05:54:53.000Z",
      "distro": "noble",
      "commit": "60835efed163dce0395f4fd00dfcda8aa35b6c8b",
      "fileid": "21ecad9cb58068bd4e983a6fe59ea3914ed02223390db9f892d7776b0d763cda",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/lukasdsauer/actions/runs/26144074425"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.0.3",
      "date": "2026-05-20T05:54:55.000Z",
      "commit": "60835efed163dce0395f4fd00dfcda8aa35b6c8b",
      "fileid": "f5ac25e66ee38b34bd1357beb0f3e21a7745b1ae68f7620014adaac763ebcf6d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/lukasdsauer/actions/runs/26144074425"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "1.0.3",
      "date": "2026-05-20T05:54:29.000Z",
      "commit": "60835efed163dce0395f4fd00dfcda8aa35b6c8b",
      "fileid": "775e26b1ad00b2f10fedb43c617338fcc0d98256895afacc5435b3aa8167253a",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/lukasdsauer/actions/runs/26144074425"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.0.3",
      "date": "2026-05-20T05:54:02.000Z",
      "commit": "60835efed163dce0395f4fd00dfcda8aa35b6c8b",
      "fileid": "930dec901149dd0d5761cbdc52eeba12ca13d5eebc352b3b950ff64a53818a3c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/lukasdsauer/actions/runs/26144074425"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.0.3",
      "date": "2026-05-20T05:53:57.000Z",
      "commit": "60835efed163dce0395f4fd00dfcda8aa35b6c8b",
      "fileid": "b6f598c34eea6de3ba8c7ed7cae4a03acb214db0c61e84400df2fb60197b3e87",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/lukasdsauer/actions/runs/26144074425"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "1.0.3",
      "date": "2026-05-20T05:53:58.000Z",
      "commit": "60835efed163dce0395f4fd00dfcda8aa35b6c8b",
      "fileid": "19034cae85eda8662ae4d67213ad505f679c7d37cb56dfe41c13891094e46c2a",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/lukasdsauer/actions/runs/26144074425"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.0.3",
      "date": "2026-06-02T14:15:47.000Z",
      "commit": "60835efed163dce0395f4fd00dfcda8aa35b6c8b",
      "fileid": "215964cfd93e8217b23cef12763682ba0612d01a028ef1a8c4b4556edcde73f8",
      "status": "success",
      "buildurl": "https://github.com/r-universe/lukasdsauer/actions/runs/26144074425"
    }
  ]
}