Skip to content

sleepr

0.3.1Package record

Analyse Activity and Sleep Behaviour

0packages depend
3.4Kdownloads / year
86.2%test coverage
13/13flavors OK

Overview

About

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
Status changes
  • OK13 OK2026-08-04
  • NOTE12 OK, 1 NOTE2026-08-01
  • OK14 OK2026-03-10
Advisories

none known

Documentation

In release 0.3.1
READMENoVignettesNoNEWSNoCitation fileNoWebsitenot declared in DESCRIPTION
Help pages
4
Examples that run
100%3 run in a plain check
Exported functions with examples
75%
Documented parameters
100%
Return-value docs
100%
Help pages citing references
50%

Downloads

3.4K
CRAN downloads in the past year
Rank #13,869 · ~9/day · ~283/mo
Daily download trend is not available in this view yet.
32530 days
85090 days
3.4K1 year
Compare downloads with other packages →
Also on86 r2u3 autocran

Repository

6Stars
2Forks
3Open issues
0Open PRs
0Releases
1,242Commits
2Commit identities
rbiological-data-analysisneuroscience
1,242 commits · Last activity 2026-10-07 · Default branch at 0.4.0, ahead of CRAN 0.3.1 (checked 2026-10-22)
Responsiveness
How these are sampled
PRs merged (all time)
100%
Median days to close, 50 most recently updated closed issues
0
Median days to close, 50 most recently updated closed PRs
0

Stars over time

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

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

Checks run against github.com/rethomics/sleepr on 2026-10-22.

Continuous integration (1)
Travis CI (config file)
Docs source (1)
README.Rmd
Reproducibility and dev environment (1)
Makefile
CRAN release process (1)
cran-comments.md
Show all practicesHide 2 practices
Lint, format, editor (1)
RStudio project
Git structural (1)
Submodules
How this is detected·Detection ruleset v4 (2026-10-20)
AI coding toolsBeta

This repository shows signs of AI coding tools.

  • Claude Codefirst seen on or before 2026-10-05
    Commits: at least 7 crediting it in the message
Models named in its commits
  • Claude Opus 5.57 commits · Oct 2026
Counts are commits, not lines of code. Commits by a tool's accounts count once across all of its accounts. Commits crediting it are the largest count among its credit lines, a minimum.How this is detected·Detection ruleset v4 (updated 2026-09-27)

Dependencies

Declared dependencies
5 external dependencies (excludes base and recommended)

Installing sleepr adds 2 packages (1 with compiled code, 5.7 MB of source tarballs). Heaviest: data.table 5.7 MB, behavr 19 KB.

Depends (2)
R >= 3.00behavr
Imports (1)
LinkingTo (0)
none
Suggests (3)
Enhances (0)
none
Reverse dependencies
0direct
0indirect

Nothing depends on this yet.

People & History

People (1)
Author, Maintainer since 0.3.0 (2018)
Releases (2)

Pick two releases to compare their code metrics.

  • R
    R 4.6.0 released · 2026-04-24
  • R
    R 4.5.0 released · 2025-04-11
  • 0.3.1Latest
    record
    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
    record
    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

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

From data release v2026-10-24, 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