Skip to content

ACV

Optimal Out-of-Sample Forecast Evaluation and Testing under Stationarity

v1.0.2 · Apr 5, 2022 · GPL (>= 3)

Description

Package 'ACV' (short for Affine Cross-Validation) offers an improved time-series cross-validation loss estimator which utilizes both in-sample and out-of-sample forecasting performance via a carefully constructed affine weighting scheme. Under the assumption of stationarity, the estimator is the best linear unbiased estimator of the out-of-sample loss. Besides that, the package also offers improved versions of Diebold-Mariano and Ibragimov-Muller tests of equal predictive ability which deliver more power relative to their conventional counterparts. For more information, see the accompanying article Stanek (2021) <doi:10.2139/ssrn.3996166>.

Downloads

CRAN

284

Last 30 days

16055th

764

Last 90 days

3.6K

Last year

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

r2u CRAN

0

Last 30 days

26

Last 90 days

108

Last year

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

autoCRAN

15

Last 7 days

49

Last 30 days

1

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 Mar 12, 2026
ERROR 13 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE Mar 11, 2026
ERROR r-devel-linux-x86_64-fedora-gcc

whether package can be installed

Installation failed.
See ‘/data/gannet/ripley/R/packages/tests-devel/ACV.Rcheck/00install.out’ for details.
OK 14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 10, 2026

Code

Structure

Lines of code

897

Files

27

Compiled share

0%

Has compiled src

No

Language breakdown

R 448 (49.9%)Tests 141 (15.7%)Docs 308 (34.3%)

API

Exported functions

7

Internal functions

2

Recent export changes

v1.0.2+7 estimateL, estimateLongRunVar, estimateRho +4 more

Testing & CI

Has tests

Yes

Test-to-code ratio

0.31

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

0%

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

1

First release

2022-04-05

Latest release

2022-04-05

Avg cadence

Cold removal rate

Dep drift

0

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

Dependency Network

Dependencies Reverse dependencies forecast Matrix ACV

Version History

1 tracked
new 1.0.2 Mar 10, 2026

R Observatory began tracking this package on Mar 10, 2026; it first appeared on CRAN Apr 5, 2022. Releases before tracking aren’t shown.