{
  "_id": "6ac20fcb773a0037682c13e7",
  "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-10-04 08:12:19 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": "baskoptr_1.0.4.tar.gz",
  "_fileid": "https://r2.ropensci.org/21991b7ba3c65fbb8caba473c5609bdb9c868db25cabdf3ee149dc794876637e",
  "_filesize": 384094,
  "_sha256": "21991b7ba3c65fbb8caba473c5609bdb9c868db25cabdf3ee149dc794876637e",
  "_expires": "2027-01-12T08:35:22.000Z",
  "_created": "2026-10-04T08:12:19.000Z",
  "_published": "2026-10-04T08:35:23.755Z",
  "_jobs": [
    {
      "job": 111394541365,
      "time": 242,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11297748191"
    },
    {
      "job": 111394541393,
      "time": 352,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11297333007"
    },
    {
      "job": 111394541339,
      "time": 257,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "11297698325"
    },
    {
      "job": 111394541379,
      "time": 300,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11297468819"
    },
    {
      "job": 111393953073,
      "time": 213,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11297931508"
    },
    {
      "job": 111394541386,
      "time": 103,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "11297721905"
    },
    {
      "job": 111394541375,
      "time": 371,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11298167609"
    },
    {
      "job": 111394541455,
      "time": 272,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "11297278093"
    },
    {
      "job": 111394541358,
      "time": 327,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11298252330"
    }
  ],
  "_host": "GitHub-Actions",
  "_buildurl": "https://github.com/r-universe/lukasdsauer/actions/runs/37187969636",
  "_status": "success",
  "_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
  },
  "_distro": "resolute",
  "_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": "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",
    "followers": 12,
    "description": "Biometrician at the @imbi-heidelberg, University Hospital of Heidelberg, Germany."
  },
  "_downloads": {
    "count": 278,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/baskoptr"
  },
  "_devurl": "https://github.com/lukasdsauer/baskoptr",
  "_searchresults": 4,
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/baskoptr.html",
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/manual.pdf",
    "extra/readme.html",
    "extra/readme.md",
    "LICENSE"
  ],
  "_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.2604.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": "16-20260322-1ubuntu1",
      "name": "c++",
      "homepage": "http://gcc.gnu.org/",
      "description": "GNU Standard C++ Library v3"
    }
  ],
  "_score": 3.3010299956639813,
  "_indexed": true,
  "_nocasepkg": "baskoptr",
  "_universes": [
    "lukasdsauer"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.0.4",
      "date": "2026-10-04T08:14:23.000Z",
      "distro": "resolute",
      "commit": "adb158cebcabeeae0e5044aa1e9695c24c77a83e",
      "fileid": "https://r2.ropensci.org/744a2aa12b27bc15e1cb72be25390913b2561adab02e44e78f28e86b797cd7de",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/lukasdsauer/actions/runs/37187969636"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "1.0.4",
      "date": "2026-10-04T08:14:33.000Z",
      "distro": "resolute",
      "commit": "adb158cebcabeeae0e5044aa1e9695c24c77a83e",
      "fileid": "https://r2.ropensci.org/3ee532c72457bde015d6524b19488a2c9b771847c925904b17c64a1d2559b013",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/lukasdsauer/actions/runs/37187969636"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.0.4",
      "date": "2026-10-04T08:30:52.000Z",
      "commit": "adb158cebcabeeae0e5044aa1e9695c24c77a83e",
      "fileid": "https://r2.ropensci.org/ca26255a24f78dfb8d9215aae035e9f2dba014dfc4620ae38906ce55b360b785",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/lukasdsauer/actions/runs/37187969636"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "1.0.4",
      "date": "2026-10-04T08:31:47.000Z",
      "commit": "adb158cebcabeeae0e5044aa1e9695c24c77a83e",
      "fileid": "https://r2.ropensci.org/5236e7e16c856838b8336a653a05d54dd896ed871281d59bf415f51017f143b5",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/lukasdsauer/actions/runs/37187969636"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.0.4",
      "date": "2026-10-04T08:14:22.000Z",
      "commit": "adb158cebcabeeae0e5044aa1e9695c24c77a83e",
      "fileid": "https://r2.ropensci.org/f592373352e5b875541ffc63ad36d00d3d02a80fe91ff1817c09fd19adb7ee9e",
      "status": "success",
      "buildurl": "https://github.com/r-universe/lukasdsauer/actions/runs/37187969636"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.0.4",
      "date": "2026-10-04T08:13:46.000Z",
      "commit": "adb158cebcabeeae0e5044aa1e9695c24c77a83e",
      "fileid": "https://r2.ropensci.org/ae043f2dfa0eb0b4fe8680648ebd2f5da9e14d3bbb40438f753eda500a9f505f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/lukasdsauer/actions/runs/37187969636"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.0.4",
      "date": "2026-10-04T08:13:22.000Z",
      "commit": "adb158cebcabeeae0e5044aa1e9695c24c77a83e",
      "fileid": "https://r2.ropensci.org/647d1f8231e5649c5d1841218cb52b29018bdffa42b2d7669d0fdcca551ae475",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/lukasdsauer/actions/runs/37187969636"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "1.0.4",
      "date": "2026-10-04T08:13:40.000Z",
      "commit": "adb158cebcabeeae0e5044aa1e9695c24c77a83e",
      "fileid": "https://r2.ropensci.org/36308bd106f2ce5fd0a2615233cb9cb8d808827c90b6cae373c3384e7fdd35a1",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/lukasdsauer/actions/runs/37187969636"
    }
  ]
}