guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

01/08: gnu: Add r-haven.


From: Marius Bakke
Subject: 01/08: gnu: Add r-haven.
Date: Mon, 26 Mar 2018 15:45:50 -0400 (EDT)

mbakke pushed a commit to branch master
in repository guix.

commit d2a507efd92c83a9b5d38b46b3fbc406beb2e8ba
Author: Charlie Ritter <address@hidden>
Date:   Mon Mar 12 09:36:47 2018 -0400

    gnu: Add r-haven.
    
    * gnu/packages/cran.scm (r-haven): New variable.
    
    Signed-off-by: Marius Bakke <address@hidden>
---
 gnu/packages/cran.scm | 26 ++++++++++++++++++++++++++
 1 file changed, 26 insertions(+)

diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm
index 001efc9..d50289d 100644
--- a/gnu/packages/cran.scm
+++ b/gnu/packages/cran.scm
@@ -6,6 +6,7 @@
 ;;; Copyright © 2018 Vijayalakshmi Vedantham <address@hidden>
 ;;; Copyright © 2018 Sahithi Yarlagadda <address@hidden>
 ;;; Copyright © 2018 Sandeep Subramanian <address@hidden>
+;;; Copyright © 2018 Charlie Ritter <address@hidden>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -36,6 +37,31 @@
   #: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 "https://haven.tidyverse.org";)
+    (synopsis "Import and Export 'SPSS', 'Stata' and 'SAS' Files")
+    (description
+     "This package lets you mport foreign statistical formats into R via the
+embedded @url{https://github.com/WizardMac/ReadStat,ReadStat} C library.")
+    (license license:expat)))
+
 (define-public r-ape
   (package
     (name "r-ape")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]