Skip to content

censored

'parsnip' Engines for Survival Models

v0.3.4 · Apr 3, 2026 · MIT + file LICENSE

Description

Engines for survival models from the 'parsnip' package. These include parametric models (e.g., Jackson (2016) <doi:10.18637/jss.v070.i08>), semi-parametric (e.g., Simon et al (2011) <doi:10.18637/jss.v039.i05>), and tree-based models (e.g., Buehlmann and Hothorn (2007) <doi:10.1214/07-STS242>).

Downloads

CRAN

3.1K

Last 30 days

2168th

13.1K

Last 90 days

50.2K

Last year

Trend: -43.9% (30d vs prior 30d)

r2u CRAN

4

Last 30 days

44

Last 90 days

308

Last year

Trend: -66.7% (30d vs prior 30d)

autoCRAN

2

Last 7 days

25

Last 30 days

0

All-time

autoCRAN-only: this name is served only by autoCRAN, so the count is exact.

conda-forge CRAN

104

Last 30 days

416

Last 90 days

1.6K

Last year

Trend: -37% (30d vs prior 30d)

CRAN Check Status

13 OK
Show all 13 flavors
Flavor Status
r-devel-linux-x86_64-debian-clang OK
r-devel-linux-x86_64-debian-gcc OK
r-devel-linux-x86_64-fedora-clang OK
r-devel-linux-x86_64-fedora-gcc OK
r-devel-windows-x86_64 OK
r-oldrel-macos-arm64 OK
r-oldrel-macos-x86_64 OK
r-oldrel-windows-x86_64 OK
r-patched-linux-x86_64 OK
r-release-linux-x86_64 OK
r-release-macos-arm64 OK
r-release-macos-x86_64 OK
r-release-windows-x86_64 OK

Check History

OK 13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Jun 9, 2026
ERROR 12 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE Jun 8, 2026
ERROR r-devel-linux-x86_64-debian-gcc

package dependencies

Package required but not available: ‘parsnip’

Packages suggested but not available for checking: 'flexsurv', 'pec'

See section ‘The DESCRIPTION file’ in the ‘Writing R Extensions’
manual.
OK 14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 10, 2026

Code

Structure

Lines of code

11,183

Files

87

Compiled share

0%

Has compiled src

No

Language breakdown

R 3,813 (34.1%)Tests 6,696 (59.9%)Docs 674 (6%)

API

Exported functions

15

Internal functions

70

Recent export changes

v0.3.0+1 survival_prob_pecRpart

Testing & CI

Has tests

Yes

Test-to-code ratio

1.76

testthat edition

3

CI present

No

CI type

[]

PR gated

No

Docs

Return-value doc rate

100%

\dontrun example ratio

0%

Roxygen coverage

100%

Has pkgdown

No

NEWS present

Yes

Health & Security signals

Informational signals; not verdicts.

on.exit coverage

Unsafe pattern score

0

Dep constraint coverage

47.1%

Secret pattern count

0

Bundled 3rd-party code

2 items

Portability & License

Min R version

4.1

System requirements

C++ standard

License

MIT + file LICENSE

License flags

SPDX valid, OSI approved

History

Versions

8

First release

2022-06-22

Latest release

2026-04-04

Avg cadence

195 days

Cold removal rate

100%

Dep drift

13

LOC over versions

v0.1.0: 5,606 LOCv0.1.1: 5,687 LOCv0.2.0: 8,979 LOCv0.3.0: 10,612 LOCv0.3.1: 10,588 LOCv0.3.2: 10,295 LOCv0.3.3: 10,534 LOCv0.3.4: 11,183 LOC

Per-file churn detail lives in the source pipeline: https://github.com/r-observatory/cran-code-metrics.

Reverse Dependencies (9)

imports

Dependency Network

Dependencies Reverse dependencies parsnip survival cli dials dplyr generics glue hardhat (>= 1.4.1) lifecycle mboost prodlim purrr rlang tibble tidyr +1 more dependencies easysurv MachineShop butcher fastml important lnmixsurv survex tidyAML tune censored

Version History

9 tracked
updated 0.3.4 ← 0.3.3 diff Apr 3, 2026
new 0.3.3 Mar 10, 2026
updated 0.3.3 ← 0.3.2 diff Feb 13, 2025
updated 0.3.2 ← 0.3.1 diff Jun 10, 2024
updated 0.3.1 ← 0.3.0 diff Apr 18, 2024
updated 0.3.0 ← 0.2.0 diff Jan 30, 2024
updated 0.2.0 ← 0.1.1 diff Apr 13, 2023
updated 0.1.1 ← 0.1.0 diff Sep 29, 2022
new 0.1.0 Jun 21, 2022