{
  "_id": "69dd3140c5259ad4cd897c1d",
  "Package": "lightr",
  "Title": "Read Spectrometric Data and Metadata",
  "Version": "2.0.0",
  "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)",
  "RoxygenNote": "7.3.3",
  "Roxygen": "list(markdown = TRUE)",
  "Language": "en-GB",
  "VignetteBuilder": "knitr",
  "Config/testthat/edition": "3",
  "Config/usethis/last-upkeep": "2025-07-08",
  "Config/pak/sysreqs": "libxml2-dev",
  "Repository": "https://ropensci.r-universe.dev",
  "Date/Publication": "2026-04-10 19:13:08 UTC",
  "RemoteUrl": "https://github.com/ropensci/lightr",
  "RemoteRef": "main",
  "RemoteSha": "49beead53e059da587feb49559d74b6cd93f9962",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-04-13 18:05:30 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>",
  "MD5sum": "af21cf1a7c32a866edb9d56aadacdce7",
  "_user": "ropensci",
  "_type": "src",
  "_file": "lightr_2.0.0.tar.gz",
  "_fileid": "b14c27cbc823dfa9cfed57424aef72d58ac26519aa985d1b5f559b356dcf464b",
  "_filesize": 5487555,
  "_sha256": "b14c27cbc823dfa9cfed57424aef72d58ac26519aa985d1b5f559b356dcf464b",
  "_created": "2026-04-13T18:05:30.000Z",
  "_published": "2026-04-13T18:09:04.236Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 71133335601,
      "time": 165,
      "config": "linux-devel-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6411962883"
    },
    {
      "job": 71133335607,
      "time": 155,
      "config": "linux-release-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "6411960040"
    },
    {
      "job": 71133335630,
      "time": 145,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "6411956925"
    },
    {
      "job": 71133335748,
      "time": 121,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6411949541"
    },
    {
      "job": 71132781600,
      "time": 173,
      "config": "pkgdown",
      "r": "4.5.2",
      "check": "OK",
      "artifact": "6411900243"
    },
    {
      "job": 71132781282,
      "time": 215,
      "config": "source",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "6411912412"
    },
    {
      "job": 71133335616,
      "time": 123,
      "config": "wasm-release",
      "r": "4.5.1",
      "check": "OK",
      "artifact": "6411950047"
    },
    {
      "job": 71133335695,
      "time": 103,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "6411943968"
    },
    {
      "job": 71133335664,
      "time": 100,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "6411943357"
    },
    {
      "job": 71133335663,
      "time": 107,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6411945498"
    }
  ],
  "_buildurl": "https://github.com/r-universe/ropensci/actions/runs/24358804254",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/ropensci/lightr",
  "_commit": {
    "id": "49beead53e059da587feb49559d74b6cd93f9962",
    "author": "Hugo Gruson <git@hugogruson.fr>",
    "committer": "Hugo Gruson <git@hugogruson.fr>",
    "message": "Increment version number to 2.0.0\n",
    "time": 1775848388
  },
  "_maintainer": {
    "name": "Hugo Gruson",
    "email": "hugo.gruson+r@normalesup.org",
    "login": "bisaloo",
    "mastodon": "@grusonh@mastodon.social",
    "orcid": "0000-0002-4094-1476",
    "uuid": 10783929
  },
  "_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": true,
  "_usedby": 3,
  "_updates": [
    {
      "week": "2025-22",
      "n": 4
    },
    {
      "week": "2025-28",
      "n": 7
    },
    {
      "week": "2025-29",
      "n": 15
    },
    {
      "week": "2025-30",
      "n": 25
    },
    {
      "week": "2025-31",
      "n": 3
    },
    {
      "week": "2025-32",
      "n": 1
    },
    {
      "week": "2025-33",
      "n": 1
    },
    {
      "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
    }
  ],
  "_tags": [
    {
      "name": "v1.9.0",
      "date": "2025-07-21"
    }
  ],
  "_topics": [
    "file-import",
    "reproducibility",
    "reproducible-research",
    "reproducible-science",
    "spectral-data",
    "spectroscopy"
  ],
  "_stars": 15,
  "_contributors": [
    {
      "user": "bisaloo",
      "count": 796,
      "uuid": 10783929
    },
    {
      "user": "copilot",
      "count": 2,
      "uuid": 198982749
    },
    {
      "user": "danielskatz",
      "count": 1,
      "uuid": 2913845
    },
    {
      "user": "maelle",
      "count": 1,
      "uuid": 8360597
    }
  ],
  "_userbio": {
    "uuid": 1200269,
    "type": "organization",
    "name": "rOpenSci",
    "description": "Tools and R Packages for Open Science"
  },
  "_downloads": {
    "count": 641,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/lightr"
  },
  "_devurl": "https://github.com/ropensci/lightr",
  "_pkgdown": "https://docs.ropensci.org/lightr/",
  "_searchresults": 15,
  "_metadata": {
    "review": {
      "id": 267,
      "status": "reviewed",
      "version": "0.0.0.9000",
      "organization": "rOpenSci Software Review",
      "url": "https://github.com/ropensci/software-review/issues/267"
    },
    "ropensci_category": "data-extraction"
  },
  "_rbuild": "4.5.3",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/lightr.html",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_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"
    }
  ],
  "_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/main/man/figures/logo.svg",
  "_readme": "https://github.com/ropensci/lightr/raw/main/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.163757523981957,
  "_indexed": true,
  "_nocasepkg": "lightr",
  "_universes": [
    "ropensci",
    "bisaloo"
  ],
  "_previous": "1.9.0.9000",
  "_binaries": [
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "2.0.0",
      "date": "2026-04-13T18:08:12.000Z",
      "distro": "noble",
      "commit": "49beead53e059da587feb49559d74b6cd93f9962",
      "fileid": "710ba49ed801a7e605f4d202d8241e577929c918173d0a1cec55803d4317290a",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ropensci/actions/runs/24358804254"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "2.0.0",
      "date": "2026-04-13T18:07:48.000Z",
      "commit": "49beead53e059da587feb49559d74b6cd93f9962",
      "fileid": "4744152137d7b3773faf8fef7697d9c360353c54a2c796b9eface65f3c6081a4",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ropensci/actions/runs/24358804254"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "2.0.0",
      "date": "2026-04-13T18:07:30.000Z",
      "commit": "49beead53e059da587feb49559d74b6cd93f9962",
      "fileid": "630ba964b67d37f7b4944ff156fe27762c0c7ba7ae71799b69e5a33dc25115f3",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ropensci/actions/runs/24358804254"
    },
    {
      "r": "4.5.1",
      "os": "wasm",
      "version": "2.0.0",
      "date": "2026-04-13T18:07:57.000Z",
      "commit": "49beead53e059da587feb49559d74b6cd93f9962",
      "fileid": "3b3aec31c194e97576c82b8d1e902ccb03ccdd31bb09059fcc0feafc55d3b240",
      "status": "success",
      "buildurl": "https://github.com/r-universe/ropensci/actions/runs/24358804254"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "2.0.0",
      "date": "2026-04-13T18:07:02.000Z",
      "commit": "49beead53e059da587feb49559d74b6cd93f9962",
      "fileid": "35fedd72c880b56019cec78b3e96915e28fd91993a88197ae3de6714f6e74534",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ropensci/actions/runs/24358804254"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "2.0.0",
      "date": "2026-04-13T18:06:57.000Z",
      "commit": "49beead53e059da587feb49559d74b6cd93f9962",
      "fileid": "28e8465418806ce9abb57fa45e5b77ff48f9586a14ae2646ad70310b54ce9ab5",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ropensci/actions/runs/24358804254"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "2.0.0",
      "date": "2026-04-13T18:07:06.000Z",
      "commit": "49beead53e059da587feb49559d74b6cd93f9962",
      "fileid": "7fb30a64b8e212abbdf711e569531554f5541bf03d83f01e5568d84dd57bd4f5",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ropensci/actions/runs/24358804254"
    }
  ]
}