Package: nirs4allformats Title: Read Near-Infrared Spectroscopy and Spectral File Formats Version: 0.2.11 Authors@R: person("Gregory", "Beurier", email = "gregory.beurier@cirad.fr", role = c("aut", "cre")) Description: Thin 'R' binding for the 'nirs4all-formats' near-infrared spectroscopy (NIRS) file-loading core written in 'Rust'. When installed via 'R CMD INSTALL' with 'Cargo' available, the package compiles a native 'extendr' static library from 'src/rust/' and dispatches probe, read, and walk calls directly through 'Rust'. Without 'Cargo' it falls back to invoking the 'nirs4all-formats' command-line interface. This is the complete build: it ships every reader, including the optional large ones ('HDF5'/'netCDF', 'Parquet'/'Arrow', 'MATLAB') on top of the core readers ('JCAMP-DX', 'Galactic SPC', 'Bruker OPUS', 'ASD', 'ENVI', 'CSV', 'Excel', and many vendor ASCII/binary formats). A smaller sibling package 'nirs4allformats.lite' drops only the 'Parquet'/'Arrow' reader for size-sensitive installs. SystemRequirements: Cargo (Rust's package manager), rustc, GNU make URL: https://github.com/GBeurier/nirs4all-formats BugReports: https://github.com/GBeurier/nirs4all-formats/issues License: file LICENSE Encoding: UTF-8 Imports: jsonlite, utils Suggests: testthat (>= 3.0.0), tibble Roxygen: list(markdown = TRUE) RoxygenNote: 7.3.2 Config/testthat/edition: 3 Config/pak/sysreqs: make libclang-dev Repository: https://gbeurier.r-universe.dev Date/Publication: 2026-10-05 08:19:33 UTC RemoteUrl: https://github.com/GBeurier/nirs4all-formats RemoteRef: HEAD RemoteSha: 8c6acd6b02b0bb746ae8df43efa062515ef4a774 RemoteSubdir: bindings/r/nirs4allformats NeedsCompilation: yes Packaged: 2026-10-05 16:23:59 UTC; root Author: Gregory Beurier [aut, cre] Maintainer: Gregory Beurier