{
  "_id": "6a2bf2d53efcd9bda42d0903",
  "Package": "nirs4allio",
  "Title": "Dataset-Assembly Bridge for the nirs4all Ecosystem",
  "Version": "0.1.1",
  "Authors@R": "person(\"Gregory\", \"Beurier\", email = \"gregory.beurier@cirad.fr\", role = c(\"aut\", \"cre\"))",
  "Description": "R binding over the nirs4all-io C ABI (n4io_*): normalize\ninputs into a canonical DatasetSpec, infer a DatasetPlan, and\nvalidate a DatasetSpec. The JSON surface crosses the stable C\nABI; the low-level 'n4io_*' functions take and return canonical\nJSON strings, while the idiomatic 'nio_*' layer accepts native\nR inputs (a path, a vector of files, or a config list) and\nreturns typed S3 objects with print and as.data.frame methods.",
  "License": "CeCILL-2.1 | AGPL-3",
  "Encoding": "UTF-8",
  "SystemRequirements": "Cargo (Rust toolchain), rustc",
  "NeedsCompilation": "yes",
  "RoxygenNote": "7.3.2",
  "Config/pak/sysreqs": "libclang-dev",
  "Repository": "https://gbeurier.r-universe.dev",
  "Date/Publication": "2026-06-12 07:41:38 UTC",
  "RemoteUrl": "https://github.com/GBeurier/nirs4all-io",
  "RemoteRef": "HEAD",
  "RemoteSha": "a0d5587deb0ccd28c34f93c7abf7d91053ec8604",
  "RemoteSubdir": "bindings/r",
  "Packaged": {
    "Date": "2026-06-12 11:44:49 UTC",
    "User": "root"
  },
  "Author": "Gregory Beurier [aut, cre]",
  "Maintainer": "Gregory Beurier <gregory.beurier@cirad.fr>",
  "MD5sum": "5f69e85ce0da45d80f34a34715de0278",
  "_user": "gbeurier",
  "_type": "src",
  "_file": "nirs4allio_0.1.1.tar.gz",
  "_fileid": "e143e961760f6a60a024b211992aa9d5f0473f3007cc4e1771decd5f116ecc42",
  "_filesize": 3858636,
  "_sha256": "e143e961760f6a60a024b211992aa9d5f0473f3007cc4e1771decd5f116ecc42",
  "_created": "2026-06-12T11:44:49.000Z",
  "_published": "2026-06-12T11:51:49.639Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 81020759957,
      "time": 183,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7590675251"
    },
    {
      "job": 81020759980,
      "time": 192,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7590677319"
    },
    {
      "job": 81020759990,
      "time": 174,
      "config": "linux-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7590671262"
    },
    {
      "job": 81020760012,
      "time": 177,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7590672203"
    },
    {
      "job": 81020759954,
      "time": 142,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7590660827"
    },
    {
      "job": 81020760003,
      "time": 342,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7590725346"
    },
    {
      "job": 81020759960,
      "time": 123,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7590654901"
    },
    {
      "job": 81020760018,
      "time": 328,
      "config": "macos-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7590720830"
    },
    {
      "job": 81020201116,
      "time": 211,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7590614956"
    },
    {
      "job": 81020759846,
      "time": 168,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7590668964"
    },
    {
      "job": 81020759908,
      "time": 226,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7590688079"
    },
    {
      "job": 81020759900,
      "time": 214,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7590684235"
    },
    {
      "job": 81020759872,
      "time": 197,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7590678453"
    }
  ],
  "_buildurl": "https://github.com/r-universe/gbeurier/actions/runs/27413447736",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/GBeurier/nirs4all-io",
  "_commit": {
    "id": "a0d5587deb0ccd28c34f93c7abf7d91053ec8604",
    "author": "GBeurier <gregory.beurier@cirad.fr>",
    "committer": "GBeurier <gregory.beurier@cirad.fr>",
    "message": "fix(r): CRAN-compliant offline Rust build + fix Windows install\n\nThe nirs4allio R package vendors and compiles the nirs4all-io capi staticlib\noffline at install. This makes it CRAN win-builder clean and unbreaks the\nfailing release-r windows-release leg.\n\nWindows fix (the failing leg): R CMD check reported\n\"checking whether package 'nirs4allio' can be installed ... ERROR\". The real\ncause (00install.out): the vendored capi kept crate-type\n[\"cdylib\",\"staticlib\",\"rlib\"], so `cargo build --target x86_64-pc-windows-gnu`\nalso built the cdylib, which forces a final link. On the CRAN Windows runner\nCARGO_LINKER is unset, so Makevars.win's CARGO_TARGET_..._LINKER=\"\" made that\nlink die with \"couldn't extract file stem from specified linker\". configure\nnow reduces the vendored capi [lib] crate-type to [\"staticlib\"] only (mirrors\nthe nirs4all-formats extendr crate): rustc just ar-archives the staticlib, no\nlink is driven, the empty linker is never consumed. Verified locally under the\nexact runner conditions (empty linker, offline gnu) -> only libnirs4all_io_capi.a\nis produced, no .dll, build Finished. Also fixed a doubled LIBRARY_PATH\n($(CURDIR)/$(TARGET_DIR) where TARGET_DIR is already absolute).\n\nCRAN cargo-compliance (Makevars + Makevars.win), matching the proven\nnirs4allformats pattern:\n- build-local CARGO_HOME=$(CURDIR)/.cargo + CARGO_TARGET_DIR exported before\n  every cargo call, so the install never writes ~/.cargo / ~/.rustup\n  (CRAN Policy). Verified: fresh-HOME offline install creates no ~/.cargo and\n  writes 0 files into the real ~/.cargo.\n- echo `rustc --version` + `cargo --version` to stderr before the build\n  (kills the \"No rustc version reported prior to compilation\" WARNING;\n  `checking Rust compilation ... OK`).\n- `-j 2` on the cargo build (CRAN Rust policy).\n- a rust_clean post-link rule (depends on $(SHLIB)) that rm -Rf the in-package\n  target/ + build-local CARGO_HOME + extracted vendor/ after linking, gated on\n  NOT_CRAN != true, so R CMD check --as-cran sc",
    "time": 1781250098
  },
  "_maintainer": {
    "name": "Gregory Beurier",
    "email": "gregory.beurier@cirad.fr",
    "login": "pamdeveloper",
    "description": "",
    "uuid": 26689252
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "jsonlite",
      "role": "Imports"
    }
  ],
  "_owner": "gbeurier",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2026-22",
      "n": 65
    },
    {
      "week": "2026-23",
      "n": 7
    },
    {
      "week": "2026-24",
      "n": 23
    }
  ],
  "_tags": [
    {
      "name": "v0.1.0",
      "date": "2026-06-11"
    },
    {
      "name": "v0.1.1",
      "date": "2026-06-12"
    }
  ],
  "_stars": 2,
  "_contributors": [
    {
      "user": "gbeurier",
      "count": 78,
      "uuid": 95907737
    },
    {
      "user": "pamdeveloper",
      "count": 17,
      "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/nirs4allio"
  },
  "_devurl": "https://github.com/gbeurier/nirs4all-io",
  "_searchresults": 3,
  "_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/nirs4allio.html",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_cranurl": false,
  "_exports": [
    "n4io_abi_version",
    "n4io_infer",
    "n4io_to_spec",
    "n4io_validate",
    "nio_infer",
    "nio_resolved_spec",
    "nio_to_spec",
    "nio_validate"
  ],
  "_help": [
    {
      "page": "as.data.frame.n4io_plan",
      "title": "Scored decisions of a plan as a data.frame.",
      "topics": [
        "as.data.frame.n4io_plan"
      ]
    },
    {
      "page": "n4io_abi_version",
      "title": "The C ABI version string.",
      "topics": [
        "n4io_abi_version"
      ]
    },
    {
      "page": "n4io_infer",
      "title": "Inspect a data input and return the scored DatasetPlan (JSON string).",
      "topics": [
        "n4io_infer"
      ]
    },
    {
      "page": "n4io_to_spec",
      "title": "Normalize an input into a canonical DatasetSpec (JSON string).",
      "topics": [
        "n4io_to_spec"
      ]
    },
    {
      "page": "n4io_validate",
      "title": "Validate a DatasetSpec JSON string; raises an error if invalid.",
      "topics": [
        "n4io_validate"
      ]
    },
    {
      "page": "nio_infer",
      "title": "Infer a scored dataset plan from a native R input.",
      "topics": [
        "nio_infer"
      ]
    },
    {
      "page": "nio_resolved_spec",
      "title": "The resolved (editable) DatasetSpec carried inside a plan.",
      "topics": [
        "nio_resolved_spec"
      ]
    },
    {
      "page": "nio_to_spec",
      "title": "Normalize a native R input into a canonical DatasetSpec.",
      "topics": [
        "nio_to_spec"
      ]
    },
    {
      "page": "nio_validate",
      "title": "Validate a DatasetSpec.",
      "topics": [
        "nio_validate"
      ]
    }
  ],
  "_readme": "https://github.com/GBeurier/nirs4all-io/raw/HEAD/bindings/r/README.md",
  "_rundeps": [
    "jsonlite"
  ],
  "_score": 2.4771212547196626,
  "_indexed": true,
  "_nocasepkg": "nirs4allio",
  "_universes": [
    "gbeurier",
    "pamdeveloper"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.1.1",
      "date": "2026-06-12T11:48:01.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "a0d5587deb0ccd28c34f93c7abf7d91053ec8604",
      "fileid": "fe0b191fd6b8934426a285d11efa77abdb655c34a6cc03011cfc17a8050dacf1",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/gbeurier/actions/runs/27413447736"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.1.1",
      "date": "2026-06-12T11:48:05.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "a0d5587deb0ccd28c34f93c7abf7d91053ec8604",
      "fileid": "c0c2e9b022b4f4feebe9fc031a5aa98b5cc9eca1a8961f54e3bbeb972ad038a5",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/gbeurier/actions/runs/27413447736"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.1.1",
      "date": "2026-06-12T11:47:49.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "a0d5587deb0ccd28c34f93c7abf7d91053ec8604",
      "fileid": "c1cda42919df2e22b1bad56b3f1748e4692baba3c2f1137e3c7380d40c020dee",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/gbeurier/actions/runs/27413447736"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.1.1",
      "date": "2026-06-12T11:47:50.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "a0d5587deb0ccd28c34f93c7abf7d91053ec8604",
      "fileid": "8cef24a6bd25702d127b0e71ca521300af6ac9cf8a11b9831ce3c6e4a20478d1",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/gbeurier/actions/runs/27413447736"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.1.1",
      "date": "2026-06-12T11:47:02.000Z",
      "arch": "aarch64",
      "commit": "a0d5587deb0ccd28c34f93c7abf7d91053ec8604",
      "fileid": "d5a62597f20dc8c4a6f4e29f22915033439243ad3abde3577d0eab99ffabb2e0",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/gbeurier/actions/runs/27413447736"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.1.1",
      "date": "2026-06-12T11:48:55.000Z",
      "arch": "x86_64",
      "commit": "a0d5587deb0ccd28c34f93c7abf7d91053ec8604",
      "fileid": "b76705ec1c8be1df218aaaef583d9cdd4260c62b76f32df04e4b4c753a4b5cfa",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/gbeurier/actions/runs/27413447736"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.1.1",
      "date": "2026-06-12T11:46:58.000Z",
      "arch": "aarch64",
      "commit": "a0d5587deb0ccd28c34f93c7abf7d91053ec8604",
      "fileid": "bcd77429e6529b76c554ea45a12b4c6e0eefe717bf11d10ea84b172d2238a843",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/gbeurier/actions/runs/27413447736"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.1.1",
      "date": "2026-06-12T11:48:46.000Z",
      "arch": "x86_64",
      "commit": "a0d5587deb0ccd28c34f93c7abf7d91053ec8604",
      "fileid": "18c7c73c659394a588eaaa6b5aceaf13b972595f92b353853093db8c336e6ba9",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/gbeurier/actions/runs/27413447736"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.1.1",
      "date": "2026-06-12T11:47:38.000Z",
      "arch": "emscripten",
      "commit": "a0d5587deb0ccd28c34f93c7abf7d91053ec8604",
      "fileid": "fce7dfc7d86e8ff67c27683fe438123d39e1d8308fce2184d529d0bf89b321f0",
      "status": "success",
      "buildurl": "https://github.com/r-universe/gbeurier/actions/runs/27413447736"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.1.1",
      "date": "2026-06-12T11:46:42.000Z",
      "arch": "x86_64",
      "commit": "a0d5587deb0ccd28c34f93c7abf7d91053ec8604",
      "fileid": "fb094363660bfc15ed7b184f9bad24c4e2e0be51e6603a24800a02814341bc69",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/gbeurier/actions/runs/27413447736"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.1.1",
      "date": "2026-06-12T11:46:34.000Z",
      "arch": "x86_64",
      "commit": "a0d5587deb0ccd28c34f93c7abf7d91053ec8604",
      "fileid": "8c4c51fdae1100eb532a30bf91a32a35174ed537e9a2c78e7d84fd8c5d78a769",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/gbeurier/actions/runs/27413447736"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "0.1.1",
      "date": "2026-06-12T11:46:29.000Z",
      "arch": "x86_64",
      "commit": "a0d5587deb0ccd28c34f93c7abf7d91053ec8604",
      "fileid": "2fbda47afd6d400945a4b77804519f2050e66ce39a1e09badf6ff74bbaad3328",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/gbeurier/actions/runs/27413447736"
    }
  ]
}