{
  "_id": "6a295216732311cd875afeaa",
  "Package": "goldilocks",
  "Title": "Goldilocks Adaptive Trial Designs for Time-to-Event Endpoints",
  "Version": "0.5.0",
  "Authors@R": "c(\nperson(given = \"Graeme L.\", family = \"Hickey\",\nrole = c(\"aut\", \"cre\"),\nemail = \"graemeleehickey@gmail.com\",\ncomment = c(ORCID = \"0000-0002-4989-0054\")),\nperson(given = \"Ying\", family = \"Wan\",\nrole = \"aut\",\nemail = \"ying.wan@bd.com\"),\nperson(given = \"Thevaa\", family = \"Chandereng\",\nrole = \"aut\",\nemail = \"tc3123@cumc.columbia.edu\",\ncomment = c(ORCID = \"0000-0003-4078-9176\",\n\"bayesDP code as a template\")),\nperson(given = \"Becton, Dickinson and Company\",\nrole = \"cph\"),\nperson(given = \"Tim\", family = \"Kacprowski\",\nrole = \"ctb\",\nemail = \"t.kacprowski@tu-braunschweig.de\",\ncomment = \"For code from fastlogrank R package.\"))",
  "Description": "Implements the Goldilocks adaptive trial design for a time\nto event outcome using a piecewise exponential model and\nconjugate Gamma prior distributions. The method closely follows\nthe article by Broglio and colleagues\n<doi:10.1080/10543406.2014.888569>, which allows users to\nexplore the operating characteristics of different trial\ndesigns.",
  "License": "GPL-3",
  "Encoding": "UTF-8",
  "URL": "https://graemeleehickey.github.io/goldilocks/,\nhttps://github.com/graemeleehickey/goldilocks,\nhttps://CRAN.R-project.org/package=goldilocks",
  "BugReports": "https://github.com/graemeleehickey/goldilocks/issues",
  "Language": "en-US",
  "RoxygenNote": "7.3.3",
  "Config/testthat/edition": "3",
  "VignetteBuilder": "knitr",
  "NeedsCompilation": "yes",
  "Packaged": {
    "Date": "2026-06-10 11:56:17 UTC",
    "User": "root"
  },
  "Author": "Graeme L. Hickey [aut, cre] (ORCID:\n<https://orcid.org/0000-0002-4989-0054>), Ying Wan [aut],\nThevaa Chandereng [aut] (ORCID:\n<https://orcid.org/0000-0003-4078-9176>, bayesDP code as a\ntemplate), Becton, Dickinson and Company [cph], Tim Kacprowski\n[ctb] (For code from fastlogrank R package.)",
  "Maintainer": "Graeme L. Hickey <graemeleehickey@gmail.com>",
  "Repository": "https://cran.r-universe.dev",
  "Date/Publication": "2026-06-10 06:10:02 UTC",
  "RemoteUrl": "https://github.com/cran/goldilocks",
  "RemoteRef": "HEAD",
  "RemoteSha": "02e5e54fae7819ce739944c072a07a589c110433",
  "MD5sum": "4a26f28bc376c765a0821cf6143df282",
  "_user": "cran",
  "_type": "src",
  "_file": "goldilocks_0.5.0.tar.gz",
  "_fileid": "09690cdd91c29a3b6c5a1c5a387ccfd9a62ef3c5c82b151c5f5adcac55aa2749",
  "_filesize": 545612,
  "_sha256": "09690cdd91c29a3b6c5a1c5a387ccfd9a62ef3c5c82b151c5f5adcac55aa2749",
  "_created": "2026-06-10T11:56:17.000Z",
  "_published": "2026-06-10T12:01:26.901Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 80552200179,
      "time": 218,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7535011546"
    },
    {
      "job": 80552200197,
      "time": 221,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7535011334"
    },
    {
      "job": 80552200195,
      "time": 223,
      "config": "linux-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7535013663"
    },
    {
      "job": 80552200214,
      "time": 172,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7534994331"
    },
    {
      "job": 80551381723,
      "time": 271,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7534934116"
    },
    {
      "job": 80552200152,
      "time": 140,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7534982998"
    }
  ],
  "_buildurl": "https://github.com/r-universe/cran/actions/runs/27273805542",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/cran/goldilocks",
  "_commit": {
    "id": "02e5e54fae7819ce739944c072a07a589c110433",
    "author": "Graeme L. Hickey <graemeleehickey@gmail.com>",
    "committer": "cran-robot <csardi.gabor+cran@gmail.com>",
    "message": "version 0.5.0\n",
    "time": 1781071802
  },
  "_maintainer": {
    "name": "Graeme L. Hickey",
    "email": "graemeleehickey@gmail.com",
    "login": "graemeleehickey",
    "twitter": "@graemeleehickey",
    "description": "Senior Director of Statistics | Medtronic Structural Heart & Aortic",
    "uuid": 5270977,
    "orcid": "0000-0002-4989-0054"
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.1.0",
      "role": "Depends"
    },
    {
      "package": "survival",
      "role": "Depends"
    },
    {
      "package": "BH",
      "role": "LinkingTo"
    },
    {
      "package": "Rcpp",
      "role": "LinkingTo"
    },
    {
      "package": "dplyr",
      "role": "Imports"
    },
    {
      "package": "parallel",
      "role": "Imports"
    },
    {
      "package": "pbmcapply",
      "role": "Imports"
    },
    {
      "package": "PWEALL",
      "role": "Imports"
    },
    {
      "package": "Rcpp",
      "role": "Imports"
    },
    {
      "package": "rlang",
      "role": "Imports"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "covr",
      "role": "Suggests"
    },
    {
      "package": "DiagrammeR",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    }
  ],
  "_owner": "cran",
  "_selfowned": false,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2026-24",
      "n": 1
    }
  ],
  "_tags": [
    {
      "name": "0.5.0",
      "date": "2026-06-10"
    }
  ],
  "_stars": 0,
  "_contributors": [
    {
      "user": "graemeleehickey",
      "count": 3,
      "uuid": 5270977
    }
  ],
  "_userbio": {
    "uuid": 6899542,
    "type": "organization",
    "name": "cran",
    "description": "Unofficial read-only mirror of all CRAN R packages"
  },
  "_downloads": {
    "count": 178,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/goldilocks"
  },
  "_devurl": "https://github.com/graemeleehickey/goldilocks",
  "_pkgdown": "https://graemeleehickey.github.io/goldilocks/",
  "_searchresults": 8,
  "_topics": [
    "cpp"
  ],
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/goldilocks.html",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/graemeleehickey/goldilocks",
  "_realowner": "graemeleehickey",
  "_cranurl": false,
  "_releases": [
    {
      "version": "0.3.0",
      "date": "2021-05-10"
    },
    {
      "version": "0.4.0",
      "date": "2025-01-08"
    },
    {
      "version": "0.5.0",
      "date": "2026-06-10"
    }
  ],
  "_exports": [
    "enrollment",
    "ppwe",
    "prop_to_haz",
    "pwe_impute",
    "pwe_sim",
    "randomization",
    "sim_comp_data",
    "sim_trials",
    "summarise_sims",
    "survival_adapt"
  ],
  "_help": [
    {
      "page": "enrollment",
      "title": "Simulate enrollment times",
      "topics": [
        "enrollment"
      ]
    },
    {
      "page": "goldilocks",
      "title": "goldilocks",
      "topics": [
        "goldilocks"
      ]
    },
    {
      "page": "ppwe",
      "title": "Cumulative distribution function of the PWE for a vectorized hazard rate parameter",
      "topics": [
        "ppwe"
      ]
    },
    {
      "page": "prop_to_haz",
      "title": "Estimate plausible piecewise constant hazard rates from summary summary event proportions",
      "topics": [
        "prop_to_haz"
      ]
    },
    {
      "page": "pwe_impute",
      "title": "Impute piecewise exponential time-to-event outcomes",
      "topics": [
        "pwe_impute"
      ]
    },
    {
      "page": "pwe_sim",
      "title": "Simulate piecewise exponential time-to-event outcomes",
      "topics": [
        "pwe_sim"
      ]
    },
    {
      "page": "randomization",
      "title": "Randomization allocation",
      "topics": [
        "randomization"
      ]
    },
    {
      "page": "sim_comp_data",
      "title": "Simulate a complete clinical trial with event data drawn from a piecewise exponential distribution",
      "topics": [
        "sim_comp_data"
      ]
    },
    {
      "page": "sim_trials",
      "title": "Simulate one or more clinical trials subject to known design parameters and treatment effect",
      "topics": [
        "sim_trials"
      ]
    },
    {
      "page": "summarise_sims",
      "title": "Summarize simulations to get operating characteristics",
      "topics": [
        "summarise_sims"
      ]
    },
    {
      "page": "survival_adapt",
      "title": "Simulate and execute a single adaptive clinical trial design with a time-to-event endpoint",
      "topics": [
        "survival_adapt"
      ]
    }
  ],
  "_readme": "https://github.com/cran/goldilocks/raw/HEAD/README.md",
  "_rundeps": [
    "BH",
    "cli",
    "dplyr",
    "generics",
    "glue",
    "lattice",
    "lifecycle",
    "magrittr",
    "Matrix",
    "pbmcapply",
    "pillar",
    "pkgconfig",
    "PWEALL",
    "R6",
    "Rcpp",
    "rlang",
    "survival",
    "tibble",
    "tidyselect",
    "utf8",
    "vctrs",
    "withr"
  ],
  "_sysdeps": [
    {
      "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": "bayes-piecewise.Rmd",
      "filename": "bayes-piecewise.html",
      "title": "Bayesian decisions with piecewise-exponential hazards",
      "engine": "knitr::rmarkdown",
      "headings": [
        "When piecewise hazards help",
        "Setting up the design",
        "The Bayesian decision rule",
        "A single simulated trial",
        "Notes on the piecewise model",
        "Sensitivity to the cut-point specification",
        "See also"
      ],
      "created": "2026-06-10 06:10:02",
      "modified": "2026-06-10 06:10:02",
      "commits": 1
    },
    {
      "source": "broglio.Rmd",
      "filename": "broglio.html",
      "title": "Example: Two-armed RCT",
      "engine": "knitr::rmarkdown",
      "headings": [
        "One-sided tests",
        "References"
      ],
      "created": "2021-05-10 07:20:11",
      "modified": "2026-06-10 06:10:02",
      "commits": 3
    },
    {
      "source": "architecture.Rmd",
      "filename": "architecture.html",
      "title": "Package Architecture",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Overview",
        "Function dependency diagram",
        "Function roles",
        "Simulation layer",
        "Trial engine",
        "Data generation and analysis utilities"
      ],
      "created": "2026-06-10 06:10:02",
      "modified": "2026-06-10 06:10:02",
      "commits": 1
    },
    {
      "source": "single-arm.Rmd",
      "filename": "single-arm.html",
      "title": "Single-arm trials",
      "engine": "knitr::rmarkdown",
      "headings": [
        "The decision rule",
        "Setting up the design",
        "Why block and rand_ratio still appear",
        "Operating characteristics",
        "A practical caveat on benchmarks",
        "See also"
      ],
      "created": "2026-06-10 06:10:02",
      "modified": "2026-06-10 06:10:02",
      "commits": 1
    }
  ],
  "_score": 3.3010299956639813,
  "_indexed": false,
  "_nocasepkg": "goldilocks",
  "_universes": [
    "cran"
  ],
  "_indexurl": "https://graemeleehickey.r-universe.dev/goldilocks",
  "_previous": "0.4.0",
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.5.0",
      "date": "2026-06-10T11:59:50.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "02e5e54fae7819ce739944c072a07a589c110433",
      "fileid": "3d7587fb391cc5943f688e033bcdc80ebd113b0c58cb994094533b8ad9dbe2a3",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/27273805542"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.5.0",
      "date": "2026-06-10T11:59:42.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "02e5e54fae7819ce739944c072a07a589c110433",
      "fileid": "b64e65904e3c858a7975a72c14511fe339042bba6b0f9fc4475d7cbfb0369106",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/27273805542"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.5.0",
      "date": "2026-06-10T11:59:53.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "02e5e54fae7819ce739944c072a07a589c110433",
      "fileid": "54c121b3d39019ac10b660fba22c8908dda7b4ea3ddf11aabadd46eda961fecb",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/27273805542"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.5.0",
      "date": "2026-06-10T11:58:53.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "02e5e54fae7819ce739944c072a07a589c110433",
      "fileid": "8ff787d6052d094e4d954b83e36e4085f476524ea7649169a9509126c496866c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/27273805542"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.5.0",
      "date": "2026-06-10T11:58:57.000Z",
      "arch": "emscripten",
      "commit": "02e5e54fae7819ce739944c072a07a589c110433",
      "fileid": "07080ecae6220762f1de7a76723d6ed371f8e50a12a76af3136f42ca77e58245",
      "status": "success",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/27273805542"
    }
  ]
}