precrec
0.14.5Calculate Accurate Precision-Recall and ROC (Receiver Operator Characteristics) Curves
7packages depend
61.2Kdownloads / year
96.6%test coverage
13/13checks pass
Overview
About
Accurate calculations and visualization of precision-recall and ROC (Receiver Operator Characteristics) curves. Saito and Rehmsmeier (2015) doi:10.1371/journal.pone.0118432.
Install
Health
CRAN checks
13OK
Slowest check: 5.1 min · r-devel-linux-x86_64-fedora-clang
Code health
Yes
Tests · ratio 1.14
96.6%
Coverage · measured lines
100%
Documentation · exports
10
Dependencies · direct
Check history
- OK2026-06-0913 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
- NOTE2026-06-0812 OK · 1 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
- OK2026-04-2214 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
- ERROR2026-04-1813 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE
- OK2026-03-1014 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
Documentation
Documentation
READMEYes · 849 wordsVignettesYes · dynamicpkgdown siteNoNEWSYes · 100% structuredCode of conductNoContributing guideNo
- Examples that run
- 64%
- Documented parameters
- 100%
- Return-value docs
- 100%
- References docs
- 0%
Downloads
61.2K
CRAN downloads in the past year
Rank #1,991 · ~168/day · ~5.1K/mo
Daily download trend is not available in this view yet.
2.2K30 days
12.4K90 days
61.2K1 year
Also on2.1K r2u41 autocran8.1K conda_forge57 bioconda
Repository
Repository
46Stars
5Forks
12Open issues
0Open PRs
28Releases
622Commits
5Contributors
License GPL-3.0 · 622 commits · Last activity 2025-05-15 · +2.2% stars, 30d
Stars over time
2024-06-21 · 442026-07-07 · 46
Forks over time
2022-08-24 · 52026-07-07 · 5
Releases over time
2025-05-15 · 282026-07-07 · 28
Issues over time
2024-05-26 · 122026-07-07 · 12
PRs over time
2021-05-26 · 02026-07-07 · 0
Repository practices
Upstream repositoryBeta
6 development-tooling and community-health practices detected across 6 families in the upstream repository
Checks run against github.com/evalclass/precrec on 2026-07-19.
Continuous integration (1)
GitHub Actions
Reproducibility and dev environment (1)
data-raw/
CRAN release process (1)
cran-comments.md
Docs source (1)
README.Rmd
Show all practices
Lint, format, editor (1)
RStudio project
Git structural (1)
.gitattributes
Dependencies
Declared dependencies
13 external dependencies (excludes base and recommended)
Depends (1)
R >= 3.2.1
Imports (10)
Rcppggplot2assertthatgridgridExtramethodsdata.tablewithrgraphicsrlang
LinkingTo (1)
Enhances (0)
none
Code & Tests
Code Composition
R 17,475 (77%)Rd 2,909 (13%)C++ 1,793 (8%)Vignettes 623 (3%)C 31 (0%)
Code characteristics
Object systems
S354
- Cyclomatic complexity
- 2.0 median / 25 max
- Test cases
- 388 / 1.14 per code line
Test coverage
Line coverage
97%
Expression
96.8%
Tests / Examples
96.6% / – ex
Functions
269 10 exported
Complexity
3.3 avg / 25 max
Call network
269 nodes / 376 edges
Call graph
Open call graph →Loading call graph…
Lowest coverage
269 functions| Function | Cyclo | Coverage |
|---|---|---|
| .onUnload | 1 | 0% |
| auc_ci.default | 1 | 0% |
| part.default | 1 | 0% |
| .load_ggplot2 | 2 | 13% |
| .load_patchwork | 2 | 20% |
| .load_grid | 2 | 25% |
Datasets
Bundled datasets · 1
| Name | Class | Rows × Cols | Also ships in |
|---|---|---|---|
| M2N50F5 | data.frame | 50 × 4 | – |
People & History
People (2)
Maintainer (1)
Author, Maintainer
Authors (2)
Author, Maintainer
Author
Package Timeline
27 releases. Pick two to compare their code metrics. R releases are shown for context.
- RR 4.6.0 released · 2026-04-24
- 0.14.5Latest
- RR 4.5.0 released · 2025-04-11
- RR 4.4.0 released · 2024-04-24
- 0.14.42023-10-12 · diff ↗
- RR 4.3.0 released · 2023-04-21
- 0.14.22023-03-12 · diff ↗
- 0.14.12023-01-08 · diff ↗
- RR 4.2.0 released · 2022-04-22
- 0.12.92022-03-10 · diff ↗
- 0.12.82022-01-31 · diff ↗
- 0.12.72021-05-31 · diff ↗
- RR 4.1.0 released · 2021-05-18
- 0.12.52021-04-06 · diff ↗
- 0.12.12021-02-02 · diff ↗
- 0.12.02021-01-07 · diff ↗
Show 23 earlier events
- 0.11.22020-05-28 · diff ↗
- 0.11.12020-05-15 · diff ↗
- RR 4.0.0 released · 2020-04-24
- 0.112020-01-09 · diff ↗
- RR 3.6.0 released · 2019-04-26
- 0.10.12019-04-12 · diff ↗
- 0.102019-03-05 · diff ↗
- RR 3.5.0 released · 2018-04-23
- 0.9.12017-08-23 · diff ↗
- 0.8.02017-06-23 · diff ↗
- RR 3.4.0 released · 2017-04-21
- 0.7.12017-04-07 · diff ↗
- 0.6.22017-01-18 · diff ↗
- 0.6.12016-11-22 · diff ↗
- 0.5.22016-10-11 · diff ↗
- 0.5.02016-09-09 · diff ↗
- 0.4.02016-06-24 · diff ↗
- RR 3.3.0 released · 2016-05-03
- 0.3.22016-04-13 · diff ↗
- 0.3.12016-03-01 · diff ↗
- 0.2.02015-12-21 · diff ↗
- 0.1.12015-12-04
- RR 3.2.0 released · 2015-04-16
0 of 2 selectedCompare selected
Package metadata
- First published
- 2015-12-04
- Total releases
- 27 / 11 yrs
- License
- GPL-3 OSI
- Minimum R
- ≥ 3.2.1
- Bundled data
- 560 KB / 6 files
- Download size
- 1.6 MB
- Installed size
- not tracked yet
- With dependencies
- not tracked yet