Skip to content

goldilocks

0.6.0

Adaptive Trial Designs for Survival and Binary Endpoints

0packages depend
2.7Kdownloads / year
94.8%test coverage
11/13checks pass

Overview

About
Maintained by Graeme L. HickeyFirst published 2021-05-104 releasesCRAN page ↗GitHub ↗

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.

Install

Health

CRAN checks
2NOTE11OK
Failing flavors
  • NOTE r-devel-linux-x86_64-debian-gcc
  • NOTE r-devel-windows-x86_64
Slowest check: 11.8 min · r-oldrel-macos-x86_64
Code health
Yes
Tests · ratio 0.77
94.8%
Coverage · measured lines
100%
Documentation · exports
8
Dependencies · direct
Check history
  • NOTE2026-07-31
    12 OK · 1 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • OK2026-04-22
    14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • ERROR2026-04-18
    13 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE
  • OK2026-03-10
    14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE

Documentation

Documentation
READMEYes · 499 wordsVignettesYes · dynamicpkgdown siteNoNEWSYes · 100% structuredCode of conductNoContributing guideNo
Examples that run
100%
Documented parameters
98%
Return-value docs
100%
References docs
11%

Downloads

2.7K
CRAN downloads in the past year
Rank #12,418 · ~7/day · ~221/mo
Daily download trend is not available in this view yet.
27030 days
80890 days
2.7K1 year
Compare downloads with other packages →
Also on401 r2u7 autocran

Repository

Repository
7Stars
2Forks
37Open issues
0Open PRs
3Releases
223Commits
2Contributors
statisticsbayesianclinical-trialsadaptivebayesian-statisticsrstatsrpackage
License GPL-3.0 · 223 commits · Last activity 2026-07-29

Releases over time

2026-07-14 · 22026-07-30 · 3

Repository practices

Upstream repositoryBeta

8 development-tooling and community-health practices detected across 6 families in the upstream repository

Checks run against github.com/graemeleehickey/goldilocks on 2026-08-02.

Continuous integration (1)
GitHub Actions
Reproducibility and dev environment (1)
data-raw/
CRAN release process (2)
cran-comments.mdCRAN-SUBMISSION
Docs source (1)
README.Rmd
Show all practices
Lint, format, editor (2)
AirRStudio project
Coverage (1)
Codecov
How this is detected·Detection ruleset v1 (2026-07-18)

Dependencies

Declared dependencies
13 external dependencies (excludes base and recommended)
Depends (2)
R >= 4.1.0survival
Imports (7)
LinkingTo (2)
Enhances (0)
none
Reverse dependencies
0direct
0indirect

Nothing depends on this yet.

Code & Tests

People & History

People (5)
Maintainer (1)
Author, Maintainer
Authors (3)
Author, Maintainer
Author
Contributors (1)
Contributor · added in 0.4.0
Copyright holders (1)
Package Timeline

4 releases. Pick two to compare their code metrics. R releases are shown for context.

  • 0.6.0Latest
    2026-07-29 · current release · diff ↗
  • 0.5.0
    2026-06-10 · diff ↗
  • R
    R 4.6.0 released · 2026-04-24
  • R
    R 4.5.0 released · 2025-04-11
  • 0.4.0
    2025-01-08 · diff ↗
  • unarchivedReturned to CRAN
    2025-01-08
  • R
    R 4.4.0 released · 2024-04-24
  • archivedRemoved from CRAN
    2024-02-12
    requires archived package 'fastlogranktest'
  • R
    R 4.3.0 released · 2023-04-21
  • R
    R 4.2.0 released · 2022-04-22
  • R
    R 4.1.0 released · 2021-05-18
  • 0.3.0
    2021-05-10
  • R
    R 4.0.0 released · 2020-04-24

Package metadata

First published
2021-05-10
Total releases
4 / 5 yrs
License
GPL-3 OSI
Minimum R
≥ 4.1.0
Download size
286 KB
Installed size
not tracked yet
With dependencies
not tracked yet
Report a problem with this page →

Privacy choices

These apply to this browser and are stored on this device only. Nothing about your choice is sent to us.

Read the privacy policy