Package: goldilocks
Title: Adaptive Trial Designs for Survival and Binary Endpoints
Version: 0.6.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 or Cox tests, Bayesian
    piecewise-exponential inference, frequentist risk differences, or Bayesian
    beta-binomial inference. The method closely follows Broglio and colleagues
    <doi:10.1080/10543406.2014.888569> 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, covr, DiagrammeR, testthat (>= 3.0.0), knitr,
        rmarkdown
LinkingTo: BH, Rcpp
Language: en-US
RoxygenNote: 7.3.3
Config/testthat/edition: 3
VignetteBuilder: knitr
NeedsCompilation: yes
Packaged: 2026-07-29 16:25:42 UTC; hickeg3
Author: Graeme L. Hickey [aut, cre] (ORCID:
    <https://orcid.org/0000-0002-4989-0054>),
  Ying Wan [aut],
  Thevaa Chandereng [aut] (ORCID:
    <https://orcid.org/0000-0003-4078-9176>, bayesDP code as a
    template),
  Becton, Dickinson and Company [cph],
  Tim Kacprowski [ctb] (For code from fastlogrank R package.)
Maintainer: Graeme L. Hickey <graemeleehickey@gmail.com>
Repository: CRAN
Date/Publication: 2026-07-29 17:00:11 UTC
Built: R 4.5.3; x86_64-w64-mingw32; 2026-08-10 03:52:15 UTC; windows
Archs: x64
