Changelog
Source:NEWS.md
joineR 1.2.9
Bug fixes
emUpdate()andemUpdateCR()now issue awarning()on non-convergence instead of silently callingprint(), making it possible for callers to catch non-convergence programmatically.survst()no longer unconditionally forces the first subject’s censoring indicator to 1 before passing data tocoxph(). A properstop()is raised if no events are observed. Thersindex vector is now computed correctly viafindInterval(), clamping subjects who precede the first event time to risk set 1 rather than producingNA.survst()andsurvstCR()now correctly indexloglik[2](the fitted model log-likelihood) rather than storing the full length-2 vector in$log.like.Bootstrap confidence intervals in
jointSE()now usequantile()instead of a manual sorted-index lookup, fixing an off-by-one error for smalln.bootvalues.
Improvements
joint()andjointSE()argumentsgpt,lgpt,max.it, andtolnow have explicit default values in the function signatures, replacing the previousmissing()pattern. Defaults are visible in auto-complete and?joint.jointSE()output now includes ap-valuecolumn containing two-sided Wald p-values for all fixed-effect and association parameters. Variance component rows (U_*,Residual) returnNAas Wald tests are not appropriate for positive-constrained parameters. Closes #58.jointSE()confidence intervals are now computed for all values ofn.boot. Previously, runs with fewer than 100 bootstrap samples silently returned0for both CI bounds; now the empirical percentile CIs are always returned and awarning()is issued whenn.boot < 100to alert the user that the intervals may be unreliable.tidy()andglance()methods are now available forjointobjects, providing a tidy broom-style interface.tidy()returns a data frame of parameter estimates (one row per term) and optionally accepts ajointSE()result to add standard errors, Wald statistics, p-values, and confidence intervals.glance()returns a single-row summary of model-level statistics including log-likelihood, AIC, BIC, number of observations, number of subjects, convergence status, and EM iteration count. Closes #59.simjoint()no longer prints a progress line viacat()from the internalsimdat()function. It now emits amessage()at thesimjoint()level, which can be suppressed withsuppressMessages().survivalhas been moved fromDependstoImports.Survis re-exported so existing user code does not require changes.Test coverage improved from 89% to 93%.
Code formatted with
air.
Housekeeping
Added a
pkgdownsite with Bootstrap 5, full dark mode (light switch), and a structured reference index. Apkgdown.yamlGitHub Actions workflow builds and deploys the site to GitHub Pages on push and release.Added a
render-readme.yamlGitHub Actions workflow that automatically re-rendersREADME.mdfromREADME.RmdwhenREADME.Rmdis changed.Updated
R-CMD-check.yamlandtest-coverage.yamlGitHub Actions workflows to useactions/checkout@v6,codecov-action@v7, andupload-artifact@v7.DESCRIPTIONURL field now includes the pkgdown site, CRAN page, and GitHub repository.README badges updated: removed defunct AppVeyor and Depsy badges; added pkgdown deployment badge and lifecycle (stable) badge.
Updated README with new MRC logo and fixed badges.
Fixed deprecated documentation for
joineR-package.R.Added reverse dependency checks.
Removed dead commented-out code blocks in
survst.RandprepSurvData.R.Removed no-op
fd <- fd/sd <- sdassignments inemUpdate().The internal helper
sortJointData()(previouslysort.dat()defined insidejoint()on every call) is now a file-level internal function, avoiding a spurious S3 method consistency note in R CMD check.Fixed copy-paste error in
@param ylabdocumentation forjointplot()(was labelled “x-axis”).Renamed variable
ttoobs_timeinjointplot()to avoid shadowingbase::t().Fixed typo “am Expectation Maximization” → “an” in
DESCRIPTION.Updated test suite: removed deprecated
context()calls and replacedexpect_is()withexpect_s3_class()throughout. Fixed typo “seperate” → “separate” in one test name. Enabled testthat edition 3.
joineR 1.2.7
CRAN release: 2023-01-18
Bugs
Fixed bug for case when all subjects experience events.
Change to
survival::basehazarguments.Fixed a
NOTEon checking for class type.s
joineR 1.2.2
CRAN release: 2017-09-14
Minor update
- Modified the control parameters for the call to
nlme::lme()that is used to generate initial parameter estimates. In some bootstrap settings, this was throwing an error, leading to the entire bootstrap run to cease.
joineR 1.2.1
CRAN release: 2017-07-24
joineR 1.2.0
CRAN release: 2017-05-19
Major updates
jointnow allows for competing risks data (2 failure types) as per the model developed by Williamson et al. (2008). Other functions have been upgraded to handle the competing risks data.A second vignette for the competing risks model is available.
joineR 1.1.0
CRAN release: 2017-02-02
Minor updates
Add
simjointfunction to simulate data from joint models with several types of association structures.Removed
jlikefunction and integrated likelihood calculation directly intoem.algfunction.Minor bug fixes to the
jointandem.algfunctions.
Maintenance
Added a
NEWS.mdfile to track changes to the package.Added some unit tests + code coverage monitoring integration.
Converted Rd files to roxygen.
Converted Sweave vignette to rmarkdown.
Updates to vignette and documentation.
Minor updates to
DESCRIPTIONandNAMESPACEto pass R CMD checks, provide additional information, and removed dependency ofbootandgdatapackages.Added a
README.Rmd.Added project to GitHub with integrated Travis CI and appveyor.