guix-patches
[Top][All Lists]
Advanced

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

[bug#30740] Add r-tidyverse


From: Charlie Ritter
Subject: [bug#30740] Add r-tidyverse
Date: Tue, 06 Mar 2018 19:17:36 -0500

This patch adds the r-tidyverse package

From 6ea7aee1484d4f04fa6365dcd6cfbaeed1cae40d Mon Sep 17 00:00:00 2001
From: Charlie Ritter <address@hidden>
Date: Tue, 6 Mar 2018 19:11:43 -0500
Subject: [PATCH] gnu: Add r-tidyverse.

* gnu/packages/statistics.scm (r-tidyverse): New variable.
* gnu/packages/statistics.scm (r-haven): New variable.
* gnu/packages/statistics.scm (r-broom): New variable.
* gnu/packages/statistics.scm (r-modelr): New variable.
* gnu/packages/statistics.scm (r-readxl): New variable.
* gnu/packages/statistics.scm (r-cli): New variable.
* gnu/packages/statistics.scm (r-reprex): New variable.
* gnu/packages/statistics.scm (r-rvest): New variable.
* gnu/packages/statistics.scm (r-jsonlite): New variable.
* gnu/packages/statistics.scm (r-callr): New variable.
* gnu/packages/statistics.scm (r-selectr): New variable.
---
 gnu/packages/statistics.scm | 633 ++++++++++++++++++++++++++++++++------------
 1 file changed, 460 insertions(+), 173 deletions(-)

diff --git a/gnu/packages/statistics.scm b/gnu/packages/statistics.scm
index 8ebdce137..cc8b75882 100644
--- a/gnu/packages/statistics.scm
+++ b/gnu/packages/statistics.scm
@@ -9,6 +9,7 @@
 ;;; Copyright © 2016, 2017 Raoul Bonnal <address@hidden>
 ;;; Copyright © 2017 Kyle Meyer <address@hidden>
 ;;; Copyright © 2017 Tobias Geerinckx-Rice <address@hidden>
+;;; Copyright © 2018 Charlie Ritter <address@hidden>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -69,6 +70,51 @@
   #:use-module (gnu packages xorg)
   #:use-module (srfi srfi-1))
 
+(define-public r-tidyverse
+  (package
+    (name "r-tidyverse")
+    (version "1.2.1")
+    (source (origin
+              (method url-fetch)
+              (uri (cran-uri "tidyverse" version))
+              (sha256
+               (base32
+                "0yy3fkjksgcn6wkbgsb0pbnmsyqs4m01mziqafhig578nixs4rxd"))))
+    (build-system r-build-system)
+    (propagated-inputs
+     `(("r-broom" ,r-broom)
+       ("r-cli" ,r-cli)
+       ("r-crayon" ,r-crayon)
+       ("r-dbplyr" ,r-dbplyr)
+       ("r-dplyr" ,r-dplyr)
+       ("r-forcats" ,r-forcats)
+       ("r-ggplot2" ,r-ggplot2)
+       ("r-haven" ,r-haven)
+       ("r-hms" ,r-hms)
+       ("r-httr" ,r-httr)
+       ("r-jsonlite" ,r-jsonlite)
+       ("r-lubridate" ,r-lubridate)
+       ("r-magrittr" ,r-magrittr)
+       ("r-modelr" ,r-modelr)
+       ("r-purrr" ,r-purrr)
+       ("r-readr" ,r-readr)
+       ("r-readxl" ,r-readxl)
+       ("r-reprex" ,r-reprex)
+       ("r-rlang" ,r-rlang)
+       ("r-rstudioapi" ,r-rstudioapi)
+       ("r-rvest" ,r-rvest)
+       ("r-stringr" ,r-stringr)
+       ("r-tibble" ,r-tibble)
+       ("r-tidyr" ,r-tidyr)
+       ("r-xml2" ,r-xml2)))
+    (home-page "https://tidyverse.org";)
+    (synopsis "Easily Install and Load the 'Tidyverse'")
+    (description "The 'tidyverse' is a set of packages that work in harmony
+because they share common data representations and 'API' design.  This package
+is designed to make it easy to install and load multiple 'tidyverse' packages
+in a single step.  Learn more about the 'tidyverse' at
+<https://tidyverse.org>.")
+    (license license:gpl3)))
 
 (define-public pspp
   (package
@@ -76,12 +122,12 @@
     (version "1.0.1")
     (source
      (origin
-      (method url-fetch)
-      (uri (string-append "mirror://gnu/pspp/pspp-"
-                          version ".tar.gz"))
-      (sha256
-       (base32
-        "1r8smr5057993h90nx0mdnff8nxw9x546zzh6qpy4h3xblp1la5s"))))
+       (method url-fetch)
+       (uri (string-append "mirror://gnu/pspp/pspp-"
+                           version ".tar.gz"))
+       (sha256
+        (base32
+         "1r8smr5057993h90nx0mdnff8nxw9x546zzh6qpy4h3xblp1la5s"))))
     (build-system gnu-build-system)
     (inputs
      `(("cairo" ,cairo)
@@ -203,9 +249,9 @@ be output in text, PostScript, PDF or HTML.")
                   (string-append line " 1"))))
              #t))
          (add-before 'configure 'set-default-pager
-          ;; Set default pager to "cat", because otherwise it is "false",
-          ;; making "help()" print nothing at all.
-          (lambda _ (setenv "PAGER" "cat") #t))
+           ;; Set default pager to "cat", because otherwise it is "false",
+           ;; making "help()" print nothing at all.
+           (lambda _ (setenv "PAGER" "cat") #t))
          (add-before 'check 'set-timezone
            ;; Some tests require the timezone to be set.  However, the
            ;; timezone may not just be "UTC", or else a brittle regression
@@ -217,9 +263,9 @@ be output in text, PostScript, PDF or HTML.")
                                     "/share/zoneinfo"))
              #t))
          (add-after 'build 'make-info
-          (lambda _ (zero? (system* "make" "info"))))
+           (lambda _ (zero? (system* "make" "info"))))
          (add-after 'build 'install-info
-          (lambda _ (zero? (system* "make" "install-info")))))
+           (lambda _ (zero? (system* "make" "install-info")))))
        #:configure-flags
        '(;; Do not build the recommended packages.  The build system creates
          ;; random temporary directories and embeds their names in some
@@ -286,15 +332,15 @@ available, greatly increasing its breadth and scope.")
 
 (define-public rmath-standalone
   (package (inherit r-minimal)
-    (name "rmath-standalone")
-    (arguments
-     '(#:phases
-       (modify-phases %standard-phases
-         (add-after 'configure 'chdir
-           (lambda _ (chdir "src/nmath/standalone/") #t)))))
-    (synopsis "Standalone R math library")
-    (description
-     "This package provides the R math library as an independent package.")))
+           (name "rmath-standalone")
+           (arguments
+            '(#:phases
+              (modify-phases %standard-phases
+                (add-after 'configure 'chdir
+                  (lambda _ (chdir "src/nmath/standalone/") #t)))))
+           (synopsis "Standalone R math library")
+           (description
+            "This package provides the R math library as an independent 
package.")))
 
 (define-public r-boot
   (package
@@ -512,27 +558,27 @@ nonlinear mixed-effects models.")
 
 (define-public r-mgcv
   (package
-   (name "r-mgcv")
-   (version "1.8-23")
-   (source
-    (origin
-     (method url-fetch)
-     (uri (cran-uri "mgcv" version))
-     (sha256
-      (base32
-       "1lsrhf1yzn25pfn3f5x8yxjqnfryim4jx3iqd7ah8aalh5asqwbp"))))
-   (build-system r-build-system)
-   (propagated-inputs
-    `(("r-matrix" ,r-matrix)
-      ("r-nlme" ,r-nlme)))
-   (home-page "https://cran.r-project.org/web/packages/mgcv";)
-   (synopsis "Mixed generalised additive model computation")
-   (description
-    "GAMs, GAMMs and other generalized ridge regression with multiple smoothing
+    (name "r-mgcv")
+    (version "1.8-23")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (cran-uri "mgcv" version))
+       (sha256
+        (base32
+         "1lsrhf1yzn25pfn3f5x8yxjqnfryim4jx3iqd7ah8aalh5asqwbp"))))
+    (build-system r-build-system)
+    (propagated-inputs
+     `(("r-matrix" ,r-matrix)
+       ("r-nlme" ,r-nlme)))
+    (home-page "https://cran.r-project.org/web/packages/mgcv";)
+    (synopsis "Mixed generalised additive model computation")
+    (description
+     "GAMs, GAMMs and other generalized ridge regression with multiple 
smoothing
 parameter estimation by GCV, REML or UBRE/AIC.  The library includes a
 @code{gam()} function, a wide variety of smoothers, JAGS support and
 distributions beyond the exponential family.")
-   (license license:gpl2+)))
+    (license license:gpl2+)))
 
 (define-public r-nnet
   (package
@@ -616,27 +662,27 @@ curves, Cox models, and parametric accelerated failure 
time models.")
 
 (define-public r
   (package (inherit r-minimal)
-    (name "r")
-    (source #f)
-    (build-system trivial-build-system)
-    (arguments '(#:builder (mkdir %output)))
-    (propagated-inputs
-     `(("r-minimal" ,r-minimal)
-       ("r-boot" ,r-boot)
-       ("r-class" ,r-class)
-       ("r-cluster" ,r-cluster)
-       ("r-codetools" ,r-codetools)
-       ("r-foreign" ,r-foreign)
-       ("r-kernsmooth" ,r-kernsmooth)
-       ("r-lattice" ,r-lattice)
-       ("r-mass" ,r-mass)
-       ("r-matrix" ,r-matrix)
-       ("r-mgcv" ,r-mgcv)
-       ("r-nlme" ,r-nlme)
-       ("r-nnet" ,r-nnet)
-       ("r-rpart" ,r-rpart)
-       ("r-spatial" ,r-spatial)
-       ("r-survival" ,r-survival)))))
+           (name "r")
+           (source #f)
+           (build-system trivial-build-system)
+           (arguments '(#:builder (mkdir %output)))
+           (propagated-inputs
+            `(("r-minimal" ,r-minimal)
+              ("r-boot" ,r-boot)
+              ("r-class" ,r-class)
+              ("r-cluster" ,r-cluster)
+              ("r-codetools" ,r-codetools)
+              ("r-foreign" ,r-foreign)
+              ("r-kernsmooth" ,r-kernsmooth)
+              ("r-lattice" ,r-lattice)
+              ("r-mass" ,r-mass)
+              ("r-matrix" ,r-matrix)
+              ("r-mgcv" ,r-mgcv)
+              ("r-nlme" ,r-nlme)
+              ("r-nnet" ,r-nnet)
+              ("r-rpart" ,r-rpart)
+              ("r-spatial" ,r-spatial)
+              ("r-survival" ,r-survival)))))
 
 (define-public r-bit
   (package
@@ -835,26 +881,26 @@ Munsell colour system.")
 
 (define-public r-permute
   (package
-   (name "r-permute")
-   (version "0.9-4")
-   (source
-    (origin
-     (method url-fetch)
-     (uri (cran-uri "permute" version))
-     (sha256
-      (base32
-       "1w8wzk1fg9q7wvisnfp2js70dg0m9wi12gkdhpyngpbdcgssahd5"))))
-   (build-system r-build-system)
-   ;; Tests do not run correctly, but running them properly would entail a
-   ;; circular dependency with vegan.
-   (home-page "https://github.com/gavinsimpson/permute";)
-   (synopsis "Functions for Generating Restricted Permutations of Data")
-   (description
-    "This package provides a set of restricted permutation designs for freely
+    (name "r-permute")
+    (version "0.9-4")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (cran-uri "permute" version))
+       (sha256
+        (base32
+         "1w8wzk1fg9q7wvisnfp2js70dg0m9wi12gkdhpyngpbdcgssahd5"))))
+    (build-system r-build-system)
+    ;; Tests do not run correctly, but running them properly would entail a
+    ;; circular dependency with vegan.
+    (home-page "https://github.com/gavinsimpson/permute";)
+    (synopsis "Functions for Generating Restricted Permutations of Data")
+    (description
+     "This package provides a set of restricted permutation designs for freely
 exchangeable, line transects (time series), spatial grid designs and 
permutation
 of blocks (groups of samples).  @code{permute} also allows split-plot designs,
 in which the whole-plots or split-plots or both can be freely exchangeable.")
-   (license license:gpl2+)))
+    (license license:gpl2+)))
 
 (define-public r-plyr
   (package
@@ -1835,16 +1881,16 @@ building design matrices.")
          ;; tests must be run after installation
          (delete 'check)
          (add-after 'unpack 'set-matplotlib-backend-to-agg
-          (lambda _
-            ;; Set the matplotlib backend to Agg to avoid problems using the
-            ;; GTK backend without a display.
-            (substitute* (append (find-files "statsmodels/graphics/tests" 
"\\.py")
-                                 
'("statsmodels/tsa/vector_ar/tests/test_var.py"
-                                   
"statsmodels/duration/tests/test_survfunc.py"))
-              (("import matplotlib\\.pyplot as plt" line)
-               (string-append "import matplotlib;matplotlib.use('Agg');"
-                              line)))
-            #t))
+           (lambda _
+             ;; Set the matplotlib backend to Agg to avoid problems using the
+             ;; GTK backend without a display.
+             (substitute* (append (find-files "statsmodels/graphics/tests" 
"\\.py")
+                                  
'("statsmodels/tsa/vector_ar/tests/test_var.py"
+                                    
"statsmodels/duration/tests/test_survfunc.py"))
+               (("import matplotlib\\.pyplot as plt" line)
+                (string-append "import matplotlib;matplotlib.use('Agg');"
+                               line)))
+             #t))
          (add-after 'install 'check
            (lambda* (#:key inputs outputs #:allow-other-keys)
              ;; Make installed package available for running the tests
@@ -1874,13 +1920,13 @@ inference for statistical models.")
 (define-public python2-statsmodels
   (let ((stats (package-with-python2 python-statsmodels)))
     (package (inherit stats)
-      (propagated-inputs
-       `(("python2-pytz" ,python2-pytz)
-         ("python2-numpy" ,python2-numpy)
-         ("python2-scipy" ,python2-scipy)
-         ("python2-pandas" ,python2-pandas)
-         ("python2-patsy" ,python2-patsy)
-         ("python2-matplotlib" ,python2-matplotlib))))))
+             (propagated-inputs
+              `(("python2-pytz" ,python2-pytz)
+                ("python2-numpy" ,python2-numpy)
+                ("python2-scipy" ,python2-scipy)
+                ("python2-pandas" ,python2-pandas)
+                ("python2-patsy" ,python2-patsy)
+                ("python2-matplotlib" ,python2-matplotlib))))))
 
 (define-public r-coda
   (package
@@ -1908,12 +1954,12 @@ chain.")
     (name "r-ade4")
     (version "1.7-10")
     (source
-      (origin
-        (method url-fetch)
-        (uri (cran-uri "ade4" version))
-        (sha256
-          (base32
-            "0zk81x0yn30gbyc0jpzyw1nxd08ccihl6vyk0ijvj3aw3nr5flc6"))))
+     (origin
+       (method url-fetch)
+       (uri (cran-uri "ade4" version))
+       (sha256
+        (base32
+         "0zk81x0yn30gbyc0jpzyw1nxd08ccihl6vyk0ijvj3aw3nr5flc6"))))
     (build-system r-build-system)
     (propagated-inputs
      `(("r-mass" ,r-mass)))
@@ -2580,12 +2626,12 @@ certain criterion, e.g., it contains a certain regular 
file.")
     (name "r-rmarkdown")
     (version "1.9")
     (source
-      (origin
-        (method url-fetch)
-        (uri (cran-uri "rmarkdown" version))
-        (sha256
-          (base32
-            "0wq6kbhrkv3fhcy4hg5yyv9gdvf8gr4nsjwdifs4ih8lnn0dmdyb"))))
+     (origin
+       (method url-fetch)
+       (uri (cran-uri "rmarkdown" version))
+       (sha256
+        (base32
+         "0wq6kbhrkv3fhcy4hg5yyv9gdvf8gr4nsjwdifs4ih8lnn0dmdyb"))))
     (properties `((upstream-name . "rmarkdown")))
     (build-system r-build-system)
     (propagated-inputs
@@ -3117,30 +3163,30 @@ analysis of large sparse or dense matrices.")
 
 (define-public r-glmnet
   (package
-   (name "r-glmnet")
-   (version "2.0-13")
-   (source
-    (origin
-     (method url-fetch)
-     (uri (cran-uri "glmnet" version))
-     (sha256
-      (base32
-       "1zdqp6wnqxzp5qn2ky47phbkrxv3cpgbwmdp896h3xxjvp58sa7k"))))
-   (build-system r-build-system)
-   (inputs
-    `(("gfortran" ,gfortran)))
-   (propagated-inputs
-    `(("r-foreach" ,r-foreach)
-      ("r-matrix" ,r-matrix)))
-   (home-page "http://www.jstatsoft.org/v33/i01";)
-   (synopsis "Lasso and elastic-net regularized generalized linear models")
-   (description
-    "The glmnet package provides efficient procedures for fitting the entire
+    (name "r-glmnet")
+    (version "2.0-13")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (cran-uri "glmnet" version))
+       (sha256
+        (base32
+         "1zdqp6wnqxzp5qn2ky47phbkrxv3cpgbwmdp896h3xxjvp58sa7k"))))
+    (build-system r-build-system)
+    (inputs
+     `(("gfortran" ,gfortran)))
+    (propagated-inputs
+     `(("r-foreach" ,r-foreach)
+       ("r-matrix" ,r-matrix)))
+    (home-page "http://www.jstatsoft.org/v33/i01";)
+    (synopsis "Lasso and elastic-net regularized generalized linear models")
+    (description
+     "The glmnet package provides efficient procedures for fitting the entire
 lasso or elastic-net regularization path for linear and Poisson regression, as
 well as logistic, multinomial, Cox, multiple-response Gaussian and grouped
 multinomial models.  The algorithm uses cyclical coordinate descent in a
 path-wise fashion.")
-   (license license:gpl2+)))
+    (license license:gpl2+)))
 
 (define-public r-pkgmaker
   (package
@@ -3168,24 +3214,24 @@ development.  It currently provides managers for 
multiple package specific
 options and registries, vignette, unit test and bibtex related utilities.")
     (license license:gpl2+)))
 
- (define-public r-registry
-   (package
-     (name "r-registry")
-     (version "0.5")
-     (source
-      (origin
-        (method url-fetch)
-        (uri (cran-uri "registry" version))
-        (sha256
-         (base32
-          "1yqfl1g6vsl28zn8brzc39659k8lqsmfms7900j7p64ilydyb2sx"))))
-     (build-system r-build-system)
-     (home-page "https://cran.r-project.org/web/packages/registry";)
-     (synopsis "Infrastructure for R package registries")
-     (description
-      "This package provides a generic infrastructure for creating and using R
+(define-public r-registry
+  (package
+    (name "r-registry")
+    (version "0.5")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (cran-uri "registry" version))
+       (sha256
+        (base32
+         "1yqfl1g6vsl28zn8brzc39659k8lqsmfms7900j7p64ilydyb2sx"))))
+    (build-system r-build-system)
+    (home-page "https://cran.r-project.org/web/packages/registry";)
+    (synopsis "Infrastructure for R package registries")
+    (description
+     "This package provides a generic infrastructure for creating and using R
 package registries.")
-     (license license:gpl2+)))
+    (license license:gpl2+)))
 
 (define-public r-rngtools
   (package
@@ -3737,26 +3783,26 @@ data behind them) can be viewed and modified in a web 
browser.")
 
 (define-public r-biased-urn
   (package
-   (name "r-biased-urn")
-   (version "1.07")
-   (source
-    (origin
-     (method url-fetch)
-     (uri (cran-uri "BiasedUrn" version))
-     (sha256
-      (base32
-       "13i2lgfnjhlbbm2yxfc2l5hswqw6x03pwba5csjmirv8kpjw4xr3"))))
-   (properties `((upstream-name . "BiasedUrn")))
-   (build-system r-build-system)
-   (home-page "http://www.agner.org/random/";)
-   (synopsis "Biased urn model distributions")
-   (description
-    "This package provides statistical models of biased sampling in the form
+    (name "r-biased-urn")
+    (version "1.07")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (cran-uri "BiasedUrn" version))
+       (sha256
+        (base32
+         "13i2lgfnjhlbbm2yxfc2l5hswqw6x03pwba5csjmirv8kpjw4xr3"))))
+    (properties `((upstream-name . "BiasedUrn")))
+    (build-system r-build-system)
+    (home-page "http://www.agner.org/random/";)
+    (synopsis "Biased urn model distributions")
+    (description
+     "This package provides statistical models of biased sampling in the form
 of univariate and multivariate noncentral hypergeometric distributions,
 including Wallenius' noncentral hypergeometric distribution and Fisher's
 noncentral hypergeometric distribution (also called extended hypergeometric
 distribution).")
-   (license license:gpl3+)))
+    (license license:gpl3+)))
 
 (define-public r-rematch
   (package
@@ -4538,7 +4584,7 @@ perform @dfn{independent component analysis} (ICA) and 
projection pursuit.")
      `(("gfortran" ,gfortran)))
     (synopsis "Breiman and Cutler's random forests for classification and 
regression")
     (description
-"This package provides the Breiman and Cutler's random forests algorithm, 
based on a
+     "This package provides the Breiman and Cutler's random forests algorithm, 
based on a
 forest of trees using random inputs, for classification and regression.")
     (license license:gpl2+)))
 
@@ -4859,7 +4905,7 @@ For example, it provides fixed point clustering, linear 
regression clustering,
 clustering by merging Gaussian mixture components, as well as symmetric and
 asymmetric discriminant projections for visualisation of the separation of
 groupings.")
-  (license license:gpl2+)))
+    (license license:gpl2+)))
 
 (define-public r-vgam
   (package
@@ -4879,7 +4925,7 @@ groupings.")
     (home-page "https://www.stat.auckland.ac.nz/~yee/VGAM";)
     (synopsis "Vector generalized linear and additive models")
     (description
-    "This package is an implementation of about 6 major classes of statistical
+     "This package is an implementation of about 6 major classes of statistical
 regression models.  Currently only fixed-effects models are implemented, i.e.,
 no random-effects models.  Many (150+) models and distributions are estimated
 by maximum likelihood estimation (MLE) or penalized MLE, using Fisher scoring.
@@ -4946,7 +4992,7 @@ regression and information measures.")
     (home-page "http://optimizer.r-forge.r-project.org";)
     (synopsis "Derivative-free optimization algorithms by quadratic 
approximation")
     (description
-      "This package provides a derivative-free optimization by quadratic 
approximation
+     "This package provides a derivative-free optimization by quadratic 
approximation
 based on an interface to Fortran implementations by M. J. D. Powell.")
     (license license:gpl2)))
 
@@ -4969,7 +5015,7 @@ based on an interface to Fortran implementations by M. J. 
D. Powell.")
     (home-page "http://eigen.tuxfamily.org";)
     (synopsis "Rcpp integration for the Eigen templated linear algebra 
library")
     (description
-      "This package provides an integration of Eigen in R using a C++ template
+     "This package provides an integration of Eigen in R using a C++ template
 library for linear algebra: matrices, vectors, numerical solvers and related 
algorithms.
 It supports dense and sparse matrices on integer, floating point and complex 
numbers,
 decompositions of such matrices, and solutions of linear systems.")
@@ -4982,10 +5028,10 @@ decompositions of such matrices, and solutions of 
linear systems.")
     (source
      (origin
        (method url-fetch)
-        (uri (cran-uri "ModelMetrics" version))
-        (sha256
-         (base32
-          "119xxmzb5biq7k1yxqsf0jmmarmfn6lds9x9hfgv593xlpym6za8"))))
+       (uri (cran-uri "ModelMetrics" version))
+       (sha256
+        (base32
+         "119xxmzb5biq7k1yxqsf0jmmarmfn6lds9x9hfgv593xlpym6za8"))))
     (properties `((upstream-name . "ModelMetrics")))
     (build-system r-build-system)
     (propagated-inputs
@@ -5098,7 +5144,7 @@ algorithms.")
     (home-page "https://cran.r-project.org/web/packages/lme4";)
     (synopsis "Linear mixed-effects models using eigen and S4")
     (description
-      "This package provides fit linear and generalized linear mixed-effects
+     "This package provides fit linear and generalized linear mixed-effects
 models.  The models and their components are represented using S4 classes and
 methods.  The core computational algorithms are implemented using the Eigen
 C++ library for numerical linear algebra and RcppEigen glue.")
@@ -5149,7 +5195,7 @@ bootstrap test for generalized linear mixed models.")
     (home-page "https://r-forge.r-project.org/projects/car/";)
     (synopsis "Companion to applied regression")
     (description
-      "This package provides functions and datasets from book Companion
+     "This package provides functions and datasets from book Companion
 to Applied regression, Second Edition, Sage, 2011.")
     (license license:gpl2+)))
 
@@ -5213,10 +5259,10 @@ even in multithreaded code, typically using OpenMP.")
     (source
      (origin
        (method url-fetch)
-        (uri (cran-uri "mnormt" version))
-        (sha256
-          (base32
-           "1b34xxrnf35khsx82mhvmk96sgfr2flyasaah7qkb2976pwxay7z"))))
+       (uri (cran-uri "mnormt" version))
+       (sha256
+        (base32
+         "1b34xxrnf35khsx82mhvmk96sgfr2flyasaah7qkb2976pwxay7z"))))
     (build-system r-build-system)
     (native-inputs
      `(("gfortran" ,gfortran)))
@@ -5600,3 +5646,244 @@ Java package that provides routines for various 
statistical distributions.")
     ;; are under the GPLv3, which is a mistake.  The author confirmed in an
     ;; email that this whole project should be under GPLv2+.
     (license license:gpl2+)))
+
+(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-broom
+  (package
+    (name "r-broom")
+    (version "0.4.3")
+    (source (origin
+              (method url-fetch)
+              (uri (cran-uri "broom" version))
+              (sha256
+               (base32 
"119pc2jnxvm13cvd77c7d14p3bn68f4jm310vj3yfck40101n9if"))))
+    (build-system r-build-system)
+    (propagated-inputs
+     `(("r-dplyr" ,r-dplyr)
+       ("r-nlme" ,r-nlme)
+       ("r-plyr" ,r-plyr)
+       ("r-psych" ,r-psych)
+       ("r-reshape2" ,r-reshape2)
+       ("r-stringr" ,r-stringr)
+       ("r-tidyr" ,r-tidyr)))
+    (home-page "http://github.com/tidyverse/broom";)
+    (synopsis "Convert Statistical Analysis Objects into Tidy Data Frames")
+    (description "Convert statistical analysis objects from R into tidy data
+frames, so that they can more easily be combined, reshaped and otherwise
+processed with tools like 'dplyr', 'tidyr' and 'ggplot2'.  The package
+provides three S3 generics: tidy, which summarizes a model's statistical
+findings such as coefficients of a regression; augment, which adds columns to
+the original data such as predictions, residuals and cluster assignments; and
+glance, which provides a one-row summary of model-level statistics.")
+    (license license:expat)))
+
+(define-public r-modelr
+  (package
+    (name "r-modelr")
+    (version "0.1.1")
+    (source (origin
+              (method url-fetch)
+              (uri (cran-uri "modelr" version))
+              (sha256
+               (base32 
"1rqw0b583vp107zqp4h3wj51dvv4hb3wszfr1f5f48xassc53f95"))))
+    (build-system r-build-system)
+    (propagated-inputs
+     `(("r-broom" ,r-broom)
+       ("r-dplyr" ,r-dplyr)
+       ("r-lazyeval" ,r-lazyeval)
+       ("r-magrittr" ,r-magrittr)
+       ("r-purrr" ,r-purrr)
+       ("r-tibble" ,r-tibble)
+       ("r-tidyr" ,r-tidyr)))
+    (home-page "https://github.com/hadley/modelr";)
+    (synopsis "Modelling Functions that Work with the Pipe")
+    (description "Functions for modelling that help you seamlessly integrate
+modelling into a pipeline of data manipulation and visualisation.")
+    (license license:gpl3)))
+
+(define-public r-readxl
+  (package
+    (name "r-readxl")
+    (version "1.0.0")
+    (source (origin
+              (method url-fetch)
+              (uri (cran-uri "readxl" version))
+              (sha256
+               (base32 
"1bf7gxw9r11m4llyymplxiaa4gzgyj4bwmwad5in756pzq3jzmpv"))))
+    (build-system r-build-system)
+    (propagated-inputs
+     `(("r-cellranger" ,r-cellranger)
+       ("r-rcpp" ,r-rcpp)
+       ("r-tibble" ,r-tibble)))
+    (home-page "http://readxl.tidyverse.org";)
+    (synopsis "Read Excel Files")
+    (description "Import excel files into R.  Supports '.xls' via the embedded
+'libxls' C library <https://sourceforge.net/projects/libxls/> and '.xlsx' via
+the embedded 'RapidXML' C++ library <https://rapidxml.sourceforge.net>.  Works
+on Windows, Mac and Linux without external dependencies.")
+    (license license:gpl3)))
+
+(define-public r-cli
+  (package
+    (name "r-cli")
+    (version "1.0.0")
+    (source (origin
+              (method url-fetch)
+              (uri (cran-uri "cli" version))
+              (sha256
+               (base32 
"07as3dr7vwx02p3qgzlmxz1dlrd3x3lysrzp222ip9jcjpydp8wg"))))
+    (build-system r-build-system)
+    (propagated-inputs
+     `(("r-assertthat" ,r-assertthat)
+       ("r-crayon" ,r-crayon)))
+    (home-page "https://github.com/r-lib/cli#readme";)
+    (synopsis "Helpers for Developing Command Line Interfaces")
+    (description "This package provides a suite of tools designed to build
+attractive command line interfaces ('CLIs').  Includes tools for drawing
+rules, boxes, trees, and 'Unicode' symbols with 'ASCII' alternatives.")
+    (license license:expat)))
+
+(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-rvest
+  (package
+    (name "r-rvest")
+    (version "0.3.2")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (cran-uri "rvest" version))
+       (sha256
+        (base32 "04mv99z8dixywx96kfy4215g6ib23s7qvd77hcf9pxqxzcvqhvhd"))))
+    (build-system r-build-system)
+    (propagated-inputs
+     `(("r-httr" ,r-httr)
+       ("r-magrittr" ,r-magrittr)
+       ("r-selectr" ,r-selectr)
+       ("r-xml2" ,r-xml2)))
+    (home-page "https://github.com/hadley/rvest";)
+    (synopsis "Easily Harvest (Scrape) Web Pages")
+    (description "Wrappers around the 'xml2' and 'httr' packages to make it
+easy to download, then manipulate, HTML and XML.")
+    (license license:gpl3)))
+
+(define-public r-jsonlite
+  (package
+    (name "r-jsonlite")
+    (version "1.5")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (cran-uri "jsonlite" version))
+       (sha256
+        (base32
+         "00lfg464jhf7k01bal9pcjvbdf5cxk6xi2h46hccp1x3h883g434"))))
+    (build-system r-build-system)
+    (home-page "https://arxiv.org/abs/1403.2805";)
+    (synopsis "A Robust, High Performance JSON Parser and Generator for R")
+    (description "This package provides a fast JSON parser and generator
+optimized for statistical data and the web.  Started out as a fork of
+'RJSONIO', but has been completely rewritten in recent versions.  The package
+offers flexible, robust, high performance tools for working with JSON in R and
+is particularly powerful for building pipelines and interacting with a web
+API.  The implementation is based on the mapping described in the
+vignette (Ooms, 2014).  In addition to converting JSON data from/to R objects,
+'jsonlite' contains functions to stream, validate, and prettify JSON data.
+The unit tests included with the package verify that all edge cases are
+encoded and decoded consistently for use with dynamic data in systems and
+applications.")
+    (license license:expat)))
+
+(define-public r-callr
+  (package
+    (name "r-callr")
+    (version "2.0.2")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (cran-uri "callr" version))
+       (sha256
+        (base32
+         "0m51p39vfwldxv6h8x4y9w3laf8q9bldhfqhlcrlx3xhy3irb1bp"))))
+    (build-system r-build-system)
+    (propagated-inputs
+     `(("r-assertthat" ,r-assertthat)
+       ("r-crayon" ,r-crayon)
+       ("r-debugme" ,r-debugme)
+       ("r-r6" ,r-r6)
+       ("r-testthat" ,r-testthat)))
+    (home-page
+     "https://github.com/r-lib/callr#readme";)
+    (synopsis "Call R from R")
+    (description "It is sometimes useful to perform a computation in a
+separate R process, without affecting the current R process at all.  This
+packages does exactly that.")
+    (license license:expat)))
+
+(define-public r-selectr
+  (package
+    (name "r-selectr")
+    (version "0.3-2")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (cran-uri "selectr" version))
+       (sha256
+        (base32
+         "0kdrj64rqg4z6hg92y9r2h602a2i73r5rnlpg23ys33d5d32n8jy"))))
+    (build-system r-build-system)
+    (propagated-inputs `(("r-stringr" ,r-stringr)))
+    (home-page "https://sjp.co.nz/projects/selectr";)
+    (synopsis "Translate CSS Selectors to XPath Expressions")
+    (description "Translates a CSS3 selector into an equivalent XPath
+expression.  This allows us to use CSS selectors when working with the XML
+package as it can only evaluate XPath expressions.  Also provided are
+convenience functions useful for using CSS selectors on XML nodes.  This
+package is a port of the Python package
+'cssselect' (<https://pythonhosted.org/cssselect/>).")
+    (license license:bsd-3)))
-- 
2.16.1

Attachment: signature.asc
Description: PGP signature


reply via email to

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