Skip to content

rtestim

Estimate the Effective Reproductive Number with Trend Filtering

v1.0.2 · Mar 11, 2026 · MIT + file LICENSE

Description

Use trend filtering, a type of regularized nonparametric regression, to estimate the instantaneous reproduction number, also called Rt. This value roughly says how many new infections will result from each new infection today. Values larger than 1 indicate that an epidemic is growing while those less than 1 indicate decline. For more details about this methodology, see Liu, Cai, Gustafson, and McDonald (2024) <doi:10.1371/journal.pcbi.1012324>.

Downloads

518

Last 30 days

7699th

876

Last 90 days

2.3K

Last year

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

CRAN Check Status

6 NOTE
8 OK
Show all 14 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-macos-arm64 OK
r-devel-windows-x86_64 NOTE
r-oldrel-macos-arm64 NOTE
r-oldrel-macos-x86_64 NOTE
r-oldrel-windows-x86_64 OK
r-patched-linux-x86_64 NOTE
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 (6 non-OK)
NOTE r-devel-linux-x86_64-debian-clang

compiled code

File ‘rtestim/libs/rtestim.so’:
  Found non-API call to R: ‘R_UnboundValue’

Compiled code should not call non-API entry points in R.

See ‘Writing portable packages’ in the ‘Writing R Extensions’ manual,
and section ‘Moving into C API compliance’ for issues with the use of
non-API entry points.
NOTE r-devel-linux-x86_64-debian-gcc

compiled code

File ‘rtestim/libs/rtestim.so’:
  Found non-API call to R: ‘R_UnboundValue’

Compiled code should not call non-API entry points in R.

See ‘Writing portable packages’ in the ‘Writing R Extensions’ manual,
and section ‘Moving into C API compliance’ for issues with the use of
non-API entry points.
NOTE r-devel-windows-x86_64

compiled code

File 'rtestim/libs/x64/rtestim.dll':
  Found non-API call to R: 'R_UnboundValue'

Compiled code should not call non-API entry points in R.

See 'Writing portable packages' in the 'Writing R Extensions' manual,
and section 'Moving into C API compliance' for issues with the use of
non-API entry points.
NOTE r-oldrel-macos-arm64

installed package size

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

installed package size

installed size is  7.4Mb
  sub-directories of 1Mb or more:
    libs   6.0Mb
NOTE r-patched-linux-x86_64

compiled code

File ‘rtestim/libs/rtestim.so’:
  Found non-API call to R: ‘R_UnboundValue’

Compiled code should not call non-API entry points in R.

See ‘Writing portable packages’ in the ‘Writing R Extensions’ manual,
and section ‘Moving into C API compliance’ for issues with the use of
non-API entry points.

Check History

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  9.5Mb
  sub-directories of 1Mb or more:
    doc    2.8Mb
    libs   6.0Mb
NOTE r-oldrel-macos-x86_64

installed package size

installed size is  9.5Mb
  sub-directories of 1Mb or more:
    doc    2.8Mb
    libs   6.0Mb

Dependency Network

Dependencies Reverse dependencies checkmate cli dspline ggplot2 Matrix Rcpp rlang tibble tvdenoising vctrs rtestim

Version History

updated 1.0.2 ← 1.0.1 diff Mar 11, 2026
new 1.0.1 Mar 10, 2026
updated 1.0.1 ← 1.0.0 diff Oct 23, 2025
new 1.0.0 Jul 4, 2025