Description
Functions to deal with binary classification problems in the presence of imbalanced classes. Synthetic balanced samples are generated according to ROSE (Menardi and Torelli, 2013). Functions that implement more traditional remedies to the class imbalance are also provided, as well as different metrics to evaluate a learner accuracy. These are estimated by holdout, bootstrap or cross-validation methods.
Downloads
14.7K
Last 30 days
957th
51.2K
Last 90 days
239.4K
Last year
Trend: -21.9% (30d vs prior 30d)
329
Last 30 days
598
Last 90 days
1.5K
Last year
Trend: +77.8% (30d vs prior 30d)
7
Last 7 days
13
Last 30 days
3
All-time
autoCRAN-only: this name is served only by autoCRAN, so the count is exact.
115
Last 30 days
454
Last 90 days
1.8K
Last year
Trend: -19.6% (30d vs prior 30d)
CRAN Check Status
Show all 13 flavors
| Flavor | Status |
|---|---|
| r-devel-linux-x86_64-debian-clang | NOTE |
| r-devel-linux-x86_64-debian-gcc | NOTE |
| 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 details (2 non-OK)
CRAN incoming feasibility
Maintainer: ‘Nicola Lunardon <nicola.lunardon@unimib.it>’
No Authors@R field in DESCRIPTION.
Please add one, modifying
Authors@R: c(person(given = "Nicola",
family = "Lunardon",
role = c("aut", "cre"),
email = "nicola.lunardon@unimib.it"),
person(given = "Giovanna",
family = "Menardi",
role = "aut"),
person(given = "Nicola",
family = "Torelli",
role = "aut"))
as necessary.
Package CITATION file contains call(s) to old-style personList() or
as.personList(). Please use c() on person objects instead.
Package CITATION file contains call(s) to old-style citEntry(). Please
use bibentry() instead.
CRAN incoming feasibility
Maintainer: ‘Nicola Lunardon <nicola.lunardon@unimib.it>’
No Authors@R field in DESCRIPTION.
Please add one, modifying
Authors@R: c(person(given = "Nicola",
family = "Lunardon",
role = c("aut", "cre"),
email = "nicola.lunardon@unimib.it"),
person(given = "Giovanna",
family = "Menardi",
role = "aut"),
person(given = "Nicola",
family = "Torelli",
role = "aut"))
as necessary.
Package CITATION file contains call(s) to old-style personList() or
as.personList(). Please use c() on person objects instead.
Package CITATION file contains call(s) to old-style citEntry(). Please
use bibentry() instead.
Check History
NOTE 12 OK · 2 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 10, 2026
CRAN incoming feasibility
Maintainer: ‘Nicola Lunardon <nicola.lunardon@unimib.it>’
No Authors@R field in DESCRIPTION.
Please add one, modifying
Authors@R: c(person(given = "Nicola",
family = "Lunardon",
role = c("aut", "cre"),
...[truncated]...
e = "aut"))
as necessary.
Package CITATION file contains call(s) to old-style personList() or
as.personList(). Please use c() on person objects instead.
Package CITATION file contains call(s) to old-style citEntry(). Please
use bibentry() instead.
CRAN incoming feasibility
Maintainer: ‘Nicola Lunardon <nicola.lunardon@unimib.it>’
No Authors@R field in DESCRIPTION.
Please add one, modifying
Authors@R: c(person(given = "Nicola",
family = "Lunardon",
role = c("aut", "cre"),
...[truncated]...
e = "aut"))
as necessary.
Package CITATION file contains call(s) to old-style personList() or
as.personList(). Please use c() on person objects instead.
Package CITATION file contains call(s) to old-style citEntry(). Please
use bibentry() instead.
Code & tests
Open call graph →Line coverage
–
Expression
–
Tests / Examples
–
Functions
29 5 exported
Complexity
4.6 avg / 44 max
Call network
29 nodes / 10 edges
Test coverage has not been measured for this package yet; nodes fall back to a neutral fill.
Lowest coverage
Per-function coverage is not measured for this package yet.
Code
Structure
Lines of code
1,777
Files
16
Compiled share
0%
Has compiled src
No
Language breakdown
API
Exported functions
5
Internal functions
24
Recent export changes
Testing & CI
Has tests
No
Test-to-code ratio
0.00
testthat edition
–
CI present
No
CI type
[]
PR gated
No
Docs
Return-value doc rate
100%
\dontrun example ratio
0%
Roxygen coverage
100%
Has pkgdown
No
NEWS present
No
Health & Security signals
Informational signals; not verdicts.
on.exit coverage
–
Unsafe pattern score
0
Dep constraint coverage
–
Secret pattern count
0
Bundled 3rd-party code
2 items
Portability & License
Min R version
–
System requirements
–
C++ standard
–
License
GPL-2
License flags
SPDX valid, OSI approved
History
Versions
4
First release
2013-02-04
Latest release
2021-06-14
Avg cadence
224 days
Cold removal rate
–
Dep drift
0
LOC over versions
Per-file churn detail lives in the source pipeline: https://github.com/r-observatory/cran-code-metrics.