{
  "_id": "6ad722300d12c08e591b83bd",
  "Package": "LightFitR",
  "Type": "Package",
  "Title": "Design Complex Light Regimes",
  "Version": "1.0.0",
  "Authors@R": "person('Gina', 'Vong', email='gywv500@york.ac.uk', role=c('aut', 'cre', 'cph'), comment=c(ORCID = \"0000-0002-3913-7667\"))",
  "Description": "A system for accurately designing complex light regimes\nusing LEDs. Takes calibration data and user-defined target\nirradiances and it tells you what intensities to use. For more\ndetails see Vong et al. (2025) <doi:10.1101/2025.06.06.658293>.",
  "License": "GPL (>= 3)",
  "Encoding": "UTF-8",
  "URL": "https://github.com/ginavong/LightFitR/",
  "BugReports": "https://github.com/ginavong/LightFitR/issues",
  "LazyData": "true",
  "RoxygenNote": "7.3.2",
  "Config/testthat/edition": "3",
  "VignetteBuilder": "knitr",
  "Config/pak/sysreqs": "libicu-dev",
  "Repository": "https://ginavong.r-universe.dev",
  "Date/Publication": "2025-07-24 15:57:59 UTC",
  "RemoteUrl": "https://github.com/ginavong/lightfitr",
  "RemoteRef": "HEAD",
  "RemoteSha": "b019ca441fda8e11b7350880eec2616d736d1761",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-10-20 08:07:12 UTC",
    "User": "root"
  },
  "Author": "Gina Vong [aut, cre, cph] (ORCID:\n<https://orcid.org/0000-0002-3913-7667>)",
  "Maintainer": "Gina Vong <gywv500@york.ac.uk>",
  "_user": "ginavong",
  "_type": "src",
  "_file": "LightFitR_1.0.0.tar.gz",
  "_fileid": "https://r2.ropensci.org/2892d57a296a0d3570a95985b12753d610de109a7165147f3eeece52df51bc72",
  "_filesize": 718346,
  "_sha256": "2892d57a296a0d3570a95985b12753d610de109a7165147f3eeece52df51bc72",
  "_expires": "2027-01-28T08:11:27.000Z",
  "_created": "2026-10-20T08:07:12.000Z",
  "_published": "2026-10-20T08:11:28.732Z",
  "_upstream": "https://github.com/ginavong/lightfitr",
  "_status": "success",
  "_maintainer": {
    "name": "Gina Vong",
    "email": "gywv500@york.ac.uk",
    "login": "ginavong",
    "description": "",
    "uuid": 77932267,
    "orcid": "0000-0002-3913-7667"
  },
  "_jobs": [
    {
      "job": 118522716185,
      "time": 124,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "12249402695"
    },
    {
      "job": 118522716168,
      "time": 118,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12249856486"
    },
    {
      "job": 118522716195,
      "time": 181,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "12249308673"
    },
    {
      "job": 118522716274,
      "time": 181,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12250116051"
    },
    {
      "job": 118521603614,
      "time": 170,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12249597249"
    },
    {
      "job": 118522716260,
      "time": 93,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "12250275110"
    },
    {
      "job": 118522716313,
      "time": 73,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "12248849585"
    },
    {
      "job": 118522716253,
      "time": 80,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "12249318462"
    },
    {
      "job": 118522716258,
      "time": 75,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12248659840"
    }
  ],
  "_buildurl": "https://github.com/r-universe/ginavong/actions/runs/39390775478",
  "_commit": {
    "id": "b019ca441fda8e11b7350880eec2616d736d1761",
    "author": "Gina Vong <gina121vong@gmail.com>",
    "committer": "Gina Vong <gina121vong@gmail.com>",
    "message": "Update CRAN-SUBMISSION\n",
    "time": 1753372679
  },
  "_distro": "resolute",
  "_host": "GitHub-Actions",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 3.5",
      "role": "Depends"
    },
    {
      "package": "utils",
      "role": "Imports"
    },
    {
      "package": "graphics",
      "role": "Imports"
    },
    {
      "package": "lubridate",
      "role": "Imports"
    },
    {
      "package": "nnls",
      "role": "Imports"
    },
    {
      "package": "stringr",
      "role": "Imports"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    }
  ],
  "_owner": "ginavong",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [],
  "_tags": [],
  "_stars": 0,
  "_contributors": [
    {
      "user": "ginavong",
      "count": 127,
      "uuid": 77932267
    }
  ],
  "_userbio": {
    "uuid": 77932267,
    "type": "user",
    "name": "Gina",
    "followers": 0
  },
  "_downloads": {
    "count": 231,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/LightFitR"
  },
  "_devurl": "https://github.com/ginavong/lightfitr",
  "_searchresults": 15,
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/LightFitR.html",
    "extra/manual.pdf",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md"
  ],
  "_homeurl": "https://github.com/ginavong/lightfitr",
  "_realowner": "ginavong",
  "_cranurl": true,
  "_releases": [
    {
      "version": "1.0.0",
      "date": "2025-07-25"
    }
  ],
  "_exports": [
    "checkRange",
    "helio.checkFormat",
    "helio.csv_schedule",
    "helio.disco",
    "helio.json_schedule",
    "internal.closestIntensities",
    "makeRegime",
    "nnls_intensities",
    "read.helio_json",
    "sle_intensities",
    "write.helioSchedule"
  ],
  "_datasets": [
    {
      "name": "calibration",
      "title": "calibration data",
      "object": "calibration",
      "class": [
        "data.frame"
      ],
      "fields": [
        "filename",
        "time",
        "led",
        "intensity",
        "wavelength",
        "irradiance"
      ],
      "rows": 373392,
      "table": true,
      "tojson": true
    },
    {
      "name": "example_closest",
      "title": "closest intensities",
      "object": "example_closest",
      "class": [
        "matrix",
        "array"
      ],
      "fields": [],
      "rows": 9,
      "table": true,
      "tojson": true
    },
    {
      "name": "example_intensities",
      "title": "example intensities",
      "object": "example_intensities",
      "class": [
        "matrix",
        "array"
      ],
      "fields": [],
      "rows": 9,
      "table": true,
      "tojson": true
    },
    {
      "name": "example_regime",
      "title": "regime matrix",
      "object": "example_regime",
      "class": [
        "matrix",
        "array"
      ],
      "fields": [
        "00:00:00",
        "00:05:00",
        "00:10:00",
        "00:15:00",
        "00:20:00",
        "00:25:00",
        "00:30:00",
        "00:35:00",
        "00:40:00",
        "00:45:00"
      ],
      "rows": 13,
      "table": true,
      "tojson": true
    },
    {
      "name": "helio.dyna.leds",
      "title": "heliospectra DYNA LEDs",
      "object": "helio.dyna.leds",
      "class": [
        "data.frame"
      ],
      "fields": [
        "name",
        "wavelength",
        "colour"
      ],
      "rows": 9,
      "table": true,
      "tojson": true
    },
    {
      "name": "helio.eventLimit",
      "title": "Maximum number of events",
      "object": "helio.eventLimit",
      "class": [
        "numeric"
      ],
      "fields": [],
      "table": false,
      "tojson": true
    },
    {
      "name": "target_irradiance",
      "title": "target irradiances",
      "object": "target_irradiance",
      "class": [
        "matrix",
        "array"
      ],
      "fields": [],
      "rows": 9,
      "table": true,
      "tojson": true
    },
    {
      "name": "time_vector",
      "title": "time vector",
      "object": "time_vector",
      "class": [
        "POSIXct",
        "POSIXt"
      ],
      "fields": [],
      "table": false,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "calibration",
      "title": "calibration data",
      "topics": [
        "calibration"
      ]
    },
    {
      "page": "checkRange",
      "title": "Check that the intended irradiances are acheivable by the lights",
      "topics": [
        "checkRange"
      ]
    },
    {
      "page": "example_closest",
      "title": "closest intensities",
      "topics": [
        "example_closest"
      ]
    },
    {
      "page": "example_intensities",
      "title": "example intensities",
      "topics": [
        "example_intensities"
      ]
    },
    {
      "page": "example_regime",
      "title": "regime matrix",
      "topics": [
        "example_regime"
      ]
    },
    {
      "page": "helio.checkFormat",
      "title": "Check formatting of the heliospectra matrices",
      "topics": [
        "helio.checkFormat"
      ]
    },
    {
      "page": "helio.csv_schedule",
      "title": "Format regime_matrix for csv output that Heliospectra lights can parse",
      "topics": [
        "helio.csv_schedule"
      ]
    },
    {
      "page": "helio.disco",
      "title": "Turn Heliospectra into disco lights",
      "topics": [
        "helio.disco"
      ]
    },
    {
      "page": "helio.dyna.leds",
      "title": "heliospectra DYNA LEDs",
      "topics": [
        "helio.dyna.leds"
      ]
    },
    {
      "page": "helio.eventLimit",
      "title": "Maximum number of events",
      "topics": [
        "helio.eventLimit"
      ]
    },
    {
      "page": "helio.json_schedule",
      "title": "Format regime_matrix for json output that Heliospectra lights can parse",
      "topics": [
        "helio.json_schedule"
      ]
    },
    {
      "page": "internal.closestIntensities",
      "title": "Internal function. Find the intensities corresponding to the closest irradiance match between intended and calibration.",
      "topics": [
        "internal.closestIntensities"
      ]
    },
    {
      "page": "makeRegime",
      "title": "Create a regime (matrix) to program lights to achieve intended irradiances",
      "topics": [
        "makeRegime"
      ]
    },
    {
      "page": "nnls_intensities",
      "title": "Use non-linear least squares to interpolate intensities",
      "topics": [
        "nnls_intensities"
      ]
    },
    {
      "page": "read.helio_json",
      "title": "Read a heliospectra script (json format) into a matrix.",
      "topics": [
        "read.helio_json"
      ]
    },
    {
      "page": "sle_intensities",
      "title": "Use a system of linear equations to calculate intensities",
      "topics": [
        "sle_intensities"
      ]
    },
    {
      "page": "target_irradiance",
      "title": "target irradiances",
      "topics": [
        "target_irradiance"
      ]
    },
    {
      "page": "time_vector",
      "title": "time vector",
      "topics": [
        "time_vector"
      ]
    },
    {
      "page": "write.helioSchedule",
      "title": "Write the schedule to file that Heliospectra can parse",
      "topics": [
        "write.helioSchedule"
      ]
    }
  ],
  "_readme": "https://github.com/ginavong/lightfitr/raw/HEAD/README.md",
  "_rundeps": [
    "cli",
    "cpp11",
    "generics",
    "glue",
    "lifecycle",
    "lubridate",
    "magrittr",
    "nnls",
    "rlang",
    "stringi",
    "stringr",
    "timechange",
    "vctrs"
  ],
  "_vignettes": [
    {
      "source": "LightFitR.Rmd",
      "filename": "LightFitR.html",
      "title": "LightFitR",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Introduction",
        "Terminology",
        "Getting started",
        "Calibration data",
        "Target irradiance",
        "Event timepoints",
        "Creating the regime of intensities",
        "Exporting the regime",
        "How it works",
        "Closest intensities",
        "Predict intensities using SLE or NNLS",
        "Tidying",
        "Formatting",
        "System of linear equations (SLE) vs Non-negative least squares (NNLS)",
        "SLE",
        "NNLS"
      ],
      "created": "2025-07-03 15:11:39",
      "modified": "2025-07-04 10:44:41",
      "commits": 2
    }
  ],
  "_score": 3.8750612633917,
  "_indexed": true,
  "_nocasepkg": "lightfitr",
  "_universes": [
    "ginavong"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.0.0",
      "date": "2026-10-20T08:09:04.000Z",
      "distro": "resolute",
      "commit": "b019ca441fda8e11b7350880eec2616d736d1761",
      "fileid": "https://r2.ropensci.org/715eac6918e8667aa08a4d0947b59ed8bd65b62ebbbd580c77092ffa4ebd7fe8",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ginavong/actions/runs/39390775478"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "1.0.0",
      "date": "2026-10-20T08:09:02.000Z",
      "distro": "resolute",
      "commit": "b019ca441fda8e11b7350880eec2616d736d1761",
      "fileid": "https://r2.ropensci.org/5ddb94b341961d046c35760f9206771096ae09b043021c78ad23fc6a29189883",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ginavong/actions/runs/39390775478"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.0.0",
      "date": "2026-10-20T08:10:02.000Z",
      "commit": "b019ca441fda8e11b7350880eec2616d736d1761",
      "fileid": "https://r2.ropensci.org/6d31e658e943192e64ee8939bff6da3cc520d5e0102fafe28e4ec48399877af0",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ginavong/actions/runs/39390775478"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "1.0.0",
      "date": "2026-10-20T08:10:05.000Z",
      "commit": "b019ca441fda8e11b7350880eec2616d736d1761",
      "fileid": "https://r2.ropensci.org/711fb7c95d3acd83fae0eda2a9108dd0f9d7d3ae6ce09b6bd646696cb989ba68",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ginavong/actions/runs/39390775478"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.0.0",
      "date": "2026-10-20T08:09:02.000Z",
      "commit": "b019ca441fda8e11b7350880eec2616d736d1761",
      "fileid": "https://r2.ropensci.org/e7d58dccb3a210a48b5e0fd06c9414705aa9dfd2483bca0cf382845a25e04d44",
      "status": "success",
      "buildurl": "https://github.com/r-universe/ginavong/actions/runs/39390775478"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.0.0",
      "date": "2026-10-20T08:08:14.000Z",
      "commit": "b019ca441fda8e11b7350880eec2616d736d1761",
      "fileid": "https://r2.ropensci.org/4ded6cfec035cf136e329f42f419c0666b6357c54886551ee6f8acc83087a3af",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ginavong/actions/runs/39390775478"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.0.0",
      "date": "2026-10-20T08:08:16.000Z",
      "commit": "b019ca441fda8e11b7350880eec2616d736d1761",
      "fileid": "https://r2.ropensci.org/5ac0d3a1eab8edc02183b6081f7a78d59fd323782a13a1a5c306ba3d611c8daf",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ginavong/actions/runs/39390775478"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "1.0.0",
      "date": "2026-10-20T08:08:21.000Z",
      "commit": "b019ca441fda8e11b7350880eec2616d736d1761",
      "fileid": "https://r2.ropensci.org/1e457cb4f74e1589968bcfb63f43987bf96777880adadb5aaecbeda1e914dfb5",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ginavong/actions/runs/39390775478"
    }
  ]
}