guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

01/02: gnu: Add r-tinytest.


From: guix-commits
Subject: 01/02: gnu: Add r-tinytest.
Date: Thu, 4 Feb 2021 10:35:16 -0500 (EST)

rekado pushed a commit to branch master
in repository guix.

commit 5aaf67fc1f2c9eca1ef36746dd57721f2e0abd5f
Author: Ricardo Wurmus <rekado@elephly.net>
AuthorDate: Thu Feb 4 16:34:47 2021 +0100

    gnu: Add r-tinytest.
    
    * gnu/packages/cran.scm (r-tinytest): New variable.
---
 gnu/packages/cran.scm | 35 +++++++++++++++++++++++++++++++++++
 1 file changed, 35 insertions(+)

diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm
index 501616c..b229e0e 100644
--- a/gnu/packages/cran.scm
+++ b/gnu/packages/cran.scm
@@ -4975,6 +4975,41 @@ functions to compile LaTeX documents, and install 
missing LaTeX packages
 automatically.")
     (license license:expat)))
 
+(define-public r-tinytest
+  (package
+    (name "r-tinytest")
+    (version "1.2.4")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (cran-uri "tinytest" version))
+       (sha256
+        (base32
+         "1asryjrah3fj39gg0c6yxgpr142j5bg2n990v7q8r0a5pb8gcr45"))))
+    (properties `((upstream-name . "tinytest")))
+    (build-system r-build-system)
+    (home-page "https://github.com/markvanderloo/tinytest";)
+    (synopsis "Lightweight unit testing framework")
+    (description
+     "This package provides a lightweight unit testing framework.  Main
+features:
+
+@enumerate
+@item install tests with the package;
+@item test results are treated as data that can be stored and manipulated;
+@item test files are R scripts interspersed with test commands, that can be
+  programmed over;
+@item fully automated build-install-test sequence for packages;
+@item skip tests when not run locally (e.g. on CRAN);
+@item flexible and configurable output printing;
+@item compare computed output with output stored with the package;
+@item run tests in parallel;
+@item extensible by other packages;
+@item report side effects.
+@end enumerate
+")
+    (license license:gpl3)))
+
 (define-public r-network
   (package
     (name "r-network")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]