Package: nirs4allformats.lite 0.1.0

Gregory Beurier

nirs4allformats.lite: Read Near-Infrared Spectroscopy and Spectral File Formats (No Parquet)

Smaller variant of the R binding for the Rust-first 'nirs4all-formats' near-infrared spectroscopy (NIRS) file-loading core. 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 build ships every reader except the Parquet/Arrow reader (the single biggest dependency): it keeps HDF5/netCDF, MATLAB and all core readers (JCAMP-DX, Galactic SPC, Bruker OPUS, ASD, ENVI, CSV, Excel, and many vendor ASCII/binary formats). The complete build with Parquet support is the sibling package 'nirs4allformats'; feeding this build a Parquet input returns an actionable error naming it.

Authors:Gregory Beurier [aut, cre]

nirs4allformats.lite_0.1.0.tar.gz
nirs4allformats.lite_0.1.0.zip(r-4.7)nirs4allformats.lite_0.1.0.zip(r-4.6)nirs4allformats.lite_0.1.0.zip(r-4.5)
nirs4allformats.lite_0.1.0.tgz(r-4.6-x86_64)nirs4allformats.lite_0.1.0.tgz(r-4.6-arm64)nirs4allformats.lite_0.1.0.tgz(r-4.5-x86_64)nirs4allformats.lite_0.1.0.tgz(r-4.5-arm64)
nirs4allformats.lite_0.1.0.tar.gz(r-4.7-arm64)nirs4allformats.lite_0.1.0.tar.gz(r-4.7-x86_64)nirs4allformats.lite_0.1.0.tar.gz(r-4.6-arm64)nirs4allformats.lite_0.1.0.tar.gz(r-4.6-x86_64)
manual.pdf |manual.html
card.svg |card.png
nirs4allformats.lite/json (API)

# Install 'nirs4allformats.lite' in R:
install.packages('nirs4allformats.lite', repos = c('https://gbeurier.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/gbeurier/nirs4all-formats/issues

On CRAN:

Conda:

rustcargo

3.53 score 17 stars 2 scripts 9 exports 1 dependencies

Last updated from:7ebcbc1d5a. Checks:12 OK, 1 FAIL. Indexed: yes.

TargetResultTimeFilesSyslog
linux-devel-arm64OK243
linux-devel-x86_64OK212
source / vignettesOK338
linux-release-arm64OK215
linux-release-x86_64OK223
macos-release-arm64OK283
macos-release-x86_64OK646
macos-oldrel-arm64OK205
macos-oldrel-x86_64OK349
windows-develOK347
windows-releaseOK336
windows-oldrelOK356
wasm-releaseFAIL145

Exports:nirs4allformats_as_tibblenirs4allformats_native_availablenirs4allformats_open_bytesnirs4allformats_open_datasetnirs4allformats_open_recordsnirs4allformats_open_with_sidecarsnirs4allformats_probe_pathnirs4allformats_versionnirs4allformats_walk_path

Dependencies:jsonlite

Readme and manuals

Help Manual

Help pageTopics
Build a wide data frame from a datasetas.data.frame.nirs4allformats_dataset
Extract the spectral matrix from a datasetas.matrix.nirs4allformats_dataset
Convert a dataset to a tibblenirs4allformats_as_tibble
Report whether the native Rust backend is loadednirs4allformats_native_available
Decode raw bytes through the native registrynirs4allformats_open_bytes
Read a spectroscopy file into a flat spectral datasetnirs4allformats_open_dataset
Read a spectroscopy file into normalized recordsnirs4allformats_open_records
Decode raw bytes with companion sidecar filesnirs4allformats_open_with_sidecars
List candidate readers for a filenirs4allformats_probe_path
Report the nirs4allformats binding versionnirs4allformats_version
Walk a directory and report per-file outcomesnirs4allformats_walk_path