R Functions to Model CDOM Spectra
Overview
Wrapper functions to model and extract various quantitative information from absorption spectra of chromophoric dissolved organic matter (CDOM).
cdom_fit_exponential()has been renamed tocdom_exponential().- All fitting functions are now using
purrr:safely()to safely fit non-linear models. - Implemented S3 funnctions
coef(),predict()andplot()for object returned bycdom_exponential(). - Internal changes to fix CRAN check issues.
From NEWS.md in the release
Install
Health
- OK13 OK2026-08-05
- NOTE12 OK, 1 NOTE2026-08-01
- OK13 OK2026-06-09
- ERROR12 OK, 1 ERROR2026-06-08
- OK13 OK2026-05-16
Show 1 earlier changeHide 1 earlier change
- NOTE12 OK, 2 NOTE2026-03-10
Documentation
- Help pages
- 8
- Examples that run
- 100%8 run in a plain check
- Exported functions with examples
- 100%
- Documented parameters
- 100%
- Return-value docs
- 100%
- Help pages citing references
- 25%
Downloads
Repository
- PRs merged (all time)
- not measured
- Median days to close, 50 most recently updated closed issues
- 1
- Median days to close, 50 most recently updated closed PRs
- not measured
Stars over time
Forks over time
Releases over time
Issues over time
6 development-tooling and community-health practices detected across 5 families in the upstream repository
Checks run against github.com/pmassicotte/cdom on 2026-10-21.
The R CMD check workflow runs on Linux, macOS and Windows, and on R-devel
Show all practicesHide 1 practice
Dependencies
Installing cdom adds 32 packages (17 with compiled code, 29 MB of source tarballs). Heaviest: stringi 11 MB, ggplot2 6.0 MB, isoband 1.5 MB.
Code & Tests
Datasets
People & History
Pick two releases to compare their code metrics.
- 0.1.1Latest2026-05-12 · current release · diff ↗ ·
removed 1 export
cdom_fit_exponentialadded 1 export
cdom_exponential - RR 4.6.0 released · 2026-04-24
- 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
- RR 4.0.0 released · 2020-04-24
- RR 3.6.0 released · 2019-04-26
- RR 3.5.0 released · 2018-04-23
- RR 3.4.0 released · 2017-04-21
- RR 3.3.0 released · 2016-05-03
- 0.1.02016-03-04
- RR 3.2.0 released · 2015-04-16
Package metadata
- First published
- 2016-03-04
- Total releases
- 2 / 10 yrs
- License
- GPL (>= 2) OSI
- Minimum R
- ≥ 3.0
- Bundled data
- 60 KB / 1 file
- Download size
- 112 KB
Cite
Cite this package
Run in R for the authors' entry:
citation("cdom")The package provides a citation file, so citation() returns the authors' own entry.
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.