Skip to content

prcbench

Testing Workbench for Precision-Recall Curves

v1.1.10 · May 14, 2025 · GPL-3

Description

A testing workbench to evaluate tools that calculate precision-recall curves. Saito and Rehmsmeier (2015) <doi:10.1371/journal.pone.0118432>.

Downloads

CRAN

663

Last 30 days

5082nd

1.8K

Last 90 days

7.1K

Last year

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

r2u CRAN

24

Last 30 days

115

Last 90 days

404

Last year

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

autoCRAN

3

Last 7 days

11

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 Apr 22, 2026
ERROR 13 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE Apr 18, 2026
ERROR r-devel-windows-x86_64

whether package can be installed

Installation failed.
See 'd:/Rcompile/CRANpkg/local/4.6/prcbench.Rcheck/00install.out' for details.
OK 14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Apr 6, 2026
ERROR 13 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE Apr 3, 2026
ERROR r-devel-linux-x86_64-debian-gcc

tests

Running ‘testthat.R’ [45s/53s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > #' @importFrom prcbench
  > 
  > library(testthat)
  > 
  > # test_check("prcbench", reporter=ProgressReporter)
  > test_check("prcbench")
  Loading r
...[truncated]...
_tools.R:25:3'): create_toolset: set_names ───────────────
  Expected `create_toolset(set_names = c("auc5", "crv4"))` to run silently.
  Actual noise: output.
  
  [ FAIL 8 | WARN 0 | SKIP 2 | PASS 737 ]
  Error:
  ! Test failures.
  Execution halted
OK 14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 10, 2026

Code

Structure

Lines of code

7,681

Files

78

Compiled share

2%

Has compiled src

Yes

Language breakdown

R 3,128 (40.7%)C/C++/src 150 (2%)Tests 2,312 (30.1%)Docs 1,809 (23.6%)Vignettes 282 (3.7%)

API

Exported functions

16

Internal functions

59

Recent export changes

v1.1.8+1 autoplot

Testing & CI

Has tests

Yes

Test-to-code ratio

0.74

testthat edition

CI present

No

CI type

[]

PR gated

No

Docs

Return-value doc rate

50%

\dontrun example ratio

6.7%

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

75%

Secret pattern count

0

Bundled 3rd-party code

2 items

Portability & License

Min R version

3.2.3

System requirements

C++ standard

License

GPL-3

License flags

SPDX valid, OSI approved

History

Versions

17

First release

2016-01-08

Latest release

2025-05-14

Avg cadence

120 days

Cold removal rate

Dep drift

33

LOC over versions

v0.1.0: 5,072 LOCv0.2.0: 5,172 LOCv0.3.1: 5,192 LOCv0.3.2: 5,191 LOCv0.4.0: 5,817 LOCv0.5.0: 5,831 LOCv0.5.2: 5,855 LOCv0.6.2: 5,891 LOCv0.7.3: 5,932 LOCv0.8: 5,938 LOCv0.8.2: 6,683 LOCv0.9.1: 6,754 LOCv1.0.1: 6,754 LOCv1.0.2: 6,750 LOCv1.1.1: 6,960 LOCv1.1.8: 7,654 LOCv1.1.10: 7,681 LOC

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

Dependency Network

Dependencies Reverse dependencies Rcpp R6 assertthat gridExtra ggplot2 memoise ROCR PRROC precrec prcbench

Version History

18 tracked
new 1.1.10 Mar 10, 2026
updated 1.1.10 ← 1.1.8 diff May 13, 2025
updated 1.1.8 ← 1.1.1 diff Mar 11, 2023
updated 1.1.1 ← 1.0.2 diff Aug 23, 2022
updated 1.0.2 ← 1.0.1 diff Feb 2, 2022
updated 1.0.1 ← 0.9.1 diff Apr 6, 2021
updated 0.9.1 ← 0.8.2 diff Jan 6, 2021
updated 0.8.2 ← 0.8 diff Mar 25, 2020
updated 0.8 ← 0.7.3 diff Mar 4, 2019
updated 0.7.3 ← 0.6.2 diff Apr 19, 2017
updated 0.6.2 ← 0.5.2 diff Nov 21, 2016
updated 0.5.2 ← 0.5.0 diff Oct 10, 2016
updated 0.5.0 ← 0.4.0 diff Sep 8, 2016
updated 0.4.0 ← 0.3.2 diff Jun 14, 2016
updated 0.3.2 ← 0.3.1 diff Apr 12, 2016