Skip to content

SemiCompRisks

Hierarchical Models for Parametric and Semi-Parametric Analyses of Semi-Competing Risks Data

v3.4 · Feb 3, 2021 · GPL (>= 2)

Description

Hierarchical multistate models are considered to perform the analysis of independent/clustered semi-competing risks data. The package allows to choose the specification for model components from a range of options giving users substantial flexibility, including: accelerated failure time or proportional hazards regression models; parametric or non-parametric specifications for baseline survival functions and cluster-specific random effects distribution; a Markov or semi-Markov specification for terminal event following non-terminal event. While estimation is mainly performed within the Bayesian paradigm, the package also provides the maximum likelihood estimation approach for several parametric models. The package also includes functions for univariate survival analysis as complementary analysis tools.

Downloads

CRAN

474

Last 30 days

8719th

1.1K

Last 90 days

4.3K

Last year

Trend: +52.4% (30d vs prior 30d)

r2u CRAN

25

Last 30 days

116

Last 90 days

394

Last year

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

CRAN Check Status

1 WARNING
2 NOTE
10 OK
Show all 13 flavors
Flavor Status
r-devel-linux-x86_64-debian-clang NOTE
r-devel-linux-x86_64-debian-gcc NOTE
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 WARNING
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 details (3 non-OK)
NOTE r-devel-linux-x86_64-debian-clang

CRAN incoming feasibility

Maintainer: ‘Kyu Ha Lee <klee15239@gmail.com>’

No Authors@R field in DESCRIPTION.
Please add one, modifying
  Authors@R: c(person(given = c("Kyu", "Ha"),
                      family = "Lee",
                      role = c("aut", "cre"),
                      email = "klee15239@gmail.com"),
               person(given = "Catherine",
                      family = "Lee",
                      role = "aut"),
               person(given = "Danilo",
                      family = "Alvares",
                      role = "aut"),
               person(given = "Sebastien",
                      family = "Haneuse",
                      role = "aut"))
as necessary.
NOTE r-devel-linux-x86_64-debian-gcc

CRAN incoming feasibility

Maintainer: ‘Kyu Ha Lee <klee15239@gmail.com>’

No Authors@R field in DESCRIPTION.
Please add one, modifying
  Authors@R: c(person(given = c("Kyu", "Ha"),
                      family = "Lee",
                      role = c("aut", "cre"),
                      email = "klee15239@gmail.com"),
               person(given = "Catherine",
                      family = "Lee",
                      role = "aut"),
               person(given = "Danilo",
                      family = "Alvares",
                      role = "aut"),
               person(given = "Sebastien",
                      family = "Haneuse",
                      role = "aut"))
as necessary.
WARNING r-oldrel-macos-arm64

re-building of vignette outputs

Error(s) in re-building vignettes:
--- re-building ‘SemiCompRisks.ltx’ using tex
Error: processing vignette 'SemiCompRisks.ltx' failed with diagnostics:
Running 'texi2dvi' on 'SemiCompRisks.ltx' failed.
LaTeX errors:
!pdfTeX error: pdflatex (file bbm8): Font bbm8 at 600 not found
 ==> Fatal error occurred, no output PDF file produced!
--- failed re-building ‘SemiCompRisks.ltx’

SUMMARY: processing the following file failed:
  ‘SemiCompRisks.ltx’

Error: Vignette re-building failed.
Execution halted

Check History

WARNING 9 OK · 3 NOTE · 2 WARNING · 0 ERROR · 0 FAILURE Mar 10, 2026
NOTE r-devel-linux-x86_64-debian-clang

CRAN incoming feasibility

Maintainer: ‘Kyu Ha Lee <klee15239@gmail.com>’

No Authors@R field in DESCRIPTION.
Please add one, modifying
  Authors@R: c(person(given = c("Kyu", "Ha"),
                      family = "Lee",
                      role = c("aut", "cre"),
           
...[truncated]...
           person(given = "Danilo",
                      family = "Alvares",
                      role = "aut"),
               person(given = "Sebastien",
                      family = "Haneuse",
                      role = "aut"))
as necessary.
NOTE r-devel-linux-x86_64-debian-gcc

CRAN incoming feasibility

Maintainer: ‘Kyu Ha Lee <klee15239@gmail.com>’

No Authors@R field in DESCRIPTION.
Please add one, modifying
  Authors@R: c(person(given = c("Kyu", "Ha"),
                      family = "Lee",
                      role = c("aut", "cre"),
           
...[truncated]...
           person(given = "Danilo",
                      family = "Alvares",
                      role = "aut"),
               person(given = "Sebastien",
                      family = "Haneuse",
                      role = "aut"))
as necessary.
WARNING r-release-macos-arm64

re-building of vignette outputs

Error(s) in re-building vignettes:
--- re-building ‘SemiCompRisks.ltx’ using tex
Error: processing vignette 'SemiCompRisks.ltx' failed with diagnostics:
Running 'texi2dvi' on 'SemiCompRisks.ltx' failed.
LaTeX errors:
!pdfTeX error: pdflatex (file bbm
...[truncated]...
 Font bbm8 at 600 not found
 ==> Fatal error occurred, no output PDF file produced!
--- failed re-building ‘SemiCompRisks.ltx’

SUMMARY: processing the following file failed:
  ‘SemiCompRisks.ltx’

Error: Vignette re-building failed.
Execution halted
WARNING r-oldrel-macos-arm64

installed package size

installed size is  6.8Mb
  sub-directories of 1Mb or more:
    libs   5.8Mb
NOTE r-oldrel-macos-x86_64

installed package size

installed size is  8.0Mb
  sub-directories of 1Mb or more:
    libs   7.0Mb

Code intelligence has not been computed for this package yet.

Code

Structure

Lines of code

92,876

Files

114

Compiled share

81.8%

Has compiled src

Yes

Language breakdown

R 12,917 (13.9%)C/C++/src 75,964 (81.8%)Docs 2,435 (2.6%)Vignettes 1,560 (1.7%)

API

Exported functions

16

Internal functions

27

Recent export changes

v3.2+1 PPD

Testing & CI

Has tests

No

Test-to-code ratio

0.00

testthat edition

CI present

No

CI type

[]

PR gated

No

Docs

Return-value doc rate

91.7%

\dontrun example ratio

41.2%

Roxygen coverage

100%

Has pkgdown

No

NEWS present

No

Health & Security signals

Informational signals; not verdicts.

on.exit coverage

0%

Unsafe pattern score

0

Dep constraint coverage

0%

Secret pattern count

0

Bundled 3rd-party code

2 items

Portability & License

Min R version

3.3.0

System requirements

C++ standard

License

GPL (>= 2)

License flags

SPDX valid, OSI approved

History

Versions

15

First release

2013-12-21

Latest release

2021-02-03

Avg cadence

143 days

Cold removal rate

100%

Dep drift

3

LOC over versions

v1.0: 19,451 LOCv3.0.3: 19,451 LOCv2.0: 72,312 LOCv2.2: 73,408 LOCv2.3: 73,513 LOCv2.4: 73,927 LOCv2.5: 86,816 LOCv2.6: 86,876 LOCv2.7: 86,886 LOCv2.8: 86,992 LOCv3.0: 88,000 LOCv3.1: 88,343 LOCv3.2: 93,001 LOCv3.3: 93,001 LOCv3.4: 92,876 LOC

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

Reverse Dependencies (1)

suggests

Dependency Network

Dependencies Reverse dependencies MASS survival Formula PMLE4SCR SemiCompRisks

Version History

15 tracked
new 3.4 Mar 10, 2026
updated 3.4 ← 3.3 diff Feb 2, 2021
updated 3.3 ← 3.2 diff Jan 27, 2019
updated 3.2 ← 3.1 diff Jan 19, 2019
updated 3.1 ← 3.0 diff May 6, 2018
updated 3.0 ← 2.8 diff Mar 29, 2018
updated 2.8 ← 2.7 diff Jan 2, 2018
updated 2.7 ← 2.6 diff Jun 27, 2017
updated 2.6 ← 2.5 diff Dec 10, 2016
updated 2.5 ← 2.4 diff Oct 26, 2016
updated 2.4 ← 2.3 diff Mar 8, 2016
updated 2.3 ← 2.2 diff Dec 3, 2015
updated 2.2 ← 2.0 diff Aug 31, 2015
updated 2.0 ← 1.0 diff Feb 7, 2015
new 1.0 Dec 20, 2013