AllMetrics
Calculating Multiple Performance Metrics of a Prediction Model
Description
Provides a function to calculate multiple performance metrics for actual and predicted values. In total eight metrics will be calculated for particular actual and predicted series. Helps to describe a Statistical model's performance in predicting a data. Also helps to compare various models' performance. The metrics are Root Mean Squared Error (RMSE), Relative Root Mean Squared Error (RRMSE), Mean absolute Error (MAE), Mean absolute percentage error (MAPE), Mean Absolute Scaled Error (MASE), Nash-Sutcliffe Efficiency (NSE), Willmott’s Index (WI), and Legates and McCabe Index (LME). Among them, first five are expected to be lesser whereas, the last three are greater the better. More details can be found from Garai and Paul (2023) <doi:10.1016/j.iswa.2023.200202> and Garai et al. (2024) <doi:10.1007/s11063-024-11552-w>.
Downloads
302
Last 30 days
14642nd
869
Last 90 days
4.1K
Last year
Trend: +11.9% (30d vs prior 30d)
1
Last 30 days
26
Last 90 days
177
Last year
Trend: -90.9% (30d vs prior 30d)
9
Last 7 days
24
Last 30 days
0
All-time
autoCRAN-only: this name is served only by autoCRAN, so the count is exact.
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: ‘Dr. Sandip Garai <sandipnicksandy@gmail.com>’
No Authors@R field in DESCRIPTION.
Please add one, modifying
Authors@R: person(given = c("Dr.", "Sandip"),
family = "Garai",
role = c("aut", "cre"),
email = "sandipnicksandy@gmail.com")
as necessary.
CRAN incoming feasibility
Maintainer: ‘Dr. Sandip Garai <sandipnicksandy@gmail.com>’
No Authors@R field in DESCRIPTION.
Please add one, modifying
Authors@R: person(given = c("Dr.", "Sandip"),
family = "Garai",
role = c("aut", "cre"),
email = "sandipnicksandy@gmail.com")
as necessary.
Check History
NOTE 12 OK · 2 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 10, 2026
CRAN incoming feasibility
Maintainer: ‘Dr. Sandip Garai <sandipnicksandy@gmail.com>’
No Authors@R field in DESCRIPTION.
Please add one, modifying
Authors@R: person(given = c("Dr.", "Sandip"),
family = "Garai",
role = c("aut", "cre"),
email = "sandipnicksandy@gmail.com")
as necessary.
CRAN incoming feasibility
Maintainer: ‘Dr. Sandip Garai <sandipnicksandy@gmail.com>’
No Authors@R field in DESCRIPTION.
Please add one, modifying
Authors@R: person(given = c("Dr.", "Sandip"),
family = "Garai",
role = c("aut", "cre"),
email = "sandipnicksandy@gmail.com")
as necessary.
Code
Structure
Lines of code
86
Files
5
Compiled share
0%
Has compiled src
No
Language breakdown
API
Exported functions
1
Internal functions
0
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-3
License flags
SPDX valid, OSI approved
History
Versions
4
First release
2023-04-05
Latest release
2024-03-12
Avg cadence
160 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.