-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathguix.scm
More file actions
45 lines (42 loc) · 1.5 KB
/
guix.scm
File metadata and controls
45 lines (42 loc) · 1.5 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
;; Guix package definition for cacheR
;; Install with: guix install -f guix.scm
;; Or use in a manifest: (specifications->manifest '("r-cacher"))
(define-module (cacher)
#:use-module (guix packages)
#:use-module (guix git-download)
#:use-module (guix build-system r)
#:use-module ((guix licenses) #:prefix license:)
#:use-module (gnu packages cran)
#:use-module (gnu packages statistics))
(define-public r-cacher
(package
(name "r-cacher")
(version "1.1.0")
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/BIMSBbioinfo/cacheR")
(commit "4939410")))
(file-name (git-file-name name version))
(sha256
(base32 "0lgbln1fmmmkfpq9i3dfbsqpi4vpq535c6lb2ifki7z950ab2lg0"))))
(build-system r-build-system)
(arguments
'(#:tests? #f))
(propagated-inputs
(list r-digest
r-codetools
r-filelock))
(native-inputs
(list r-testthat r-knitr r-rmarkdown))
(home-page "https://github.com/BIMSBbioinfo/cacheR")
(synopsis "Recursive file-based caching with call tree introspection")
(description
"cacheR provides tools for caching function results to disk while
tracking recursive parent-child relationships between cached calls.
It automatically detects changes in code, arguments, and input files,
re-running functions only when necessary. Includes utilities to
inspect, visualise, and export the cache dependency graph.")
(license license:gpl3+)))
r-cacher