Subject: [bug#42106] [PATCH 2/4] gnu: Add r-forge.

From: Peter Lo <[email-masked]>
Date: Sun, 28 Jun 2020 16:57:43 +0800

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

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)))
-- 
2.17.1