{
  "_id": "6a1f0f8db401979e7341d5e4",
  "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-05-17 08:32: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": "2eb1d995072aa9ae3041234d638a0f56",
  "_user": "n-szeto",
  "_type": "src",
  "_file": "ActiSleep_1.0.0.tar.gz",
  "_fileid": "f887d175322a38737b49988192d81a1a6b5af815790a265bed16f6857ac95ff5",
  "_filesize": 226721,
  "_sha256": "f887d175322a38737b49988192d81a1a6b5af815790a265bed16f6857ac95ff5",
  "_created": "2026-05-17T08:32:37.000Z",
  "_published": "2026-06-02T17:14:53.098Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 79129295753,
      "time": 208,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7040869418"
    },
    {
      "job": 79129295666,
      "time": 212,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7040869803"
    },
    {
      "job": 79129296023,
      "time": 184,
      "config": "linux-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7040866628"
    },
    {
      "job": 79129296067,
      "time": 202,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7040868745"
    },
    {
      "job": 79129295966,
      "time": 217,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7040866884"
    },
    {
      "job": 79129295818,
      "time": 376,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7040884500"
    },
    {
      "job": 79129295694,
      "time": 253,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7040870423"
    },
    {
      "job": 79129295871,
      "time": 387,
      "config": "macos-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7040885796"
    },
    {
      "job": 79129295421,
      "time": 255,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7040845427"
    },
    {
      "job": 79129294769,
      "time": 153,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7364804659"
    },
    {
      "job": 79129295480,
      "time": 185,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7040866579"
    },
    {
      "job": 79129296170,
      "time": 191,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7040867388"
    },
    {
      "job": 79129295497,
      "time": 197,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7040868074"
    }
  ],
  "_buildurl": "https://github.com/r-universe/n-szeto/actions/runs/25985877462",
  "_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"
  },
  "_downloads": {
    "count": 210,
    "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.7.0",
      "os": "linux",
      "version": "1.0.0",
      "date": "2026-05-17T08:35:30.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "4ab48c6ed019254e083971360246d5da008be627",
      "fileid": "2e988b65ebc678b15e94e8fc924c0ccfd57d52c04acb7383cecd8033bc98f315",
      "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-05-17T08:35:23.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "4ab48c6ed019254e083971360246d5da008be627",
      "fileid": "f2792bbe848601943fc024c8a47d0a7e8a0756dad3bbb985fe71526830bfd554",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/n-szeto/actions/runs/25985877462"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "1.0.0",
      "date": "2026-05-17T08:35:08.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "4ab48c6ed019254e083971360246d5da008be627",
      "fileid": "9af166c09d4e197205c2bd07dfccd589ceaf2319e713b6cf88314b1bab6a7b06",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/n-szeto/actions/runs/25985877462"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "1.0.0",
      "date": "2026-05-17T08:35:17.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "4ab48c6ed019254e083971360246d5da008be627",
      "fileid": "9b589b27c8f5266b8529162d149db50d9174418634199548132cd27ffdf1978b",
      "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: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.6.0",
      "os": "wasm",
      "version": "1.0.0",
      "date": "2026-06-02T17:14:14.000Z",
      "arch": "emscripten",
      "commit": "4ab48c6ed019254e083971360246d5da008be627",
      "fileid": "c640d02c65b836bb095221e24d5a15353686ba062101b087e6b90e5ff40ef69c",
      "status": "success",
      "buildurl": "https://github.com/r-universe/n-szeto/actions/runs/25985877462"
    }
  ]
}