{
  "_id": "6a2cf3463efcd9bda42e411f",
  "Package": "ActiSleep",
  "Type": "Package",
  "Title": "Sleep Duration Estimate Algorithm",
  "Version": "0.2.2",
  "Date": "2024-06-17",
  "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": "Provides sleep duration estimates using a Pruned Dynamic\nProgramming (PDP) algorithm that efficiently identifies\nchange-points. PDP applied to physical activity data can\nidentify transitions from wakefulness to sleep and vice versa.\nBaek, Jonggyu, 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",
  "NeedsCompilation": "yes",
  "Encoding": "UTF-8",
  "RoxygenNote": "7.3.1",
  "Packaged": {
    "Date": "2026-06-11 10:25:32 UTC",
    "User": "root"
  },
  "Author": "Jonggyu Baek [aut], Margaret Banker [aut], Nathan Szeto [aut,\ncre], Alice Cleynen [aut], Guillem Rigaill [aut], Michel Koskas\n[aut]",
  "Maintainer": "Nathan Szeto <nszeto@umich.edu>",
  "Config/pak/sysreqs": "cmake libfontconfig1-dev libfreetype6-dev\nlibfribidi-dev make libharfbuzz-dev libicu-dev libpng-dev\nlibuv1-dev libxml2-dev",
  "Repository": "https://cranhaven.r-universe.dev",
  "Date/Publication": "2026-06-11 02:02:00 UTC",
  "RemoteUrl": "https://github.com/cranhaven/cranhaven.r-universe.dev",
  "RemoteRef": "package/ActiSleep",
  "RemoteSha": "633eccb19ae2bf375aa6cc05af77ac00494b09d7",
  "RemoteSubdir": "ActiSleep",
  "MD5sum": "80bc067dd1c8c0c00aa67fbc9006207f",
  "_user": "cranhaven",
  "_type": "src",
  "_file": "ActiSleep_0.2.2.tar.gz",
  "_fileid": "f67a5461ec9e3cbe1a090090844f7f60c4d2aa5e7ed8cd9cfb43ff0738bb78a9",
  "_filesize": 167253,
  "_sha256": "f67a5461ec9e3cbe1a090090844f7f60c4d2aa5e7ed8cd9cfb43ff0738bb78a9",
  "_created": "2026-06-11T10:25:32.000Z",
  "_published": "2026-06-13T06:05:58.253Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 81167329908,
      "time": 174,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7561561660"
    },
    {
      "job": 81167329838,
      "time": 187,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7561565321"
    },
    {
      "job": 81167329896,
      "time": 181,
      "config": "linux-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7561562895"
    },
    {
      "job": 81167329900,
      "time": 186,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7561564822"
    },
    {
      "job": 81167329735,
      "time": 389,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "FAIL",
      "artifact": ""
    },
    {
      "job": 81167329970,
      "time": 395,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7584528722"
    },
    {
      "job": 81167329898,
      "time": 241,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7584494082"
    },
    {
      "job": 81167329953,
      "time": 472,
      "config": "macos-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7584546267"
    },
    {
      "job": 81167329691,
      "time": 271,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7561497864"
    },
    {
      "job": 81167329836,
      "time": 152,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7561552574"
    },
    {
      "job": 81167329893,
      "time": 165,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7561557472"
    },
    {
      "job": 81167330023,
      "time": 164,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7561556938"
    },
    {
      "job": 81167329885,
      "time": 170,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7561560385"
    }
  ],
  "_buildurl": "https://github.com/r-universe/cranhaven/actions/runs/27340167008",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/cranhaven/cranhaven.r-universe.dev",
  "_commit": {
    "id": "633eccb19ae2bf375aa6cc05af77ac00494b09d7",
    "author": "GitHub Action <action@github.com>",
    "committer": "GitHub Action <action@github.com>",
    "message": "Add ActiSleep to CRANhaven, because archived on 2026-06-11 02:02:00 +0000\n",
    "time": 1781143320
  },
  "_maintainer": {
    "name": "Nathan Szeto",
    "email": "nszeto@umich.edu",
    "login": "n-szeto",
    "uuid": 37320212
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 3.5",
      "role": "Depends"
    },
    {
      "package": "dplyr",
      "role": "Imports"
    },
    {
      "package": "stringr",
      "role": "Imports"
    },
    {
      "package": "lubridate",
      "role": "Imports"
    },
    {
      "package": "accelerometry",
      "role": "Imports"
    },
    {
      "package": "DBI",
      "role": "Imports"
    },
    {
      "package": "RSQLite",
      "role": "Imports"
    },
    {
      "package": "lazyeval",
      "role": "Imports"
    },
    {
      "package": "methods",
      "role": "Imports"
    },
    {
      "package": "utils",
      "role": "Imports"
    },
    {
      "package": "tibble",
      "role": "Imports"
    }
  ],
  "_owner": "cranhaven",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2026-24",
      "n": 1
    }
  ],
  "_tags": [],
  "_topics": [
    "archived",
    "packages",
    "r-universe",
    "cpp"
  ],
  "_stars": 5,
  "_contributors": [
    {
      "user": "henrikbengtsson",
      "count": 183,
      "uuid": 1616850
    }
  ],
  "_userbio": {
    "uuid": 161993010,
    "type": "organization",
    "name": "cranhaven",
    "description": "CRANhaven - Repository for Recently Archived CRAN Packages"
  },
  "_downloads": {
    "count": 220,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/ActiSleep"
  },
  "_devurl": "https://github.com/cranhaven/cranhaven.r-universe.dev",
  "_searchresults": 9,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/ActiSleep.html",
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/n-szeto/actisleep",
  "_realowner": "n-szeto",
  "_cranurl": false,
  "_releases": [
    {
      "version": "0.2.1",
      "date": "2022-11-21"
    },
    {
      "version": "0.2.2",
      "date": "2024-06-19"
    }
  ],
  "_exports": [
    "aggregate_dat",
    "ChangeTimeVar",
    "GetDiary_subj",
    "read_agd",
    "SleepEstEachDay"
  ],
  "_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": "aggregate_dat",
      "title": "Aggregate Accelerometer Data",
      "topics": [
        "aggregate_dat"
      ]
    },
    {
      "page": "cal_mean_idx",
      "title": "Calculate Mean Index",
      "topics": [
        "cal_mean_idx"
      ]
    },
    {
      "page": "ChangeTimeVar",
      "title": "Reformat Time Variable",
      "topics": [
        "ChangeTimeVar"
      ]
    },
    {
      "page": "GetDiary_subj",
      "title": "Diary In/Out-bed Times",
      "topics": [
        "GetDiary_subj"
      ]
    },
    {
      "page": "GetEstSleepInterval_subj",
      "title": "Estimated sleep interval",
      "topics": [
        "GetEstSleepInterval_subj"
      ]
    },
    {
      "page": "read_agd",
      "title": "Read in AGD filedata",
      "topics": [
        "read_agd"
      ]
    },
    {
      "page": "SearchSleepSeg",
      "title": "Find specific sleep segment",
      "topics": [
        "SearchSleepSeg"
      ]
    },
    {
      "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": "SleepEstEachDay",
      "title": "Daily sleep estimate",
      "topics": [
        "SleepEstEachDay"
      ]
    }
  ],
  "_readme": "https://github.com/cranhaven/cranhaven.r-universe.dev/raw/package/ActiSleep/ActiSleep/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",
    "lazyeval",
    "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"
    }
  ],
  "_score": 2.3979400086720375,
  "_indexed": false,
  "_nocasepkg": "actisleep",
  "_universes": [
    "cranhaven"
  ],
  "_indexurl": "https://n-szeto.r-universe.dev/ActiSleep",
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.2.2",
      "date": "2026-06-11T10:28:09.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "633eccb19ae2bf375aa6cc05af77ac00494b09d7",
      "fileid": "e2e42d20c050186ea1606001f7affa28eba2d403007463cdde5ef6e3f402c9d5",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cranhaven/actions/runs/27340167008"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.2.2",
      "date": "2026-06-11T10:28:11.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "633eccb19ae2bf375aa6cc05af77ac00494b09d7",
      "fileid": "f03bb8c806ccaf36035d64ec2c7c4f422ad90b1b2b5426758ec2ae89eeef7179",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cranhaven/actions/runs/27340167008"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.2.2",
      "date": "2026-06-11T10:28:09.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "633eccb19ae2bf375aa6cc05af77ac00494b09d7",
      "fileid": "cf3fc40692fa635e04992984a3eac53a4b629c7a386b9b0c79dc3371b34c07c0",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cranhaven/actions/runs/27340167008"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.2.2",
      "date": "2026-06-11T10:28:07.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "633eccb19ae2bf375aa6cc05af77ac00494b09d7",
      "fileid": "57177fc504ea8a0425a36ee96ebbd0419e5a52b370fe1c68b3c0e4a9430081c4",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cranhaven/actions/runs/27340167008"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.2.2",
      "date": "2026-06-12T06:20:10.000Z",
      "arch": "x86_64",
      "commit": "633eccb19ae2bf375aa6cc05af77ac00494b09d7",
      "fileid": "b7016987061b46bd06f57c4974eb0cc4f3cf242f39ab2c08426986e443723a3c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cranhaven/actions/runs/27340167008"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.2.2",
      "date": "2026-06-12T06:18:07.000Z",
      "arch": "aarch64",
      "commit": "633eccb19ae2bf375aa6cc05af77ac00494b09d7",
      "fileid": "ec81ce15ac8722b48f5c606cf442dd9f3257b83a3ceabda799ede97a5f5dbb42",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cranhaven/actions/runs/27340167008"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.2.2",
      "date": "2026-06-12T06:20:53.000Z",
      "arch": "x86_64",
      "commit": "633eccb19ae2bf375aa6cc05af77ac00494b09d7",
      "fileid": "9bd78bdd87ea8c7852c7e08fc3b5390e9c096bc2f63c880e2d7ae333056ad724",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cranhaven/actions/runs/27340167008"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.2.2",
      "date": "2026-06-11T10:28:20.000Z",
      "arch": "emscripten",
      "commit": "633eccb19ae2bf375aa6cc05af77ac00494b09d7",
      "fileid": "33e8a3e8ad3d0b02e0c0a3e81b745bac56c4b743714d8fb1163e679eba8a2021",
      "status": "success",
      "buildurl": "https://github.com/r-universe/cranhaven/actions/runs/27340167008"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.2.2",
      "date": "2026-06-11T10:27:13.000Z",
      "arch": "x86_64",
      "commit": "633eccb19ae2bf375aa6cc05af77ac00494b09d7",
      "fileid": "26957a3608505993456d6251d48ec7d41fb45ac081c00fd1d3a2660306203aae",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cranhaven/actions/runs/27340167008"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.2.2",
      "date": "2026-06-11T10:27:14.000Z",
      "arch": "x86_64",
      "commit": "633eccb19ae2bf375aa6cc05af77ac00494b09d7",
      "fileid": "937da8574dc9fa0b39ddca9b85cbe92febe9943038795f6d81f27ed1b2703961",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cranhaven/actions/runs/27340167008"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "0.2.2",
      "date": "2026-06-11T10:27:16.000Z",
      "arch": "x86_64",
      "commit": "633eccb19ae2bf375aa6cc05af77ac00494b09d7",
      "fileid": "6e178c9a351534923ef9d3d2b04f8e46d81fd2c4fd471b6c4d78b95287c38a4f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cranhaven/actions/runs/27340167008"
    }
  ]
}