GNU bug report logs - #30777
[1/8] Add r-tidyverse (r-haven)

Previous Next

Package: guix-patches;

Reported by: Charlie Ritter <chewzerita <at> posteo.net>

Date: Mon, 12 Mar 2018 16:00:02 UTC

Severity: normal

Tags: patch

Merged with 30740, 30778, 30779, 30780, 30781, 30782, 30783, 30784

Done: Marius Bakke <mbakke <at> fastmail.com>

Bug is archived. No further changes may be made.

Full log


Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Charlie Ritter <chewzerita <at> posteo.net>
To: guix-patches <at> gnu.org
Subject: [1/8] Add r-tidyverse (r-haven)
Date: Mon, 12 Mar 2018 11:10:06 -0400
[0001-gnu-Add-r-haven.patch (text/x-patch, inline)]
From 21fa755815a079174a2d810b192c5a39ca3f1126 Mon Sep 17 00:00:00 2001
From: Charlie Ritter <chewzerita <at> posteo.net>
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 <roel <at> gnu.org>
 ;;; Copyright © 2017 Tobias Geerinckx-Rice <me <at> tobias.gr>
 ;;; Copyright © 2017 Raoul Bonnal <ilpuccio.febo <at> gmail.com>
+;;; Copyright © 2018 Charlie Ritter <chewzeirta <at> posteo.net>
 ;;;
 ;;; 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

[signature.asc (application/pgp-signature, inline)]

This bug report was last modified 7 years and 61 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.