Skip to content

RVCompare

Compare Real Valued Random Variables

v0.1.8 · Aug 21, 2023 · CC0

Description

A framework with tools to compare two random variables via stochastic dominance. See the README.md at <https://github.com/EtorArza/RVCompare> for a quick start guide. It can compute the Cp and Cd of two probability distributions and the Cumulative Difference Plot as explained in E. Arza (2022) <doi:10.1080/10618600.2022.2084405>. Uses bootstrap or DKW-bounds to compute the confidence bands of the cumulative distributions. These two methods are described in B. Efron. (1979) <doi:10.1214/aos/1176344552> and P. Massart (1990) <doi:10.1214/aop/1176990746>.

Downloads

CRAN

350

Last 30 days

12727th

782

Last 90 days

3.5K

Last year

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

r2u CRAN

24

Last 30 days

114

Last 90 days

397

Last year

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

autoCRAN

0

Last 7 days

5

Last 30 days

0

All-time

autoCRAN-only: this name is served only by autoCRAN, so the count is exact.

CRAN Check Status

2 NOTE
11 OK
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)
NOTE r-devel-linux-x86_64-debian-clang

CRAN incoming feasibility

Maintainer: ‘Etor Arza <etorarza@gmail.com>’

No Authors@R field in DESCRIPTION.
Please add one, modifying
  Authors@R: person(given = "Etor",
                    family = "Arza",
                    role = c("aut", "cre"),
                    email = "etorarza@gmail.com")
as necessary.
NOTE r-devel-linux-x86_64-debian-gcc

CRAN incoming feasibility

Maintainer: ‘Etor Arza <etorarza@gmail.com>’

No Authors@R field in DESCRIPTION.
Please add one, modifying
  Authors@R: person(given = "Etor",
                    family = "Arza",
                    role = c("aut", "cre"),
                    email = "etorarza@gmail.com")
as necessary.

Check History

NOTE 12 OK · 2 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Apr 22, 2026
NOTE r-devel-linux-x86_64-debian-clang

CRAN incoming feasibility

Maintainer: ‘Etor Arza <etorarza@gmail.com>’

No Authors@R field in DESCRIPTION.
Please add one, modifying
  Authors@R: person(given = "Etor",
                    family = "Arza",
                    role = c("aut", "cre"),
                    email = "etorarza@gmail.com")
as necessary.
NOTE r-devel-linux-x86_64-debian-gcc

CRAN incoming feasibility

Maintainer: ‘Etor Arza <etorarza@gmail.com>’

No Authors@R field in DESCRIPTION.
Please add one, modifying
  Authors@R: person(given = "Etor",
                    family = "Arza",
                    role = c("aut", "cre"),
                    email = "etorarza@gmail.com")
as necessary.
ERROR 11 OK · 2 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE Apr 18, 2026
NOTE r-devel-linux-x86_64-debian-clang

CRAN incoming feasibility

Maintainer: ‘Etor Arza <etorarza@gmail.com>’

No Authors@R field in DESCRIPTION.
Please add one, modifying
  Authors@R: person(given = "Etor",
                    family = "Arza",
                    role = c("aut", "cre"),
                    email = "etorarza@gmail.com")
as necessary.
NOTE r-devel-linux-x86_64-debian-gcc

CRAN incoming feasibility

Maintainer: ‘Etor Arza <etorarza@gmail.com>’

No Authors@R field in DESCRIPTION.
Please add one, modifying
  Authors@R: person(given = "Etor",
                    family = "Arza",
                    role = c("aut", "cre"),
                    email = "etorarza@gmail.com")
as necessary.
ERROR r-devel-windows-x86_64

whether package can be installed

Installation failed.
See 'd:/Rcompile/CRANpkg/local/4.6/RVCompare.Rcheck/00install.out' for details.
NOTE 12 OK · 2 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 10, 2026
NOTE r-devel-linux-x86_64-debian-clang

CRAN incoming feasibility

Maintainer: ‘Etor Arza <etorarza@gmail.com>’

No Authors@R field in DESCRIPTION.
Please add one, modifying
  Authors@R: person(given = "Etor",
                    family = "Arza",
                    role = c("aut", "cre"),
                    email = "etorarza@gmail.com")
as necessary.
NOTE r-devel-linux-x86_64-debian-gcc

CRAN incoming feasibility

Maintainer: ‘Etor Arza <etorarza@gmail.com>’

No Authors@R field in DESCRIPTION.
Please add one, modifying
  Authors@R: person(given = "Etor",
                    family = "Arza",
                    role = c("aut", "cre"),
                    email = "etorarza@gmail.com")
as necessary.

Code intelligence has not been computed for this package yet.

Compare versions

Code

Structure

Lines of code

2,885

Files

32

Compiled share

3.6%

Has compiled src

Yes

Language breakdown

R 1,713 (59.4%)C/C++/src 103 (3.6%)Docs 1,069 (37.1%)

API

Exported functions

17

Internal functions

6

Recent export changes

v0.1.5+6 CdFromProbMassFunctions, cumulative_difference_plot, get_Y_AB_bounds_DKW +3 more  −5 get_X_prima_AB_bounds_DKW, get_X_prima_AB_bounds_bootstrap, get_X_prima_AB_density 2 more
v0.1.2+16 CdFromDensities, CpFromDensities, cumulativeFromDensity +13 more

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

5.9%

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

100%

Secret pattern count

0

Bundled 3rd-party code

2 items

Portability & License

Min R version

System requirements

C++ standard

License

CC0

License flags

SPDX valid, not OSI

History

Versions

5

First release

2021-05-17

Latest release

2023-08-21

Avg cadence

189 days

Cold removal rate

100%

Dep drift

2

LOC over versions

v0.1.2: 2,378 LOCv0.1.5: 2,883 LOCv0.1.6: 2,891 LOCv0.1.7: 2,891 LOCv0.1.8: 2,885 LOC

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

Dependency Network

Dependencies Reverse dependencies pracma ggplot2 Rcpp RVCompare

Version History

6 tracked
new 0.1.8 Mar 10, 2026
updated 0.1.8 ← 0.1.7 diff Aug 20, 2023
updated 0.1.7 ← 0.1.6 diff May 12, 2023
updated 0.1.6 ← 0.1.5 diff May 27, 2022
updated 0.1.5 ← 0.1.2 diff Aug 21, 2021
new 0.1.2 May 16, 2021