tidyspec: Spectroscopy Analysis Using the Tidy Data Philosophy

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>.

Version: 0.1.0
Depends: R (≥ 4.1.0)
Imports: crayon, dplyr, ggplot2, glue, plotly, purrr, recipes, readr, readxl, rlang, scales, signal, tibble, tidyr, tidyselect, timetk
Suggests: gridExtra, knitr, rmarkdown, tidyverse
Published: 2025-06-12
DOI: 10.32614/CRAN.package.tidyspec
Author: Marcel Ferreira ORCID iD [aut, cre], Willian Zambuzzi ORCID iD [dtc], Julia Moraes ORCID iD [dtc, ctb], Emerson Araujo Alves dos Santos ORCID iD [ctb]
Maintainer: Marcel Ferreira <marcel.ferreira at unesp.br>
BugReports: https://github.com/marceelrf/tidyspec/issues
License: MIT + file LICENSE
URL: https://github.com/marceelrf/tidyspec
NeedsCompilation: no
Materials: README
CRAN checks: tidyspec results

Documentation:

Reference manual: tidyspec.pdf
Vignettes: Introduction (source, R code)

Downloads:

Package source: tidyspec_0.1.0.tar.gz
Windows binaries: r-devel: not available, r-release: not available, r-oldrel: tidyspec_0.1.0.zip
macOS binaries: r-release (arm64): tidyspec_0.1.0.tgz, r-oldrel (arm64): tidyspec_0.1.0.tgz, r-release (x86_64): not available, r-oldrel (x86_64): not available

Linking:

Please use the canonical form https://CRAN.R-project.org/package=tidyspec to link to this page.