Skip to content

sleepr

0.3.1

Analyse Activity and Sleep Behaviour

0packages depend
3.8Kdownloads / year
86.2%test coverage
13/13checks pass

Overview

About
Maintained by Quentin GeissmannFirst published 2018-10-302 releasesCRAN page ↗GitHub ↗

Use behavioural variables to score activity and infer sleep from bouts of immobility. It is primarily designed to score sleep in fruit flies from Drosophila Activity Monitor (TriKinetics) and Ethoscope data. It implements sleep scoring using the "five-minute rule" (Hendricks et al. (2000) DOI:10.1016/S0896-6273(00)80877-6), activity classification for Ethoscopes (Geissmann et al. (2017) DOI:10.1371/journal.pbio.2003026) and a new algorithm to detect when animals are dead.

Install

Health

CRAN checks
13OK
Slowest check: 1.1 min · r-oldrel-windows-x86_64
Code health
Yes
Tests · ratio 0.68
86.2%
Coverage · measured lines
100%
Documentation · exports
2
Dependencies · direct
Check history
  • OK2026-08-04
    13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • NOTE2026-08-01
    12 OK · 1 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • OK2026-03-10
    14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE

Documentation

Documentation
READMENoVignettesNopkgdown siteNoNEWSNoCode of conductNoContributing guideNo
Examples that run
100%
Documented parameters
100%
Return-value docs
100%
References docs
50%

Downloads

3.8K
CRAN downloads in the past year
Rank #14,013 · ~10/day · ~318/mo
Daily download trend is not available in this view yet.
15630 days
72990 days
3.8K1 year
Compare downloads with other packages →
Also on91 r2u11 autocran

Repository

Repository
6Stars
3Forks
3Open issues
0Open PRs
0Releases
1,235Commits
1Contributors
rbiological-data-analysisneuroscience
1,235 commits · Last activity 2021-10-22

Stars over time

2023-11-09 · 62026-07-07 · 6

Repository practices

Upstream repositoryBeta

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

Checks run against github.com/rethomics/sleepr on 2026-08-16.

Continuous integration (1)
Travis CI
Reproducibility and dev environment (1)
Makefile
Docs source (1)
README.Rmd
Lint, format, editor (1)
RStudio project
Show all practices
Git structural (1)
Submodules
How this is detected·Detection ruleset v1 (2026-07-18)

Dependencies

Declared dependencies
5 external dependencies (excludes base and recommended)
Depends (2)
R >= 3.00behavr
Imports (1)
LinkingTo (0)
none
Suggests (3)
Enhances (0)
none
Reverse dependencies
0direct
0indirect

Nothing depends on this yet.

Code & Tests

People & History

People (1)
Maintainer (1)
Author, Maintainer
Authors (1)
Author, Maintainer
Package Timeline

2 releases. Pick two to compare their code metrics. R releases are shown for context.

  • R
    R 4.6.0 released · 2026-04-24
  • R
    R 4.5.0 released · 2025-04-11
  • 0.3.1Latest
    2025-03-27 · current release · diff ↗
  • R
    R 4.4.0 released · 2024-04-24
  • R
    R 4.3.0 released · 2023-04-21
  • R
    R 4.2.0 released · 2022-04-22
  • R
    R 4.1.0 released · 2021-05-18
  • R
    R 4.0.0 released · 2020-04-24
  • R
    R 3.6.0 released · 2019-04-26
  • 0.3.0
    2018-10-30
  • R
    R 3.5.0 released · 2018-04-23

Package metadata

First published
2018-10-30
Total releases
2 / 8 yrs
License
GPL-3 OSI
Minimum R
≥ 3.00
Download size
11 KB
Installed size
not tracked yet
With dependencies
not tracked yet

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("sleepr")
Geissmann, Q. (2025). sleepr: Analyse Activity and Sleep Behaviour (Version 0.3.1) [Computer software]. https://doi.org/10.32614/CRAN.package.sleepr

This is what citation() produces when a package has no citation file of its own. If it prints something else, use that.

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 sleepr version 0.3.1 [Data set]. HJJB, LLC. Data release v2026-08-18. https://doi.org/10.5281/zenodo.21843040

From data release v2026-08-18, 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