Changelog
Source:NEWS.md
spsurv 1.1.0
CRAN release: 2026-09-28
-
CRAN resubmission: Maintainer contact updated to
rvpanaro@gmail.com; license isGPL-3(removed the bundledLICENSEcopy of the GPL);Authors@Rroles reviewed (single maintainer; thesis advisors listed asths, withrevfor code review feedback); packageDescriptioncitation updated to<doi:10.48550/arXiv.2003.10548>; setConfig/rstantools/auto_config: FALSEand ship committed Stan C++ exports (no install-timeconfigure/rstan_config(), avoiding Windows R-develrstan.dllload failures); addedRcppParalleland syncedsrc/Makevars.winTBB flags with UnixMakevars; restoredcovr,rsample, andrsurvinSuggestsfor optional tests referenced intests/. -
Inference robustness:
.spbp_gamma_information_diagnostics()no longer callsqr()on non-finite gamma information matrices;vcov()/survfit()return NA uncertainty with a warning when that block is unavailable. -
tidymodels: parsnip engines
spsurv(MLE) andspsurv_bayesforproportional_hazards(), newproportional_odds(), andsurvival_reg();bp_survival_reg()convenience constructor;workflow/predict(type = "survival")support. -
tidybayes:
as_draws_df.spbp(),spread_surv_draws.spbp(), and S3 hooks fortidy_draws/spread_draws/gather_drawson Bayes fits; posterior draw indices (.chain,.iteration,.draw). -
Prediction: censored-style
predict.spbp()types (survival,time,linear_pred);augment.spbp(). -
Vignette:
vignette("tidymodels"). -
Inference:
vcov.spbp()no longer applies a diagonal ridge (polishremoved); beta standard errors are unchanged when the Bernstein block is stable and no longer inflated when it is ill-conditioned. -
Summary:
summary.spbp()now includes acoef_intervalcomponent (Wald for MLE, HPD for Bayes) and prints it whenshow_intervals = TRUE. -
Repository: paper workflow moved from
inst/topaper/(excluded from the package tarball). -
Dependencies: trimmed
Suggeststo packages used in vignettes, tests, or optional integrations.devtoolsandroxygen2are not listed inSuggests.
spsurv 1.0.2
- Vignettes: Expanded with EDA plots, visual checks, and decision guidance across all seven articles.
-
tidy/broom:
tidy(),glance(),logLik(),AIC(),anova(),estimates(), andse()methods forspbpobjects;bernstein()baseline specification. -
Prediction:
predict()and improvedsurvfit()(tidy output, newdata covariates, Bayesian monotone bands). -
Residuals:
residuals()supports martingale, deviance, and Cox-Snell types; martingale diagnostics fixed in examples. -
Handlers: Removed
handlers.R; validation and setup logic inlined inspbp.default. -
vcov: Block-wise inversion of the Hessian (regression vs Bernstein polynomial blocks) in
vcov.spbp. -
Stan: Slim
transformed parameters(onlyalphastored); pointwiselog_likmoved togenerated quantities; likelihood viabp_pointwise_log_lik()in the model block. -
Stan (AFT): No clamping of
uto avoid boundary bias; minimum feasible divisor (min_range) only when range is degenerate. - MLE: Initial values for the optimizer drawn from prior distributions; retries limited to 3 attempts.
-
spbpobjects: Componentdegreeon fits and incall$degree; default Bernstein degreeceiling(sqrt(n))when omitted (documented in help, README, and vignettes). -
anova.spbp: Pairwise and sequential analysis-of-deviance tables aligned withsurvival::survreg(Terms,Test,Df,Deviance, etc.). -
bpph/bppo/bpaft: User-facingmatch.call()without unevaluateddist/baselinesymbols; optionaldegreeargument. -
Documentation: Expanded
spbp/spbp.defaulthelp (@details, return components, vignette links); README usage and model-comparison examples updated. -
Examples:
data("veteran", package = "survival")in docs and examples. - pkgdown: Reference index updated to match current package; Bootstrap 5 / default template; logo size and alt-text; README aligned with site style.
-
Repository: CRAN submission hygiene (
.gitignore,.Rbuildignore,LICENSE).
spsurv 1.0.1
- pkgdown reference manual https://rvpanaro.github.io/spsurv/reference/index.html.