Probability Distributions with Certain or Uncertain Parameters
- CRAN checks, method
Method
Checks and health
CRAN runs every current package through
R CMD checkon a set of machines and publishes a result for each one. The health shown on a package page comes from these results alone.- Problems
- Notes alone never count against a package, but a warning, an error or a failure on any platform is a problem. Open CRAN deadlines are a fact of their own, shown as a clock after the mark, so the mark always says what the checks found.
- Checks only
- Health reflects CRAN's check results and nothing else. Even a package with no tests, no coverage or no recent release can have every platform OK.
- Once a day
- Results are collected once a day from files CRAN publishes. Each platform is one machine set-up, named by its R version, operating system, architecture and compiler, such as r-devel-linux-x86_64-fedora-clang.
- Platforms counted
- The 13 in 3 of 13 is the number of platform rows CRAN published for that package on the day of collection. The set of machines changes over time, so the number is not fixed, and a package missing from a platform counts as neither passing nor failing there.
- All OK13 platforms
- CRAN 30-day downloads, method
- 311−30.6% down on the 30 days before, the worse direction
- Dependent packages, method
Method
Reverse dependencies
Dependent packages are other packages that list this one under
Depends,ImportsorLinkingToin theirDESCRIPTIONfile. Those fields list the packages a package needs to install, so dependents break if this one is archived or broken.- As declared
- The counts follow the declarations as written, not whether a package uses the other one when it runs.
- Suggests apart
- Packages that list this one only under
Suggestsinstall and run without it, and use it for tests, examples or an optional feature. They are counted as Suggested by, never among the dependents, and a package that also lists it under one of the three fields is a dependent and is not counted again. - Zero
- Zero dependents means no current CRAN package declares a need for this one, though some may suggest it. On 28 Oct 2026, 19,572 of the 25,581 current CRAN packages had no dependent package.
- 01 more suggest it
- Test coverage, method
Method
Test coverage
Test coverage is measured by downloading each CRAN package's current source file, installing its dependencies, building it and running its tests under covr.
- Almost half of CRAN has no tests to run
- Only CRAN packages are measured. Many have no percentage, most often because the package has no tests, and that blank is a recorded outcome, not missing data.
- NOT_CRAN
- Tests run with NOT_CRAN=true, so tests that skip themselves on CRAN run here, and the figure can differ from what CRAN's own checks see.
- Current version only
- Only the current version is measured, and a new version on CRAN is measured again. Older rows are kept but never filled in later. This is one package's run.
- Never 0%
- On a package page three states stay apart: measured, no tests, and not measured. Neither of the last two is ever shown as 0%.
- 88%of lines run by tests
- Advisories, method
Method
Security advisories
Advisories come from the R Consortium advisory database, a community record of security problems in R packages, as OSV publishes it.
- The copy
- The record is read once a day. The data is published under the Apache License 2.0 and is credited on the advisories list.
- Box under the name
- Under the package's name, a box names any advisory that affects the current release, with its fix or that there is none.
- Ranges
- Advisories state ranges, such as from 0.9.12 up to but not including 1.8.8. Each range is checked against every version CRAN has published, using the version rules R itself uses, so a release that came out after the advisory was written is still caught by its range.
- Not the package
- The rating is for the library flaw itself, not for how exposed the R package is, and it is never added up into a figure for the package.
- None known
About
Method, About Method Licence figures come from the Licences
License field of each package's DESCRIPTION file, read the way R itself reads it. No licence file is opened.tools::analyze_license() and R's own licence database, as CRAN's checks read it.| is read, so one string can offer two families.
Represents probability distributions with fixed or potentially uncertain parameters, with tools to discretise, convolve, sample from and summarise them.
- Maintainer
- Sebastian Funk
- Licence
- MIT + file LICENSE
- Latest release
- 12 Oct 2026
- First release
- 7 Aug 2026 (first seen)
More details
- Releases
- 3
- Needs compilation
- No
- Needs R
- >= 3.5.0
- Language
- en-GB
- RoxygenNote
- 7.3.3
Subjects (1) Method, SubjectsMethod
Subjects and collections
Subjects are the site's own grouping of CRAN packages, found by clustering. Collections are sets of packages that communities declare, such as the tidyverse.
- Subjects
- Subjects are found by clustering the words of current CRAN packages and the packages they use. No one edits them by hand.
- Collections
- Collections are sets that communities declare, through a package that installs the set or an organization on GitHub. The site finds them by rules.
- Who made each
- Subjects are marked Site and collections Community. Subjects, collections and task views are never mixed in one list.
- The day of the data
- Subjects and collections were last worked out on 22 Oct 2026.
Cite
Package
Run in R for the authors' preferred citation:
citation("distspec")Funk, S., Abbott, S., & Azam, J. M. (2026). distspec: Probability Distributions with Certain or Uncertain Parameters (Version 0.3.0) [Computer software]. https://doi.org/10.32614/CRAN.package.distspec
About
This package has no citation file, so citation() returns this entry built from DESCRIPTION.
The repository also keeps a CITATION.cff.
R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
Balamuta, J. J. (2026). R Observatory: Metrics for distspec version 0.3.0 [Data set]. HJJB, LLC. Data release v2026-10-28. https://doi.org/10.5281/zenodo.21843040
About
From data release v2026-10-28, which the citation names so these numbers can be found later.
Health
All 13 check platforms pass.
r-devel-linux-x86_64-debian-clangThe unreleased R on Linux, x86_64, debian-clang
OK
- Version checked
- 0.3.0
- Time taken
- 84 s
r-devel-linux-x86_64-debian-gccThe unreleased R on Linux, x86_64, debian-gcc
OK
- Version checked
- 0.3.0
- Time taken
- 59 s
r-devel-linux-x86_64-fedora-clangThe unreleased R on Linux, x86_64, fedora-clang
OK
- Version checked
- 0.3.0
- Time taken
- 54 s
r-devel-linux-x86_64-fedora-gccThe unreleased R on Linux, x86_64, fedora-gcc
OK
- Version checked
- 0.3.0
- Time taken
- 58 s
r-devel-windows-x86_64The unreleased R on Windows, x86_64
OK
- Version checked
- 0.3.0
- Time taken
- 106 s
r-oldrel-macos-arm64The previous release of R on macOS, arm64
OK
- Version checked
- 0.3.0
- Time taken
- 35 s
r-oldrel-macos-x86_64The previous release of R on macOS, x86_64
OK
- Version checked
- 0.3.0
- Time taken
- 90 s
r-oldrel-windows-x86_64The previous release of R on Windows, x86_64
OK
- Version checked
- 0.3.0
- Time taken
- 125 s
r-patched-linux-x86_64The patched release of R on Linux, x86_64
OK
- Version checked
- 0.3.0
- Time taken
- 78 s
r-release-linux-x86_64The current release of R on Linux, x86_64
OK
- Version checked
- 0.3.0
- Time taken
- 76 s
r-release-macos-arm64The current release of R on macOS, arm64
OK
- Version checked
- 0.3.0
- Time taken
- 25 s
r-release-macos-x86_64The current release of R on macOS, x86_64
OK
- Version checked
- 0.3.0
- Time taken
- 89 s
r-release-windows-x86_64The current release of R on Windows, x86_64
OK
- Version checked
- 0.3.0
- Time taken
- 107 s
- 13 OK
Downloads
Method, Downloads Method Download figures count requests logged by each distribution channel. They are not counts of installs or of users, because each channel publishes its own totals and this site reads them.Downloads
- Total downloads in the last 30 days
- 323−31.3% down on the 30 days before, the worse directionIt is the sum of 3 channels: CRAN, r2u and autoCRAN.
CRAN rank
12,916 of 26,530
CRAN
311 downloads in the last 30 days
- Rank
- 12,916 of 26,530
- Change
- −30.6% down on the 30 days before, the worse direction
It is in the total. Take it out
r2u
8 downloads in the last 30 days
- Rank
- 7,389 of 30,526
- Change
- −27.3% down on the 30 days before, the worse direction
It is in the total. Take it out
autoCRAN
4 downloads in the last 30 days
- Rank
- 13,992 of 29,212
- Change
- −63.6% down on the 30 days before, the worse direction
It is in the total. Take it out
The total is 323 downloads in the last 30 days. It is the sum of 3 channels: CRAN, r2u and autoCRAN.
Over time
Dependencies
Code
Method, Code Method Code metrics come from reading the released source of each package version. The package is never installed, loaded or run.Code metrics
README, vignettes, a NEWS file and the shares read from its help pages. Files kept only in the repository, such as a pkgdown configuration or CI files, are read by the repository scan instead.
- Functions
- 158
- Public exports
- 32
- Lines of R code
- 3,307
- Median complexity
- 1
Functions (158)
Size and composition
Lines by kind (7,282)
| Kind | Lines | Share |
|---|---|---|
| R code | 3,307 | 45% |
| Tests | 1,809 | 25% |
| Documentation | 2,010 | 28% |
| Guides | 156 | 2% |
Lines by language
| Language | Lines | Share |
|---|---|---|
| R | 5,116 | 70% |
| Rd | 2,010 | 28% |
| Vignettes | 156 | 2% |
Languages are counted from file extensions.
- Files
- 115
- R functions
- 158
- Object systems
- S3: 100 methods
- Deprecated functions
- 2
Complexity
- Median
- 1
- Mean
- 2.39
- Highest
- 28
- Median lines per function
- 4
About complexity
Cyclomatic complexity counts the independent paths through a function: 1 is a straight line, higher is harder to test. R functions only.
Call graph figures
- R functions
- 158
- Calls
- 140
- Unconnected
- 76
- Groups
- 4
Growth (3 releases)
Release changes
Tests
The tests ran and coverage was measured.
- Lines run by tests
- 88.3%
- Expressions run by tests
- 92.3%
- Test cases
- 157
- Exports named in tests
- 90.6%
Coverage by file (19)
Coverage run
- Lines counted
- 1,124
- Lines the tests ran
- 992
- Tests passed
- Yes
- Measured with
- covr 3.6.5 on R 4.6.1
Test suite
- Has tests
- Yes
- Test frameworks
- testthat
- Test cases
- 157
- Lines of tests
- 1,809
- Test lines per line of code
- 0.55
Documentation
- Exports documented
- 100%
- Arguments documented
- 82.2%
- Return value documented
- 100%
- Help pages with examples
- 65.5%
- Examples run in checks
- 100%
Guides (1)
Other documentation
- README
- Yes, 354 words
- Release notes file
- Yes
- Help pages
- 58
- Lines of documentation
- 2,010
People
Method, People Method People on the site are the names packages give them in their Author and maintainer identity
DESCRIPTION files: authors from the author list, and the maintainer from the Maintainer field. Spellings of one name become one person only where the rules below allow it, and when in doubt the rules keep people apart.
Repository
Method, figures by host Method Repository signals are the figures read from the source repository a package links to: stars, forks, issues, commits, releases and the time issues take to close. They are read from GitHub, GitLab, Codeberg and Bitbucket.Repository signals
URL and BugReports fields of its DESCRIPTION file. Read-only mirrors, the cran and bioc accounts on GitHub and git.bioconductor.org, are left out.
epiforecasts / distspec on github.com
- Stars
- 1
- Forks
- 2
- Open issues
- 2
- Last commit
- 12 Oct 2026
Activity
- Commits
- 204
- Open pull requests
- 2
- Tagged releases
- 1
- Latest tagged release
- v0.2.0, 1 Sep 2026
- Issues closed in
- 1 day (median)
- Pull requests closed in
- 0 days (median)
- Pull requests merged
- 87%
- Created
- 7 Oct 2024
- Licence file reads as
- –
Development practices (17)
| Kind | Found |
|---|---|
| Continuous integration | GitHub Actions, R CMD check workflow The R CMD check workflow runs on Linux, macOS and Windows, and on R-devel |
| Governance and community | Code of conduct, Contributing guide, Issue templates, PR template |
| Docs source | README.Rmd, pkgdown GitHub Pages site last deployed 2026-10-12 The repository has a site deploy workflow pkgdown site last built 2026-10-12 |
| Coverage | Coverage reporting (Codecov) |
| Reproducibility and dev environment | data-raw/ |
| CRAN release process | cran-comments.md |
| Research and citation | CITATION.cff |
| Automation and maintenance | Dependabot |
| Lint, format, editor | lintr, Lint workflow |
Method, repository practices Method Beta Each week a scan of the public source repository a package links to looks for the tools a maintainer has set up, and the Repository section lists the findings. Repositories on GitHub and GitLab are scanned.Repository practices
R CMD build reads .Rbuildignore and leaves out files used only in development, such as .github/, .lintr, renv/, a Dockerfile and cran-comments.md, so the released source file holds almost none of them. The repository is the one place these files stay visible.
AI tools
Method, AI tools Method Beta What is found in a repository is not a measure of the code.AI tool findings
Tools
| Tool | First seen | Found | Commits crediting it |
|---|---|---|---|
| Claude Code | 24 Nov 2025 | Named in .Rbuildignore.claude | 1 at least |
- Named in .Rbuildignore
History
Method, History Method Archived is built from CRAN's archive records, its list of check deadlines and Bioconductor's package records. Every figure is counted to 28 Oct 2026, the day the data was read.Packages leaving
- On CRAN
- Release
Release notes (0.3.0)
New features
- Exported
dist_cdf()and addeddist_quantile(), so packages built on distspec can look up a distribution's CDF and quantile functions directly instead of reimplementing per-family dispatch. - Added
quantile.dist_spec()andcdf(), truncation-aware quantile and cumulative distribution functions for a<dist_spec>with fixed parameters; both respect amax/cdf_maxbound set withbound_dist()and give every quantile/CDF value of aFixed()distribution its point-mass value. Each raises an informative error for a distribution with uncertain parameters, or one with no analytic CDF (e.g.NonParametric()). A composite (multi-component) distribution returns one set of values per component, in keeping withmean()/sd().
Bug fixes
sample_dist()now respects a distribution'smaxandcdf_maxbounds instead of sampling from the unbounded distribution; samples are drawn exactly via inverse-CDF sampling on the truncated range, computed on the log scale so that a bound deep in the lower tail (where the CDF underflows to zero in double precision) still samples correctly. This also fixes bounded sampling of a component within a composite (multi-dist_spec) distribution and letscdf_maxapply toBeta(). Sampling a composite that has amax/cdf_maxof its own now raises an informative error, since such a bound constrains the sum of the components, which has no closed-form distribution to sample from.sample_dist()of a composite distribution now returns annbykmatrix forn = 1as documented; previously it returned a length-kvector, so the documentedrowSums()idiom errored.