Subject: bug#30783: closed (Re: [bug#30777] [1/8] Add r-tidyverse (r-haven))

From: [email-masked] (GNU bug Tracking System)
Date: Mon, 26 Mar 2018 18:43:04 +0000

Your bug report

#30777: [5/8] Add r-tidyverse (r-reprex)

which was filed against the guix-patches package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
30777: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=30777
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: [bug#30777] [1/8] Add r-tidyverse (r-haven)
From: Marius Bakke <[email-masked]>
To: Charlie Ritter <[email-masked]>, [email-masked]
Date: Mon, 26 Mar 2018 20:42:24 +0200
List-Id: <debbugs-submit.debbugs.gnu.org>

Charlie Ritter <[email-masked]> writes:

> From 21fa755815a079174a2d810b192c5a39ca3f1126 Mon Sep 17 00:00:00 2001
> From: Charlie Ritter <[email-masked]>
> Date: Mon, 12 Mar 2018 09:36:47 -0400
> Subject: [PATCH] gnu: Add r-haven.
>
> * gnu/packages/cran.scm (r-haven): New variable.

Applied with the changes below, thanks!

@@ -52,12 +54,12 @@
        ("r-rcpp" ,r-rcpp)
        ("r-readr" ,r-readr)
        ("r-tibble" ,r-tibble)))
-    (home-page "http://haven.tidyverse.org")
+    (home-page "https://haven.tidyverse.org")
     (synopsis
      "Import and Export 'SPSS', 'Stata' and 'SAS' Files")
     (description
-     "Import foreign statistical formats into R via the embedded 'ReadStat' C
-library, <https://github.com/WizardMac/ReadStat>.")
+     "Import foreign statistical formats into R via the embedded
+@url{https://github.com/WizardMac/ReadStat,ReadStat} C library.")
     (license license:expat)))

Subject: [5/8] Add r-tidyverse (r-reprex)
From: Charlie Ritter <[email-masked]>
To: [email-masked]
Date: Mon, 12 Mar 2018 11:12:44 -0400
List-Id: <debbugs-submit.debbugs.gnu.org>

From c542097b41f53429a4f70ba27cb846ab790765df Mon Sep 17 00:00:00 2001
From: Charlie Ritter <[email-masked]>
Date: Mon, 12 Mar 2018 10:58:32 -0400
Subject: [PATCH] gnu: Add r-reprex.

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

diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm
index c9062d2cc..49b2fedb6 100644
--- a/gnu/packages/cran.scm
+++ b/gnu/packages/cran.scm
@@ -34,6 +34,35 @@
   #:use-module (gnu packages statistics)
   #:use-module (gnu packages web))
 
+(define-public r-reprex
+  (package
+    (name "r-reprex")
+    (version "0.1.2")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (cran-uri "reprex" version))
+       (sha256
+        (base32
+         "105d9vsmqfilgpw8psfb2wyiz1hvcycvh4cqhb3ab37lm3rcavvs"))))
+    (build-system r-build-system)
+    (propagated-inputs
+     `(("r-callr" ,r-callr)
+       ("r-knitr" ,r-knitr)
+       ("r-rmarkdown" ,r-rmarkdown)
+       ("r-whisker" ,r-whisker)))
+    (home-page "https://github.com/jennybc/reprex")
+    (synopsis
+     "Prepare Reproducible Example Code for Sharing")
+    (description
+     "Convenience wrapper that uses the 'rmarkdown' package to render small
+snippets of code to target formats that include both code and output.  The
+goal is to encourage the sharing of small, reproducible, and runnable examples
+on code-oriented websites, such as <http://stackoverflow.com> and
+<https://github.com>, or in email. 'reprex' also extracts clean, runnable R
+code from various common formats, such as copy/paste from an R session.")
+    (license license:expat)))
+
 (define-public r-callr
   (package
     (name "r-callr")
-- 
2.16.1