Skip to content

actigraph.sleepr

0.4.0Package record

Detect Periods of Sleep and Non-Wear in 'ActiGraph' Data

2packages depend
2.2Kdownloads / year
99.2%test coverage
13/13flavors OK

Overview

About

Reads *.agd files exported from 'ActiGraph' devices; implements the Troiano (2008) doi:10.1249/mss.0b013e31815a51b3 and Choi (2011) doi:10.1249/MSS.0b013e3181ed61a3 algorithms for detecting periods on non-wear; implements the Sadeh (1994) doi:10.1093/sleep/17.3.201, Cole-Kripke (1992) doi:10.1093/sleep/15.5.461, and Oakley (1997) algorithms for detecting asleep/awake state and the Tudor-Locke (2014) doi:10.1139/apnm-2013-0173 algorithm to detect sleep periods from asleep/awake states.

Changes in 0.4.0
  • Added Webster rescoring for Cole-Kripke.
  • Added Oakley sleep algorithm.

From NEWS.md in the release

Install

Health

CRAN checks
13OK
Slowest check: 4.0 min · r-devel-windows-x86_64
Status changes
  • OK13 OK2026-09-20
  • ERROR11 OK, 2 ERROR2026-09-07
  • OK13 OK2026-08-05
  • NOTE12 OK, 1 NOTE2026-08-01
  • OK13 OK2026-06-09
Show 2 earlier changesHide 2 earlier changes
  • ERROR12 OK, 1 ERROR2026-06-08
  • OK6 OK2026-06-03
Advisories

none known

Documentation

In release 0.4.0
READMEYes · 795 wordsVignettesYes · 2 · dynamicNEWSYes · 100% structured · mentions 0.4.0Citation fileNoWebsitenot declared in DESCRIPTION
Help pages
22 (1 internal)includes a package overview page
Examples that run
100%18 run in a plain check
Exported functions with examples
90%
Documented parameters
97%
Return-value docs
100%
Help pages citing references
41%

Downloads

2.2K
CRAN downloads in the past year
Rank #5,920 · ~6/day · ~180/mo
Daily download trend is not available in this view yet.
61030 days
1.4K90 days
2.2K1 year
Compare downloads with other packages →
Also on111 r2u49 autocran

Repository

37Stars
8Forks
4Open issues
1Open PRs
0Releases
116Commits
4Commit identities
116 commits · Last activity 2026-09-11 · 0% stars, 30d
Responsiveness
How these are sampled
PRs merged (all time)
100%
Median days to close, 50 most recently updated closed issues
96
Median days to close, 50 most recently updated closed PRs
2

Stars over time

2025-05-02 · 342026-08-20 · 37
PracticesBeta

11 development-tooling and community-health practices detected across 7 families in the upstream repository

Checks run against github.com/dipetkov/actigraph.sleepr on 2026-10-21.

Continuous integration (3)
GitHub ActionsR CMD check workflowAppVeyor

The R CMD check workflow runs on Linux, macOS and Windows, and on R-devel

Docs source (1)
README.Rmd
Coverage (1)
Coverage reporting (Codecov)
Reproducibility and dev environment (1)
data-raw/
Show all practicesHide 3 practices
CRAN release process (2)
cran-comments.mdCRAN-SUBMISSION
Lint, format, editor (2)
lintrRStudio project
Git structural (1)
.gitattributes
How this is detected·Detection ruleset v4 (2026-10-20)

Dependencies

Declared dependencies
22 external dependencies (excludes base and recommended)

Installing actigraph.sleepr adds 43 packages (25 with compiled code, 37 MB of source tarballs). Heaviest: stringi 11 MB, ggplot2 6.0 MB, RSQLite 4.2 MB.

Depends (1)
R >= 3.2.4
LinkingTo (1)
Enhances (0)
none
Reverse dependencies
2direct
0indirect
Imports 2
Depends, Imports or LinkingTo, most downloaded first

Datasets

People & History

People (2)
Author, Maintainer since 0.3.1 (2026)
Contributor
Releases (2)

Pick two releases to compare their code metrics.

  • 0.4.0Latest
    record
    2026-09-12 · current release · diff ↗ ·
    added 1 export
    apply_oakley
  • 0.3.1
    record
    2026-06-02
  • R
    R 4.6.0 released · 2026-04-24

Package metadata

First published
2026-06-02
Total releases
2 / 1 yrs
License
GPL (>= 2) OSI
Minimum R
≥ 3.2.4
Bundled data
20 KB / 1 file
Download size
624 KB

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("actigraph.sleepr")
Petkova, D., & Muschelli, J. (2026). actigraph.sleepr: Detect Periods of Sleep and Non-Wear in 'ActiGraph' Data (Version 0.4.0) [Computer software]. https://doi.org/10.32614/CRAN.package.actigraph.sleepr

This package has no citation file, so citation() returns this entry built from DESCRIPTION.

Cite the R Observatory

For a number measured here: a download total, a coverage figure, an archival date.

APA

Balamuta, J. J. (2026). R Observatory: Metrics for actigraph.sleepr version 0.4.0 [Data set]. HJJB, LLC. Data release v2026-10-23. https://doi.org/10.5281/zenodo.21843040

From data release v2026-10-23, which the citation names so these numbers can be found later. More on citing and the projects behind them.

Report a problem with this page →

Privacy choices

These apply to this browser and are stored on this device only. Nothing about your choice is sent to us.

Read the privacy policy