Skip to content

distributions3

Probability Distributions as S3 Objects

v0.2.3 · Sep 12, 2025 · MIT + file LICENSE

Description

Tools to create and manipulate probability distributions using S3. Generics pdf(), cdf(), quantile(), and random() provide replacements for base R's d/p/q/r style functions. Functions and arguments have been named carefully to minimize confusion for students in intro stats courses. The documentation for each distribution contains detailed mathematical notes.

Downloads

CRAN

4.4K

Last 30 days

1798th

15.9K

Last 90 days

66.8K

Last year

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

r2u CRAN

29

Last 30 days

87

Last 90 days

453

Last year

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

autoCRAN

4

Last 7 days

18

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

tests

Running 'testthat.R' [15s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > library(distributions3)
  
  Attaching package: 'distributions3'
  
  The following object is masked from 'package:stats':
  
      
...[truncated]...
       └─base::lapply(...)
   15.               └─testthat (local) FUN(X[[i]], ...)
   16.                 └─private$handle_error(msg, i)
   17.                   └─cli::cli_abort(...)
   18.                     └─rlang::abort(...)
  Execution halted
OK 14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 10, 2026

Reverse Dependencies (6)

depends

imports

Dependency Network

Dependencies Reverse dependencies ggplot2 glue rlang bamlss imaginator betareg crch gamlss gamlss.dist distributions3

Version History

7 tracked
new 0.2.3 Mar 10, 2026
updated 0.2.3 ← 0.2.2 diff Sep 11, 2025
updated 0.2.2 ← 0.2.1 diff Sep 15, 2024
updated 0.2.1 ← 0.2.0 diff Sep 6, 2022
updated 0.2.0 ← 0.1.2 diff Jun 20, 2022
updated 0.1.2 ← 0.1.1 diff Jan 2, 2022
new 0.1.1 Sep 2, 2019