Skip to content

preventr

0.12.1Package record

An Implementation of the PREVENT and Pooled Cohort Equations

1packages depend
8.1Kdownloads / year
87.9%test coverage
13/13flavors OK

Overview

About

Implements the American Heart Association Predicting Risk of cardiovascular disease EVENTs (PREVENT) equations from Khan SS, Matsushita K, Sang Y, and colleagues (2023) doi:10.1161/CIRCULATIONAHA.123.067626, with optional comparison with their de facto predecessor, the Pooled Cohort Equations from the American Heart Association and American College of Cardiology (2013) doi:10.1161/01.cir.0000437741.48606.98 and the revision to the Pooled Cohort Equations from Yadlowsky and colleagues (2018) doi:10.7326/M17-3011.

Changes in 0.12.1

From NEWS.md in the release

Install

Health

CRAN checks
13OK
Slowest check: 10.1 min · r-release-macos-x86_64
Status changes
  • OK13 OK2026-08-05
  • NOTE12 OK, 1 NOTE2026-08-01
  • OK13 OK2026-07-03
  • NOTE13 NOTE2026-06-08
  • WARNING12 NOTE, 1 WARNING2026-06-07
Show 1 earlier changeHide 1 earlier change
  • NOTE3 OK, 11 NOTE2026-03-10
Advisories

none known

Documentation

In release 0.12.1
READMEYes · 1,473 wordsVignettesYes · 2 · dynamicNEWSYes · 100% structured · mentions 0.12.1Citation fileNoWebsiteYes

The repository also keeps web-only articles.

Help pages
3
Examples that run
100%3 run in a plain check (1 of them under a condition)
Exported functions with examples
100%
Documented parameters
100%
Return-value docs
100%
Help pages citing references
33%

Downloads

8.1K
CRAN downloads in the past year
Rank #3,689 · ~22/day · ~677/mo
Daily download trend is not available in this view yet.
1.1K30 days
2.7K90 days
8.1K1 year
Compare downloads with other packages →
Also on77 r2u7 autocran

Repository

46Stars
8Forks
0Open issues
0Open PRs
5Releases
14Commits
1Commit identities
14 commits · Last activity 2026-10-17 · +2.2% stars, 30d
Responsiveness
How these are sampled
PRs merged (all time)
not measured
Median days to close, 50 most recently updated closed issues
34
Median days to close, 50 most recently updated closed PRs
not measured

Stars over time

2025-10-18 · 322026-10-04 · 46
PracticesBeta

5 development-tooling and community-health practices detected across 4 families in the upstream repository

Checks run against github.com/martingmayer/preventr on 2026-10-21.

Docs source (2)
README.Rmdpkgdown
CRAN release process (1)
cran-comments.md
Lint, format, editor (1)
RStudio project
Git structural (1)
.gitattributes
How this is detected·Detection ruleset v4 (2026-10-20)

Dependencies

Declared dependencies
10 external dependencies (excludes base and recommended)

Installing preventr adds 25 packages (12 with compiled code, 16 MB of source tarballs). Heaviest: ggplot2 6.0 MB, isoband 1.5 MB, farver 1.2 MB.

Depends (1)
R >= 4.1.0
Imports (2)
LinkingTo (0)
none
Enhances (0)
none
Reverse dependencies
1direct
0indirect
Imports 1
Depends, Imports or LinkingTo, most downloaded first

People & History

People (1)
Author, Maintainer since 0.9.0 (2024), Copyright holder
Releases (5)

Pick two releases to compare their code metrics.

  • 0.12.1Latest
    record
    2026-10-17 · current release · diff ↗
  • 0.12.0
    record
    2026-06-24 · diff ↗ ·
    added 1 export
    plot_risk
  • R
    R 4.6.0 released · 2026-04-24
  • R
    R 4.5.0 released · 2025-04-11
  • 0.11.0
    record
    2025-01-27 · diff ↗
  • 0.10.0
    record
    2024-08-18 · diff ↗ ·
    added 1 export
    app
  • R
    R 4.4.0 released · 2024-04-24
  • 0.9.0
    record
    2024-02-26
  • R
    R 4.3.0 released · 2023-04-21

Package metadata

First published
2024-02-26
Total releases
5 / 2 yrs
License
MIT + file LICENSE OSI
Minimum R
≥ 4.1.0
Download size
801 KB

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("preventr")
Mayer, M. (2026). preventr: An Implementation of the PREVENT and Pooled Cohort Equations (Version 0.12.1) [Computer software]. https://doi.org/10.32614/CRAN.package.preventr

This package has no citation file, so citation() returns this entry built from DESCRIPTION.

Cite the R Observatory

For a number measured here: a download total, a coverage figure, an archival date.

APA

Balamuta, J. J. (2026). R Observatory: Metrics for preventr version 0.12.1 [Data set]. HJJB, LLC. Data release v2026-10-25. https://doi.org/10.5281/zenodo.21843040

From data release v2026-10-25, which the citation names so these numbers can be found later. More on citing and the projects behind them.

Report a problem with this page →

Privacy choices

These apply to this browser and are stored on this device only. Nothing about your choice is sent to us.

Read the privacy policy