Skip to content

R Functions to Model CDOM Spectra

1packages dependsuggested by 1
5.3Kdownloads / year
–test coverage
13/13flavors OK

Overview

About

Wrapper functions to model and extract various quantitative information from absorption spectra of chromophoric dissolved organic matter (CDOM).

Changes in 0.1.1
  • cdom_fit_exponential() has been renamed to cdom_exponential().
  • All fitting functions are now using purrr:safely() to safely fit non-linear models.
  • Implemented S3 funnctions coef(), predict() and plot() for object returned by cdom_exponential().
  • Internal changes to fix CRAN check issues.

From NEWS.md in the release

Install

Health

CRAN checks
13OK
Slowest check: 1.6 min · r-oldrel-windows-x86_64
Status changes
  • 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
Advisories

none known

Documentation

In release 0.1.1
READMEYes · 437 wordsVignettesNoNEWSYes · 100% structured · mentions 0.1.1Citation fileYes · cites a publicationWebsitenot declared in DESCRIPTION
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

5.3K
CRAN downloads in the past year
Rank #5,527 · ~15/day · ~443/mo
Daily download trend is not available in this view yet.
50230 days
1.5K90 days
5.3K1 year
Compare downloads with other packages →
Also on301 r2u5 autocran

Repository

12Stars
3Forks
10Open issues
0Open PRs
2Releases
111Commits
2Commit identities
111 commits · Last activity 2026-05-12 · Default branch at 0.1.1.9000, ahead of CRAN 0.1.1 (checked 2026-10-21)
Responsiveness
How these are sampled
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

2024-11-11 · 122026-07-07 · 12
PracticesBeta

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.

Continuous integration (2)
GitHub ActionsR CMD check workflow

The R CMD check workflow runs on Linux, macOS and Windows, and on R-devel

Docs source (1)
README.Rmd
Reproducibility and dev environment (1)
Nix
CRAN release process (1)
cran-comments.md
Show all practicesHide 1 practice
Lint, format, editor (1)
RStudio project
How this is detected·Detection ruleset v4 (2026-10-20)

Dependencies

Declared dependencies
6 external dependencies (excludes base and recommended)

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.

Depends (1)
R >= 3.0
LinkingTo (0)
none
Suggests (1)
Enhances (0)
none
Reverse dependencies
1direct
0indirect
Imports 1
Suggested by 1
Depends, Imports or LinkingTo, most downloaded first
Suggests, most downloaded first

Datasets

People & History

People (1)
Author, Maintainer since 0.1.0 (2016)
Releases (2)

Pick two releases to compare their code metrics.

  • 0.1.1Latest
    record
    2026-05-12 · current release · diff ↗ ·
    removed 1 export
    cdom_fit_exponential
    added 1 export
    cdom_exponential
  • R
    R 4.6.0 released · 2026-04-24
  • R
    R 4.5.0 released · 2025-04-11
  • R
    R 4.4.0 released · 2024-04-24
  • R
    R 4.3.0 released · 2023-04-21
  • R
    R 4.2.0 released · 2022-04-22
  • R
    R 4.1.0 released · 2021-05-18
  • R
    R 4.0.0 released · 2020-04-24
  • R
    R 3.6.0 released · 2019-04-26
  • R
    R 3.5.0 released · 2018-04-23
  • R
    R 3.4.0 released · 2017-04-21
  • R
    R 3.3.0 released · 2016-05-03
  • 0.1.0
    record
    2016-03-04
  • R
    R 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.

APA

Balamuta, J. J. (2026). R Observatory: Metrics for cdom version 0.1.1 [Data set]. HJJB, LLC. Data release v2026-10-24. https://doi.org/10.5281/zenodo.21843040

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.

Report a problem with this page →

Privacy choices

These apply to this browser and are stored on this device only. Nothing about your choice is sent to us.

Read the privacy policy