{
  "_id": "6a2bf4963efcd9bda42d208a",
  "Package": "nirs4allformats.lite",
  "Title": "Read Near-Infrared Spectroscopy and Spectral File Formats (No\nParquet)",
  "Version": "0.1.0",
  "Authors@R": "person(\"Gregory\", \"Beurier\", email = \"gregory.beurier@cirad.fr\", role = c(\"aut\", \"cre\"))",
  "Description": "Smaller variant of the R binding for the Rust-first\n'nirs4all-formats' near-infrared spectroscopy (NIRS)\nfile-loading core. When installed via R CMD INSTALL with Cargo\navailable, the package compiles a native 'extendr' static\nlibrary from 'src/rust/' and dispatches probe, read, and walk\ncalls directly through Rust. Without Cargo it falls back to\ninvoking the 'nirs4all-formats' command-line interface. This\nbuild ships every reader except the Parquet/Arrow reader (the\nsingle biggest dependency): it keeps HDF5/netCDF, MATLAB and\nall core readers (JCAMP-DX, Galactic SPC, Bruker OPUS, ASD,\nENVI, CSV, Excel, and many vendor ASCII/binary formats). The\ncomplete build with Parquet support is the sibling package\n'nirs4allformats'; feeding this build a Parquet input returns\nan actionable error naming it.",
  "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/nirs4allformatslite",
  "NeedsCompilation": "yes",
  "Packaged": {
    "Date": "2026-06-12 11:46:02 UTC",
    "User": "root"
  },
  "Author": "Gregory Beurier [aut, cre]",
  "Maintainer": "Gregory Beurier <gregory.beurier@cirad.fr>",
  "MD5sum": "fec9ed52169a7e806ecf5c0b01d6f5d2",
  "_user": "gbeurier",
  "_type": "src",
  "_file": "nirs4allformats.lite_0.1.0.tar.gz",
  "_fileid": "5099e1a2e70b50bf7abbafbe053fba50d0f54800a1228e82eb090270bac3be51",
  "_filesize": 10956757,
  "_sha256": "5099e1a2e70b50bf7abbafbe053fba50d0f54800a1228e82eb090270bac3be51",
  "_created": "2026-06-12T11:46:02.000Z",
  "_published": "2026-06-12T11:59:18.654Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 81021069906,
      "time": 243,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7590731811"
    },
    {
      "job": 81021069931,
      "time": 212,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7590722108"
    },
    {
      "job": 81021069938,
      "time": 215,
      "config": "linux-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7590723307"
    },
    {
      "job": 81021069928,
      "time": 223,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7590725734"
    },
    {
      "job": 81021069889,
      "time": 205,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7590727639"
    },
    {
      "job": 81021069923,
      "time": 349,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7590783566"
    },
    {
      "job": 81021069897,
      "time": 283,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7590758606"
    },
    {
      "job": 81021069890,
      "time": 646,
      "config": "macos-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7590866257"
    },
    {
      "job": 81020183076,
      "time": 338,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7590652806"
    },
    {
      "job": 81021069867,
      "time": 145,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "FAIL",
      "artifact": ""
    },
    {
      "job": 81021069908,
      "time": 347,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7590765077"
    },
    {
      "job": 81021069866,
      "time": 356,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7590767636"
    },
    {
      "job": 81021069855,
      "time": 336,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7590761189"
    }
  ],
  "_buildurl": "https://github.com/r-universe/gbeurier/actions/runs/27413445099",
  "_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.lite"
  },
  "_devurl": "https://github.com/gbeurier/nirs4all-formats",
  "_searchresults": 2,
  "_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.lite.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/nirs4allformatslite/README.md",
  "_rundeps": [
    "jsonlite"
  ],
  "_score": 3.5314789170422554,
  "_indexed": true,
  "_nocasepkg": "nirs4allformats.lite",
  "_universes": [
    "gbeurier",
    "pamdeveloper"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.1.0",
      "date": "2026-06-12T11:50:08.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "7ebcbc1d5a709c97ce2247fa309065078b9ba517",
      "fileid": "b77908de2c4a67795b9a9e0494699076f83c04a10c50756c95a6d20100e4b2b3",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/gbeurier/actions/runs/27413445099"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.1.0",
      "date": "2026-06-12T11:49:38.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "7ebcbc1d5a709c97ce2247fa309065078b9ba517",
      "fileid": "75f20d4faccb47540a74aa5dbbaae44a300159b849c784aa60c261019490b67a",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/gbeurier/actions/runs/27413445099"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.1.0",
      "date": "2026-06-12T11:49:40.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "7ebcbc1d5a709c97ce2247fa309065078b9ba517",
      "fileid": "c0a21897d2e14a16cb29a052f9fae5179a022c6f54f5721cba9f6eff3147ecdc",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/gbeurier/actions/runs/27413445099"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.1.0",
      "date": "2026-06-12T11:49:48.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "7ebcbc1d5a709c97ce2247fa309065078b9ba517",
      "fileid": "d08dc010a5013f0cb54b6d14f38a4e8baccf0d181bbc5591e21c9499e91caec9",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/gbeurier/actions/runs/27413445099"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.1.0",
      "date": "2026-06-12T11:49:42.000Z",
      "arch": "aarch64",
      "commit": "7ebcbc1d5a709c97ce2247fa309065078b9ba517",
      "fileid": "3adf344de6686fa3c0fde6f760d5149e9963f396a7a96f2f7ec4f10e92b1085d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/gbeurier/actions/runs/27413445099"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.1.0",
      "date": "2026-06-12T11:51:07.000Z",
      "arch": "x86_64",
      "commit": "7ebcbc1d5a709c97ce2247fa309065078b9ba517",
      "fileid": "e1f60855ef602551c3991c3742b9deda7ca07a23b65b609430ab29a3166ba142",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/gbeurier/actions/runs/27413445099"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.1.0",
      "date": "2026-06-12T11:50:37.000Z",
      "arch": "aarch64",
      "commit": "7ebcbc1d5a709c97ce2247fa309065078b9ba517",
      "fileid": "085807de2e838a6b48a6b2e8bc25627eab5b2806293c96bc597cb8e4ac2d84d9",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/gbeurier/actions/runs/27413445099"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.1.0",
      "date": "2026-06-12T11:51:31.000Z",
      "arch": "x86_64",
      "commit": "7ebcbc1d5a709c97ce2247fa309065078b9ba517",
      "fileid": "2a4f81f7bd64f42dcb4f9eeeed4c97fb8ba24e44ed1494526386517f2b4039b2",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/gbeurier/actions/runs/27413445099"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.1.0",
      "date": "2026-06-12T11:48:45.000Z",
      "arch": "x86_64",
      "commit": "7ebcbc1d5a709c97ce2247fa309065078b9ba517",
      "fileid": "0f70943063391fdc158c033e8eabd1841bf700e0f886609e0a800890ccf708ff",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/gbeurier/actions/runs/27413445099"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.1.0",
      "date": "2026-06-12T11:48:42.000Z",
      "arch": "x86_64",
      "commit": "7ebcbc1d5a709c97ce2247fa309065078b9ba517",
      "fileid": "0698aa63a8b102f8e1955a0917cc65cb4bd603ce257a646b2418eb124cfadc8a",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/gbeurier/actions/runs/27413445099"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "0.1.0",
      "date": "2026-06-12T11:48:38.000Z",
      "arch": "x86_64",
      "commit": "7ebcbc1d5a709c97ce2247fa309065078b9ba517",
      "fileid": "d0cc61db98b241cd182480fcf077f961ac06ee6572548f1f1e502ac9a04c91f2",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/gbeurier/actions/runs/27413445099"
    }
  ]
}