[bug#42106,2/4] gnu: Add r-forge.
diff mbox series

Message ID 20200628085745.15796-2-peterloleungyau@gmail.com
State New
Headers show
Series
  • [bug#42106,1/4] gnu: Add r-r2d3.
Related show

Checks

Context Check Description
cbaines/applying patch fail View Laminar job

Commit Message

Peter Lo June 28, 2020, 8:57 a.m. UTC
* gnu/packages/cran.scm (r-forge): New variable.
---
 gnu/packages/cran.scm | 23 +++++++++++++++++++++++
 1 file changed, 23 insertions(+)

Patch
diff mbox series

diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm
index b92d3341b4..93a487deb3 100644
--- a/gnu/packages/cran.scm
+++ b/gnu/packages/cran.scm
@@ -22355,3 +22355,26 @@  publishing @code{D3} visualizations, incorporating @code{D3} in R
 Markdown, creating interactive @code{D3} applications with Shiny, and
 distributing @code{D3} based @code{htmlwidgets} in R packages.")
     (license license:bsd-3)))
+
+(define-public r-forge
+  (package
+    (name "r-forge")
+    (version "0.2.0")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (cran-uri "forge" version))
+        (sha256
+          (base32
+            "0pjfzsc35agkh0zfw2czwajkbsyn6liys5irl5bhz5r1vim3jmwa"))))
+    (properties `((upstream-name . "forge")))
+    (build-system r-build-system)
+    (propagated-inputs
+      `(("r-magrittr" ,r-magrittr) ("r-rlang" ,r-rlang)))
+    (home-page
+      "https://cran.r-project.org/web/packages/forge/")
+    (synopsis "Casting Values into Shape")
+    (description
+      "Helper functions with a consistent interface to coerce and
+verify the types and shapes of values for input checking.")
+    (license license:asl2.0)))