{
  "_id": "6a4288c44ba05a737d8a8668",
  "Package": "lightr",
  "Title": "Read Spectrometric Data and Metadata",
  "Version": "2.0.0.9002",
  "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)",
  "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-06-29 12:08:07 UTC",
  "RemoteUrl": "https://github.com/ropensci/lightr",
  "RemoteRef": "HEAD",
  "RemoteSha": "78bd9354809fc2d1f6ab97a3d4261c77ff86b65c",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-06-29 14:54: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>",
  "MD5sum": "a916dcdc41b40c2247d4c293685b1f51",
  "_user": "colrverse",
  "_type": "src",
  "_file": "lightr_2.0.0.9002.tar.gz",
  "_fileid": "1f143058650bb4406efb64dfe844dca97e09f3c5e62f0d581d28d8fd1ee5f22b",
  "_filesize": 5493454,
  "_sha256": "1f143058650bb4406efb64dfe844dca97e09f3c5e62f0d581d28d8fd1ee5f22b",
  "_created": "2026-06-29T14:54:47.000Z",
  "_published": "2026-06-29T15:01:24.520Z",
  "_distro": "resolute",
  "_jobs": [
    {
      "job": 84083979834,
      "time": 185,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7955736483"
    },
    {
      "job": 84083979886,
      "time": 133,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "7955713300"
    },
    {
      "job": 84083979887,
      "time": 124,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7955715915"
    },
    {
      "job": 84083979932,
      "time": 166,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "7955806809"
    },
    {
      "job": 84083223647,
      "time": 194,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "7955650850"
    },
    {
      "job": 84083979848,
      "time": 169,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7955729420"
    },
    {
      "job": 84083980839,
      "time": 100,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7955698515"
    },
    {
      "job": 84083979850,
      "time": 91,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7955694903"
    },
    {
      "job": 84083979912,
      "time": 116,
      "config": "windows-release",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "7955707564"
    }
  ],
  "_buildurl": "https://github.com/r-universe/colrverse/actions/runs/28380973054",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/ropensci/lightr",
  "_commit": {
    "id": "78bd9354809fc2d1f6ab97a3d4261c77ff86b65c",
    "author": "Hugo Gruson <git@hugogruson.fr>",
    "committer": "Hugo Gruson <hugo.gruson@protonmail.com>",
    "message": "Bump version\n",
    "time": 1782734887
  },
  "_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
  },
  "_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-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
    },
    {
      "week": "2026-25",
      "n": 8
    },
    {
      "week": "2026-26",
      "n": 2
    },
    {
      "week": "2026-27",
      "n": 11
    }
  ],
  "_tags": [
    {
      "name": "v1.9.0",
      "date": "2025-07-21"
    },
    {
      "name": "v2.0.0",
      "date": "2026-04-10"
    }
  ],
  "_topics": [
    "file-import",
    "reproducibility",
    "reproducible-research",
    "reproducible-science",
    "spectral-data",
    "spectroscopy"
  ],
  "_stars": 15,
  "_contributors": [
    {
      "user": "bisaloo",
      "count": 817,
      "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": 1065,
    "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/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.360716263284473,
  "_indexed": false,
  "_nocasepkg": "lightr",
  "_universes": [
    "colrverse"
  ],
  "_indexurl": "https://ropensci.r-universe.dev/lightr",
  "_previous": "2.0.0.9001",
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "2.0.0.9002",
      "date": "2026-06-29T14:57:53.000Z",
      "distro": "resolute",
      "commit": "78bd9354809fc2d1f6ab97a3d4261c77ff86b65c",
      "fileid": "9acea1c601ad27978079582549758a125c8121ce57e239107cef895303d72b00",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/colrverse/actions/runs/28380973054"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "2.0.0.9002",
      "date": "2026-06-29T14:56:56.000Z",
      "distro": "resolute",
      "commit": "78bd9354809fc2d1f6ab97a3d4261c77ff86b65c",
      "fileid": "1e6f5d72a7d5ae8563607833241c5b9d9d640b74d7c8475852a039f9354bc148",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/colrverse/actions/runs/28380973054"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "2.0.0.9002",
      "date": "2026-06-29T14:57:03.000Z",
      "commit": "78bd9354809fc2d1f6ab97a3d4261c77ff86b65c",
      "fileid": "0ab52feee23518c7b2a3f7ea6ede1e4b8c30949bfb826fbad8e4e967f61abd17",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/colrverse/actions/runs/28380973054"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "2.0.0.9002",
      "date": "2026-06-29T15:00:12.000Z",
      "commit": "78bd9354809fc2d1f6ab97a3d4261c77ff86b65c",
      "fileid": "5117e4b6846a4221b80ba16acab92155367d920d3048db0e5d3fff5719863600",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/colrverse/actions/runs/28380973054"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "2.0.0.9002",
      "date": "2026-06-29T14:57:53.000Z",
      "commit": "78bd9354809fc2d1f6ab97a3d4261c77ff86b65c",
      "fileid": "e46b8a9e455d7f9591cefd5cb42378d3aaddbc67ae49f988150755423f78a1e3",
      "status": "success",
      "buildurl": "https://github.com/r-universe/colrverse/actions/runs/28380973054"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "2.0.0.9002",
      "date": "2026-06-29T14:56:10.000Z",
      "commit": "78bd9354809fc2d1f6ab97a3d4261c77ff86b65c",
      "fileid": "3d9a5c3f99f42c3af450907a6643d358262363bc95d1b05e411da2ed2045b11d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/colrverse/actions/runs/28380973054"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "2.0.0.9002",
      "date": "2026-06-29T14:56:03.000Z",
      "commit": "78bd9354809fc2d1f6ab97a3d4261c77ff86b65c",
      "fileid": "6f6e758af0204b8acb95605aca4ab6d1a61f73042cc9b254d2cdd881c0330091",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/colrverse/actions/runs/28380973054"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "2.0.0.9002",
      "date": "2026-06-29T14:56:26.000Z",
      "commit": "78bd9354809fc2d1f6ab97a3d4261c77ff86b65c",
      "fileid": "7c7a388bb21f125d0908c0b948e75931f253dc14b36aff5e0f277284467c5cd2",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/colrverse/actions/runs/28380973054"
    }
  ]
}