Spectroscopy Analysis Using the Tidy Data Philosophy
Overview
Enables the analysis of spectroscopy data such as infrared ('IR'), Raman, and nuclear magnetic resonance ('NMR') using the tidy data framework from the 'tidyverse'. The 'tidyspec' package provides functions for data transformation, normalization, baseline correction, smoothing, derivatives, and both interactive and static visualization. It promotes structured, reproducible workflows for spectral data exploration and preprocessing. Implemented methods include Savitzky and Golay (1964) "Smoothing and Differentiation of Data by Simplified Least Squares Procedures" doi:10.1021/ac60214a047, Sternberg (1983) "Biomedical Image Processing" https://ieeexplore.ieee.org/stamp/stamp.jsp?tp=&arnumber=1654163, Zimmermann and Kohler (1996) "Baseline correction using the rolling ball algorithm" doi:10.1016/0168-583X(95)00908-6, Beattie and Esmonde-White (2021) "Exploration of Principal Component Analysis: Deriving Principal Component Analysis Visually Using Spectra" doi:10.1177/0003702820987847, Wickham et al. (2019) "Welcome to the tidyverse" doi:10.21105/joss.01686, and Kuhn, Wickham and Hvitfeldt (2024) "recipes: Preprocessing and Feature Engineering Steps for Modeling" https://CRAN.R-project.org/package=recipes.
Install
Health
NOTER code for possible problemsr-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc, r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc, r-devel-windows-x86_64
Found calls to structure() using deprecated special names: tidyspec/R/utils.R (.Names: 1) '.Names' should be changed to 'names'.
- NOTE8 OK, 5 NOTENow
- NOTE11 OK, 2 NOTE2026-07-16
- OK13 OK2026-06-09
- ERROR12 OK, 1 ERROR2026-06-08
- OK12 OK2026-04-25
- NOTE11 OK, 3 NOTE2026-03-10
Documentation
- Help pages
- 26
- Examples that run
- 60%6 run in a plain check · 4 only when donttest examples are enabled (R CMD check --as-cran)
- Exported functions with examples
- 38%
- Documented parameters
- 100%
- Return-value docs
- 100%
- Help pages citing references
- 8%
- Introduction HTML
Downloads
Repository
- PRs merged (all time)
- not measured
- Median days to close, 50 most recently updated closed issues
- 10
- Median days to close, 50 most recently updated closed PRs
- not measured
Stars over time
Forks over time
Issues over time
7 development-tooling and community-health practices detected across 3 families in the upstream repository
Checks run against github.com/marceelrf/tidyspec on 2026-10-21.
The R CMD check workflow runs on Linux, macOS and Windows, and on R-devel
GitHub Pages site last deployed 2026-04-13 · The repository has a site deploy workflow
Dependencies
Code & Tests
Datasets
People & History
- RR 4.6.0 released · 2026-04-24
- 0.1.0Latest2025-06-12 · current release
- RR 4.5.0 released · 2025-04-11
Package metadata
- First published
- 2025-06-12
- Total releases
- 1 / 1 yrs
- License
- MIT + file LICENSE OSI
- Minimum R
- ≥ 4.1.0
- Bundled data
- 97 KB / 2 files
- Download size
- 2.6 MB
Cite
Cite this package
Run in R for the authors' preferred citation:
citation("tidyspec")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-23, which the citation names so these numbers can be found later. More on citing and the projects behind them.