Subject: [bug#30778] [4/8] Add r-tidyverse (r-callr)

From: Charlie Ritter <[email-masked]>
Date: Mon, 12 Mar 2018 11:12:13 -0400

From 1a54eb199a4138f9bd4b8528badaa861fa35bfa2 Mon Sep 17 00:00:00 2001
From: Charlie Ritter <[email-masked]>
Date: Mon, 12 Mar 2018 10:13:04 -0400
Subject: [PATCH] gnu: Add r-callr.

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

diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm
index 09463e395..c9062d2cc 100644
--- a/gnu/packages/cran.scm
+++ b/gnu/packages/cran.scm
@@ -34,6 +34,33 @@
   #:use-module (gnu packages statistics)
   #:use-module (gnu packages web))
 
+(define-public r-callr
+  (package
+    (name "r-callr")
+    (version "2.0.2")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (cran-uri "callr" version))
+       (sha256
+        (base32
+         "0m51p39vfwldxv6h8x4y9w3laf8q9bldhfqhlcrlx3xhy3irb1bp"))))
+    (build-system r-build-system)
+    (propagated-inputs
+     `(("r-assertthat" ,r-assertthat)
+       ("r-crayon" ,r-crayon)
+       ("r-debugme" ,r-debugme)
+       ("r-r6" ,r-r6)
+       ("r-testthat" ,r-testthat)))
+    (home-page
+     "https://github.com/r-lib/callr#readme")
+    (synopsis "Call R from R")
+    (description
+     "It is sometimes useful to perform a computation in a separate R process,
+without affecting the current R process at all.  This packages does exactly
+that.")
+    (license license:expat)))
+
 (define-public r-readxl
   (package
     (name "r-readxl")
-- 
2.16.1