{
  "_id": "6a100430acfb0bcc41c7d7fe",
  "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-05-22 07:18:23 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>",
  "MD5sum": "e87aab22766cff573bf6981be7cdfa4a",
  "_user": "ginavong",
  "_type": "src",
  "_file": "LightFitR_1.0.0.tar.gz",
  "_fileid": "0b1d2342a59af85c95a6919fb7b1ab98a4d5c909f4476e44d707af6fb18230c6",
  "_filesize": 716766,
  "_sha256": "0b1d2342a59af85c95a6919fb7b1ab98a4d5c909f4476e44d707af6fb18230c6",
  "_created": "2026-05-22T07:18:23.000Z",
  "_published": "2026-05-22T07:22:24.553Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 77334250919,
      "time": 141,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7154963927"
    },
    {
      "job": 77334250930,
      "time": 145,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7154965040"
    },
    {
      "job": 77334250928,
      "time": 143,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7154958392"
    },
    {
      "job": 77334250929,
      "time": 200,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7154964920"
    },
    {
      "job": 77333819575,
      "time": 193,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7154921349"
    },
    {
      "job": 77334250923,
      "time": 105,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7154953235"
    },
    {
      "job": 77334250982,
      "time": 108,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7154953930"
    },
    {
      "job": 77334250952,
      "time": 87,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7154947559"
    },
    {
      "job": 77334250938,
      "time": 102,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7154952067"
    }
  ],
  "_buildurl": "https://github.com/r-universe/ginavong/actions/runs/26273988282",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/ginavong/lightfitr",
  "_commit": {
    "id": "b019ca441fda8e11b7350880eec2616d736d1761",
    "author": "Gina Vong <gina121vong@gmail.com>",
    "committer": "Gina Vong <gina121vong@gmail.com>",
    "message": "Update CRAN-SUBMISSION\n",
    "time": 1753372679
  },
  "_maintainer": {
    "name": "Gina Vong",
    "email": "gywv500@york.ac.uk",
    "login": "ginavong",
    "description": "",
    "uuid": 77932267,
    "orcid": "0000-0002-3913-7667"
  },
  "_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": [
    {
      "week": "2025-23",
      "n": 1
    },
    {
      "week": "2025-24",
      "n": 1
    },
    {
      "week": "2025-27",
      "n": 2
    },
    {
      "week": "2025-28",
      "n": 9
    },
    {
      "week": "2025-30",
      "n": 4
    }
  ],
  "_tags": [],
  "_stars": 0,
  "_contributors": [
    {
      "user": "ginavong",
      "count": 127,
      "uuid": 77932267
    }
  ],
  "_userbio": {
    "uuid": 77932267,
    "type": "user",
    "name": "Gina"
  },
  "_downloads": {
    "count": 182,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/LightFitR"
  },
  "_devurl": "https://github.com/ginavong/lightfitr",
  "_searchresults": 15,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/LightFitR.html",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_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": 4.574031267727719,
  "_indexed": true,
  "_nocasepkg": "lightfitr",
  "_universes": [
    "ginavong"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.0.0",
      "date": "2026-05-22T07:20:37.000Z",
      "distro": "noble",
      "commit": "b019ca441fda8e11b7350880eec2616d736d1761",
      "fileid": "dde0efc7b04173fb6bccbf6eb0126deb03f3cfdda6bbc81a0f16891ef11c717e",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ginavong/actions/runs/26273988282"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "1.0.0",
      "date": "2026-05-22T07:20:43.000Z",
      "distro": "noble",
      "commit": "b019ca441fda8e11b7350880eec2616d736d1761",
      "fileid": "5b7fdd3127dfdd4c65e16cc88492b0ed178a651c8928fc2da327816e3c8dbb16",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ginavong/actions/runs/26273988282"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.0.0",
      "date": "2026-05-22T07:20:28.000Z",
      "commit": "b019ca441fda8e11b7350880eec2616d736d1761",
      "fileid": "64371d59b3e3566c247859a469593941e5fef1f760fe3a630f27ff06441b6ecd",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ginavong/actions/runs/26273988282"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "1.0.0",
      "date": "2026-05-22T07:20:34.000Z",
      "commit": "b019ca441fda8e11b7350880eec2616d736d1761",
      "fileid": "9e661e3d89e394b8d16dc0324ccbe301eab9fea32e6ea7d8052fd0eaf9bdc8bc",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ginavong/actions/runs/26273988282"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.0.0",
      "date": "2026-05-22T07:20:29.000Z",
      "commit": "b019ca441fda8e11b7350880eec2616d736d1761",
      "fileid": "6ec58a74131b7fdf9bec8c614991440216d934dc081f3684271ce937d199c332",
      "status": "success",
      "buildurl": "https://github.com/r-universe/ginavong/actions/runs/26273988282"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.0.0",
      "date": "2026-05-22T07:19:56.000Z",
      "commit": "b019ca441fda8e11b7350880eec2616d736d1761",
      "fileid": "e02f1b061d7c4d3a15a0a579bad094f08c006ce937a94e36d028c7b5dcfb49cc",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ginavong/actions/runs/26273988282"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.0.0",
      "date": "2026-05-22T07:19:38.000Z",
      "commit": "b019ca441fda8e11b7350880eec2616d736d1761",
      "fileid": "01a3ca3d9607f059721cb62d50c1cf7b99bd0760af01ef58d6d902869b50c249",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ginavong/actions/runs/26273988282"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "1.0.0",
      "date": "2026-05-22T07:19:58.000Z",
      "commit": "b019ca441fda8e11b7350880eec2616d736d1761",
      "fileid": "66520ea18dbe6d144bc12a003274b16d6d58cf2cbe73ba1f3ba0019670174f5f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ginavong/actions/runs/26273988282"
    }
  ]
}