{
  "_id": "6ab688c299f7aa8c6aa2ed04",
  "Package": "lightr",
  "Title": "Read Spectrometric Data and Metadata",
  "Version": "2.1.0.9000",
  "Authors@R": "c(\nperson(\"Hugo\", \"Gruson\", role = c(\"cre\", \"aut\", \"cph\"),\nemail = \"hugo.gruson+R@normalesup.org\",\ncomment = c(ORCID = \"0000-0002-4094-1476\")),\nperson(\"Rafael\", \"Maia\", role = c(\"aut\", \"cph\"),\ncomment = c(ORCID = \"0000-0002-7563-9795\")),\nperson(\"Thomas\", \"White\", role = c(\"aut\", \"cph\"),\ncomment = c(ORCID = \"0000-0002-3976-1734\")),\nperson(\"Kotya\", \"Karapetyan\", role = c(\"ctb\", \"cph\"),\ncomment = \"Author of the MATLAB script to read AvaSoft7 binary files (CC-BY)\")\n)",
  "Description": "Parse various reflectance/transmittance/absorbance spectra\nfile formats to extract spectral data and metadata, as\ndescribed in Gruson, White & Maia (2019)\n<doi:10.21105/joss.01857>. Among other formats, it can import\nfiles from 'Avantes' <https://www.avantes.com/>, 'CRAIC'\n<https://www.microspectra.com/>, and\n'OceanOptics'/'OceanInsight' <https://www.oceanoptics.com/>\nbrands.",
  "URL": "https://docs.ropensci.org/lightr/,\nhttps://github.com/ropensci/lightr",
  "BugReports": "https://github.com/ropensci/lightr/issues",
  "License": "GPL (>=2)",
  "Roxygen": "list(markdown = TRUE)",
  "Encoding": "UTF-8",
  "Language": "en-GB",
  "VignetteBuilder": "knitr",
  "Config/testthat/edition": "3",
  "Config/usethis/last-upkeep": "2025-07-08",
  "Config/roxygen2/version": "8.0.0",
  "Config/pak/sysreqs": "libxml2-dev",
  "Repository": "https://colrverse.r-universe.dev",
  "Date/Publication": "2026-09-25 11:45:24 UTC",
  "RemoteUrl": "https://github.com/ropensci/lightr",
  "RemoteRef": "HEAD",
  "RemoteSha": "49e156cd4d892b721dd24e143d9c3b1dacd3bebd",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-09-25 14:31:47 UTC",
    "User": "root"
  },
  "Author": "Hugo Gruson [cre, aut, cph] (ORCID:\n<https://orcid.org/0000-0002-4094-1476>),\nRafael Maia [aut, cph] (ORCID: <https://orcid.org/0000-0002-7563-9795>),\nThomas White [aut, cph] (ORCID:\n<https://orcid.org/0000-0002-3976-1734>),\nKotya Karapetyan [ctb, cph] (Author of the MATLAB script to read\nAvaSoft7 binary files (CC-BY))",
  "Maintainer": "Hugo Gruson <hugo.gruson+R@normalesup.org>",
  "_user": "colrverse",
  "_type": "src",
  "_file": "lightr_2.1.0.9000.tar.gz",
  "_fileid": "https://r2.ropensci.org/db338a421059e06ab96dd66f1f7c35e66d985318c44215f7eb91c49c5a2a2454",
  "_filesize": 5493135,
  "_sha256": "db338a421059e06ab96dd66f1f7c35e66d985318c44215f7eb91c49c5a2a2454",
  "_expires": "2027-01-03T14:44:15.000Z",
  "_created": "2026-09-25T14:31:47.000Z",
  "_published": "2026-09-25T14:44:18.006Z",
  "_jobs": [
    {
      "job": 108114352802,
      "time": 195,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "10870334056"
    },
    {
      "job": 108114352805,
      "time": 219,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "10870194167"
    },
    {
      "job": 108114352917,
      "time": 186,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "10869819090"
    },
    {
      "job": 108114352746,
      "time": 214,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "10869984384"
    },
    {
      "job": 108112582253,
      "time": 281,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "10870014391"
    },
    {
      "job": 108114352932,
      "time": 141,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "10869709961"
    },
    {
      "job": 108114352996,
      "time": 100,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "10870283555"
    },
    {
      "job": 108114352832,
      "time": 100,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "10869443217"
    },
    {
      "job": 108114352820,
      "time": 112,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "10869678172"
    }
  ],
  "_host": "GitHub-Actions",
  "_buildurl": "https://github.com/r-universe/colrverse/actions/runs/36147581391",
  "_status": "success",
  "_upstream": "https://github.com/ropensci/lightr",
  "_commit": {
    "id": "49e156cd4d892b721dd24e143d9c3b1dacd3bebd",
    "author": "Hugo Gruson <git@hugogruson.fr>",
    "committer": "Hugo Gruson <hugo.gruson@protonmail.com>",
    "message": "Do not snapshot full error message\n",
    "time": 1790336724
  },
  "_maintainer": {
    "name": "Hugo Gruson",
    "email": "hugo.gruson+r@normalesup.org",
    "login": "bisaloo",
    "mastodon": "@grusonh@mastodon.social",
    "orcid": "0000-0002-4094-1476",
    "description": "Evolutionary Biologist turned Research Software Engineer in R.",
    "uuid": 10783929
  },
  "_distro": "resolute",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.0.0",
      "role": "Depends"
    },
    {
      "package": "future.apply",
      "role": "Imports"
    },
    {
      "package": "lifecycle",
      "role": "Imports"
    },
    {
      "package": "progressr",
      "role": "Imports"
    },
    {
      "package": "xml2",
      "version": ">= 1.0.0",
      "role": "Imports"
    },
    {
      "package": "digest",
      "role": "Suggests"
    },
    {
      "package": "future",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "lintr",
      "role": "Suggests"
    },
    {
      "package": "pavo",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "spelling",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    },
    {
      "package": "withr",
      "role": "Suggests"
    }
  ],
  "_owner": "ropensci",
  "_selfowned": false,
  "_usedby": 3,
  "_updates": [
    {
      "week": "2025-39",
      "n": 16
    },
    {
      "week": "2025-42",
      "n": 1
    },
    {
      "week": "2025-44",
      "n": 15
    },
    {
      "week": "2026-07",
      "n": 1
    },
    {
      "week": "2026-15",
      "n": 3
    },
    {
      "week": "2026-25",
      "n": 8
    },
    {
      "week": "2026-26",
      "n": 2
    },
    {
      "week": "2026-27",
      "n": 11
    },
    {
      "week": "2026-28",
      "n": 6
    },
    {
      "week": "2026-33",
      "n": 5
    },
    {
      "week": "2026-39",
      "n": 3
    }
  ],
  "_tags": [
    {
      "name": "v2.0.0",
      "date": "2026-04-10"
    },
    {
      "name": "v2.1.0",
      "date": "2026-07-06"
    }
  ],
  "_topics": [
    "file-import",
    "reproducibility",
    "reproducible-research",
    "reproducible-science",
    "spectral-data",
    "spectroscopy"
  ],
  "_stars": 15,
  "_contributors": [
    {
      "user": "bisaloo",
      "count": 831,
      "uuid": 10783929
    },
    {
      "user": "copilot",
      "count": 2,
      "uuid": 198982749
    },
    {
      "user": "danielskatz",
      "count": 1,
      "uuid": 2913845
    },
    {
      "user": "maelle",
      "count": 1,
      "uuid": 8360597
    }
  ],
  "_userbio": {
    "uuid": 79118872,
    "type": "organization",
    "name": "colrverse",
    "followers": 1
  },
  "_downloads": {
    "count": 978,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/lightr"
  },
  "_devurl": "https://github.com/ropensci/lightr",
  "_pkgdown": "https://docs.ropensci.org/lightr/",
  "_searchresults": 19,
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/lightr.html",
    "extra/manual.pdf",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md"
  ],
  "_homeurl": "https://github.com/ropensci/lightr",
  "_realowner": "ropensci",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.1",
      "date": "2019-11-19"
    },
    {
      "version": "1.0",
      "date": "2020-01-27"
    },
    {
      "version": "1.1",
      "date": "2020-04-01"
    },
    {
      "version": "1.2",
      "date": "2020-06-29"
    },
    {
      "version": "1.3",
      "date": "2020-06-30"
    },
    {
      "version": "1.4",
      "date": "2021-03-21"
    },
    {
      "version": "1.5.0",
      "date": "2021-06-19"
    },
    {
      "version": "1.6.0",
      "date": "2021-07-22"
    },
    {
      "version": "1.6.1",
      "date": "2021-11-08"
    },
    {
      "version": "1.6.2",
      "date": "2021-11-09"
    },
    {
      "version": "1.7.0",
      "date": "2022-05-14"
    },
    {
      "version": "1.7.1",
      "date": "2024-03-21"
    },
    {
      "version": "1.8.0",
      "date": "2024-12-01"
    },
    {
      "version": "1.9.0",
      "date": "2025-07-21"
    },
    {
      "version": "2.0.0",
      "date": "2026-04-11"
    },
    {
      "version": "2.1.0",
      "date": "2026-07-06"
    }
  ],
  "_exports": [
    "lr_convert_tocsv",
    "lr_get_metadata",
    "lr_get_spec",
    "lr_parse_abs",
    "lr_parse_avantes_abs",
    "lr_parse_avantes_irr8",
    "lr_parse_avantes_raw8",
    "lr_parse_avantes_rfl8",
    "lr_parse_avantes_roh",
    "lr_parse_avantes_trm",
    "lr_parse_avantes_trt",
    "lr_parse_avantes_ttt",
    "lr_parse_craic_spc",
    "lr_parse_csv",
    "lr_parse_generic",
    "lr_parse_irr8",
    "lr_parse_jaz",
    "lr_parse_jazirrad",
    "lr_parse_jdx",
    "lr_parse_oceanoptics_jaz",
    "lr_parse_oceanoptics_jazirrad",
    "lr_parse_oceanoptics_jdx",
    "lr_parse_oceanoptics_procspec",
    "lr_parse_oceanoptics_spc",
    "lr_parse_procspec",
    "lr_parse_raw8",
    "lr_parse_rfl8",
    "lr_parse_roh",
    "lr_parse_spc",
    "lr_parse_trm",
    "lr_parse_trt",
    "lr_parse_ttt"
  ],
  "_help": [
    {
      "page": "lr_convert_tocsv",
      "title": "Convert spectral data files to csv files",
      "topics": [
        "lr_convert_tocsv"
      ]
    },
    {
      "page": "lr_get_metadata",
      "title": "Extract metadata from spectra files",
      "topics": [
        "lr_get_metadata"
      ]
    },
    {
      "page": "lr_get_spec",
      "title": "Extract spectral data from spectra files",
      "topics": [
        "lr_get_spec"
      ]
    },
    {
      "page": "lr_parse_csv",
      "title": "Parse csv files",
      "topics": [
        "lr_parse_csv"
      ]
    },
    {
      "page": "lr_parse_generic",
      "title": "Generic function to parse spectra files that don't have a specific parser",
      "topics": [
        "lr_parse_generic"
      ]
    },
    {
      "page": "lr_parse_oceanoptics_jaz",
      "title": "Parse OceanOptics converted file",
      "topics": [
        "lr_parse_jaz",
        "lr_parse_jazirrad",
        "lr_parse_oceanoptics_jaz",
        "lr_parse_oceanoptics_jazirrad"
      ]
    },
    {
      "page": "lr_parse_oceanoptics_jdx",
      "title": "Parse OceanOptics JCAMP-DX (.jdx) file",
      "topics": [
        "lr_parse_jdx",
        "lr_parse_oceanoptics_jdx"
      ]
    },
    {
      "page": "lr_parse_oceanoptics_procspec",
      "title": "Parse OceanOptics ProcSpec file",
      "topics": [
        "lr_parse_oceanoptics_procspec",
        "lr_parse_procspec"
      ]
    },
    {
      "page": "lr_parse_craic_spc",
      "title": "Parse SPC binary file",
      "topics": [
        "lr_parse_craic_spc",
        "lr_parse_oceanoptics_spc",
        "lr_parse_spc"
      ]
    },
    {
      "page": "lr_parse_avantes_trm",
      "title": "Parse Avantes binary file",
      "topics": [
        "lr_parse_abs",
        "lr_parse_avantes_abs",
        "lr_parse_avantes_irr8",
        "lr_parse_avantes_raw8",
        "lr_parse_avantes_rfl8",
        "lr_parse_avantes_roh",
        "lr_parse_avantes_trm",
        "lr_parse_irr8",
        "lr_parse_raw8",
        "lr_parse_rfl8",
        "lr_parse_roh",
        "lr_parse_trm"
      ]
    },
    {
      "page": "lr_parse_avantes_ttt",
      "title": "Parse Avantes converted file",
      "topics": [
        "lr_parse_avantes_trt",
        "lr_parse_avantes_ttt",
        "lr_parse_trt",
        "lr_parse_ttt"
      ]
    }
  ],
  "_pkglogo": "https://github.com/ropensci/lightr/raw/HEAD/man/figures/logo.svg",
  "_readme": "https://github.com/ropensci/lightr/raw/HEAD/README.md",
  "_rundeps": [
    "cli",
    "codetools",
    "digest",
    "future",
    "future.apply",
    "globals",
    "lifecycle",
    "listenv",
    "parallelly",
    "progressr",
    "rlang",
    "xml2"
  ],
  "_vignettes": [
    {
      "source": "batch_import.Rmd",
      "filename": "batch_import.html",
      "title": "Batch import with lr_get_spec() and lr_get_metadata()",
      "author": "Hugo Gruson",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Import spectral data: lr_get_spec()",
        "Import spectral metadata: lr_get_metadata()",
        "Convert spectral data to csv: lr_convert_tocsv()"
      ],
      "created": "2018-11-23 12:48:29",
      "modified": "2025-07-08 17:42:28",
      "commits": 19
    },
    {
      "source": "design-principles.Rmd",
      "filename": "design-principles.html",
      "title": "Design Principles for lightr",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Scope",
        "Architecture",
        "Naming conventions"
      ],
      "created": "2025-05-29 14:34:38",
      "modified": "2025-07-25 10:26:16",
      "commits": 5
    },
    {
      "source": "true_example.Rmd",
      "filename": "true_example.html",
      "title": "Real life example",
      "author": "Hugo Gruson",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Comparison of outputs",
        "Example of analysis"
      ],
      "created": "2019-09-02 15:31:22",
      "modified": "2025-07-08 17:42:28",
      "commits": 14
    },
    {
      "source": "renormalise.Rmd",
      "filename": "renormalise.html",
      "title": "Renormalise spectral data with a custom reference",
      "author": "Hugo Gruson",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Step 1: import un-normalised data",
        "Step 2: find the matching white reference",
        "Step 3: normalise the reflectance data"
      ],
      "created": "2018-12-13 12:53:47",
      "modified": "2025-07-25 10:26:16",
      "commits": 10
    }
  ],
  "_score": 8.228631304989705,
  "_indexed": false,
  "_nocasepkg": "lightr",
  "_universes": [
    "colrverse"
  ],
  "_indexurl": "https://ropensci.r-universe.dev/lightr",
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "2.1.0.9000",
      "date": "2026-09-25T14:35:07.000Z",
      "distro": "resolute",
      "commit": "49e156cd4d892b721dd24e143d9c3b1dacd3bebd",
      "fileid": "https://r2.ropensci.org/6cf2339fbf7a86b575e7010cc1fc97d2a015e09e90e61384c70a11dc0f4f2e38",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/colrverse/actions/runs/36147581391"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "2.1.0.9000",
      "date": "2026-09-25T14:34:58.000Z",
      "distro": "resolute",
      "commit": "49e156cd4d892b721dd24e143d9c3b1dacd3bebd",
      "fileid": "https://r2.ropensci.org/ffdf715a3790767ff77811483d828f99611b5d419af78fc364a3393c66689ca2",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/colrverse/actions/runs/36147581391"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "2.1.0.9000",
      "date": "2026-09-25T14:38:53.000Z",
      "commit": "49e156cd4d892b721dd24e143d9c3b1dacd3bebd",
      "fileid": "https://r2.ropensci.org/cd5527ad37d4d7d5f2217edd5bf59d3df6ce2268ebb5df2cb989ea810ec5cc38",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/colrverse/actions/runs/36147581391"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "2.1.0.9000",
      "date": "2026-09-25T14:42:28.000Z",
      "commit": "49e156cd4d892b721dd24e143d9c3b1dacd3bebd",
      "fileid": "https://r2.ropensci.org/27e47b2b15dc278f7ef8c929d85eb732b0e3e7b795f8e2a8ad5ff21209a4e49d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/colrverse/actions/runs/36147581391"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "2.1.0.9000",
      "date": "2026-09-25T14:34:35.000Z",
      "commit": "49e156cd4d892b721dd24e143d9c3b1dacd3bebd",
      "fileid": "https://r2.ropensci.org/9bf0573843d1d74d72c5e3a5e672e103c76815713bb58ec18266948addb18d6e",
      "status": "success",
      "buildurl": "https://github.com/r-universe/colrverse/actions/runs/36147581391"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "2.1.0.9000",
      "date": "2026-09-25T14:33:18.000Z",
      "commit": "49e156cd4d892b721dd24e143d9c3b1dacd3bebd",
      "fileid": "https://r2.ropensci.org/f830d5ae9151f90f3a5e2d107030ab3420f69c0f752a349a45ec3e3b8fd793df",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/colrverse/actions/runs/36147581391"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "2.1.0.9000",
      "date": "2026-09-25T14:33:28.000Z",
      "commit": "49e156cd4d892b721dd24e143d9c3b1dacd3bebd",
      "fileid": "https://r2.ropensci.org/1cc9b20dae08b9125ff71bf70f44ab77785285608788c590efad1d09402f44ad",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/colrverse/actions/runs/36147581391"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "2.1.0.9000",
      "date": "2026-09-25T14:33:27.000Z",
      "commit": "49e156cd4d892b721dd24e143d9c3b1dacd3bebd",
      "fileid": "https://r2.ropensci.org/dc0baad1ba3ec4940b9ae3e1ed538823c4fbff2def14a55a4c3baad0b7597215",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/colrverse/actions/runs/36147581391"
    }
  ]
}