{
  "_id": "6a10256aacfb0bcc41c8eb5c",
  "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://bisaloo.r-universe.dev",
  "Date/Publication": "2026-04-10 19:13:08 UTC",
  "RemoteUrl": "https://github.com/ropensci/lightr",
  "RemoteRef": "HEAD",
  "RemoteSha": "49beead53e059da587feb49559d74b6cd93f9962",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-05-13 09:33:57 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": "e8f2d89b546752b2358fc9acf81bc06f",
  "_user": "bisaloo",
  "_type": "src",
  "_file": "lightr_2.0.0.tar.gz",
  "_fileid": "907ca86d910c01865e88d5503d05bc36471e8dc0c23298a0e2ecf1a454c0d153",
  "_filesize": 5487393,
  "_sha256": "907ca86d910c01865e88d5503d05bc36471e8dc0c23298a0e2ecf1a454c0d153",
  "_created": "2026-05-13T09:33:57.000Z",
  "_published": "2026-05-22T09:44:10.929Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 77355116088,
      "time": 150,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "6966574445"
    },
    {
      "job": 77355116010,
      "time": 153,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6966575792"
    },
    {
      "job": 77355116078,
      "time": 145,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "6966572342"
    },
    {
      "job": 77355116001,
      "time": 103,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6966558055"
    },
    {
      "job": 77355115259,
      "time": 211,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6966519956"
    },
    {
      "job": 77355115238,
      "time": 113,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7157551204"
    },
    {
      "job": 77355115669,
      "time": 153,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "6966578926"
    },
    {
      "job": 77355116084,
      "time": 87,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "6966552802"
    },
    {
      "job": 77355116085,
      "time": 96,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6966555522"
    }
  ],
  "_buildurl": "https://github.com/r-universe/bisaloo/actions/runs/25790613487",
  "_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": 10783929,
    "type": "user",
    "name": "Hugo Gruson",
    "description": "Evolutionary Biologist turned Research Software Engineer in R."
  },
  "_downloads": {
    "count": 1086,
    "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,
  "_rbuild": "4.6.0",
  "_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/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.199587349234784,
  "_indexed": false,
  "_nocasepkg": "lightr",
  "_universes": [
    "bisaloo"
  ],
  "_indexurl": "https://ropensci.r-universe.dev/lightr",
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "2.0.0",
      "date": "2026-05-13T09:36:23.000Z",
      "distro": "noble",
      "commit": "49beead53e059da587feb49559d74b6cd93f9962",
      "fileid": "24b6f355f159a4d66830302ff1e7ba2d5190df76ac6f9dfeb4578c547eebc147",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/bisaloo/actions/runs/25790613487"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "2.0.0",
      "date": "2026-05-13T09:36:29.000Z",
      "distro": "noble",
      "commit": "49beead53e059da587feb49559d74b6cd93f9962",
      "fileid": "a765acacba0b7711f52ea0d61570defc0e4837045866b0cbd4a323fbb1f73632",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/bisaloo/actions/runs/25790613487"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "2.0.0",
      "date": "2026-05-13T09:36:18.000Z",
      "commit": "49beead53e059da587feb49559d74b6cd93f9962",
      "fileid": "1e789882831b6fb1338d0457728ba0997373c279adc28d32d0d0d5dd732d5f00",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/bisaloo/actions/runs/25790613487"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "2.0.0",
      "date": "2026-05-13T09:35:44.000Z",
      "commit": "49beead53e059da587feb49559d74b6cd93f9962",
      "fileid": "720162e04a6cfb26fddc9763ab35796353889f252855d173129f37d1ea751da7",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/bisaloo/actions/runs/25790613487"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "2.0.0",
      "date": "2026-05-13T09:36:25.000Z",
      "commit": "49beead53e059da587feb49559d74b6cd93f9962",
      "fileid": "f552f5215c1546b61772a61dffcef9032081a867c95004339b7bb370ff299741",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/bisaloo/actions/runs/25790613487"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "2.0.0",
      "date": "2026-05-13T09:35:14.000Z",
      "commit": "49beead53e059da587feb49559d74b6cd93f9962",
      "fileid": "e38934429532960d0fe79024d94600d783209b155b6e309d453675ee98a1c906",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/bisaloo/actions/runs/25790613487"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "2.0.0",
      "date": "2026-05-13T09:35:18.000Z",
      "commit": "49beead53e059da587feb49559d74b6cd93f9962",
      "fileid": "96e07aeb4d7826238ed1e29458fc17f6a7c7502ac3484474db4ad9efc64ca16b",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/bisaloo/actions/runs/25790613487"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "2.0.0",
      "date": "2026-05-22T09:43:55.000Z",
      "commit": "49beead53e059da587feb49559d74b6cd93f9962",
      "fileid": "7760c34ff9ffae66909ddee0dd201ceb8eff4f6462259b5433363c916d62dbc8",
      "status": "success",
      "buildurl": "https://github.com/r-universe/bisaloo/actions/runs/25790613487"
    }
  ]
}