gnu: Add r-cachem.

* gnu/packages/cran.scm (r-cachem): New variable.
This commit is contained in:
Ricardo Wurmus 2021-02-11 00:34:44 +01:00
parent fa6cc510ea
commit bfb7791cb0
No known key found for this signature in database
GPG key ID: 197A5888235FACAC

View file

@ -126,6 +126,30 @@ (define-public r-brio
files and provide more explicit control over line endings.")
(license license:expat)))
(define-public r-cachem
(package
(name "r-cachem")
(version "1.0.3")
(source
(origin
(method url-fetch)
(uri (cran-uri "cachem" version))
(sha256
(base32
"0y3jb96lyn3vc3nq8gs9x669w3xp69vdg5xc69qy0l356r39gp3r"))))
(properties `((upstream-name . "cachem")))
(build-system r-build-system)
(propagated-inputs
`(("r-fastmap" ,r-fastmap)
("r-rlang" ,r-rlang)))
(home-page "https://cachem.r-lib.org/")
(synopsis "Cache R objects with automatic pruning")
(description
"This package provides key-value stores with automatic pruning. Caches
can limit either their total size or the age of the oldest object (or both),
automatically pruning objects to maintain the constraints.")
(license license:expat)))
(define-public r-diffobj
(package
(name "r-diffobj")