{
  "_id": "6a45aa296ff6f23575530617",
  "Package": "slumbR",
  "Title": "Sleep Diaries Helper Package for R",
  "Version": "0.1.0",
  "Authors@R": "c(\nperson(\"Lucas\", \"França\",\nemail = \"lucas.franca@northumbria.ac.uk\",\nrole = c(\"aut\", \"cre\"),\ncomment = c(ORCID = \"0000-0003-0853-1319\")),\nperson(\"Mario\", \"Leocadio-Miguel\",\nrole = \"aut\",\ncomment = c(ORCID = \"0000-0002-7248-3529\"))\n)",
  "Description": "A companion package for the Sleep Diaries app\n(https://sleepdiaries.circadia-lab.uk). Provides tools to\nimport participant JSON exports, compute standard sleep\nvariables (sleep onset latency, total sleep time, sleep\nefficiency, WASO, etc.), re-score validated sleep\nquestionnaires (ESS, ISI, DBAS-16, MEQ, PSQI, RU-SATED,\nSTOP-BANG, MCTQ), and assemble tidy study-level data frames\nready for downstream analysis.",
  "License": "MIT + file LICENSE",
  "Encoding": "UTF-8",
  "Roxygen": "list(markdown = TRUE)",
  "RoxygenNote": "7.3.3",
  "VignetteBuilder": "knitr",
  "Config/testthat/edition": "3",
  "URL": "https://github.com/circadia-bio/slumbR,\nhttps://slumbr.circadia-lab.uk",
  "BugReports": "https://github.com/circadia-bio/slumbR/issues",
  "Config/pak/sysreqs": "libicu-dev",
  "Repository": "https://circadia-bio.r-universe.dev",
  "Date/Publication": "2026-05-14 17:48:52 UTC",
  "RemoteUrl": "https://github.com/circadia-bio/slumbR",
  "RemoteRef": "main",
  "RemoteSha": "3bb8deb763a28fd51f2e3513d07681459284341d",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-07-01 23:56:24 UTC",
    "User": "root"
  },
  "Author": "Lucas França [aut, cre] (ORCID:\n<https://orcid.org/0000-0003-0853-1319>),\nMario Leocadio-Miguel [aut] (ORCID:\n<https://orcid.org/0000-0002-7248-3529>)",
  "Maintainer": "Lucas França <lucas.franca@northumbria.ac.uk>",
  "MD5sum": "46616c47cb0d951726ec770d1e2328fa",
  "_user": "circadia-bio",
  "_type": "src",
  "_file": "slumbR_0.1.0.tar.gz",
  "_fileid": "a674b676546454985a87432c62c214a6b9cfda3ebc6b180dda1fbad6c48b3684",
  "_filesize": 116350,
  "_sha256": "a674b676546454985a87432c62c214a6b9cfda3ebc6b180dda1fbad6c48b3684",
  "_created": "2026-07-01T23:56:24.000Z",
  "_published": "2026-07-02T00:00:41.781Z",
  "_distro": "resolute",
  "_jobs": [
    {
      "job": 84662568735,
      "time": 136,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "NOTE",
      "artifact": "8025550059"
    },
    {
      "job": 84662568761,
      "time": 190,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "NOTE",
      "artifact": "8025562797"
    },
    {
      "job": 84662568751,
      "time": 142,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "NOTE",
      "artifact": "8025547877"
    },
    {
      "job": 84662568732,
      "time": 182,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "NOTE",
      "artifact": "8025552762"
    },
    {
      "job": 84662162087,
      "time": 204,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8025518646"
    },
    {
      "job": 84662568737,
      "time": 109,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "8025544284"
    },
    {
      "job": 84662568776,
      "time": 69,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "NOTE",
      "artifact": "8025535141"
    },
    {
      "job": 84662568764,
      "time": 92,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "NOTE",
      "artifact": "8025540568"
    },
    {
      "job": 84662568759,
      "time": 71,
      "config": "windows-release",
      "r": "4.6.1",
      "check": "NOTE",
      "artifact": "8025535544"
    }
  ],
  "_buildurl": "https://github.com/r-universe/circadia-bio/actions/runs/28555563401",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/circadia-bio/slumbR",
  "_commit": {
    "id": "3bb8deb763a28fd51f2e3513d07681459284341d",
    "author": "Lucas França <lucas.franca@northumbria.ac.uk>",
    "committer": "GitHub <noreply@github.com>",
    "message": "Update README.md",
    "time": 1778780932
  },
  "_maintainer": {
    "name": "Lucas França",
    "email": "lucas.franca@northumbria.ac.uk",
    "login": "lucasfr",
    "description": "Immigrant, physicist, neuroscientist, open source and data science enthusiast.",
    "uuid": 502265,
    "orcid": "0000-0003-0853-1319"
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.1.0",
      "role": "Depends"
    },
    {
      "package": "jsonlite",
      "version": ">= 1.8.0",
      "role": "Imports"
    },
    {
      "package": "dplyr",
      "version": ">= 1.1.0",
      "role": "Imports"
    },
    {
      "package": "tidyr",
      "version": ">= 1.3.0",
      "role": "Imports"
    },
    {
      "package": "lubridate",
      "version": ">= 1.9.0",
      "role": "Imports"
    },
    {
      "package": "purrr",
      "version": ">= 1.0.0",
      "role": "Imports"
    },
    {
      "package": "rlang",
      "version": ">= 1.1.0",
      "role": "Imports"
    },
    {
      "package": "cli",
      "version": ">= 3.6.0",
      "role": "Imports"
    },
    {
      "package": "ggplot2",
      "version": ">= 3.4.0",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    }
  ],
  "_owner": "circadia-bio",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2026-20",
      "n": 16
    }
  ],
  "_tags": [],
  "_stars": 0,
  "_contributors": [
    {
      "user": "lucasfr",
      "count": 16,
      "uuid": 502265
    }
  ],
  "_userbio": {
    "uuid": 202348599,
    "type": "organization",
    "name": "Circadia Lab",
    "followers": 3
  },
  "_downloads": {
    "count": 0,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/slumbR"
  },
  "_devurl": "https://github.com/circadia-bio/slumbr",
  "_pkgdown": "https://slumbr.circadia-lab.uk",
  "_searchresults": 0,
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/readme.html",
    "extra/readme.md",
    "extra/slumbR.html",
    "LICENSE",
    "manual.pdf"
  ],
  "_cranurl": false,
  "_exports": [
    "available_instruments",
    "compute_sleep_vars",
    "diary_long",
    "diary_wide",
    "read_export",
    "read_study",
    "score_all_questionnaires",
    "score_questionnaire",
    "study_summary"
  ],
  "_help": [
    {
      "page": "available_instruments",
      "title": "List available questionnaire instruments",
      "topics": [
        "available_instruments"
      ]
    },
    {
      "page": "compute_sleep_vars",
      "title": "Compute derived sleep variables from raw morning diary answers",
      "topics": [
        "compute_sleep_vars"
      ]
    },
    {
      "page": "diary_long",
      "title": "Extract the long-format diary data frame from a study or export",
      "topics": [
        "diary_long",
        "diary_long.data.frame",
        "diary_long.slumbr_export",
        "diary_long.slumbr_study"
      ]
    },
    {
      "page": "diary_wide",
      "title": "Pivot diary entries to wide format — one row per participant per night",
      "topics": [
        "diary_wide"
      ]
    },
    {
      "page": "read_export",
      "title": "Read a single Sleep Diaries JSON export",
      "topics": [
        "read_export"
      ]
    },
    {
      "page": "read_study",
      "title": "Read a directory of Sleep Diaries JSON exports into a study object",
      "topics": [
        "read_study"
      ]
    },
    {
      "page": "score_all_questionnaires",
      "title": "Re-score all questionnaires in a study or export",
      "topics": [
        "score_all_questionnaires"
      ]
    },
    {
      "page": "score_questionnaire",
      "title": "Score a Sleep Diaries questionnaire from raw answers",
      "topics": [
        "score_questionnaire"
      ]
    },
    {
      "page": "study_summary",
      "title": "Summarise a study's diary data at the participant level",
      "topics": [
        "study_summary"
      ]
    }
  ],
  "_pkglogo": "https://github.com/circadia-bio/slumbR/raw/main/man/figures/logo.svg",
  "_readme": "https://github.com/circadia-bio/slumbR/raw/main/README.md",
  "_rundeps": [
    "cli",
    "cpp11",
    "dplyr",
    "generics",
    "glue",
    "jsonlite",
    "lifecycle",
    "lubridate",
    "magrittr",
    "pillar",
    "pkgconfig",
    "purrr",
    "R6",
    "rlang",
    "stringi",
    "stringr",
    "tibble",
    "tidyr",
    "tidyselect",
    "timechange",
    "utf8",
    "vctrs",
    "withr"
  ],
  "_vignettes": [
    {
      "source": "getting-started.Rmd",
      "filename": "getting-started.html",
      "title": "Getting started with slumbR",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Overview",
        "Loading example data",
        "Diary data: long format",
        "Diary data: wide format",
        "Participant-level summary",
        "Clinical flags",
        "Questionnaire scores",
        "Accessing a single participant",
        "Re-scoring all questionnaires",
        "Next steps"
      ],
      "created": "2026-05-13 22:23:35",
      "modified": "2026-05-13 22:23:35",
      "commits": 1
    }
  ],
  "_score": 2.6989700043360187,
  "_indexed": true,
  "_nocasepkg": "slumbr",
  "_universes": [
    "circadia-bio",
    "lucasfr"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.1.0",
      "date": "2026-07-01T23:58:48.000Z",
      "distro": "resolute",
      "commit": "3bb8deb763a28fd51f2e3513d07681459284341d",
      "fileid": "48e370b49d248a53ac7b21361b51a84e5d2cdfb1ba04a89ce79ab4c80cc94d3d",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/circadia-bio/actions/runs/28555563401"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.1.0",
      "date": "2026-07-01T23:59:38.000Z",
      "distro": "resolute",
      "commit": "3bb8deb763a28fd51f2e3513d07681459284341d",
      "fileid": "3d7413226f3af293bac5048395cd71358167a52edc81df233e1306512015b8c1",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/circadia-bio/actions/runs/28555563401"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.1.0",
      "date": "2026-07-01T23:58:41.000Z",
      "commit": "3bb8deb763a28fd51f2e3513d07681459284341d",
      "fileid": "0d87c1fdc44ee4b7aac2ad0823183d452245184de52f6728a9c1741d66d402fd",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/circadia-bio/actions/runs/28555563401"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.1.0",
      "date": "2026-07-01T23:58:55.000Z",
      "commit": "3bb8deb763a28fd51f2e3513d07681459284341d",
      "fileid": "3036b7f5cda61ace9e8a37a2230c4834838bd950fc24940c3818ab7aeaa8b0f8",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/circadia-bio/actions/runs/28555563401"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.1.0",
      "date": "2026-07-01T23:58:39.000Z",
      "commit": "3bb8deb763a28fd51f2e3513d07681459284341d",
      "fileid": "b5e56cc3724e4cae610926d3abc4e352bbed2646942b150412b7cb76e0d12f97",
      "status": "success",
      "buildurl": "https://github.com/r-universe/circadia-bio/actions/runs/28555563401"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.1.0",
      "date": "2026-07-01T23:57:36.000Z",
      "commit": "3bb8deb763a28fd51f2e3513d07681459284341d",
      "fileid": "24e29e30a1a3f8a20ea4a226b46fb683ae5f37481a833a7c40c818dd76f918e5",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/circadia-bio/actions/runs/28555563401"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.1.0",
      "date": "2026-07-01T23:57:57.000Z",
      "commit": "3bb8deb763a28fd51f2e3513d07681459284341d",
      "fileid": "325756dfa4234a2077e421bc75d8093bbb57121c7cb0146d17f38bb862a27559",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/circadia-bio/actions/runs/28555563401"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.1.0",
      "date": "2026-07-01T23:57:37.000Z",
      "commit": "3bb8deb763a28fd51f2e3513d07681459284341d",
      "fileid": "337250ff94bf8a741ec55c06848bd82c2b3283063a3e36bf7a11339aa7d0258d",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/circadia-bio/actions/runs/28555563401"
    }
  ]
}