Daniel Thédié

Picture of Daniel Thédié

Research Software Engineer at the University of Edinburgh

Blog

Back to list

nocturn published on CRAN!

Posted on Tuesday, 23 June 2026 by Daniel Thedie

nocturn just got published on CRAN!

nocturn is an online app and R package for sleep data analysis. It allows loading any type of data that is based on sleep sessions, whether it was produced by a radar device, actigraphy, sleep diary, or other.

You can access the nocturn app online at nocturn.bio.ed.ac.uk (no installation required). And if you want to write your own R scripts using nocturn, you can now install it directly from CRAN with:

install.packages("nocturn")

To use the package, load functions:

library(nocturn)

And display the package manual:

help(package = "nocturn")

Next steps

The current nocturn version on CRAN is 1.1.3. I am currently working on version 1.2.0, with some exciting updates to come:

Interested in using nocturn with your own data? Let me know in Discussions!

Found a bug in the app or R functions; or need help with a specific point? Open an issue