Skip to content
Filter by outcome

Compare versions · code and quality diff

preventr

Patch bump
Released 2026-06-24 → 2026-10-17115 days apartMaintained by Martin Mayer
Structure
Exported functions 4→4no change
Internal functions 55→55no change
Total lines 42,146→42,262+116
R lines 5,684→5,740+56
Compiled (src) lines 0→0no change
Test lines 32,973→32,981+8
Files changed (80 files)+4159−4277
DESCRIPTION+5−5
MD5+79−78
NAMESPACE+21−19
NEWS.md+20−4
R/estimate_risk.R+72−16
R/prep_data_for_use.R+1−1
R/sysdata.rda
README.md+25−24
build/partial.rdb
inst/doc/plot-risk.Rmd+774−774
inst/doc/using-data-frame.html+1615−1869
man/estimate_risk.Rd+64−12
tests/testthat/_snaps/estimate_risk.md+71−71
tests/testthat/_snaps/helpers_test.md+5−5
tests/testthat/_snaps/plot_risk/check-for-id-1-at-row-1-years-from-data-frame-input.svg+10−10
ⓘLines added and removed per file, summed across the versions between the two compared releases.
Datasets~4
changed (4)
full_10yrfull_30yrhba1c_10yrhba1c_30yr
ⓘDatasets are matched by name; a content-fingerprint change means the stored data itself changed (a format change means only its storage encoding did). 8 unchanged.
Languages
R functions 58→58no change
C++ functions 0→0no change
C functions 0→0no change
Fortran functions 0→0no change
Rust functions 0→0no change
Compiled share 0%→0%no change
Documentation
Doc lines 1,555→1,607+52
Roxygen coverage 100%→100%no change
Help pages citing references 0%→33.3%+33.3pp
Examples coverage 100%→100%no change
Help pages with examples 3→3no change
Undocumented params lower is better 0%→0%no change
Value docs 100%→100%no change
README Yes→Yesno change
Vignettes Yes→Yesno change
NEWS file Yes→Yesno change
Citation file No→Nono change
Help pages 3→3no change
Pages with running examples 3→3no change
Pages with donttest-only examples 0→0no change
Pages whose examples never run 0→0no change
Testing
Test cases 185→185no change
Test units 185→185no change
Test blocks skipped when NOT_CRAN is unset 3→3no change
Test/code ratio 12.99→12.87−0.13
Snapshot tests 395→395no change
Has tests Yes→Yesno change
testthat edition 3→3no change
Exported fn test linkage 100%→100%no change
Stochastic seed discipline 0%→0%no change
Complexity
Cyclomatic mean lower is better 8.62→8.62no change
Cyclomatic max lower is better 138→138no change
Cyclomatic median lower is better 3→3no change
Lines per function (mean) lower is better 61.72→61.84+0.12
Call graph
Functions (nodes) 58→58no change
Call edges 78→78no change
Max function degree 20→20no change
Mean function degree 2.69→2.69no change
Isolated functions 9→9no change
Connected components 1→1no change
Native call sites 0→0no change
Object system
S3 methods 0→0no change
S4 classes 0→0no change
S4 generics 0→0no change
S4 methods 0→0no change
R6 classes 0→0no change
S7 classes 0→0no change
RC classes 0→0no change
Quality & risk
Unsafe pattern score lower is better 0→0no change
Secret pattern count lower is better 0→0no change
Global-state write density lower is better 0.00→0.00no change
Deprecated idiom density lower is better 0.00→0.00no change
Triple-colon uses lower is better 0→0no change
Dependencies
Direct dependencies lower is better 2→2no change
Dependency drift –→1–
ImportsNo change
SuggestsNo change
ⓘPackage sets are compared per dependency type from the DESCRIPTION of each version. Version constraints and the base R requirement are omitted.
Requirements
SPDX valid Yes→Yesno change
OSI approved Yes→Yesno change
License file complete Yes→Yesno change
People
Authors1→1no change
Release metadata
Package
preventr
Version
0.12.0→0.12.1
Released
2026-06-24→2026-10-17
Maintainer
Martin Mayer
License
MIT + file LICENSE
Requires R
4.1.0
Download size
799 KB→801 KB

69 comparison rows · 3 improved, 2 regressed, 0 added, 0 removed, 64 unchanged. Select any info icon for its definition, or see the full glossary.

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