Subject: bug#30777: 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:02 +0000

Your bug report

#30777: [1/8] Add r-tidyverse (r-haven)

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: [1/8] Add r-tidyverse (r-haven)
From: Charlie Ritter <[email-masked]>
To: [email-masked]
Date: Mon, 12 Mar 2018 11:10:06 -0400
List-Id: <debbugs-submit.debbugs.gnu.org>

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.
---
 gnu/packages/cran.scm | 27 +++++++++++++++++++++++++++
 1 file changed, 27 insertions(+)

diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm
index 9b690833c..9ce08b867 100644
--- a/gnu/packages/cran.scm
+++ b/gnu/packages/cran.scm
@@ -3,6 +3,7 @@
 ;;; Copyright © 2017 Roel Janssen <[email-masked]>
 ;;; Copyright © 2017 Tobias Geerinckx-Rice <[email-masked]>
 ;;; Copyright © 2017 Raoul Bonnal <[email-masked]>
+;;; Copyright © 2018 Charlie Ritter <[email-masked]>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -33,6 +34,32 @@
   #:use-module (gnu packages statistics)
   #:use-module (gnu packages web))
 
+(define-public r-haven
+  (package
+    (name "r-haven")
+    (version "1.1.1")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (cran-uri "haven" version))
+       (sha256
+        (base32
+         "1fkcvsrnw8waqwggv0aydbvbi99x5kp9g78xfxj4w6s3xvdzcysz"))))
+    (build-system r-build-system)
+    (propagated-inputs
+     `(("r-forcats" ,r-forcats)
+       ("r-hms" ,r-hms)
+       ("r-rcpp" ,r-rcpp)
+       ("r-readr" ,r-readr)
+       ("r-tibble" ,r-tibble)))
+    (home-page "http://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>.")
+    (license license:expat)))
+
 (define-public r-ape
   (package
     (name "r-ape")
-- 
2.16.1