{
  "_id": "6a2bf5283efcd9bda42d249d",
  "Package": "nirs4allformats",
  "Title": "Read Near-Infrared Spectroscopy and Spectral File Formats",
  "Version": "0.1.0",
  "Authors@R": "person(\"Gregory\", \"Beurier\", email = \"gregory.beurier@cirad.fr\", role = c(\"aut\", \"cre\"))",
  "Description": "Thin R binding for the Rust-first 'nirs4all-formats'\nnear-infrared spectroscopy (NIRS) file-loading core. When\ninstalled via R CMD INSTALL with Cargo available, the package\ncompiles a native 'extendr' static library from 'src/rust/' and\ndispatches probe, read, and walk calls directly through Rust.\nWithout Cargo it falls back to invoking the 'nirs4all-formats'\ncommand-line interface. This is the complete build: it ships\nevery reader, including the optional large ones (HDF5/netCDF,\nParquet/Arrow, MATLAB) on top of the core readers (JCAMP-DX,\nGalactic SPC, Bruker OPUS, ASD, ENVI, CSV, Excel, and many\nvendor ASCII/binary formats). A smaller sibling package\n'nirs4allformats.lite' drops only the Parquet/Arrow reader for\nsize-sensitive installs.",
  "SystemRequirements": "Cargo (Rust's package manager), rustc",
  "URL": "https://github.com/GBeurier/nirs4all-formats",
  "BugReports": "https://github.com/GBeurier/nirs4all-formats/issues",
  "License": "MIT + file LICENSE",
  "Encoding": "UTF-8",
  "Roxygen": "list(markdown = TRUE)",
  "RoxygenNote": "7.3.2",
  "Config/testthat/edition": "3",
  "Config/pak/sysreqs": "libclang-dev",
  "Repository": "https://gbeurier.r-universe.dev",
  "Date/Publication": "2026-06-12 08:00:47 UTC",
  "RemoteUrl": "https://github.com/GBeurier/nirs4all-formats",
  "RemoteRef": "HEAD",
  "RemoteSha": "7ebcbc1d5a709c97ce2247fa309065078b9ba517",
  "RemoteSubdir": "bindings/r/nirs4allformats",
  "NeedsCompilation": "yes",
  "Packaged": {
    "Date": "2026-06-12 11:45:32 UTC",
    "User": "root"
  },
  "Author": "Gregory Beurier [aut, cre]",
  "Maintainer": "Gregory Beurier <gregory.beurier@cirad.fr>",
  "MD5sum": "4adc0f38e48703e5f9d7f9468bd44dab",
  "_user": "gbeurier",
  "_type": "src",
  "_file": "nirs4allformats_0.1.0.tar.gz",
  "_fileid": "c6a79e0c994b06598ef62bb8e7922c3e4f28671d185fba99d30e0f1c58f318a6",
  "_filesize": 13591137,
  "_sha256": "c6a79e0c994b06598ef62bb8e7922c3e4f28671d185fba99d30e0f1c58f318a6",
  "_created": "2026-06-12T11:45:32.000Z",
  "_published": "2026-06-12T12:01:44.102Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 81021204796,
      "time": 279,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7590761304"
    },
    {
      "job": 81021204818,
      "time": 256,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7590753074"
    },
    {
      "job": 81021204820,
      "time": 283,
      "config": "linux-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7590761443"
    },
    {
      "job": 81021204787,
      "time": 275,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7590759162"
    },
    {
      "job": 81021204765,
      "time": 276,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7590791856"
    },
    {
      "job": 81021204799,
      "time": 627,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7590879932"
    },
    {
      "job": 81021204792,
      "time": 247,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7590790845"
    },
    {
      "job": 81021204762,
      "time": 694,
      "config": "macos-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7590896844"
    },
    {
      "job": 81020158596,
      "time": 402,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7590670422"
    },
    {
      "job": 81021204769,
      "time": 153,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "FAIL",
      "artifact": ""
    },
    {
      "job": 81021204779,
      "time": 537,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7590840932"
    },
    {
      "job": 81021204760,
      "time": 520,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7590835457"
    },
    {
      "job": 81021204767,
      "time": 632,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7590870489"
    }
  ],
  "_buildurl": "https://github.com/r-universe/gbeurier/actions/runs/27413440119",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/GBeurier/nirs4all-formats",
  "_commit": {
    "id": "7ebcbc1d5a709c97ce2247fa309065078b9ba517",
    "author": "GBeurier <gregory.beurier@cirad.fr>",
    "committer": "GBeurier <gregory.beurier@cirad.fr>",
    "message": "fix(r/win): relocate cargo target+CARGO_HOME to short /tmp (Windows MAX_PATH)\n\nThe windows-release CI leg failed installing both packages. Two distinct\nWindows-only causes, both fixed here:\n\n* nirs4allformats.lite: cc-rs's `ar` step for lzma-sys failed with\n  \"<...>/lzma_encoder_optimum_fast.o: No such file or directory\" — the object\n  path is 262 chars, over Windows' 260 MAX_PATH. The object lives under\n  <pkg>.Rcheck/00_pkg_src/<pkg>/src/rust/target/<triple>/release/build/\n  lzma-sys-<hash>/out/, and the longer \".lite\" package name pushes it over.\n* nirs4allformats (full): linking `rds2rust` (a cdylib dep of the MATLAB\n  reader) failed with \"cannot find -lgcc_eh\"; the libgcc_eh mock dir was on a\n  DOUBLED LIBRARY_PATH ($(CURDIR)/$(TARGET_DIR), both absolute) so the linker\n  never found it. (The un-double landed in the prior commit; this commit makes\n  the relocation cover it too.)\n\nFix: in both src/Makevars.win, relocate CARGO_TARGET_DIR and the build-local\nCARGO_HOME from the deep in-package rust/target onto the short Rtools /tmp mount,\nrendered as a native Windows path via `cygpath -m /tmp` (e.g. C:/rtools45/tmp)\nwhich cargo.exe accepts directly. This keeps every cargo-written path well under\n260 and sidesteps the backslash/MSYS hazards of $(TMPDIR)/$(TEMP) in make. The\nlibgcc_eh mock and rust_clean now reference the relocated dir; the package source\ntree is untouched (target/ never lands in it on Windows either). Linux/macOS keep\nthe in-package target + post-link rust_clean (no MAX_PATH there; verified).\n\ncran-comments.md (both) document the relocation.\n\nCo-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>\n",
    "time": 1781251247
  },
  "_maintainer": {
    "name": "Gregory Beurier",
    "email": "gregory.beurier@cirad.fr",
    "login": "pamdeveloper",
    "description": "",
    "uuid": 26689252
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "jsonlite",
      "role": "Imports"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    },
    {
      "package": "tibble",
      "role": "Suggests"
    }
  ],
  "_owner": "gbeurier",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2026-21",
      "n": 139
    },
    {
      "week": "2026-22",
      "n": 11
    },
    {
      "week": "2026-23",
      "n": 11
    },
    {
      "week": "2026-24",
      "n": 44
    }
  ],
  "_tags": [
    {
      "name": "v0.1.0-alpha.1",
      "date": "2026-06-10"
    },
    {
      "name": "v0.1.0",
      "date": "2026-06-11"
    }
  ],
  "_stars": 17,
  "_contributors": [
    {
      "user": "gbeurier",
      "count": 165,
      "uuid": 95907737
    },
    {
      "user": "pamdeveloper",
      "count": 40,
      "uuid": 26689252
    }
  ],
  "_userbio": {
    "uuid": 95907737,
    "type": "user",
    "name": "Gregory Beurier",
    "description": "Researcher at CIRAD.\r\nInterested in complex systems modeling and machine learning."
  },
  "_downloads": {
    "count": 0,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/nirs4allformats"
  },
  "_devurl": "https://github.com/gbeurier/nirs4all-formats",
  "_searchresults": 6,
  "_cargo": true,
  "_topics": [
    "rust",
    "cargo"
  ],
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/nirs4allformats.html",
    "extra/readme.html",
    "extra/readme.md",
    "LICENSE",
    "manual.pdf"
  ],
  "_cranurl": false,
  "_exports": [
    "nirs4allformats_as_tibble",
    "nirs4allformats_native_available",
    "nirs4allformats_open_bytes",
    "nirs4allformats_open_dataset",
    "nirs4allformats_open_records",
    "nirs4allformats_open_with_sidecars",
    "nirs4allformats_probe_path",
    "nirs4allformats_version",
    "nirs4allformats_walk_path"
  ],
  "_help": [
    {
      "page": "as.data.frame.nirs4allformats_dataset",
      "title": "Build a wide data frame from a dataset",
      "topics": [
        "as.data.frame.nirs4allformats_dataset"
      ]
    },
    {
      "page": "as.matrix.nirs4allformats_dataset",
      "title": "Extract the spectral matrix from a dataset",
      "topics": [
        "as.matrix.nirs4allformats_dataset"
      ]
    },
    {
      "page": "nirs4allformats_as_tibble",
      "title": "Convert a dataset to a tibble",
      "topics": [
        "nirs4allformats_as_tibble"
      ]
    },
    {
      "page": "nirs4allformats_native_available",
      "title": "Report whether the native Rust backend is loaded",
      "topics": [
        "nirs4allformats_native_available"
      ]
    },
    {
      "page": "nirs4allformats_open_bytes",
      "title": "Decode raw bytes through the native registry",
      "topics": [
        "nirs4allformats_open_bytes"
      ]
    },
    {
      "page": "nirs4allformats_open_dataset",
      "title": "Read a spectroscopy file into a flat spectral dataset",
      "topics": [
        "nirs4allformats_open_dataset"
      ]
    },
    {
      "page": "nirs4allformats_open_records",
      "title": "Read a spectroscopy file into normalized records",
      "topics": [
        "nirs4allformats_open_records"
      ]
    },
    {
      "page": "nirs4allformats_open_with_sidecars",
      "title": "Decode raw bytes with companion sidecar files",
      "topics": [
        "nirs4allformats_open_with_sidecars"
      ]
    },
    {
      "page": "nirs4allformats_probe_path",
      "title": "List candidate readers for a file",
      "topics": [
        "nirs4allformats_probe_path"
      ]
    },
    {
      "page": "nirs4allformats_version",
      "title": "Report the nirs4allformats binding version",
      "topics": [
        "nirs4allformats_version"
      ]
    },
    {
      "page": "nirs4allformats_walk_path",
      "title": "Walk a directory and report per-file outcomes",
      "topics": [
        "nirs4allformats_walk_path"
      ]
    }
  ],
  "_readme": "https://github.com/GBeurier/nirs4all-formats/raw/HEAD/bindings/r/nirs4allformats/README.md",
  "_rundeps": [
    "jsonlite"
  ],
  "_score": 3.5314789170422554,
  "_indexed": true,
  "_nocasepkg": "nirs4allformats",
  "_universes": [
    "gbeurier",
    "pamdeveloper"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.1.0",
      "date": "2026-06-12T11:50:37.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "7ebcbc1d5a709c97ce2247fa309065078b9ba517",
      "fileid": "4ac81acccad8f52f95422b958424ad6b0dcf36a43e58b1d229966f54b44e37fc",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/gbeurier/actions/runs/27413440119"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.1.0",
      "date": "2026-06-12T11:50:18.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "7ebcbc1d5a709c97ce2247fa309065078b9ba517",
      "fileid": "11cc57988ba5904cf3f7b2c0e39f97bc9aa384a3963f9bc435d5878ad6b8a63f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/gbeurier/actions/runs/27413440119"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.1.0",
      "date": "2026-06-12T11:50:34.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "7ebcbc1d5a709c97ce2247fa309065078b9ba517",
      "fileid": "f0865df7678ebc8429ce85544928ce2bdd0d5ba7fc865b526263cdb468d49da4",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/gbeurier/actions/runs/27413440119"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.1.0",
      "date": "2026-06-12T11:50:33.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "7ebcbc1d5a709c97ce2247fa309065078b9ba517",
      "fileid": "cc21a16ef445d0ddd68618237bf7874e59038c27f7cb8493d228304a29c5eb60",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/gbeurier/actions/runs/27413440119"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.1.0",
      "date": "2026-06-12T11:51:40.000Z",
      "arch": "aarch64",
      "commit": "7ebcbc1d5a709c97ce2247fa309065078b9ba517",
      "fileid": "445c12fffe5ea80ca3281a61086bb47c09300af7faa3728a40e73758fab84531",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/gbeurier/actions/runs/27413440119"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.1.0",
      "date": "2026-06-12T11:52:09.000Z",
      "arch": "x86_64",
      "commit": "7ebcbc1d5a709c97ce2247fa309065078b9ba517",
      "fileid": "c2a3dd6ca6f73b4a900e0e2c7f24fe569efdde2a30d4377d6ebf46eea70f1726",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/gbeurier/actions/runs/27413440119"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.1.0",
      "date": "2026-06-12T11:52:19.000Z",
      "arch": "aarch64",
      "commit": "7ebcbc1d5a709c97ce2247fa309065078b9ba517",
      "fileid": "b0b5e58638533c2ccb25ae4ba9ec3e6b162f5412c21181f45f54d31d9e18d0a5",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/gbeurier/actions/runs/27413440119"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.1.0",
      "date": "2026-06-12T11:52:47.000Z",
      "arch": "x86_64",
      "commit": "7ebcbc1d5a709c97ce2247fa309065078b9ba517",
      "fileid": "1d7529a747e8bba229f08e6e6ff78be6f9411823ece9e325fe51a3c0a766d864",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/gbeurier/actions/runs/27413440119"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.1.0",
      "date": "2026-06-12T11:49:35.000Z",
      "arch": "x86_64",
      "commit": "7ebcbc1d5a709c97ce2247fa309065078b9ba517",
      "fileid": "1bd6e081714ebbd79f966c939e1ce921e18dff8f53fbc551c26c435da9d4aeaa",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/gbeurier/actions/runs/27413440119"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.1.0",
      "date": "2026-06-12T11:49:30.000Z",
      "arch": "x86_64",
      "commit": "7ebcbc1d5a709c97ce2247fa309065078b9ba517",
      "fileid": "81bc32be48a6002713d116a2e590d2f5fdb9067ae93f1936503bb8229ba6b6d6",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/gbeurier/actions/runs/27413440119"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "0.1.0",
      "date": "2026-06-12T11:49:38.000Z",
      "arch": "x86_64",
      "commit": "7ebcbc1d5a709c97ce2247fa309065078b9ba517",
      "fileid": "11de3f61af28f62090f61224880b7ee81cb8872a2ee8f9d7fe716ce4f9e2fcfc",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/gbeurier/actions/runs/27413440119"
    }
  ]
}