summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2025-11-20 14:46:24 +0100
committerRicardo Wurmus <rekado@elephly.net>2025-11-29 12:19:11 +0100
commit8e871e116336c33491deb282736d7022f57db353 (patch)
treec62bd9bf7735d062ae40470a30a6726bb7c26528 /gnu
parentea40710a892b8d9db5a6b794ec88f4ca94aa03d6 (diff)
gnu: Add r-unitizer.
* gnu/packages/cran.scm (r-unitizer): New variable. Change-Id: Ia996aff04e22602faf59b4267d406e91d2be2b88
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/cran.scm24
1 files changed, 24 insertions, 0 deletions
diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm
index af70fd9ae52..1c70bdbed8d 100644
--- a/gnu/packages/cran.scm
+++ b/gnu/packages/cran.scm
@@ -35586,6 +35586,30 @@ extract matched substrings in a more intuitive and compact way than by using
standard regular expressions.")
(license license:gpl3)))
+(define-public r-unitizer
+ (package
+ (name "r-unitizer")
+ (version "1.4.23")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (cran-uri "unitizer" version))
+ (sha256
+ (base32 "0ivbp4k6g8d7iir5lh4kphr7a1hsxppwdh6fapvhivq0gk461y38"))))
+ (properties `((upstream-name . "unitizer")))
+ (build-system r-build-system)
+ (propagated-inputs (list r-crayon r-diffobj))
+ (native-inputs (list r-knitr))
+ (home-page "https://github.com/brodieG/unitizer")
+ (synopsis "Interactive R unit tests")
+ (description
+ "This package simplifies regression tests by comparing objects produced
+by test code with earlier versions of those same objects. If objects are
+unchanged the tests pass, otherwise execution stops with error details. If in
+interactive mode, tests can be reviewed through the provided interactive
+environment.")
+ (license (list license:gpl2 license:gpl3))))
+
(define-public r-untb
(package
(name "r-untb")