{
  "_id": "6a49b277dbd0482285eb561d",
  "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-06-19 11:27:12 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>",
  "_user": "lukasdsauer",
  "_type": "src",
  "_file": "baskwrap_1.0.3.tar.gz",
  "_fileid": "https://r2.ropensci.org/423760c2ec0e5d03a0098fccaad89791a667e336347d4c22f7bd042112819d5f",
  "_filesize": 425470,
  "_sha256": "423760c2ec0e5d03a0098fccaad89791a667e336347d4c22f7bd042112819d5f",
  "_expires": "2026-10-13T01:25:09.000Z",
  "_created": "2026-06-19T11:27:12.000Z",
  "_published": "2026-07-05T01:25:11.143Z",
  "_jobs": [
    {
      "job": 85182344109,
      "time": 210,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7748623317"
    },
    {
      "job": 85182344205,
      "time": 226,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7748628425"
    },
    {
      "job": 85182344192,
      "time": 140,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7748601361"
    },
    {
      "job": 85182344193,
      "time": 118,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7748594377"
    },
    {
      "job": 85182344101,
      "time": 197,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7748559129"
    },
    {
      "job": 85182344136,
      "time": 127,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7748596927"
    },
    {
      "job": 85182344156,
      "time": 169,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7748610334"
    },
    {
      "job": 85182344207,
      "time": 146,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7748603537"
    },
    {
      "job": 85182344105,
      "time": 185,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7748615286"
    }
  ],
  "_host": "GitHub-Actions",
  "_buildurl": "https://github.com/r-universe/lukasdsauer/actions/runs/27822810287",
  "_status": "success",
  "_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
  },
  "_distro": "noble",
  "_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-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",
    "followers": 11,
    "description": "Biometrician at the @imbi-heidelberg, University Hospital of Heidelberg, Germany."
  },
  "_downloads": {
    "count": 448,
    "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",
    "LICENSE",
    "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"
    },
    {
      "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.9542425094393248,
  "_indexed": true,
  "_nocasepkg": "baskwrap",
  "_universes": [
    "lukasdsauer"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.0.3",
      "date": "2026-06-19T11:29:25.000Z",
      "distro": "noble",
      "commit": "60835efed163dce0395f4fd00dfcda8aa35b6c8b",
      "fileid": "https://r2.ropensci.org/e0ec8cd43eaa8443aac411f5dfb035982fcb885ea8379e081033df621f35ec12",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/lukasdsauer/actions/runs/27822810287"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "1.0.3",
      "date": "2026-06-19T11:29:39.000Z",
      "distro": "noble",
      "commit": "60835efed163dce0395f4fd00dfcda8aa35b6c8b",
      "fileid": "https://r2.ropensci.org/9a7b688986c2b71abac4dbb906034149e19ce17230f35ec3c37fbd5948568fbf",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/lukasdsauer/actions/runs/27822810287"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.0.3",
      "date": "2026-06-19T11:28:55.000Z",
      "commit": "60835efed163dce0395f4fd00dfcda8aa35b6c8b",
      "fileid": "https://r2.ropensci.org/3244b3b5ba6385aa0297108f40260b86cec7103158a9cf6edf7f0e4320332e48",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/lukasdsauer/actions/runs/27822810287"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "1.0.3",
      "date": "2026-06-19T11:28:38.000Z",
      "commit": "60835efed163dce0395f4fd00dfcda8aa35b6c8b",
      "fileid": "https://r2.ropensci.org/b9ff3e231d3c686487b839c7ce6179f67795182d151d9d684be4bff2eb7fa699",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/lukasdsauer/actions/runs/27822810287"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.0.3",
      "date": "2026-06-19T11:29:36.000Z",
      "commit": "60835efed163dce0395f4fd00dfcda8aa35b6c8b",
      "fileid": "https://r2.ropensci.org/986d3588816b1b8a262e6a0bf71969ae02767eb116c1f87efdc5318de5bc6050",
      "status": "success",
      "buildurl": "https://github.com/r-universe/lukasdsauer/actions/runs/27822810287"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.0.3",
      "date": "2026-06-19T11:28:22.000Z",
      "commit": "60835efed163dce0395f4fd00dfcda8aa35b6c8b",
      "fileid": "https://r2.ropensci.org/806ccf8c174f07eadd8f251cacd0da125e16c7185f7a0745c80404eb9f0731eb",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/lukasdsauer/actions/runs/27822810287"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.0.3",
      "date": "2026-06-19T11:28:44.000Z",
      "commit": "60835efed163dce0395f4fd00dfcda8aa35b6c8b",
      "fileid": "https://r2.ropensci.org/1572ed08b2d737240485a9b0666ba3b4f091cfeee05b182864bfdda9bf398d92",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/lukasdsauer/actions/runs/27822810287"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "1.0.3",
      "date": "2026-06-19T11:28:28.000Z",
      "commit": "60835efed163dce0395f4fd00dfcda8aa35b6c8b",
      "fileid": "https://r2.ropensci.org/9c6b3fa593454097d1c4aee279c18849f0aaf5c9e8e4dcd7cf9682371e2674e6",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/lukasdsauer/actions/runs/27822810287"
    }
  ]
}