@@ -25808,3 +25808,27 @@ convenient way to perform nested resampling in combination with @code{mlr3}.")
generated by @code{htmltools}. Most R users do not need to use this
package directly.")
(license license:expat)))
+
+(define-public r-cachem
+ (package
+ (name "r-cachem")
+ (version "1.0.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (cran-uri "cachem" version))
+ (sha256
+ (base32
+ "0hann47kpalhi0wp86xkd3j6zbl6x785ciggl86z53znyk1ywx44"))))
+ (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
+ "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)))