Survival Analysis in Health Economic Evaluation
- CRAN checks, method
Method
Checks and health
CRAN runs every current package through R CMD check on a set of machines and publishes a result for each one. The health shown on a package page comes from these results alone.
- Problems
- Notes alone never count against a package, but a warning, an error or a failure on any platform is a problem. Open CRAN deadlines are a fact of their own, shown as a clock after the mark, so the mark always says what the checks found.
- Checks only
- Health reflects CRAN's check results and nothing else. Even a package with no tests, no coverage or no recent release can have every platform OK.
- Once a day
- Results are collected once a day from files CRAN publishes. Each platform is one machine set-up, named by its R version, operating system, architecture and compiler, such as r-devel-linux-x86_64-fedora-clang.
- Platforms counted
- The 13 in 3 of 13 is the number of platform rows CRAN published for that package on the day of collection. The set of machines changes over time, so the number is not fixed, and a package missing from a platform counts as neither passing nor failing there.
- All OK13 platforms
- CRAN 30-day downloads, method
- 701+3.4% up on the 30 days before, the better direction
- Dependent packages, method
Method
Reverse dependencies
Dependent packages are other packages that list this one under Depends, Imports or LinkingTo in their DESCRIPTION file. Those fields list the packages a package needs to install, so dependents break if this one is archived or broken.
- As declared
- The counts follow the declarations as written, not whether a package uses the other one when it runs.
- Suggests apart
- Packages that list this one only under Suggests install and run without it, and use it for tests, examples or an optional feature. They are counted as Suggested by, never among the dependents, and a package that also lists it under one of the three fields is a dependent and is not counted again.
- Zero
- Zero dependents means no current CRAN package declares a need for this one, though some may suggest it. On 26 Oct 2026, 19,530 of the 25,531 current CRAN packages had no dependent package.
- 1none suggest it
- Test coverage, method
Method
Test coverage
Test coverage is measured by downloading each CRAN package's current source file, installing its dependencies, building it and running its tests under covr.
- Almost half of CRAN has no tests to run
- Only CRAN packages are measured. Many have no percentage, most often because the package has no tests, and that blank is a recorded outcome, not missing data.
- NOT_CRAN
- Tests run with NOT_CRAN=true, so tests that skip themselves on CRAN run here, and the figure can differ from what CRAN's own checks see.
- Current version only
- Only the current version is measured, and a new version on CRAN is measured again. Older rows are kept but never filled in later. This is one package's run.
- Never 0%
- On a package page three states stay apart: measured, no tests, and not measured. Neither of the last two is ever shown as 0%.
- 22%of lines run by tests
- Advisories, method
Method
Security advisories
Advisories come from the R Consortium advisory database, a community record of security problems in R packages, as OSV publishes it.
- The copy
- The record is read once a day. The data is published under the Apache License 2.0 and is credited on the advisories list.
- Box under the name
- Under the package's name, a box names any advisory that affects the current release, with its fix or that there is none.
- Ranges
- Advisories state ranges, such as from 0.9.12 up to but not including 1.8.8. Each range is checked against every version CRAN has published, using the version rules R itself uses, so a release that came out after the advisory was written is still caught by its range.
- Not the package
- The rating is for the library flaw itself, not for how exposed the R package is, and it is never added up into a figure for the package.
- None known
About
Method, About Method Licence figures come from the License field of each package's DESCRIPTION file, read the way R itself reads it. No licence file is opened.Licences
Contains a suite of functions for survival analysis in health economics. These can be used to run survival models under a frequentist (based on maximum likelihood) or a Bayesian approach (both based on Integrated Nested Laplace Approximation or Hamiltonian Monte Carlo).
Full description
Contains a suite of functions for survival analysis in health economics. These can be used to run survival models under a frequentist (based on maximum likelihood) or a Bayesian approach (both based on Integrated Nested Laplace Approximation or Hamiltonian Monte Carlo). To run the Bayesian models, the user needs to install additional modules (packages), i.e. 'survHEinla' and 'survHEhmc'. These can be installed from <https://giabaio.r-universe.dev/> using 'install.packages("survHEhmc", repos = c("https://giabaio.r-universe.dev", "https://cloud.r-project.org"))' and 'install.packages("survHEinla", repos = c("https://giabaio.r-universe.dev", "https://cloud.r-project.org"))' respectively. 'survHEinla' is based on the package INLA, which is available for download at <https://inla.r-inla-download.org/R/stable/>. The user can specify a set of parametric models using a common notation and select the preferred mode of inference. The results can also be post-processed to produce probabilistic sensitivity analysis and can be used to export the output to an Excel file (e.g. for a Markov model, as often done by modellers and practitioners). <doi:10.18637/jss.v095.i14>.
- Maintainer
- Gianluca Baio
- Licence
- GPL (>= 3)
- Latest release
- 15 Jan 2026
- First release
- 30 Jun 2017
More details
- Releases
- 14
- Needs compilation
- No
- Needs R
- >= 4.1.0
- Config/testthat/edition
- 3
- LazyData
- true
- RoxygenNote
- 7.3.2.9000
- SystemRequirements
- GNU make
Subjects (1) Method, SubjectsMethod
Subjects and collections
Subjects are the site's own grouping of CRAN packages, found by clustering. Collections are sets of packages that communities declare, such as the tidyverse.
- Subjects
- Subjects are found by clustering the words of current CRAN packages and the packages they use. No one edits them by hand.
- Collections
- Collections are sets that communities declare, through a package that installs the set or an organization on GitHub. The site finds them by rules.
- Who made each
- Subjects are marked Site and collections Community. Subjects, collections and task views are never mixed in one list.
- The day of the data
- Subjects and collections were last worked out on 22 Oct 2026.
Cite
Package
Run in R for the authors' preferred citation:
citation("survHE")Baio, G., Berardi, A., Cooney, P., Green, N., & Jones, A. (2026). survHE: Survival Analysis in Health Economic Evaluation (Version 2.0.51) [Computer software]. https://doi.org/10.32614/CRAN.package.survHE
About
This package has no citation file, so citation() returns this entry built from DESCRIPTION.
R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
Balamuta, J. J. (2026). R Observatory: Metrics for survHE version 2.0.51 [Data set]. HJJB, LLC. Data release v2026-10-26. https://doi.org/10.5281/zenodo.21843040
About
From data release v2026-10-26, which the citation names so these numbers can be found later.
Health
All 13 check platforms pass.
r-devel-linux-x86_64-debian-clangThe unreleased R on Linux, x86_64, debian-clang
OK
- Version checked
- 2.0.51
- Time taken
- 214 s
r-devel-linux-x86_64-debian-gccThe unreleased R on Linux, x86_64, debian-gcc
OK
- Version checked
- 2.0.51
- Time taken
- 142 s
r-devel-linux-x86_64-fedora-clangThe unreleased R on Linux, x86_64, fedora-clang
OK
- Version checked
- 2.0.51
- Time taken
- 174 s
r-devel-linux-x86_64-fedora-gccThe unreleased R on Linux, x86_64, fedora-gcc
OK
- Version checked
- 2.0.51
- Time taken
- 141 s
r-devel-windows-x86_64The unreleased R on Windows, x86_64
OK
- Version checked
- 2.0.51
- Time taken
- 329 s
r-oldrel-macos-arm64The previous release of R on macOS, arm64
OK
- Version checked
- 2.0.51
- Time taken
- 48 s
r-oldrel-macos-x86_64The previous release of R on macOS, x86_64
OK
- Version checked
- 2.0.51
- Time taken
- 168 s
r-oldrel-windows-x86_64The previous release of R on Windows, x86_64
OK
- Version checked
- 2.0.51
- Time taken
- 271 s
r-patched-linux-x86_64The patched release of R on Linux, x86_64
OK
- Version checked
- 2.0.51
- Time taken
- 200 s
r-release-linux-x86_64The current release of R on Linux, x86_64
OK
- Version checked
- 2.0.51
- Time taken
- 197 s
r-release-macos-arm64The current release of R on macOS, arm64
OK
- Version checked
- 2.0.51
- Time taken
- 45 s
r-release-macos-x86_64The current release of R on macOS, x86_64
OK
- Version checked
- 2.0.51
- Time taken
- 209 s
r-release-windows-x86_64The current release of R on Windows, x86_64
OK
- Version checked
- 2.0.51
- Time taken
- 197 s
- 13 OK
Over time
No change since 4 Aug 2026
As a list (8)
| Changed | Worst status | OK | Notes | Warnings | Errors |
|---|---|---|---|---|---|
| 4 Aug 2026 | OK | 13 | 0 | 0 | 0 |
| 1 Aug 2026 | Note | 12 | 1 | 0 | 0 |
| 9 Jun 2026 | OK | 13 | 0 | 0 | 0 |
| 8 Jun 2026 | Error | 12 | 0 | 0 | 1 |
| 25 Apr 2026 | OK | 12 | 0 | 0 | 0 |
| 6 Apr 2026 | Note | 11 | 3 | 0 | 0 |
| 4 Apr 2026 | Error | 10 | 3 | 0 | 1 |
| 10 Mar 2026 | Note | 11 | 3 | 0 | 0 |
Since March 2026
Downloads
Method, Downloads Method Download figures count requests logged by each distribution channel. They are not counts of installs or of users, because each channel publishes its own totals and this site reads them.Downloads
- Total downloads in the last 30 days
- 705−0.71% down on the 30 days before, the worse directionIt is the sum of 3 channels: CRAN, r2u and autoCRAN.
CRAN rank
4,464 of 26,529
CRAN
701 downloads in the last 30 days
- Rank
- 4,464 of 26,529
- Change
- +3.4% up on the 30 days before, the better direction
It is in the total. Take it out
r2u
3 downloads in the last 30 days
- Rank
- 11,992 of 30,526
- Change
- −85.7% down on the 30 days before, the worse direction
It is in the total. Take it out
autoCRAN
1 downloads in the last 30 days
- Rank
- 25,624 of 29,130
- Change
- −90.9% down on the 30 days before, the worse direction
It is in the total. Take it out
The total is 705 downloads in the last 30 days. It is the sum of 3 channels: CRAN, r2u and autoCRAN.
Over time
Dependencies
- Needs
- 9
- Dependent packages
- 1
- Suggested by
- 0
Needs (9)
Dependent packages (1)
| Package | Title | Downloads in 30 days |
|---|---|---|
| blendR | Blended Survival Curves | 264 |
Code
Method, Code Method Code metrics come from reading the released source of each package version. The package is never installed, loaded or run.Code metrics
- Functions
- 77
- Public exports
- 17
- Lines of R code
- 5,101
- Median complexity
- 3
Functions (77)
Size and composition
Lines by kind (6,439)
| Kind | Lines | Share |
|---|---|---|
| R code | 5,101 | 79% |
| Tests | 38 | 0.6% |
| Documentation | 1,300 | 20% |
Lines by language
| Language | Lines | Share |
|---|---|---|
| R | 5,139 | 80% |
| Rd | 1,300 | 20% |
Languages are counted from file extensions.
- Files
- 52
- R functions
- 77
- Object systems
- S3: 3 methods
Complexity
- Median
- 3
- Mean
- 6.08
- Highest
- 44
- Median lines per function
- 25
About complexity
Cyclomatic complexity counts the independent paths through a function: 1 is a straight line, higher is harder to test. R functions only.
Call graph figures
- R functions
- 77
- Calls
- 37
- Unconnected
- 38
- Groups
- 6
Growth (14 releases)
Release changes
Tests
The tests ran and coverage was measured.
- Lines run by tests
- 22.1%
- Expressions run by tests
- 15.1%
- Test cases
- 1
- Exports named in tests
- 17.6%
Coverage by file (17)
Coverage run
- Lines counted
- 2,085
- Lines the tests ran
- 460
- Tests passed
- Yes
- Measured with
- covr 3.6.5 on R 4.6.1
Test suite
- Has tests
- Yes
- Test frameworks
- testthat
- Test cases
- 1
- Lines of tests
- 38
- Test lines per line of code
- 0.01
Documentation
- Exports documented
- 100%
- Arguments documented
- 100%
- Return value documented
- 64.7%
- Help pages with examples
- 81%
- Examples run in checks
- 11.8%
Other documentation
- README
- No
- Release notes file
- Yes
- Help pages
- 21
- Lines of documentation
- 1,300
Datasets
Method, Datasets Method The datasets inside packages are read from their data/ folders when the code is analysed. Each object is described by its class, its shape and its columns, and fingerprinted so the same data can be found in other packages.R objects in datasets
| Dataset | Size | Columns |
|---|---|---|
| dataA fictional survival trial.also in 1 other package | 367 × 8 | ID_ |
| msmdataNICE TA174 dataset in multi-state format. | 1,868 × 16 | id, from, to, trans, Tstart, Tstop and 10 more |
| ta174NICE TA174 dataset. | 810 × 8 | patid, treat, prog, death, prog_ |
People
Method, People Method People on the site are the names packages give them in their DESCRIPTION files: authors from the author list, and the maintainer from the Maintainer field. Spellings of one name become one person only where the rules below allow it, and when in doubt the rules keep people apart.Author and maintainer identity
Maintainer since 1.0.4 (2017), author
Contributor
Contributor
Contributor
Contributor
Repository
Method, figures by host Method Repository signals are the figures read from the source repository a package links to: stars, forks, issues, commits, releases and the time issues take to close. They are read from GitHub, GitLab and Codeberg.Repository signals
giabaio / survhe on github.com
- Stars
- 48no change on 30 days ago
- Forks
- 21
- Open issues
- 11
- Last commit
- 8 May 2026
Activity
- Commits
- 463
- Open pull requests
- 0
- Tagged releases
- 6
- Latest tagged release
- 2.0.51, 15 Jan 2026
- In development
- Default branch at 2.0.52, ahead of CRAN 2.0.51 (checked 2026-10-25)
- Issues closed in
- 2 days (median)
- Pull requests closed in
- 0 days (median)
- Pull requests merged
- 89%
- Created
- 7 Dec 2016
- Licence file reads as
- –
Development practices (5)
| Kind | Found |
|---|---|
| Continuous integration | GitHub Actions, R CMD check workflow The R CMD check workflow runs on Linux, macOS and Windows, and on R-devel |
| Docs source | README.Rmd GitHub Pages site last deployed 2017-07-08 |
| Lint, format, editor | RStudio project |
Method, repository practices Method Beta Each week a scan of the public source repository a package links to looks for the tools a maintainer has set up, and the Repository section lists the findings. Repositories on GitHub and GitLab are scanned.Repository practices
History
Method, History Method Archived is built from CRAN's archive records, its list of check deadlines and Bioconductor's package records. Every figure is counted to 26 Oct 2026, the day the data was read.Packages leaving
- On CRAN
- Release
| Version | Released | R |
|---|---|---|
| 2.0.51 current | 15 Jan 2026 | 4.5.2 |
| 2.0.5 | 12 Jun 2025 | 4.5.0 |
| 2.0.4 | 15 May 2025 | 4.5.0 |
| 2.0.3 | 3 Mar 2025 | 4.4.3 |
| 2.0.2 | 4 Oct 2024 | 4.4.1 |
| 2.0.1 | 19 Mar 2023 | 4.2.3 |
| 1.1.2 | 9 Feb 2021 | 4.0.3 |
| 1.1.1 | 7 Oct 2020 | 4.0.2 |
Earlier versions (6)
Release notes (2.0.51)
January 2026
- Aligns with changes in
dplyrand addsidto the global functions.
July 2025
- Slightly modifies the
printmethod, so that theoriginal=TRUEoption can also be compounded with an additional optionprint_priors=TRUE. For HMC models, this also adds to the table of results a summary of the prior modelling assumptions.