Package: nirs4allformats 0.2.11
nirs4allformats: Read Near-Infrared Spectroscopy and Spectral File Formats
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.
Authors:
nirs4allformats_0.2.11.tar.gz
nirs4allformats_0.2.11.zip(r-4.7-x86_64)nirs4allformats_0.2.11.zip(r-4.6-x86_64)nirs4allformats_0.2.11.zip(r-4.5-x86_64)
nirs4allformats_0.2.11.tgz(r-4.6-x86_64)nirs4allformats_0.2.11.tgz(r-4.6-arm64)nirs4allformats_0.2.11.tgz(r-4.5-x86_64)nirs4allformats_0.2.11.tgz(r-4.5-arm64)
nirs4allformats_0.2.11.tar.gz(r-4.7-arm64)nirs4allformats_0.2.11.tar.gz(r-4.7-x86_64)nirs4allformats_0.2.11.tar.gz(r-4.6-arm64)nirs4allformats_0.2.11.tar.gz(r-4.6-x86_64)
nirs4allformats_0.2.11.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
DESCRIPTION
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:8c6acd6b02. Checks:13 OK, 2 FAIL. Indexed: yes.
| Target | Result | Time | Files | Syslog |
|---|---|---|---|---|
| linux-devel-arm64 | OK | 264 | ||
| linux-devel-x86_64 | OK | 297 | ||
| source / vignettes | OK | 370 | ||
| linux-release-arm64 | OK | 263 | ||
| linux-release-x86_64 | OK | 285 | ||
| macos-release-arm64 | OK | 338 | ||
| macos-release-x86_64 | OK | 680 | ||
| macos-oldrel-arm64 | OK | 299 | ||
| macos-oldrel-x86_64 | OK | 604 | ||
| windows-devel-arm64 | FAIL | 308 | ||
| windows-devel-x86_64 | OK | 541 | ||
| windows-release-arm64 | FAIL | 286 | ||
| windows-release-x86_64 | OK | 489 | ||
| windows-oldrel-x86_64 | OK | 501 | ||
| wasm-release | OK | 283 |
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 |