Skip to content

FastJM

Semi-Parametric Joint Modeling of Longitudinal and Survival Data

v1.6.0 · Mar 28, 2026 · GPL (>= 3)

Description

Implements scalable joint models for large-scale competing risks time-to-event data with one or multiple longitudinal biomarkers using the efficient algorithms developed by Li et al. (2022) <doi:10.1155/2022/1362913> and <doi:10.48550/arXiv.2506.12741>. The time-to-event process is modeled using a cause-specific Cox proportional hazards model with time-fixed covariates, while longitudinal biomarkers are modeled using linear mixed-effects models. The association between the longitudinal and survival processes is captured through shared random effects. The package enables analysis of large-scale biomedical data to model biomarker trajectories, estimate their effects on event risks, and perform dynamic prediction of future events based on patients' longitudinal histories. Functions for simulating survival and longitudinal data for multiple biomarkers are included, along with built-in example datasets. The package also supports modeling a single biomarker with heterogeneous within-subject variability via functionality adapted from the 'JMH' package.

Downloads

CRAN

602

Last 30 days

5946th

1.8K

Last 90 days

4.9K

Last year

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

r2u CRAN

24

Last 30 days

130

Last 90 days

544

Last year

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

autoCRAN

0

Last 7 days

13

Last 30 days

0

All-time

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

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

Packages required but not available: 'caret', 'pec'

See section ‘The DESCRIPTION file’ in the ‘Writing R Extensions’
manual.
OK 13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE May 2, 2026
ERROR 11 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE Apr 25, 2026
ERROR r-release-macos-x86_64

package dependencies

Package required but not available: ‘caret’

See section ‘The DESCRIPTION file’ in the ‘Writing R Extensions’
manual.
NOTE 12 OK · 2 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Apr 22, 2026
NOTE r-oldrel-macos-arm64

installed package size

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

installed package size

installed size is 102.8Mb
  sub-directories of 1Mb or more:
    libs  101.7Mb
ERROR 11 OK · 2 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE Apr 18, 2026
ERROR r-devel-windows-x86_64

whether package can be installed

Installation failed.
See 'd:/Rcompile/CRANpkg/local/4.6/FastJM.Rcheck/00install.out' for details.
NOTE r-oldrel-macos-arm64

installed package size

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

installed package size

installed size is 102.8Mb
  sub-directories of 1Mb or more:
    libs  101.7Mb
NOTE 12 OK · 2 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 10, 2026
NOTE r-oldrel-macos-arm64

installed package size

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

installed package size

installed size is 85.4Mb
  sub-directories of 1Mb or more:
    libs  84.7Mb

Line coverage

Expression

Tests / Examples

Functions

314 15 exported

Complexity

6.8 avg / 116 max

Call network

314 nodes / 424 edges

Test coverage has not been measured for this package yet; nodes fall back to a neutral fill.

Loading call graph…

Lowest coverage

Per-function coverage is not measured for this package yet.

Compare versions

Code

Structure

Lines of code

31,290

Files

188

Compiled share

55.3%

Has compiled src

Yes

Language breakdown

R 11,875 (38%)C/C++/src 17,315 (55.3%)Tests 21 (0.1%)Docs 1,891 (6%)Vignettes 188 (0.6%)

API

Exported functions

15

Internal functions

164

Recent export changes

v1.6.0+8 AUCJMMLSM, ConcordanceJMMLSM, Concordancejmcs +5 more  −3 AUCjmcs, MAEQjmcs, PEjmcs
v1.5.2+1 survfitmvjmcs

Testing & CI

Has tests

Yes

Test-to-code ratio

0.00

testthat edition

3

CI present

No

CI type

[]

PR gated

No

Docs

Return-value doc rate

100%

\dontrun example ratio

66.7%

Roxygen coverage

100%

Has pkgdown

No

NEWS present

Yes

Health & Security signals

Informational signals; not verdicts.

on.exit coverage

100%

Unsafe pattern score

0

Dep constraint coverage

14.3%

Secret pattern count

0

Bundled 3rd-party code

2 items

Portability & License

Min R version

3.5.0

System requirements

C++ standard

License

GPL (>= 3)

License flags

SPDX valid, OSI approved

History

Versions

16

First release

2022-01-06

Latest release

2026-03-28

Avg cadence

66 days

Cold removal rate

100%

Dep drift

13

LOC over versions

v1.0.0: 8,018 LOCv1.0.1: 8,016 LOCv1.1.0: 8,839 LOCv1.1.1: 8,839 LOCv1.1.2: 8,838 LOCv1.1.3: 8,857 LOCv1.2.0: 9,687 LOCv1.3.1: 9,812 LOCv1.4.0: 10,178 LOCv1.4.1: 10,180 LOCv1.4.2: 10,180 LOCv1.5.0: 18,988 LOCv1.5.1: 19,015 LOCv1.5.2: 19,543 LOCv1.5.3: 19,726 LOCv1.6.0: 31,290 LOC

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

Reverse Dependencies (2)

imports

Dependency Network

Dependencies Reverse dependencies survival MASS statmod magrittr Rcpp dplyr nlme caret pec future future.apply rlang JMbdirect jmBIG FastJM

Version History

17 tracked
updated 1.6.0 ← 1.5.3 diff Mar 28, 2026
new 1.5.3 Mar 10, 2026
updated 1.5.3 ← 1.5.2 diff Nov 7, 2025
updated 1.5.2 ← 1.5.1 diff Oct 17, 2025
updated 1.5.1 ← 1.5.0 diff Jul 23, 2025
updated 1.5.0 ← 1.4.2 diff Jun 21, 2025
updated 1.4.2 ← 1.4.1 diff Feb 29, 2024
updated 1.4.1 ← 1.4.0 diff Jan 8, 2024
updated 1.4.0 ← 1.3.1 diff Oct 9, 2023
updated 1.3.1 ← 1.2.0 diff Mar 25, 2023
updated 1.2.0 ← 1.1.3 diff Aug 5, 2022
updated 1.1.3 ← 1.1.2 diff May 31, 2022
updated 1.1.2 ← 1.1.1 diff Feb 15, 2022
updated 1.1.1 ← 1.1.0 diff Feb 13, 2022
updated 1.1.0 ← 1.0.1 diff Feb 7, 2022