{
  "_id": "6a338f973efcd9bda439fc92",
  "Package": "ActiSleep",
  "Type": "Package",
  "Title": "Sleep Duration Estimation from Accelerometer Data",
  "Version": "1.0.0",
  "Date": "2026-04-16",
  "Authors@R": "c(\nperson(\"Jonggyu\", \"Baek\", email = \"Jonggyu.Baek@umassmed.edu\", role = \"aut\"),\nperson(\"Margaret\", \"Banker\", email = \"margaret.banker@northwestern.edu\", role = \"aut\"),\nperson(\"Nathan\", \"Szeto\", email = \"nszeto@umich.edu\", role = c(\"aut\", \"cre\")),\nperson(\"Alice\", \"Cleynen\", role = \"aut\"),\nperson(\"Guillem\", \"Rigaill\", role = \"aut\"),\nperson(\"Michel\", \"Koskas\", role = \"aut\"))",
  "Description": "Estimates daily sleep duration from wrist or hip\naccelerometer data using a Pruned Dynamic Programming (PDP)\nchangepoint algorithm. PDP partitions a minute-level activity\nseries into segments, then identifies transitions between sleep\nand wakefulness by detecting extended periods of low physical\nactivity.  Five cost-function models (Poisson, Normal, Negative\nbinomial, Variance, Exponential) accommodate different\nactivity-count distributions.  Optional non-wear detection and\nsleep diary integration are supported.  Reference: Baek,\nJonggyu, Banker, Margaret, Jansen, Erica C., She, Xichen,\nPeterson, Karen E., Pitchford, E. Andrew, Song, Peter X. K.\n(2021) An Efficient Segmentation Algorithm to Estimate Sleep\nDuration from Actigraphy Data <doi:10.1007/s12561-021-09309-3>.",
  "License": "GPL-3",
  "URL": "https://github.com/n-szeto/ActiSleep",
  "BugReports": "https://github.com/n-szeto/ActiSleep/issues",
  "Config/testthat/edition": "3",
  "VignetteBuilder": "knitr",
  "NeedsCompilation": "yes",
  "Encoding": "UTF-8",
  "RoxygenNote": "7.3.3",
  "Config/pak/sysreqs": "cmake libfontconfig1-dev libfreetype6-dev\nlibfribidi-dev make libharfbuzz-dev libicu-dev libpng-dev\nlibuv1-dev libxml2-dev",
  "Repository": "https://n-szeto.r-universe.dev",
  "Date/Publication": "2026-04-16 17:54:21 UTC",
  "RemoteUrl": "https://github.com/n-szeto/actisleep",
  "RemoteRef": "HEAD",
  "RemoteSha": "4ab48c6ed019254e083971360246d5da008be627",
  "Packaged": {
    "Date": "2026-06-16 08:40:37 UTC",
    "User": "root"
  },
  "Author": "Jonggyu Baek [aut],\nMargaret Banker [aut],\nNathan Szeto [aut, cre],\nAlice Cleynen [aut],\nGuillem Rigaill [aut],\nMichel Koskas [aut]",
  "Maintainer": "Nathan Szeto <nszeto@umich.edu>",
  "MD5sum": "6a8b3257cf426636bd9d2e7bb45624d7",
  "_user": "n-szeto",
  "_type": "src",
  "_file": "ActiSleep_1.0.0.tar.gz",
  "_fileid": "aa705e64639274e84ce6bed745727bf4afac093046465fc0cdd01e6f26a8281f",
  "_filesize": 230007,
  "_sha256": "aa705e64639274e84ce6bed745727bf4afac093046465fc0cdd01e6f26a8281f",
  "_created": "2026-06-16T08:40:37.000Z",
  "_published": "2026-06-18T06:26:31.920Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 82067548235,
      "time": 244,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7661676864"
    },
    {
      "job": 82067548145,
      "time": 209,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7661666585"
    },
    {
      "job": 82067548378,
      "time": 250,
      "config": "linux-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7661679037"
    },
    {
      "job": 82067548339,
      "time": 209,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7661666502"
    },
    {
      "job": 82067547785,
      "time": 134,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "FAIL",
      "artifact": ""
    },
    {
      "job": 82067547747,
      "time": 254,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "FAIL",
      "artifact": ""
    },
    {
      "job": 82067547741,
      "time": 102,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "FAIL",
      "artifact": ""
    },
    {
      "job": 82067547753,
      "time": 150,
      "config": "macos-release-x86_64",
      "r": "4.6.0",
      "check": "FAIL",
      "artifact": ""
    },
    {
      "job": 82067547915,
      "time": 291,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7661583870"
    },
    {
      "job": 82067548476,
      "time": 140,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7661640585"
    },
    {
      "job": 82067547762,
      "time": 272,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "FAIL",
      "artifact": ""
    },
    {
      "job": 82067547748,
      "time": 196,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "FAIL",
      "artifact": ""
    },
    {
      "job": 82067547743,
      "time": 64,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "FAIL",
      "artifact": ""
    }
  ],
  "_buildurl": "https://github.com/r-universe/n-szeto/actions/runs/27605054766",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/n-szeto/actisleep",
  "_commit": {
    "id": "4ab48c6ed019254e083971360246d5da008be627",
    "author": "Nathan Szeto <nszeto@umich.edu>",
    "committer": "Nathan Szeto <nszeto@umich.edu>",
    "message": "update DESCRIPTION links\n",
    "time": 1776362061
  },
  "_maintainer": {
    "name": "Nathan Szeto",
    "email": "nszeto@umich.edu",
    "login": "n-szeto",
    "uuid": 37320212
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 3.5",
      "role": "Depends"
    },
    {
      "package": "Rcpp",
      "role": "LinkingTo"
    },
    {
      "package": "lubridate",
      "role": "Imports"
    },
    {
      "package": "accelerometry",
      "role": "Imports"
    },
    {
      "package": "DBI",
      "role": "Imports"
    },
    {
      "package": "RSQLite",
      "role": "Imports"
    },
    {
      "package": "methods",
      "role": "Imports"
    },
    {
      "package": "utils",
      "role": "Imports"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "Rcpp",
      "role": "Imports"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    }
  ],
  "_owner": "n-szeto",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2026-16",
      "n": 3
    }
  ],
  "_tags": [],
  "_stars": 0,
  "_contributors": [
    {
      "user": "n-szeto",
      "count": 15,
      "uuid": 37320212
    }
  ],
  "_userbio": {
    "uuid": 37320212,
    "type": "user",
    "name": "Nathan Szeto",
    "followers": 0
  },
  "_downloads": {
    "count": 217,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/ActiSleep"
  },
  "_devurl": "https://github.com/n-szeto/actisleep",
  "_searchresults": 9,
  "_topics": [
    "cpp"
  ],
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/ActiSleep.html",
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/n-szeto/actisleep",
  "_realowner": "n-szeto",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.2.1",
      "date": "2022-11-21"
    },
    {
      "version": "0.2.2",
      "date": "2024-06-19"
    }
  ],
  "_exports": [
    "estimate_sleep",
    "read_agd"
  ],
  "_datasets": [
    {
      "name": "AccelData",
      "title": "Accelerometry Data",
      "object": "AccelData",
      "file": "AccelData.RData",
      "class": [
        "spec_tbl_df",
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [
        "date",
        "axis1",
        "axis2",
        "axis3",
        "steps",
        "lux",
        "inclineOff",
        "inclineStanding",
        "inclineSitting",
        "inclineLying",
        "VM"
      ],
      "rows": 1351,
      "table": true,
      "tojson": true
    },
    {
      "name": "SleepDiary1Day",
      "title": "Sleep Diary 1-Day Data",
      "object": "SleepDiary1Day",
      "file": "SleepDiary1Day.RData",
      "class": [
        "spec_tbl_df",
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [
        "bed",
        "wake"
      ],
      "rows": 1,
      "table": true,
      "tojson": true
    },
    {
      "name": "SleepDiary1Week",
      "title": "Sleep Diary 1-Week Data",
      "object": "SleepDiary1Week",
      "file": "SleepDiary1Week.RData",
      "class": [
        "spec_tbl_df",
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [
        "FOLIOCC",
        "etapa",
        "stage",
        "start_day",
        "time_bed1",
        "time_wake1",
        "time_bed2",
        "time_wake2",
        "time_bed3",
        "time_wake3",
        "time_bed4",
        "time_wake4",
        "time_bed5",
        "time_wake5",
        "time_bed6",
        "time_wake6",
        "time_bed7",
        "time_wake7"
      ],
      "rows": 1,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "AccelData",
      "title": "Accelerometry Data",
      "topics": [
        "AccelData"
      ]
    },
    {
      "page": "as.data.frame.actisleep_result",
      "title": "Extract the segments data frame from an actisleep_result",
      "topics": [
        "as.data.frame.actisleep_result"
      ]
    },
    {
      "page": "estimate_sleep",
      "title": "Sleep duration estimation via Pruned Dynamic Programming",
      "topics": [
        "estimate_sleep"
      ]
    },
    {
      "page": "print.actisleep_result",
      "title": "Print an actisleep_result",
      "topics": [
        "print.actisleep_result"
      ]
    },
    {
      "page": "read_agd",
      "title": "Read AGD file data",
      "topics": [
        "read_agd"
      ]
    },
    {
      "page": "Segmentor-class",
      "title": "This code was written by Alice Cleynen, Guillem Rigaill, and Michel Koskas as part of the Segmentor3IsBack package, which is no longer in CRAN. It has been imported into the ActiSleep package to ensure this package's longevity.",
      "topics": [
        "Segmentor-class"
      ]
    },
    {
      "page": "SleepDiary1Day",
      "title": "Sleep Diary 1-Day Data",
      "topics": [
        "SleepDiary1Day"
      ]
    },
    {
      "page": "SleepDiary1Week",
      "title": "Sleep Diary 1-Week Data",
      "topics": [
        "SleepDiary1Week"
      ]
    },
    {
      "page": "summary.actisleep_result",
      "title": "Summarise an actisleep_result",
      "topics": [
        "summary.actisleep_result"
      ]
    }
  ],
  "_readme": "https://github.com/n-szeto/actisleep/raw/HEAD/README.md",
  "_rundeps": [
    "accelerometry",
    "base64enc",
    "bit",
    "bit64",
    "blob",
    "bslib",
    "cachem",
    "cli",
    "cpp11",
    "cubature",
    "data.table",
    "DBI",
    "digest",
    "dplyr",
    "dvmisc",
    "evaluate",
    "farver",
    "fastmap",
    "fontawesome",
    "fs",
    "generics",
    "ggplot2",
    "glue",
    "gtable",
    "highr",
    "htmltools",
    "isoband",
    "jquerylib",
    "jsonlite",
    "kableExtra",
    "knitr",
    "labeling",
    "lattice",
    "lifecycle",
    "lubridate",
    "magrittr",
    "MASS",
    "Matrix",
    "memoise",
    "mime",
    "minqa",
    "mitools",
    "mvtnorm",
    "numDeriv",
    "pillar",
    "pkgconfig",
    "pracma",
    "R6",
    "rappdirs",
    "rbenchmark",
    "RColorBrewer",
    "Rcpp",
    "RcppArmadillo",
    "rlang",
    "rmarkdown",
    "RSQLite",
    "rstudioapi",
    "S7",
    "sass",
    "scales",
    "stringi",
    "stringr",
    "survey",
    "survival",
    "svglite",
    "systemfonts",
    "tab",
    "textshaping",
    "tibble",
    "tidyselect",
    "timechange",
    "tinytex",
    "utf8",
    "vctrs",
    "viridisLite",
    "withr",
    "xfun",
    "xml2",
    "yaml"
  ],
  "_sysdeps": [
    {
      "shlib": "libstdc++",
      "package": "libstdc++6",
      "source": "gcc",
      "version": "14.2.0-4ubuntu2~24.04.1",
      "name": "c++",
      "homepage": "http://gcc.gnu.org/",
      "description": "GNU Standard C++ Library v3"
    }
  ],
  "_vignettes": [
    {
      "source": "actisleep_tutorial.Rmd",
      "filename": "actisleep_tutorial.html",
      "title": "ActiSleep Tutorial",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Introduction",
        "Algorithm overview",
        "Loading and Inspecting Data",
        "Basic Sleep Estimation",
        "Understanding the output",
        "Non-Wear Detection",
        "Sleep Diary Integration",
        "Batch Processing Multiple Subjects",
        "Cost Model Selection",
        "Parameter Tuning",
        "threshold_pct",
        "segments_per_hour",
        "no_activity_cutoff",
        "min_sleep_minutes",
        "Reading AGD Files",
        "References"
      ],
      "created": "2026-04-16 17:52:18",
      "modified": "2026-04-16 17:52:18",
      "commits": 1
    }
  ],
  "_score": 3.6989700043360187,
  "_indexed": true,
  "_nocasepkg": "actisleep",
  "_universes": [
    "n-szeto"
  ],
  "_binaries": [
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.0.0",
      "date": "2026-05-17T08:35:22.000Z",
      "arch": "aarch64",
      "commit": "4ab48c6ed019254e083971360246d5da008be627",
      "fileid": "996799edcc1a69a5bcec08bbc8740fb0951fe064ab4d20f6d143db793a276673",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/n-szeto/actions/runs/25985877462"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.0.0",
      "date": "2026-05-17T08:36:32.000Z",
      "arch": "x86_64",
      "commit": "4ab48c6ed019254e083971360246d5da008be627",
      "fileid": "0e67941406444fea98cd53d657fc4f2d00dc5bd3057e1f3446a978224afd9d0f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/n-szeto/actions/runs/25985877462"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "1.0.0",
      "date": "2026-05-17T08:35:17.000Z",
      "arch": "aarch64",
      "commit": "4ab48c6ed019254e083971360246d5da008be627",
      "fileid": "c274473d0ebd3c8431af1b06df330e648a007f3cd785c9e3069c5202b7c964bf",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/n-szeto/actions/runs/25985877462"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "1.0.0",
      "date": "2026-05-17T08:36:57.000Z",
      "arch": "x86_64",
      "commit": "4ab48c6ed019254e083971360246d5da008be627",
      "fileid": "eb93b62896fe2b76addbc31c6db890eed2711344405a47b4f87b982d89a25a3c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/n-szeto/actions/runs/25985877462"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.0.0",
      "date": "2026-05-17T08:34:14.000Z",
      "arch": "x86_64",
      "commit": "4ab48c6ed019254e083971360246d5da008be627",
      "fileid": "30224821f684e636babf02d9758ea806dce1d8092fbc0765b0dd20c9edc702bd",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/n-szeto/actions/runs/25985877462"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.0.0",
      "date": "2026-05-17T08:34:21.000Z",
      "arch": "x86_64",
      "commit": "4ab48c6ed019254e083971360246d5da008be627",
      "fileid": "14202f985e18f5a6ca2804ccd7d3cf440ebd52f3bc67659adc903c25a0696b0a",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/n-szeto/actions/runs/25985877462"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "1.0.0",
      "date": "2026-05-17T08:34:19.000Z",
      "arch": "x86_64",
      "commit": "4ab48c6ed019254e083971360246d5da008be627",
      "fileid": "270f860b9d44c86d46261855ed36593e0243a40bf0d6dd9942da5c61f0e8e81e",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/n-szeto/actions/runs/25985877462"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.0.0",
      "date": "2026-06-16T08:44:06.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "4ab48c6ed019254e083971360246d5da008be627",
      "fileid": "12624d933a2d3dcae074165369e823d95c8b494d5805e9940694538c8fa4ff03",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/n-szeto/actions/runs/27605054766"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.0.0",
      "date": "2026-06-16T08:43:26.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "4ab48c6ed019254e083971360246d5da008be627",
      "fileid": "e079a25dc068a924f447a8e8f00d5c7031cbf6715aec3f19fc6eb47ccb899346",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/n-szeto/actions/runs/27605054766"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "1.0.0",
      "date": "2026-06-16T08:44:12.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "4ab48c6ed019254e083971360246d5da008be627",
      "fileid": "4bf8f93868e60654991801d70dce8ab115ec0930bdb1a3e03372d6cd7bc30328",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/n-szeto/actions/runs/27605054766"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "1.0.0",
      "date": "2026-06-16T08:43:32.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "4ab48c6ed019254e083971360246d5da008be627",
      "fileid": "1de4eab9a579da4e280b96fc4ac706aa2938d930a771158014d9d2ba173a117d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/n-szeto/actions/runs/27605054766"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.0.0",
      "date": "2026-06-16T08:43:25.000Z",
      "arch": "emscripten",
      "commit": "4ab48c6ed019254e083971360246d5da008be627",
      "fileid": "1a5dfe8e12206397efe8b1c774ba3fc687b4aa60a46837c10a02ba95f7eb0a21",
      "status": "success",
      "buildurl": "https://github.com/r-universe/n-szeto/actions/runs/27605054766"
    }
  ]
}