{
  "_id": "6a23c9d1530b9bc726be1284",
  "Package": "baskoptr",
  "Title": "Utility-Based Optimization for Basket Trial Designs",
  "Version": "1.0.4",
  "Description": "A unified framework for optimizing basket trial designs.\nTo this end, the package supplies several utility functions and\nalso a function for executing optimization algorithms on basket\ntrial designs. The considered utility functions are discussed\nin Sauer et al. (2025) <doi:10.1371/journal.pone.0323097>.",
  "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\"))",
  "License": "MIT + file LICENSE",
  "URL": "https://github.com/LukasDSauer/baskoptr",
  "BugReports": "https://github.com/LukasDSauer/baskoptr/issues",
  "Encoding": "UTF-8",
  "Roxygen": "list(markdown = TRUE)",
  "RoxygenNote": "7.3.3",
  "Config/testthat/edition": "3",
  "Config/pak/sysreqs": "libgmp3-dev jags",
  "Repository": "https://lukasdsauer.r-universe.dev",
  "Date/Publication": "2026-04-07 07:21:58 UTC",
  "RemoteUrl": "https://github.com/lukasdsauer/baskoptr",
  "RemoteRef": "HEAD",
  "RemoteSha": "adb158cebcabeeae0e5044aa1e9695c24c77a83e",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-06-06 07:11:32 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": "d5ee2036f89bedcc956529411960854a",
  "_user": "lukasdsauer",
  "_type": "src",
  "_file": "baskoptr_1.0.4.tar.gz",
  "_fileid": "1863d7d35000b02578d14a65751c2331b42709e761d90f3ec6328bcdbf8ac950",
  "_filesize": 383080,
  "_sha256": "1863d7d35000b02578d14a65751c2331b42709e761d90f3ec6328bcdbf8ac950",
  "_created": "2026-06-06T07:11:32.000Z",
  "_published": "2026-06-06T07:18:41.719Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 79860075447,
      "time": 323,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7452339429"
    },
    {
      "job": 79860075485,
      "time": 332,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7452340607"
    },
    {
      "job": 79860075439,
      "time": 204,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7452322948"
    },
    {
      "job": 79860075440,
      "time": 289,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7452334480"
    },
    {
      "job": 79859919880,
      "time": 149,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7452294412"
    },
    {
      "job": 79860075437,
      "time": 110,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7452310446"
    },
    {
      "job": 79860075487,
      "time": 355,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7452343800"
    },
    {
      "job": 79860075463,
      "time": 396,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7452349103"
    },
    {
      "job": 79860075476,
      "time": 353,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7452343555"
    }
  ],
  "_buildurl": "https://github.com/r-universe/lukasdsauer/actions/runs/27055820616",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/lukasdsauer/baskoptr",
  "_commit": {
    "id": "adb158cebcabeeae0e5044aa1e9695c24c77a83e",
    "author": "Lukas D Sauer <sauer@imbi.uni-heidelberg.de>",
    "committer": "Lukas D Sauer <sauer@imbi.uni-heidelberg.de>",
    "message": "Adding CRAN badge to README\n",
    "time": 1775546518
  },
  "_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": "baskwrap",
      "version": ">= 1.0.1",
      "role": "Imports"
    },
    {
      "package": "future.apply",
      "role": "Imports"
    },
    {
      "package": "optimizr",
      "version": ">= 1.0.0",
      "role": "Suggests"
    },
    {
      "package": "baskexact",
      "version": ">= 1.0.0",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    },
    {
      "package": "progressr",
      "role": "Suggests"
    },
    {
      "package": "basksim",
      "version": ">= 2.0.0",
      "role": "Suggests"
    }
  ],
  "_owner": "lukasdsauer",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2025-23",
      "n": 1
    },
    {
      "week": "2025-24",
      "n": 1
    },
    {
      "week": "2025-25",
      "n": 2
    },
    {
      "week": "2025-26",
      "n": 2
    },
    {
      "week": "2025-28",
      "n": 1
    },
    {
      "week": "2025-31",
      "n": 1
    },
    {
      "week": "2025-33",
      "n": 1
    },
    {
      "week": "2025-38",
      "n": 1
    },
    {
      "week": "2025-39",
      "n": 2
    },
    {
      "week": "2026-10",
      "n": 1
    },
    {
      "week": "2026-11",
      "n": 1
    },
    {
      "week": "2026-12",
      "n": 2
    },
    {
      "week": "2026-15",
      "n": 1
    }
  ],
  "_tags": [
    {
      "name": "v1.0.4",
      "date": "2026-03-20"
    }
  ],
  "_topics": [
    "basket-trials",
    "clinical-trials",
    "optimization",
    "utility-functions",
    "jags",
    "cpp"
  ],
  "_stars": 0,
  "_contributors": [
    {
      "user": "lukasdsauer",
      "count": 95,
      "uuid": 10990295
    }
  ],
  "_userbio": {
    "uuid": 10990295,
    "type": "user",
    "name": "Lukas D. Sauer",
    "description": "Biometrician at the @imbi-heidelberg, University Hospital of Heidelberg, Germany."
  },
  "_downloads": {
    "count": 146,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/baskoptr"
  },
  "_devurl": "https://github.com/lukasdsauer/baskoptr",
  "_searchresults": 3,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/baskoptr.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/baskoptr",
  "_realowner": "lukasdsauer",
  "_cranurl": true,
  "_releases": [
    {
      "version": "1.0.4",
      "date": "2026-04-02"
    }
  ],
  "_exports": [
    "epsilon_extreme",
    "get_p1s",
    "get_scenarios",
    "opt_design_gen",
    "tau_extreme",
    "u_2ewp",
    "u_2pow",
    "u_avg",
    "u_bnd",
    "u_ecd",
    "u_ewp"
  ],
  "_help": [
    {
      "page": "append_details",
      "title": "Internal helper function: Append and set elements of a details list",
      "topics": [
        "append_details",
        "set_details"
      ]
    },
    {
      "page": "epsilon_extreme",
      "title": "Extreme borrowing cutoffs for borrowing in Fujikawa's design",
      "topics": [
        "epsilon_extreme",
        "tau_extreme"
      ]
    },
    {
      "page": "get_details_for_two_scenarios",
      "title": "Internal helper function: Get details for two response scenarios",
      "topics": [
        "get_details_for_two_scenarios"
      ]
    },
    {
      "page": "get_p1s",
      "title": "Generate an array of possible outcome scenarios",
      "topics": [
        "get_p1s"
      ]
    },
    {
      "page": "get_scenarios",
      "title": "Generate a scenario of possible outcomes",
      "topics": [
        "get_scenarios"
      ]
    },
    {
      "page": "get_trace_info",
      "title": "Internal helper function: Decide whether to record a trace and what path to use",
      "topics": [
        "get_trace_info"
      ]
    },
    {
      "page": "io_val_p1",
      "title": "Internal helper function: Input validation for p1",
      "topics": [
        "io_val_p1"
      ]
    },
    {
      "page": "opt_design_gen",
      "title": "Optimize a Basket Trial Design",
      "topics": [
        "opt_design_gen"
      ]
    },
    {
      "page": "params_main",
      "title": "List of parameters used across the package",
      "topics": [
        "params_main"
      ]
    },
    {
      "page": "params_utility_caller",
      "title": "List of parameters used for functions calling utility functions",
      "topics": [
        "params_utility_caller"
      ]
    },
    {
      "page": "u_2ewp",
      "title": "Utility functions: Two-level power-error combination functions",
      "topics": [
        "u_2ewp",
        "u_2pow"
      ]
    },
    {
      "page": "u_avg",
      "title": "Utility function: Scenario-averaged utility function",
      "topics": [
        "u_avg"
      ]
    },
    {
      "page": "u_bnd",
      "title": "Utility function with boundaries on the parameters",
      "topics": [
        "u_bnd"
      ]
    },
    {
      "page": "u_ewp",
      "title": "Utility functions: Discontinuous power/ECD functions with type-I error penalty",
      "topics": [
        "u_ecd",
        "u_ewp"
      ]
    }
  ],
  "_pkglogo": "https://github.com/lukasdsauer/baskoptr/raw/HEAD/man/figures/logo.png",
  "_readme": "https://github.com/lukasdsauer/baskoptr/raw/HEAD/README.md",
  "_rundeps": [
    "arrangements",
    "backports",
    "baskexact",
    "basksim",
    "baskwrap",
    "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": 3.8129133566428557,
  "_indexed": true,
  "_nocasepkg": "baskoptr",
  "_universes": [
    "lukasdsauer"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.0.4",
      "date": "2026-06-06T07:13:41.000Z",
      "distro": "noble",
      "commit": "adb158cebcabeeae0e5044aa1e9695c24c77a83e",
      "fileid": "355110eb78c723df9cb5707833a71fcb689fba39078d2dffb291c40743954e91",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/lukasdsauer/actions/runs/27055820616"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "1.0.4",
      "date": "2026-06-06T07:13:48.000Z",
      "distro": "noble",
      "commit": "adb158cebcabeeae0e5044aa1e9695c24c77a83e",
      "fileid": "fc1ce2ad7464368440a0856a82186ca146f0b25423fc676b4a14810b9044539e",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/lukasdsauer/actions/runs/27055820616"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.0.4",
      "date": "2026-06-06T07:13:11.000Z",
      "commit": "adb158cebcabeeae0e5044aa1e9695c24c77a83e",
      "fileid": "db32d1909d2946e19f0b9d0c9c639ad8e17a5e2a29f4dc9c7797605a58199a6e",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/lukasdsauer/actions/runs/27055820616"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "1.0.4",
      "date": "2026-06-06T07:13:43.000Z",
      "commit": "adb158cebcabeeae0e5044aa1e9695c24c77a83e",
      "fileid": "c286cc2812876a7014206ac4b85fec3ef21b99cd96fabfb41beda8c15acaccd2",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/lukasdsauer/actions/runs/27055820616"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.0.4",
      "date": "2026-06-06T07:13:43.000Z",
      "commit": "adb158cebcabeeae0e5044aa1e9695c24c77a83e",
      "fileid": "bbbcf6da7eb1a08aaae2ed317776a8c8f63f03aa85f56d07a87e7803d73e5030",
      "status": "success",
      "buildurl": "https://github.com/r-universe/lukasdsauer/actions/runs/27055820616"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.0.4",
      "date": "2026-06-06T07:13:07.000Z",
      "commit": "adb158cebcabeeae0e5044aa1e9695c24c77a83e",
      "fileid": "32d4771d27ec0a65952d850aeadeaf61f17bcad624c043725d0e286e953121dc",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/lukasdsauer/actions/runs/27055820616"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.0.4",
      "date": "2026-06-06T07:12:59.000Z",
      "commit": "adb158cebcabeeae0e5044aa1e9695c24c77a83e",
      "fileid": "175626462b9f34709da68037e84cd8182db6c236dece19415df3612bbe6f97e4",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/lukasdsauer/actions/runs/27055820616"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "1.0.4",
      "date": "2026-06-06T07:12:49.000Z",
      "commit": "adb158cebcabeeae0e5044aa1e9695c24c77a83e",
      "fileid": "c9d5593855c6bc5f991d78bd8f94e7d7a33248bf415e1ef82787fe6b745f1acd",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/lukasdsauer/actions/runs/27055820616"
    }
  ]
}