From 5f08fa64f023192c1aef0b34afb00b17bdd591de Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Sat, 14 Dec 2019 10:56:22 +0100 Subject: [PATCH] gnu: Add r-actogrammr. * gnu/packages/cran.scm (r-actogrammr): New variable. --- gnu/packages/cran.scm | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm index 7020725983..ba322ee220 100644 --- a/gnu/packages/cran.scm +++ b/gnu/packages/cran.scm @@ -18103,3 +18103,32 @@ (define-public r-activpalprocessing behavior variables from activPAL events files.") ;; Either version of the GPL. (license (list license:gpl2 license:gpl3)))) + +(define-public r-actogrammr + (package + (name "r-actogrammr") + (version "0.2.3") + (source + (origin + (method url-fetch) + (uri (cran-uri "actogrammr" version)) + (sha256 + (base32 + "1jzvarmd41yqlrkagzlc8m19n5mn0w0b36fy50lyvgrfsafjfbqa")))) + (properties `((upstream-name . "actogrammr"))) + (build-system r-build-system) + (propagated-inputs + `(("r-dplyr" ,r-dplyr) + ("r-ggplot2" ,r-ggplot2) + ("r-lubridate" ,r-lubridate) + ("r-readr" ,r-readr) + ("r-tidyr" ,r-tidyr))) + (home-page "https://cran.r-project.org/web/packages/actogrammr/") + (synopsis "Read in activity data and plot actograms") + (description + "Read in activity measurements from standard file formats used by +circadian rhythm researchers, currently only ClockLab format, and process and +plot the data. The central type of plot is the actogram, as first described +in \"Activity and distribution of certain wild mice in relation to biotic +communities\" by MS Johnson (1926) @url{doi:10.2307/1373575}.") + (license license:gpl3)))