Reference on Constants, Units and Uncertainty
Overview
CODATA internationally recommended values of the fundamental physical constants, provided as symbols for direct use within the R language. Optionally, the values with uncertainties and/or units are also provided if the 'errors', 'units' and/or 'quantities' packages are installed. The Committee on Data for Science and Technology (CODATA) is an interdisciplinary committee of the International Council for Science which periodically provides the internationally accepted set of values of the fundamental physical constants. This package contains the "2022 CODATA" version, published on May 2024: Eite Tiesinga, Peter J. Mohr, David B. Newell, and Barry N. Taylor (2024) https://physics.nist.gov/cuu/Constants/.
Update to version 9.0, the 2022 CODATA recommended values.
Package versioning has been aligned with the CODATA versioning scheme.
From NEWS.md in the release
Install
Health
- OK13 OK2026-08-05
- NOTE12 OK, 1 NOTE2026-08-01
- OK14 OK2026-03-10
Documentation
- Help pages
- 4includes a package overview page
- Examples that run
- 100%2 run in a plain check
- Exported functions with examples
- 100%
- Documented parameters
- 100%
- Return-value docs
- 0%
- Help pages citing references
- 25%
Downloads
Repository
- PRs merged (all time)
- 100%
- Median days to close, 50 most recently updated closed issues
- 0
- Median days to close, 50 most recently updated closed PRs
- 0
Stars over time
Releases over time
Issues over time
6 development-tooling and community-health practices detected across 4 families in the upstream repository
Checks run against github.com/r-quantities/constants on 2026-10-22.
Dependencies
Installing constants adds no packages beyond those that come with R.
Code & Tests
Datasets
People & History
Pick two releases to compare their code metrics.
- RR 4.6.0 released · 2026-04-24
- 2022.0Latest
- RR 4.5.0 released · 2025-04-11
- RR 4.4.0 released · 2024-04-24
- RR 4.3.0 released · 2023-04-21
- RR 4.2.0 released · 2022-04-22
- RR 4.1.0 released · 2021-05-18
- 1.0.12021-02-25 · diff ↗
- 1.0.0
- RR 4.0.0 released · 2020-04-24
- RR 3.6.0 released · 2019-04-26
- RR 3.5.0 released · 2018-04-23
- 0.0.22018-01-08 · diff ↗
- 0.0.12017-07-17
- RR 3.4.0 released · 2017-04-21
Package metadata
- First published
- 2017-07-17
- Total releases
- 5 / 9 yrs
- License
- MIT + file LICENSE OSI
- Minimum R
- ≥ 3.5.0
- Bundled data
- 43 KB / 2 files
- Download size
- 53 KB
Cite
Cite this package
Run in R for the authors' preferred citation:
citation("constants")This package has no citation file, so citation() returns this entry built from DESCRIPTION.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-10-24, which the citation names so these numbers can be found later. More on citing and the projects behind them.