Skip to content

Rcompadre

Utilities for using the 'COM(P)ADRE' Matrix Model Database

v1.5.0 · Apr 22, 2026 · GPL-3

Description

Utility functions for interacting with the 'COMPADRE' and 'COMADRE' databases of matrix population models. Described in Jones et al. (2021) <doi:10.1101/2021.04.26.441330>.

Downloads

CRAN

678

Last 30 days

4953rd

2.2K

Last 90 days

10.2K

Last year

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

r2u CRAN

2

Last 30 days

41

Last 90 days

115

Last year

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

autoCRAN

0

Last 7 days

7

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 14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 10, 2026

Code

Structure

Lines of code

9,016

Files

125

Compiled share

0%

Has compiled src

No

Language breakdown

R 4,340 (48.1%)Tests 1,209 (13.4%)Docs 2,400 (26.6%)Vignettes 1,067 (11.8%)

API

Exported functions

48

Internal functions

45

Recent export changes

v1.5.0+1 cdb_export_matlab
v1.4.0+2 mat_elementwise_apply, mpm_elementwise_apply

Testing & CI

Has tests

Yes

Test-to-code ratio

0.28

testthat edition

3

CI present

No

CI type

[]

PR gated

No

Docs

Return-value doc rate

92.3%

\dontrun example ratio

8%

Roxygen coverage

100%

Has pkgdown

No

NEWS present

Yes

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

2.10

System requirements

C++ standard

License

GPL-3

License flags

SPDX valid, OSI approved

History

Versions

7

First release

2021-04-30

Latest release

2026-04-23

Avg cadence

289 days

Cold removal rate

Dep drift

3

LOC over versions

v1.0.0: 6,411 LOCv1.1.0: 7,109 LOCv1.2.0: 7,385 LOCv1.2.1: 7,412 LOCv1.3.0: 8,322 LOCv1.4.0: 8,602 LOCv1.5.0: 9,016 LOC

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

Reverse Dependencies (6)

imports

Dependency Network

Dependencies Reverse dependencies dplyr popdemo tibble Compind mpmsim AntibodyForests Rage lefko3 mpmaggregate Rcompadre

Version History

8 tracked
updated 1.5.0 ← 1.4.0 diff Apr 23, 2026
new 1.4.0 Mar 10, 2026
updated 1.4.0 ← 1.3.0 diff Oct 16, 2024
updated 1.3.0 ← 1.2.1 diff Sep 1, 2023
updated 1.2.1 ← 1.2.0 diff Mar 25, 2023
updated 1.2.0 ← 1.1.0 diff Jan 17, 2023
updated 1.1.0 ← 1.0.0 diff Oct 14, 2021
new 1.0.0 Apr 29, 2021