From d2a507efd92c83a9b5d38b46b3fbc406beb2e8ba Mon Sep 17 00:00:00 2001 From: Charlie Ritter Date: Mon, 12 Mar 2018 09:36:47 -0400 Subject: gnu: Add r-haven. * gnu/packages/cran.scm (r-haven): New variable. Signed-off-by: Marius Bakke --- gnu/packages/cran.scm | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) (limited to 'gnu') diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm index 001efc929d..d50289d722 100644 --- a/gnu/packages/cran.scm +++ b/gnu/packages/cran.scm @@ -6,6 +6,7 @@ ;;; Copyright © 2018 Vijayalakshmi Vedantham ;;; Copyright © 2018 Sahithi Yarlagadda ;;; Copyright © 2018 Sandeep Subramanian +;;; Copyright © 2018 Charlie Ritter ;;; ;;; 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") -- cgit v1.2.3