Package: nirs4allformats 0.1.0
nirs4allformats: Read Near-Infrared Spectroscopy and Spectral File Formats
Thin 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 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.
Authors:
nirs4allformats_0.1.0.tar.gz
nirs4allformats_0.1.0.zip(r-4.7)nirs4allformats_0.1.0.zip(r-4.6)nirs4allformats_0.1.0.zip(r-4.5)
nirs4allformats_0.1.0.tgz(r-4.6-x86_64)nirs4allformats_0.1.0.tgz(r-4.6-arm64)nirs4allformats_0.1.0.tgz(r-4.5-x86_64)nirs4allformats_0.1.0.tgz(r-4.5-arm64)
nirs4allformats_0.1.0.tar.gz(r-4.7-arm64)nirs4allformats_0.1.0.tar.gz(r-4.7-x86_64)nirs4allformats_0.1.0.tar.gz(r-4.6-arm64)nirs4allformats_0.1.0.tar.gz(r-4.6-x86_64)
manual.pdf |manual.html✨
card.svg |card.png
nirs4allformats/json (API)
| # Install 'nirs4allformats' in R: |
| install.packages('nirs4allformats', repos = c('https://gbeurier.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/gbeurier/nirs4all-formats/issues
Last updated from:7ebcbc1d5a. Checks:12 OK, 1 FAIL. Indexed: yes.
| Target | Result | Time | Files | Syslog |
|---|---|---|---|---|
| linux-devel-arm64 | OK | 279 | ||
| linux-devel-x86_64 | OK | 256 | ||
| source / vignettes | OK | 402 | ||
| linux-release-arm64 | OK | 283 | ||
| linux-release-x86_64 | OK | 275 | ||
| macos-release-arm64 | OK | 247 | ||
| macos-release-x86_64 | OK | 694 | ||
| macos-oldrel-arm64 | OK | 276 | ||
| macos-oldrel-x86_64 | OK | 627 | ||
| windows-devel | OK | 537 | ||
| windows-release | OK | 632 | ||
| windows-oldrel | OK | 520 | ||
| wasm-release | FAIL | 153 |
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 page | Topics |
|---|---|
| Build a wide data frame from a dataset | as.data.frame.nirs4allformats_dataset |
| Extract the spectral matrix from a dataset | as.matrix.nirs4allformats_dataset |
| Convert a dataset to a tibble | nirs4allformats_as_tibble |
| Report whether the native Rust backend is loaded | nirs4allformats_native_available |
| Decode raw bytes through the native registry | nirs4allformats_open_bytes |
| Read a spectroscopy file into a flat spectral dataset | nirs4allformats_open_dataset |
| Read a spectroscopy file into normalized records | nirs4allformats_open_records |
| Decode raw bytes with companion sidecar files | nirs4allformats_open_with_sidecars |
| List candidate readers for a file | nirs4allformats_probe_path |
| Report the nirs4allformats binding version | nirs4allformats_version |
| Walk a directory and report per-file outcomes | nirs4allformats_walk_path |
