Package: goldilocks Title: Adaptive Trial Designs for Survival and Binary Endpoints Version: 1.0.0 Authors@R: c( person(given = "Graeme L.", family = "Hickey", role = c("aut", "cre"), email = "graemeleehickey@gmail.com", comment = c(ORCID = "0000-0002-4989-0054")), person(given = "Ying", family = "Wan", role = "aut", email = "ying.wan@bd.com"), person(given = "Thevaa", family = "Chandereng", role = "aut", email = "tc3123@cumc.columbia.edu", comment = c(ORCID = "0000-0003-4078-9176", "bayesDP code as a template")), person(given = "Becton, Dickinson and Company", role = "cph"), person(given = "Tim", family = "Kacprowski", role = "ctb", email = "t.kacprowski@tu-braunschweig.de", comment = "For code from fastlogrank R package.")) Description: Implements Goldilocks adaptive trial designs for time-to-event and fixed-time binary endpoints. Outcomes are generated with a piecewise exponential model, with conjugate Gamma priors used for predictive imputation. Final analyses may use log-rank, Cox, or restricted mean survival time tests, Bayesian piecewise-exponential inference, frequentist risk differences, or Bayesian beta-binomial inference. The method closely follows Broglio et al. (2014) and supports simulation of design operating characteristics. License: GPL-3 Encoding: UTF-8 URL: https://graemeleehickey.github.io/goldilocks/, https://github.com/graemeleehickey/goldilocks, https://CRAN.R-project.org/package=goldilocks BugReports: https://github.com/graemeleehickey/goldilocks/issues Depends: R (>= 4.1.0), survival Imports: dplyr, parallel, pbmcapply, PWEALL, Rcpp, rlang, stats Suggests: bench, survRM2, covr, DiagrammeR, testthat (>= 3.0.0), knitr, rmarkdown LinkingTo: BH, Rcpp Language: en-US Roxygen: list(markdown = TRUE) RoxygenNote: 7.3.3 Config/testthat/edition: 3 VignetteBuilder: knitr Repository: https://graemeleehickey.r-universe.dev Date/Publication: 2026-09-08 18:41:13 UTC RemoteUrl: https://github.com/graemeleehickey/goldilocks RemoteRef: HEAD RemoteSha: c94a9d68b7a33a7c9362dfea7905b56012a22cb6 NeedsCompilation: yes Packaged: 2026-10-08 11:08:25 UTC; root Author: Graeme L. Hickey [aut, cre] (ORCID: ), Ying Wan [aut], Thevaa Chandereng [aut] (ORCID: , bayesDP code as a template), Becton, Dickinson and Company [cph], Tim Kacprowski [ctb] (For code from fastlogrank R package.) Maintainer: Graeme L. Hickey