1 ;;; GNU Guix --- Functional package management for GNU
2 ;;; Copyright © 2015, 2016, 2017 Ricardo Wurmus <rekado@elephly.net>
3 ;;; Copyright © 2015 Vicente Vera Parra <vicentemvp@gmail.com>
4 ;;; Copyright © 2016 Andreas Enge <andreas@enge.fr>
5 ;;; Copyright © 2016, 2017 Efraim Flashner <efraim@flashner.co.il>
6 ;;; Copyright © 2016 Pjotr Prins <pjotr.guix@thebird.nl>
7 ;;; Copyright © 2016 Roel Janssen <roel@gnu.org>
8 ;;; Copyright © 2016 Ben Woodcroft <donttrustben@gmail.com>
9 ;;; Copyright © 2016, 2017 Raoul Bonnal <ilpuccio.febo@gmail.com>
11 ;;; This file is part of GNU Guix.
13 ;;; GNU Guix is free software; you can redistribute it and/or modify it
14 ;;; under the terms of the GNU General Public License as published by
15 ;;; the Free Software Foundation; either version 3 of the License, or (at
16 ;;; your option) any later version.
18 ;;; GNU Guix is distributed in the hope that it will be useful, but
19 ;;; WITHOUT ANY WARRANTY; without even the implied warranty of
20 ;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21 ;;; GNU General Public License for more details.
23 ;;; You should have received a copy of the GNU General Public License
24 ;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
26 (define-module (gnu packages statistics)
27 #:use-module ((guix licenses) #:prefix license:)
28 #:use-module (guix packages)
29 #:use-module (guix download)
30 #:use-module (guix utils)
31 #:use-module (guix build-system gnu)
32 #:use-module (guix build-system r)
33 #:use-module (guix build-system python)
34 #:use-module (guix build-system trivial)
35 #:use-module (gnu packages)
36 #:use-module (gnu packages compression)
37 #:use-module (gnu packages cran)
38 #:use-module (gnu packages curl)
39 #:use-module (gnu packages gcc)
40 #:use-module (gnu packages gtk)
41 #:use-module (gnu packages gettext)
42 #:use-module (gnu packages glib)
43 #:use-module (gnu packages haskell)
44 #:use-module (gnu packages icu4c)
45 #:use-module (gnu packages image)
46 #:use-module (gnu packages java)
47 #:use-module (gnu packages machine-learning)
48 #:use-module (gnu packages maths)
49 #:use-module (gnu packages multiprecision)
50 #:use-module (gnu packages pcre)
51 #:use-module (gnu packages perl)
52 #:use-module (gnu packages pkg-config)
53 #:use-module (gnu packages python)
54 #:use-module (gnu packages readline)
55 #:use-module (gnu packages ssh)
56 #:use-module (gnu packages texinfo)
57 #:use-module (gnu packages tls)
58 #:use-module (gnu packages base)
59 #:use-module (gnu packages web)
60 #:use-module (gnu packages xml)
61 #:use-module (gnu packages xorg)
62 #:use-module (srfi srfi-1))
72 (uri (string-append "mirror://gnu/pspp/pspp-"
76 "1afsq0a3iij64qacczvwhk81qg0q5rfqm055y5h9ls28d6paqz7p"))))
77 (build-system gnu-build-system)
80 ("gettext" ,gettext-minimal)
84 ("readline" ,readline)
86 ("gtksourceview" ,gtksourceview)
89 `(("glib" ,glib "bin") ;for glib-genmarshal
91 ("pkg-config" ,pkg-config)))
92 (home-page "https://www.gnu.org/software/pspp/")
93 (synopsis "Statistical analysis")
95 "GNU PSPP is a statistical analysis program. It can perform
96 descriptive statistics, T-tests, linear regression and non-parametric tests.
97 It features both a graphical interface as well as command-line input. PSPP
98 is designed to interoperate with Gnumeric, LibreOffice and OpenOffice. Data
99 can be imported from spreadsheets, text files and database sources and it can
100 be output in text, PostScript, PDF or HTML.")
101 (license license:gpl3+)))
103 ;; Update this package together with the set of recommended packages: r-boot,
104 ;; r-class, r-cluster, r-codetools, r-foreign, r-kernsmooth, r-lattice,
105 ;; r-mass, r-matrix, r-mgcv, r-nlme, r-nnet, r-rpart, r-spatial, r-survival.
106 (define-public r-minimal
112 (uri (string-append "mirror://cran/src/base/R-"
113 (version-prefix version 1) "/R-"
117 "14cb8bwi3akvdb6934kqic2862f2qgav6cq4g0h7gi2p4ka9x3i8"))))
118 (build-system gnu-build-system)
120 `(#:disallowed-references (,tzdata-2017a)
122 (list (string-append "LDFLAGS=-Wl,-rpath="
123 (assoc-ref %outputs "out")
125 ;; This affects the embedded timestamp of only the core packages.
126 "PKG_BUILT_STAMP=1970-01-01")
128 (modify-phases %standard-phases
129 (add-before 'configure 'patch-uname
130 (lambda* (#:key inputs #:allow-other-keys)
131 (let ((uname-bin (string-append (assoc-ref inputs "coreutils")
133 (substitute* "src/scripts/R.sh.in"
134 (("uname") uname-bin)))
136 (add-after 'unpack 'build-reproducibly
138 ;; The documentation contains time stamps to demonstrate
139 ;; documentation generation in different phases.
140 (substitute* "src/library/tools/man/Rd2HTML.Rd"
141 (("\\\\%Y-\\\\%m-\\\\%d at \\\\%H:\\\\%M:\\\\%S")
142 "(removed for reproducibility)"))
144 ;; Remove timestamp from tracing environment. This fixes
145 ;; reproducibility of "methods.rd{b,x}".
146 (substitute* "src/library/methods/R/trace.R"
147 (("dateCreated = Sys.time\\(\\)")
148 "dateCreated = as.POSIXct(\"1970-1-1 00:00:00\", tz = \"UTC\")"))
150 ;; Ensure that gzipped files are reproducible.
151 (substitute* '("src/library/grDevices/Makefile.in"
152 "doc/manual/Makefile.in")
153 (("R_GZIPCMD\\)" line)
154 (string-append line " -n")))
156 ;; The "srcfile" procedure in "src/library/base/R/srcfile.R"
157 ;; queries the mtime of a given file and records it in an object.
158 ;; This is acceptable at runtime to detect stale source files,
159 ;; but it destroys reproducibility at build time.
161 ;; Instead of disabling this feature, which may have unexpected
162 ;; consequences, we reset the mtime of generated files before
163 ;; passing them to the "srcfile" procedure.
164 (substitute* "src/library/Makefile.in"
165 (("@\\(cd base && \\$\\(MAKE\\) mkdesc\\)" line)
166 (string-append line "\n find $(top_builddir)/library/tools | xargs touch -d '1970-01-01'; \n"))
167 (("@\\$\\(MAKE\\) Rdobjects" line)
168 (string-append "@find $(srcdir)/tools | xargs touch -d '1970-01-01'; \n "
170 (substitute* "src/library/tools/Makefile.in"
171 (("@\\$\\(INSTALL_DATA\\) all.R \\$\\(top_builddir\\)/library/\\$\\(pkg\\)/R/\\$\\(pkg\\)" line)
174 "\n find $(srcdir)/$(pkg) $(top_builddir)/library/$(pkg) | xargs touch -d \"1970-01-01\"; \n")))
176 ;; This library is installed using "install_package_description",
177 ;; so we need to pass the "builtStamp" argument.
178 (substitute* "src/library/tools/Makefile.in"
179 (("(install_package_description\\(.*\"')\\)\"" line prefix)
180 (string-append prefix ", builtStamp='1970-01-01')\"")))
182 (add-before 'configure 'set-default-pager
183 ;; Set default pager to "cat", because otherwise it is "false",
184 ;; making "help()" print nothing at all.
185 (lambda _ (setenv "PAGER" "cat") #t))
186 (add-before 'check 'set-timezone
187 ;; Some tests require the timezone to be set. However, the
188 ;; timezone may not just be "UTC", or else a brittle regression
189 ;; test in reg-tests-1d will fail.
190 (lambda* (#:key inputs #:allow-other-keys)
191 (setenv "TZ" "UTC+1")
193 (string-append (assoc-ref inputs "tzdata")
196 (add-after 'build 'make-info
197 (lambda _ (zero? (system* "make" "info"))))
198 (add-after 'build 'install-info
199 (lambda _ (zero? (system* "make" "install-info")))))
201 '(;; Do not build the recommended packages. The build system creates
202 ;; random temporary directories and embeds their names in some
203 ;; package files. We build these packages with the r-build-system
205 "--without-recommended-packages"
207 "--with-blas=-lopenblas"
213 "--enable-BLAS-shlib"
214 "--with-system-tre")))
215 ;; R has some support for Java. When the JDK is available at configure
216 ;; time environment variables pointing to the JDK will be recorded under
217 ;; $R_HOME/etc and ./tools/getsp.java will be compiled which is used by "R
218 ;; CMD javareconf". "R CMD javareconf" appears to only be used to update
219 ;; the recorded environment variables in $R_HOME/etc. Refer to
220 ;; https://cran.r-project.org/doc/manuals/r-release/R-admin.html#Java-support
221 ;; for additional information.
223 ;; As the JDK is a rather large input with only very limited effects on R,
224 ;; we decided to drop it.
228 ("pkg-config" ,pkg-config)
229 ("texinfo" ,texinfo) ; for building HTML manuals
230 ("which" ,which) ; for tests/Examples/base-Ex.R
231 ("tzdata" ,tzdata-2017a)
234 `(;; We need not only cairo here, but pango to ensure that tests for the
235 ;; "cairo" bitmapType plotting backend succeed.
237 ("coreutils" ,coreutils)
239 ("openblas" ,openblas)
240 ("gfortran" ,gfortran)
247 ("readline" ,readline)
250 (list (search-path-specification
251 (variable "R_LIBS_SITE")
252 (files (list "site-library/")))))
253 (home-page "http://www.r-project.org/")
254 (synopsis "Environment for statistical computing and graphics")
256 "R is a language and environment for statistical computing and graphics.
257 It provides a variety of statistical techniques, such as linear and nonlinear
258 modeling, classical statistical tests, time-series analysis, classification
259 and clustering. It also provides robust support for producing
260 publication-quality data plots. A large amount of 3rd-party packages are
261 available, greatly increasing its breadth and scope.")
262 (license license:gpl3+)))
264 (define-public r-boot
271 (uri (cran-uri "boot" version))
274 "16hsw4bw9pkfc2lqxfwycm1sbvbrm4linvm0ci71n8sxc7srvkis"))))
275 (build-system r-build-system)
276 (home-page "http://cran.r-project.org/web/packages/boot")
277 (synopsis "Bootstrap functions for R")
279 "This package provides functions and datasets for bootstrapping from the
280 book \"Bootstrap Methods and Their Application\" by A.C. Davison and
281 D.V. Hinkley (1997, CUP), originally written by Angelo Canty for S.")
282 ;; Unlimited distribution
283 (license (license:non-copyleft "file://R/bootfuns.q"))))
285 (define-public r-mass
292 (uri (cran-uri "MASS" version))
295 "1gy6z7ly9wn86rfn9xrmqiqq1ijw3pkasrr2299kbzsgx2mwsi7d"))))
296 (properties `((upstream-name . "MASS")))
297 (build-system r-build-system)
298 (home-page "http://www.stats.ox.ac.uk/pub/MASS4/")
299 (synopsis "Support functions and datasets for Venables and Ripley's MASS")
301 "This package provides functions and datasets for the book \"Modern
302 Applied Statistics with S\" (4th edition, 2002) by Venables and Ripley.")
303 ;; Either version may be picked.
304 (license (list license:gpl2 license:gpl3))))
306 (define-public r-class
313 (uri (cran-uri "class" version))
316 "173b8a16lh1i0zjmr784l0xr0azp9v8bgslh12hfdswbq7dpdf0q"))))
317 (build-system r-build-system)
319 `(("r-mass" ,r-mass)))
320 (home-page "http://www.stats.ox.ac.uk/pub/MASS4/")
321 (synopsis "R functions for classification")
323 "This package provides various functions for classification, including
324 k-nearest neighbour, Learning Vector Quantization and Self-Organizing Maps.")
325 ;; Either of the two versions can be picked.
326 (license (list license:gpl2 license:gpl3))))
328 (define-public r-cluster
335 (uri (cran-uri "cluster" version))
338 "1bkvqmv8h2c423q9ag2afb6s9j2vcdlxsf559zzbimraphrr2c2b"))))
339 (build-system r-build-system)
340 (home-page "http://cran.r-project.org/web/packages/cluster")
341 (synopsis "Methods for cluster analysis")
343 "This package provides methods for cluster analysis. It is a much
344 extended version of the original from Peter Rousseeuw, Anja Struyf and Mia
345 Hubert, based on Kaufman and Rousseeuw (1990) \"Finding Groups in Data\".")
346 (license license:gpl2+)))
348 (define-public r-codetools
355 (uri (cran-uri "codetools" version))
358 "0h7sjmvvsi35041jp47cxhsqzgf1y8jrw6fxii7n26i8g7nrh1sf"))))
359 (build-system r-build-system)
360 (home-page "http://cran.r-project.org/web/packages/codetools")
361 (synopsis "Code analysis tools for R")
362 (description "This package provides code analysis tools for R.")
363 ;; Any version of the GPL.
364 (license (list license:gpl2+ license:gpl3+))))
366 (define-public r-foreign
373 (uri (cran-uri "foreign" version))
376 "0j0z815zyp8n97rk6hlk68d1r8b26vls39s03viq0pnx3cbpwyga"))))
377 (build-system r-build-system)
378 (home-page "http://cran.r-project.org/web/packages/foreign")
379 (synopsis "Read data stored by other statistics software")
381 "This package provides functions for reading and writing data stored by
382 some versions of Epi Info, Minitab, S, SAS, SPSS, Stata, Systat and Weka and
383 for reading and writing some dBase files.")
384 (license license:gpl2+)))
386 (define-public r-kernsmooth
388 (name "r-kernsmooth")
393 (uri (cran-uri "KernSmooth" version))
396 "1xhha8kw10jv8pv8b61hb5in9qiw3r2a9kdji3qlm991s4zd4wlb"))))
397 (properties `((upstream-name . "KernSmooth")))
398 (build-system r-build-system)
399 (home-page "http://cran.r-project.org/web/packages/KernSmooth")
400 (synopsis "Functions for kernel smoothing")
402 "This package provides functions for kernel smoothing (and density
403 estimation) corresponding to the book: Wand, M.P. and Jones, M.C. (1995)
404 \"Kernel Smoothing\".")
405 ;; Unlimited distribution
406 (license (license:non-copyleft "file://LICENCE.note"))))
408 (define-public r-lattice
414 (uri (cran-uri "lattice" version))
417 "0pcnmaz3lr62ly0dcy5hnnqxshc4yqd43hrvlz3almgc9l7sna88"))))
418 (build-system r-build-system)
419 (home-page "http://lattice.r-forge.r-project.org/")
420 (synopsis "High-level data visualization system")
422 "The lattice package provides a powerful and elegant high-level data
423 visualization system inspired by Trellis graphics, with an emphasis on
424 multivariate data. Lattice is sufficient for typical graphics needs, and is
425 also flexible enough to handle most nonstandard requirements.")
426 (license license:gpl2+)))
428 (define-public r-matrix
435 (uri (cran-uri "Matrix" version))
438 "1dyv42d7ranb85y8hvi57hbg5xnvhdzqn56wcq3qmhazqj3s3liw"))))
439 (properties `((upstream-name . "Matrix")))
440 (build-system r-build-system)
442 `(("r-lattice" ,r-lattice)))
443 (home-page "http://Matrix.R-forge.R-project.org/")
444 (synopsis "Sparse and dense matrix classes and methods")
446 "This package provides classes and methods for dense and sparse matrices
447 and operations on them using LAPACK and SuiteSparse.")
448 (license license:gpl2+)))
450 (define-public r-nlme
457 (uri (cran-uri "nlme" version))
460 "0k2nvdzhic6bzhfsbq6la6q6a1i5nlj4pnh6lpdxiiwvxdks3nkr"))))
461 (build-system r-build-system)
463 `(("r-lattice" ,r-lattice)))
465 `(("gfortran" ,gfortran)))
466 (home-page "http://cran.r-project.org/web/packages/nlme")
467 (synopsis "Linear and nonlinear mixed effects models")
469 "This package provides tools to fit and compare Gaussian linear and
470 nonlinear mixed-effects models.")
471 (license license:gpl2+)))
473 (define-public r-mgcv
480 (uri (cran-uri "mgcv" version))
483 "1zj223l4a3j15d3c01wv7dkzn9w6084gxrq5600ck9rvr0lfpwwg"))))
484 (build-system r-build-system)
486 `(("r-matrix" ,r-matrix)
488 (home-page "http://cran.r-project.org/web/packages/mgcv")
489 (synopsis "Mixed generalised additive model computation")
491 "GAMs, GAMMs and other generalized ridge regression with multiple smoothing
492 parameter estimation by GCV, REML or UBRE/AIC. The library includes a
493 @code{gam()} function, a wide variety of smoothers, JAGS support and
494 distributions beyond the exponential family.")
495 (license license:gpl2+)))
497 (define-public r-nnet
504 (uri (cran-uri "nnet" version))
507 "17amqnw9dpap2w8ivx53hxha2xrm0drwfnj32li0xk41hlz548r7"))))
508 (build-system r-build-system)
509 (home-page "http://www.stats.ox.ac.uk/pub/MASS4/")
510 (synopsis "Feed-forward neural networks and multinomial log-linear models")
512 "This package provides functions for feed-forward neural networks with a
513 single hidden layer, and for multinomial log-linear models.")
514 (license (list license:gpl2+ license:gpl3+))))
516 (define-public r-rpart
523 (uri (cran-uri "rpart" version))
526 "165djqj7lk81jr7z5fwccq3h7ayys26hx1kj9hndvg2rkyaq1arq"))))
527 (build-system r-build-system)
528 (home-page "http://cran.r-project.org/web/packages/rpart")
529 (synopsis "Recursive partitioning and regression trees")
531 "This package provides recursive partitioning functions for
532 classification, regression and survival trees.")
533 (license (list license:gpl2+ license:gpl3+))))
535 (define-public r-spatial
542 (uri (cran-uri "spatial" version))
545 "04aw8j533sn63ybyrf4hyhrqm4058vfcb7yhjy07kq92mk94hi32"))))
546 (build-system r-build-system)
547 (home-page "http://www.stats.ox.ac.uk/pub/MASS4/")
548 (synopsis "Functions for kriging and point pattern analysis")
550 "This package provides functions for kriging and point pattern
552 ;; Either version may be picked.
553 (license (list license:gpl2 license:gpl3))))
555 (define-public r-survival
562 (uri (cran-uri "survival" version))
565 "07cnr0hnki6ybbjll54l4s5lllhk19vni5f8m0mvsfp99ls7qygk"))))
566 (build-system r-build-system)
568 `(("r-matrix" ,r-matrix)))
569 (home-page "https://github.com/therneau/survival")
570 (synopsis "Survival analysis")
572 "This package contains the core survival analysis routines, including
573 definition of Surv objects, Kaplan-Meier and Aalen-Johansen (multi-state)
574 curves, Cox models, and parametric accelerated failure time models.")
575 (license license:lgpl2.0+)))
578 (package (inherit r-minimal)
581 (build-system trivial-build-system)
582 (arguments '(#:builder (mkdir %output)))
584 `(("r-minimal" ,r-minimal)
587 ("r-cluster" ,r-cluster)
588 ("r-codetools" ,r-codetools)
589 ("r-foreign" ,r-foreign)
590 ("r-kernsmooth" ,r-kernsmooth)
591 ("r-lattice" ,r-lattice)
593 ("r-matrix" ,r-matrix)
598 ("r-spatial" ,r-spatial)
599 ("r-survival" ,r-survival)))))
608 (uri (cran-uri "bit" version))
611 "0a6ig6nnjzq80r2ll4hc74za3xwzbzig6wlyb4dby0knzf3iqa6f"))))
612 (build-system r-build-system)
613 (home-page "http://ff.r-forge.r-project.org")
614 (synopsis "Class for vectors of 1-bit booleans")
616 "This package provides bitmapped vectors of booleans (no @code{NA}s),
617 coercion from and to logicals, integers and integer subscripts, fast boolean
618 operators and fast summary statistics. With @code{bit} class vectors of true
619 binary booleans, @code{TRUE} and @code{FALSE} can be stored with 1 bit only.")
620 (license license:gpl2)))
622 (define-public r-bit64
629 (uri (cran-uri "bit64" version))
632 "0fz5m3fhvxgwjl76maag7yn0zdw24rx34gy6v77378fajag9yllg"))))
633 (build-system r-build-system)
636 (home-page "http://ff.r-forge.r-project.org/")
637 (synopsis "S3 class for vectors of 64 bit integers")
639 "The bit64 package provides serializable S3 atomic 64 bit (signed)
640 integers that can be used in vectors, matrices, arrays and @code{data.frames}.
641 Methods are available for coercion from and to logicals, integers, doubles,
642 characters and factors as well as many elementwise and summary functions.
643 Many fast algorithmic operations such as @code{match} and @code{order} support
644 interactive data exploration and manipulation and optionally leverage
646 (license license:gpl2)))
648 (define-public r-dichromat
655 (uri (cran-uri "dichromat" version))
657 (base32 "1l8db1nk29ccqg3mkbafvfiw0775iq4gapysf88xq2zp6spiw59i"))))
658 (build-system r-build-system)
659 (home-page "http://cran.r-project.org/web/packages/dichromat")
660 (synopsis "Color schemes for dichromats")
662 "Dichromat collapses red-green or green-blue distinctions to simulate the
663 effects of different types of color-blindness.")
664 (license license:gpl2+)))
666 (define-public r-digest
673 (uri (cran-uri "digest" version))
675 (base32 "1awy9phxdvqnadby7rvwy2hkbrj210bqf4xvi27asdq028zlcyd4"))))
676 (build-system r-build-system)
677 ;; Vignettes require r-knitr, which requires r-digest, so we have to
678 ;; disable them and the tests.
681 #:configure-flags (list "--no-build-vignettes")))
682 (home-page "http://dirk.eddelbuettel.com/code/digest.html")
683 (synopsis "Create cryptographic hash digests of R objects")
685 "This package contains an implementation of a function 'digest()' for the
686 creation of hash digests of arbitrary R objects (using the md5, sha-1,
687 sha-256, crc32, xxhash and murmurhash algorithms) permitting easy comparison
688 of R language objects, as well as a function 'hmac()' to create hash-based
689 message authentication code.
691 Please note that this package is not meant to be deployed for cryptographic
692 purposes for which more comprehensive (and widely tested) libraries such as
693 OpenSSL should be used.")
694 (license license:gpl2+)))
696 (define-public r-estimability
698 (name "r-estimability")
702 (uri (cran-uri "estimability" version))
705 "13b80bpnbrarazjvnpnk91ljjsqgfm2fm3gy66aj09cmmsmv199h"))))
706 (build-system r-build-system)
707 (home-page "http://cran.r-project.org/web/packages/estimability")
708 (synopsis "Tools for assessing estimability of linear predictions")
709 (description "Provides tools for determining estimability of linear
710 functions of regression coefficients, and 'epredict' methods that handle
711 non-estimable cases correctly.")
712 (license license:gpl2+)))
714 (define-public r-pheatmap
721 (uri (cran-uri "pheatmap" version))
724 "1ik0k69kb4n7xl3bkx4p09kw08ri93855zcsxq1c668171jqfiji"))))
725 (build-system r-build-system)
727 `(("r-gtable" ,r-gtable)
728 ("r-rcolorbrewer" ,r-rcolorbrewer)
729 ("r-scales" ,r-scales)))
731 "http://cran.r-project.org/web/packages/pheatmap")
732 (synopsis "Pretty heatmaps")
734 "This package provides an implementation of heatmaps that offers more
735 control over dimensions and appearance.")
736 (license license:gpl2+)))
738 (define-public r-labeling
745 (uri (cran-uri "labeling" version))
747 (base32 "13sk7zrrrzry6ky1bp8mmnzcl9jhvkig8j4id9nny7z993mnk00d"))))
748 (build-system r-build-system)
749 (home-page "http://cran.r-project.org/web/packages/labeling")
750 (synopsis "Axis labeling algorithms")
751 (description "The labeling package provides a range of axis labeling
753 (license license:expat)))
755 (define-public r-magrittr
762 (uri (cran-uri "magrittr" version))
764 (base32 "1s1ar6rag8m277qcqmdp02gn4awn9bdj9ax0r8s32i59mm1mki05"))))
765 (build-system r-build-system)
766 (home-page "http://cran.r-project.org/web/packages/magrittr/index.html")
767 (synopsis "A forward-pipe operator for R")
769 "Magrittr provides a mechanism for chaining commands with a new
770 forward-pipe operator, %>%. This operator will forward a value, or the result
771 of an expression, into the next function call/expression. There is flexible
772 support for the type of right-hand side expressions. For more information,
773 see package vignette. To quote Rene Magritte, \"Ceci n'est pas un pipe.\"")
774 (license license:expat)))
776 (define-public r-munsell
783 (uri (cran-uri "munsell" version))
785 (base32 "0jdxlbjslkzaqgp058da1cgm85qvqi09wpcgpvp4hvwnmy83qz1r"))))
786 (build-system r-build-system)
788 `(("r-colorspace" ,r-colorspace)))
789 (home-page "http://cran.r-project.org/web/packages/munsell")
790 (synopsis "Munsell colour system")
792 "The Munsell package contains Functions for exploring and using the
793 Munsell colour system.")
794 (license license:expat)))
796 (define-public r-rcpp
803 (uri (cran-uri "Rcpp" version))
805 (base32 "1byyqvlgb2p46p1gv243k73rk69fa8pa4l5m5asmckag2pkb2glz"))))
806 (build-system r-build-system)
807 (home-page "http://www.rcpp.org")
808 (synopsis "Seamless R and C++ Integration")
810 "The Rcpp package provides R functions as well as C++ classes which offer
811 a seamless integration of R and C++. Many R data types and objects can be
812 mapped back and forth to C++ equivalents which facilitates both writing of new
813 code as well as easier integration of third-party libraries. Documentation
814 about Rcpp is provided by several vignettes included in this package, via the
815 'Rcpp Gallery' site at <http://gallery.rcpp.org>, the paper by Eddelbuettel
816 and Francois (2011, JSS), and the book by Eddelbuettel (2013, Springer); see
817 'citation(\"Rcpp\")' for details on these last two.")
818 (license license:gpl2+)))
820 (define-public r-permute
827 (uri (cran-uri "permute" version))
830 "1w8wzk1fg9q7wvisnfp2js70dg0m9wi12gkdhpyngpbdcgssahd5"))))
831 (build-system r-build-system)
832 ;; Tests do not run correctly, but running them properly would entail a
833 ;; circular dependency with vegan.
834 (home-page "https://github.com/gavinsimpson/permute")
835 (synopsis "Functions for Generating Restricted Permutations of Data")
837 "This package provides a set of restricted permutation designs for freely
838 exchangeable, line transects (time series), spatial grid designs and permutation
839 of blocks (groups of samples). @code{permute} also allows split-plot designs,
840 in which the whole-plots or split-plots or both can be freely exchangeable.")
841 (license license:gpl2+)))
843 (define-public r-plyr
850 (uri (cran-uri "plyr" version))
852 (base32 "1igar5pcjqh0jyxv0z3jah8rz617vfa86vw0r5c7c031b7bj5db0"))))
853 (build-system r-build-system)
854 (native-inputs `(("r-rcpp" ,r-rcpp)))
855 (home-page "http://had.co.nz/plyr")
856 (synopsis "Tools for Splitting, Applying and Combining Data")
858 "Plyr is a set of tools that solves a common set of problems: you need to
859 break a big problem down into manageable pieces, operate on each piece and
860 then put all the pieces back together. For example, you might want to fit a
861 model to each spatial location or time point in your study, summarise data by
862 panels or collapse high-dimensional arrays to simpler summary statistics.")
863 (license license:expat)))
865 (define-public r-proto
872 (uri (cran-uri "proto" version))
874 (base32 "1l843p8vckjckdhgv37ngv47fga5jzy0n00pmipvp05nnaixk54j"))))
875 (build-system r-build-system)
876 (home-page "https://github.com/hadley/proto")
877 (synopsis "Prototype object-based programming")
879 "Proto is an object oriented system using object-based, also called
880 prototype-based, rather than class-based object oriented ideas.")
881 (license license:gpl2+)))
883 (define-public r-rcolorbrewer
885 (name "r-rcolorbrewer")
890 (uri (cran-uri "RColorBrewer" version))
892 (base32 "1pfcl8z1pnsssfaaz9dvdckyfnnc6rcq56dhislbf571hhg7isgk"))))
893 (build-system r-build-system)
894 (home-page "http://cran.r-project.org/web/packages/RColorBrewer")
895 (synopsis "ColorBrewer palettes")
897 "This package provides color schemes for maps (and other graphics)
898 designed by Cynthia Brewer as described at http://colorbrewer2.org")
899 ;; Includes code licensed under bsd-4
900 (license license:asl2.0)))
902 (define-public r-sendmailr
909 (uri (cran-uri "sendmailR" version))
912 "0z7ipywnzgkhfvl4zb2fjwl1xq7b5wib296vn9c9qgbndj6b1zh4"))))
913 (properties `((upstream-name . "sendmailR")))
914 (build-system r-build-system)
916 `(("r-base64enc" ,r-base64enc)))
918 "http://cran.r-project.org/web/packages/sendmailR")
919 (synopsis "Send email using R")
921 "This package contains a simple SMTP client which provides a portable
922 solution for sending email, including attachments, from within R.")
923 (license license:gpl2+)))
925 (define-public r-stringi
932 (uri (cran-uri "stringi" version))
935 "1wh20is24lmzhcd9487ckv7r19009fyz4is3ianp3ky69vy8a7k5"))))
936 (build-system r-build-system)
937 (inputs `(("icu4c" ,icu4c)))
938 (native-inputs `(("pkg-config" ,pkg-config)))
939 (home-page "http://stringi.rexamine.com/")
940 (synopsis "Character string processing facilities")
942 "This package allows for fast, correct, consistent, portable, as well as
943 convenient character string/text processing in every locale and any native
944 encoding. Owing to the use of the ICU library, the package provides R users
945 with platform-independent functions known to Java, Perl, Python, PHP, and Ruby
946 programmers. Among available features there are: pattern searching
947 (e.g. via regular expressions), random string generation, string collation,
948 transliteration, concatenation, date-time formatting and parsing, etc.")
949 (license license:bsd-3)))
951 (define-public r-stringr
958 (uri (cran-uri "stringr" version))
960 (base32 "16hj2rmv8x03lp6cp2jk0k2plibvbggf444kp05przdvd03v7l31"))))
961 (build-system r-build-system)
963 `(("r-magrittr" ,r-magrittr)
964 ("r-stringi" ,r-stringi)))
965 (home-page "https://github.com/hadley/stringr")
966 (synopsis "Simple, consistent wrappers for common string operations")
968 "Stringr is a consistent, simple and easy to use set of wrappers around
969 the fantastic 'stringi' package. All function and argument names (and
970 positions) are consistent, all functions deal with \"NA\"'s and zero length
971 vectors in the same way, and the output from one function is easy to feed into
972 the input of another.")
973 (license license:gpl2+)))
975 (define-public r-reshape2
982 (uri (cran-uri "reshape2" version))
984 (base32 "0swvjmc9f8cvkrsz463cp6snd8bncbv6q8yrfrb4rgkr0dhq6dvd"))))
985 (build-system r-build-system)
989 ("r-stringr" ,r-stringr)))
990 (home-page "https://github.com/hadley/reshape")
991 (synopsis "Flexibly reshape data: a reboot of the \"reshape\" package")
993 "Reshape2 is an R library to flexibly restructure and aggregate data
994 using just two functions: melt and dcast (or acast).")
995 (license license:expat)))
997 (define-public r-scales
1004 (uri (cran-uri "scales" version))
1006 (base32 "1lqccfmqdwrw0cjyqvw2zvgpk2jvnqrfb303l1raqyyf3zxqhav4"))))
1007 (build-system r-build-system)
1009 `(("r-dichromat" ,r-dichromat)
1010 ("r-labeling" ,r-labeling)
1011 ("r-munsell" ,r-munsell)
1013 ("r-rcolorbrewer" ,r-rcolorbrewer)
1014 ("r-rcpp" ,r-rcpp)))
1015 (home-page "https://github.com/hadley/scales")
1016 (synopsis "Scale functions for visualization")
1018 "This package provides graphical scales that map data to aesthetics, and
1019 provides methods for automatically determining breaks and labels for axes and
1021 (license license:expat)))
1023 (define-public r-ggplot2
1030 (uri (cran-uri "ggplot2" version))
1032 (base32 "0543782ddv2hp6s0l702mnxfg8n7a6qlbm8bm55x22hnqgz8kg2z"))))
1033 (build-system r-build-system)
1035 `(("r-digest" ,r-digest)
1036 ("r-gtable" ,r-gtable)
1038 ("r-lazyeval" ,r-lazyeval)
1040 ("r-tibble" ,r-tibble)
1041 ("r-reshape2" ,r-reshape2)
1042 ("r-scales" ,r-scales)
1043 ("r-svglite" ,r-svglite))) ; Needed for 'ggsave'
1044 (home-page "http://ggplot2.org")
1045 (synopsis "An implementation of the grammar of graphics")
1047 "Ggplot2 is an implementation of the grammar of graphics in R. It
1048 combines the advantages of both base and lattice graphics: conditioning and
1049 shared axes are handled automatically, and you can still build up a plot step
1050 by step from multiple data sources. It also implements a sophisticated
1051 multidimensional conditioning system and a consistent interface to map data to
1052 aesthetic attributes.")
1053 (license license:gpl2+)))
1055 (define-public r-gdtools
1062 (uri (cran-uri "gdtools" version))
1065 "0l8c4bh6765x9s6rw3mfm1bgicdzdngir1kxh9pxx4sidrdndcip"))))
1066 (build-system r-build-system)
1068 `(("r-rcpp" ,r-rcpp)
1069 ("pkg-config" ,pkg-config)))
1071 `(("cairo" ,cairo)))
1073 `(("r-withr" ,r-withr)))
1074 (home-page "http://cran.r-project.org/web/packages/gdtools")
1075 (synopsis "Utilities for graphical rendering")
1077 "The @code{gdtools} package provides functionalities to get font metrics
1078 and to generate base64 encoded string from raster matrix.")
1079 (license license:gpl3)))
1081 (define-public r-svglite
1088 (uri (cran-uri "svglite" version))
1091 "1s1gvmlmmna5y4jsn9h6438pg5b86fl4nwfvkgm6n4h6ljfgqyx3"))))
1092 (build-system r-build-system)
1093 (native-inputs `(("r-rcpp" ,r-rcpp)))
1096 ("r-gdtools" ,r-gdtools)))
1097 (home-page "https://github.com/hadley/svglite")
1098 (synopsis "SVG graphics device")
1100 "@code{svglite} is a graphics device that produces clean
1101 @dfn{SVG} (Scalable Vector Graphics) output, suitable for use on the web, or
1102 hand editing. Compared to the built-in @code{svg()}, @code{svglite} is
1103 considerably faster, produces smaller files, and leaves text as is.")
1104 (license license:gpl2+)))
1106 (define-public r-assertthat
1108 (name "r-assertthat")
1112 (uri (cran-uri "assertthat" version))
1115 "1wp5znk3xy338x6hknppk702jn596yr735d9i7c3wabm3sdzfgnp"))))
1116 (build-system r-build-system)
1117 (home-page "https://github.com/hadley/assertthat")
1118 (synopsis "Easy pre and post assertions")
1120 "Assertthat is an extension to stopifnot() that makes it easy to declare
1121 the pre and post conditions that your code should satisfy, while also
1122 producing friendly error messages so that your users know what they've done
1124 (license license:gpl3+)))
1126 (define-public r-lazyeval
1132 (uri (cran-uri "lazyeval" version))
1135 "1jwdz40nznlc44hpjli7h98gnpa4d98ifggmj7z88h84n9aqywqk"))))
1136 (build-system r-build-system)
1137 (home-page "https://github.com/hadley/lazyeval")
1138 (synopsis "Lazy (non-standard) evaluation in R")
1140 "This package provides the tools necessary to do non-standard
1141 evaluation (NSE) in R.")
1142 (license license:gpl3+)))
1144 (define-public r-dbi
1150 (uri (cran-uri "DBI" version))
1153 "1fg158k4n6l3rzx9nrwhp4nwkwpbmv1q7z2xz5rw138zws68fkgr"))))
1154 (build-system r-build-system)
1155 (home-page "https://github.com/rstats-db/DBI")
1156 (synopsis "R database interface")
1158 "The DBI package provides a database interface (DBI) definition for
1159 communication between R and relational database management systems. All
1160 classes in this package are virtual and need to be extended by the various
1161 R/DBMS implementations.")
1162 (license license:lgpl2.0+)))
1167 (version "1.62.0-1")
1170 (uri (cran-uri "BH" version))
1173 "01vfdpfznd4ynqql33z238xr262mvy3i80lyi8l3a3p3hi0a262p"))))
1174 (build-system r-build-system)
1175 (home-page "https://github.com/eddelbuettel/bh")
1176 (synopsis "R package providing subset of Boost headers")
1178 "This package aims to provide the most useful subset of Boost libraries
1179 for template use among CRAN packages.")
1180 (license license:boost1.0)))
1182 (define-public r-evaluate
1188 (uri (cran-uri "evaluate" version))
1191 "0mwna7rjyrmc76651a1fm7c76ippdsc2wsp3sj3iwb1c73mvlqv1"))))
1192 (build-system r-build-system)
1194 `(("r-stringr" ,r-stringr)))
1195 (home-page "https://github.com/hadley/evaluate")
1196 (synopsis "Parsing and evaluation tools for R")
1198 "This package provides tools that allow you to recreate the parsing,
1199 evaluation and display of R code, with enough information that you can
1200 accurately recreate what happens at the command line. The tools can easily be
1201 adapted for other output formats, such as HTML or LaTeX.")
1202 (license license:gpl3+)))
1204 (define-public r-formatr
1210 (uri (cran-uri "formatR" version))
1213 "1fvynq0fj1r9grg9vvfdh5fl2riv6qki9f2rfpyvbvqq3xxpmi3f"))))
1214 (build-system r-build-system)
1215 (home-page "http://yihui.name/formatR")
1216 (synopsis "Format R code automatically")
1218 "This package provides a function to format R source code. Spaces and
1219 indent will be added to the code automatically, and comments will be preserved
1220 under certain conditions, so that R code will be more human-readable and tidy.
1221 There is also a Shiny app as a user interface in this package.")
1222 (license license:gpl3+)))
1224 (define-public r-highr
1230 (uri (cran-uri "highr" version))
1233 "0n9v44dxdy5fhkdmpbpa2p78whyd9z3rhhy42ipdz5m5vsr55qa3"))))
1234 (build-system r-build-system)
1235 (home-page "https://github.com/yihui/highr")
1236 (synopsis "Syntax highlighting for R source code")
1238 "This package provides syntax highlighting for R source code. Currently
1239 it supports LaTeX and HTML output. Source code of other languages is
1240 supported via Andre Simon's highlight package.")
1241 (license license:gpl3+)))
1243 (define-public r-mime
1249 (uri (cran-uri "mime" version))
1252 "0i91m3ivaja1k33jwcvz16pfjypkci27awm8glil7sxhmwaj3izw"))))
1253 (build-system r-build-system)
1254 (home-page "https://github.com/yihui/mime")
1255 (synopsis "R package to map filenames to MIME types")
1257 "This package guesses the MIME type from a filename extension using the
1258 data derived from /etc/mime.types in UNIX-type systems.")
1259 (license license:gpl2)))
1261 (define-public r-markdown
1267 (uri (cran-uri "markdown" version))
1270 "1vcgsh2m2f5kfgappgg71nbf04ff0j1sbk668krjs3r2n89dk3sk"))))
1271 (build-system r-build-system)
1272 ;; Skip check phase because the tests require the r-knitr package to be
1273 ;; installed. This prevents installation failures. Knitr normally
1274 ;; shouldn't be available since r-markdown is a dependency of the r-knitr
1276 (arguments `(#:tests? #f))
1278 `(("r-mime" ,r-mime)))
1279 (home-page "https://github.com/rstudio/markdown")
1280 (synopsis "Markdown rendering for R")
1282 "This package provides R bindings to the Sundown Markdown rendering
1283 library (https://github.com/vmg/sundown). Markdown is a plain-text formatting
1284 syntax that can be converted to XHTML or other formats.")
1285 (license license:gpl2)))
1287 (define-public r-yaml
1293 (uri (cran-uri "yaml" version))
1296 "0x88xicrf7vwp77xgan27mnpdljhpkn0pz5kphnwqi3ddy25k9a1"))))
1297 (build-system r-build-system)
1298 (home-page "https://cran.r-project.org/web/packages/yaml/")
1299 (synopsis "Methods to convert R data to YAML and back")
1301 "This package implements the libyaml YAML 1.1 parser and
1302 emitter (http://pyyaml.org/wiki/LibYAML) for R.")
1303 (license license:bsd-3)))
1305 (define-public r-knitr
1311 (uri (cran-uri "knitr" version))
1314 "1pbxd3k7kv5sa1a5gxm0zc2bhjxdgx2nfch9xap5k85djmgsfqc1"))))
1315 (build-system r-build-system)
1317 `(("r-evaluate" ,r-evaluate)
1318 ("r-digest" ,r-digest)
1319 ("r-highr" ,r-highr)
1320 ("r-markdown" ,r-markdown)
1321 ("r-stringr" ,r-stringr)
1322 ("r-yaml" ,r-yaml)))
1323 (home-page "http://yihui.name/knitr/")
1324 (synopsis "General-purpose package for dynamic report generation in R")
1326 "This package provides a general-purpose tool for dynamic report
1327 generation in R using Literate Programming techniques.")
1328 ;; The code is released under any version of the GPL. As it is used by
1329 ;; r-markdown which is available under GPLv2 only, we have chosen GPLv2+
1331 (license license:gpl2+)))
1333 (define-public r-knitrbootstrap
1335 (name "r-knitrbootstrap")
1340 (uri (cran-uri "knitrBootstrap" version))
1343 "0pshn2slzqwpryklslsxwh1dmqcnwv6bwi7yfm6m342wjybpk0wl"))))
1344 (properties `((upstream-name . "knitrBootstrap")))
1345 (build-system r-build-system)
1347 `(("r-knitr" ,r-knitr)
1348 ("r-rmarkdown" ,r-rmarkdown)))
1349 (home-page "https://github.com/jimhester/knitrBootstrap")
1350 (synopsis "Knitr bootstrap framework")
1352 "This package provides a framework to create Bootstrap 3 HTML reports
1353 from knitr Rmarkdown.")
1354 (license license:expat)))
1356 (define-public r-microbenchmark
1358 (name "r-microbenchmark")
1362 (uri (cran-uri "microbenchmark" version))
1365 "0qn5r1a6qidghcisc2hpbdmj62pnixc3zz6p4ipk8mvakf0hdsvg"))))
1366 (build-system r-build-system)
1368 `(("r-ggplot2" ,r-ggplot2)))
1369 (home-page "https://cran.r-project.org/web/packages/microbenchmark/")
1370 (synopsis "Accurate timing functions for R")
1372 "This package provides infrastructure to accurately measure and compare
1373 the execution time of R expressions.")
1374 (license license:bsd-2)))
1376 (define-public r-pryr
1382 (uri (cran-uri "pryr" version))
1385 "1in350a8hxwf580afavasvn3jc7x2p1b7nlwmj1scakfz74vghk5"))))
1386 (build-system r-build-system)
1388 `(("r-stringr" ,r-stringr)
1389 ("r-codetools" ,r-codetools)))
1391 `(("r-rcpp" ,r-rcpp)))
1392 (home-page "https://github.com/hadley/pryr")
1393 (synopsis "Tools for computing on the R language")
1395 "This package provides useful tools to pry back the covers of R and
1396 understand the language at a deeper level.")
1397 (license license:gpl2)))
1399 (define-public r-memoise
1405 (uri (cran-uri "memoise" version))
1408 "034qfc2xlh30x1q2vya239w34a3ir3y2fwnx2agbgbi6592zjxmj"))))
1409 (build-system r-build-system)
1411 `(("r-digest" ,r-digest)))
1412 (home-page "https://github.com/hadley/memoise")
1413 (synopsis "Memoise functions for R")
1415 "This R package allows to cache the results of a function so that when
1416 you call it again with the same arguments it returns the pre-computed value.")
1417 (license license:expat)))
1419 (define-public r-crayon
1425 (uri (cran-uri "crayon" version))
1428 "0s2yam18slph7xsw4pyc9f92gdyf609r5w92yax69zh57kb7asws"))))
1429 (build-system r-build-system)
1431 `(("r-memoise" ,r-memoise)))
1432 (home-page "https://github.com/gaborcsardi/crayon")
1433 (synopsis "Colored terminal output for R")
1435 "Colored terminal output on terminals that support ANSI color and
1436 highlight codes. It also works in Emacs ESS. ANSI color support is
1437 automatically detected. Colors and highlighting can be combined and nested.
1438 New styles can also be created easily. This package was inspired by the
1439 \"chalk\" JavaScript project.")
1440 (license license:expat)))
1442 (define-public r-praise
1449 (uri (cran-uri "praise" version))
1452 "1gfyypnvmih97p2r0php9qa39grzqpsdbq5g0fdsbpq5zms5w0sw"))))
1453 (build-system r-build-system)
1454 (home-page "https://github.com/gaborcsardi/praise")
1455 (synopsis "Functions to praise users")
1457 "This package provides template functions to assist in building friendly
1458 R packages that praise their users.")
1459 (license license:expat)))
1461 (define-public r-testthat
1467 (uri (cran-uri "testthat" version))
1470 "0pj1r01x4ny4capr83dfa19hi5i2sjjxky99schzip8zrq5dzxqf"))))
1471 (build-system r-build-system)
1473 `(("r-digest" ,r-digest)
1474 ("r-crayon" ,r-crayon)
1475 ("r-magrittr" ,r-magrittr)
1476 ("r-praise" ,r-praise)
1478 (home-page "https://github.com/hadley/testthat")
1479 (synopsis "Unit testing for R")
1481 "This package provides a unit testing system for R designed to be fun,
1482 flexible and easy to set up.")
1483 (license license:expat)))
1491 (uri (cran-uri "R6" version))
1494 "1ir51pb0y6yj05qaxsflk4a6hv8n73cwlb0qajcskbrz632dsyvx"))))
1495 (build-system r-build-system)
1496 (home-page "https://github.com/wch/R6/")
1497 (synopsis "Classes with reference semantics in R")
1499 "The R6 package allows the creation of classes with reference semantics,
1500 similar to R's built-in reference classes. Compared to reference classes, R6
1501 classes are simpler and lighter-weight, and they are not built on S4 classes
1502 so they do not require the methods package. These classes allow public and
1503 private members, and they support inheritance, even when the classes are
1504 defined in different packages.")
1505 (license license:expat)))
1507 (define-public r-rlang
1513 (uri (cran-uri "rlang" version))
1516 "0grwqy3zkvz96mvpwfbfyqid4jkfrqh3ldy2n6dpv2kjd1fzj0ar"))))
1517 (build-system r-build-system)
1518 (home-page "http://rlang.tidyverse.org")
1519 (synopsis "Functions for base types, core R and Tidyverse features")
1520 (description "This package provides a toolbox for working with base types,
1521 core R features like the condition system, and core @code{Tidyverse} features
1522 like tidy evaluation.")
1523 (license license:gpl3)))
1525 (define-public r-tibble
1532 (uri (cran-uri "tibble" version))
1535 "1q25i1cv3qms6d3lw7jd3z142w188znkcbyam460gn9si8l8g2bk"))))
1536 (build-system r-build-system)
1538 `(("r-lazyeval" ,r-lazyeval)
1539 ("r-rcpp" ,r-rcpp)))
1540 (home-page "https://github.com/hadley/tibble")
1541 (synopsis "Simple data frames")
1543 "This package provides a @code{tbl_df} class that offers better checking
1544 and printing capabilities than traditional data frames.")
1545 (license license:expat)))
1547 (define-public r-dplyr
1553 (uri (cran-uri "dplyr" version))
1556 "0ks5cklb03laqf5ygcw986g1lv7wk1ipvypjlha8xly2y4lvilwk"))))
1557 (build-system r-build-system)
1559 `(("r-assertthat" ,r-assertthat)
1561 ("r-magrittr" ,r-magrittr)
1562 ("r-lazyeval" ,r-lazyeval)
1564 ("r-tibble" ,r-tibble)))
1566 `(("r-rcpp" ,r-rcpp)
1568 (home-page "https://github.com/hadley/dplyr")
1569 (synopsis "Tools for working with data frames in R")
1571 "dplyr is the next iteration of plyr. It is focussed on tools for
1572 working with data frames. It has three main goals: 1) identify the most
1573 important data manipulation tools needed for data analysis and make them easy
1574 to use in R; 2) provide fast performance for in-memory data by writing key
1575 pieces of code in C++; 3) use the same code interface to work with data no
1576 matter where it is stored, whether in a data frame, a data table or
1578 (license license:expat)))
1580 (define-public r-acepack
1587 (uri (cran-uri "acepack" version))
1590 "1f98rpfjmhd92rdc3j004plyfpjailz6j0ycysbac0kgj83haxc2"))))
1591 (build-system r-build-system)
1593 `(("gfortran" ,gfortran)))
1594 (home-page "http://cran.r-project.org/web/packages/acepack")
1595 (synopsis "Functions for regression transformations")
1597 "This package provides ACE and AVAS methods for choosing regression
1599 (license license:expat)))
1601 (define-public r-cluster
1608 (uri (cran-uri "cluster" version))
1611 "1z4gbz7chxxi4ly6c0yjlikwgf8aa8dlg05cn5cd6pjr21zvh97l"))))
1612 (build-system r-build-system)
1614 `(("gfortran" ,gfortran)))
1615 (home-page "http://cran.r-project.org/web/packages/cluster")
1616 (synopsis "Methods for data cluster analysis")
1618 "This package provides tools that are useful in finding groups in data.
1619 It is based on the methods described in Kaufman and Rousseeuw (1990) \"Finding
1621 (license license:gpl2+)))
1623 (define-public r-formula
1630 (uri (cran-uri "Formula" version))
1633 "02in5325zzrqbhlygx6s0dinj6ymw845q70y56frqacv25ayzcax"))))
1634 (properties `((upstream-name . "Formula")))
1635 (build-system r-build-system)
1636 (home-page "http://cran.r-project.org/web/packages/Formula")
1637 (synopsis "Extended model formulas")
1639 "This package provides a new class @code{Formula}, which extends the base
1640 class @code{formula}. It supports extended formulas with multiple parts of
1641 regressors on the right-hand side and/or multiple responses on the left-hand
1643 (license (list license:gpl2+ license:gpl3+))))
1645 (define-public r-locfit
1652 (uri (cran-uri "locfit" version))
1655 "0lafrmq1q7x026m92h01hc9cjjiximqqi3v1g2hw7ai9vf7i897m"))))
1656 (build-system r-build-system)
1658 `(("r-lattice" ,r-lattice)))
1659 (home-page "http://cran.r-project.org/web/packages/locfit")
1660 (synopsis "Local regression, likelihood and density estimation")
1662 "This package provides functions used for local regression, likelihood
1663 and density estimation.")
1664 (license (list license:gpl2+ license:gpl3+))))
1666 (define-public r-chron
1672 (uri (cran-uri "chron" version))
1675 "1w3sl60gsirniqslb3pa75caiqbzbvc44phpd4czvwkb62xx1vx9"))))
1676 (build-system r-build-system)
1677 (home-page "http://cran.r-project.org/web/packages/chron")
1678 (synopsis "Chronological R objects which can handle dates and times")
1680 "This package provides chronological R objects which can handle dates and
1682 (license license:gpl2)))
1684 (define-public r-data-table
1686 (name "r-data-table")
1690 (uri (cran-uri "data.table" version))
1693 "0ykbjr1x50ajxbri385vi3mnxj7zg1dcgh9y0snp341qmmmdypw6"))))
1694 (build-system r-build-system)
1695 (home-page "https://github.com/Rdatatable/data.table/wiki")
1696 (synopsis "Enhanced version of data.frame R object")
1698 "The R package @code{data.table} is an extension of @code{data.frame}
1699 providing functions for fast aggregation of large data (e.g. 100GB in RAM),
1700 fast ordered joins, fast add/modify/delete of columns by group, column listing
1701 and fast file reading.")
1702 (license license:gpl3+)))
1704 (define-public r-xtable
1711 (uri (cran-uri "xtable" version))
1714 "0398qkpvlw3dv0myz4mjcyqwpwc2m31l127r8vdzwc71wb6s28qn"))))
1715 (build-system r-build-system)
1717 `(("r-knitr" ,r-knitr)))
1718 (home-page "http://xtable.r-forge.r-project.org/")
1719 (synopsis "Export R tables to LaTeX or HTML")
1721 "This package provides tools to export R data as LaTeX and HTML tables.")
1722 (license license:gpl2+)))
1724 (define-public python-patsy
1726 (name "python-patsy")
1730 (uri (pypi-uri "patsy" version ".zip"))
1733 "1m6knyq8hbqlx242y4da02j0x86j4qggs1j7q186w3jv0j0c476w"))))
1734 (build-system python-build-system)
1737 (modify-phases %standard-phases
1738 (replace 'check (lambda _ (zero? (system* "nosetests" "-v")))))))
1740 `(("python-numpy" ,python-numpy)
1741 ("python-scipy" ,python-scipy)
1742 ("python-six" ,python-six)))
1744 `(("python-nose" ,python-nose)
1746 (home-page "https://github.com/pydata/patsy")
1747 (synopsis "Describe statistical models and build design matrices")
1749 "Patsy is a Python package for describing statistical models and for
1750 building design matrices.")
1751 ;; The majority of the code is distributed under BSD-2. The module
1752 ;; patsy.compat contains code derived from the Python standard library,
1753 ;; and is covered by the PSFL.
1754 (license (list license:bsd-2 license:psfl))))
1756 (define-public python2-patsy
1757 (package-with-python2 python-patsy))
1759 (define-public python-statsmodels
1761 (name "python-statsmodels")
1766 (uri (pypi-uri "statsmodels" version))
1769 "0j30v3932shnj9368c9jr3svkyrvfj90h2l7nxnqkbpv0svilhr6"))
1770 (patches (search-patches "python-statsmodels-fix-tests.patch"))))
1771 (build-system python-build-system)
1774 (modify-phases %standard-phases
1775 ;; tests must be run after installation
1777 (add-after 'unpack 'set-matplotlib-backend-to-agg
1779 ;; Set the matplotlib backend to Agg to avoid problems using the
1780 ;; GTK backend without a display.
1781 (substitute* (append (find-files "statsmodels/graphics/tests" "\\.py")
1782 '("statsmodels/tsa/vector_ar/tests/test_var.py"
1783 "statsmodels/duration/tests/test_survfunc.py"))
1784 (("import matplotlib\\.pyplot as plt" line)
1785 (string-append "import matplotlib;matplotlib.use('Agg');"
1788 (add-after 'install 'check
1789 (lambda* (#:key inputs outputs #:allow-other-keys)
1790 ;; Make installed package available for running the tests
1791 (add-installed-pythonpath inputs outputs)
1792 (with-directory-excursion "/tmp"
1793 (zero? (system* "nosetests"
1795 "-v" "statsmodels"))))))))
1797 `(("python-numpy" ,python-numpy)
1798 ("python-scipy" ,python-scipy)
1799 ("python-pandas" ,python-pandas)
1800 ("python-patsy" ,python-patsy)
1801 ("python-matplotlib" ,python-matplotlib)))
1803 `(("python-cython" ,python-cython)
1804 ("python-nose" ,python-nose)
1805 ("python-sphinx" ,python-sphinx)))
1806 (home-page "http://statsmodels.sourceforge.net/")
1807 (synopsis "Statistical modeling and econometrics in Python")
1809 "Statsmodels is a Python package that provides a complement to scipy for
1810 statistical computations including descriptive statistics and estimation and
1811 inference for statistical models.")
1812 (license license:bsd-3)))
1814 (define-public python2-statsmodels
1815 (let ((stats (package-with-python2 python-statsmodels)))
1816 (package (inherit stats)
1818 `(("python2-pytz" ,python2-pytz)
1819 ("python2-numpy" ,python2-numpy)
1820 ("python2-scipy" ,python2-scipy)
1821 ("python2-pandas" ,python2-pandas)
1822 ("python2-patsy" ,python2-patsy)
1823 ("python2-matplotlib" ,python2-matplotlib))))))
1825 (define-public r-coda
1831 (uri (cran-uri "coda" version))
1834 "14a4a8df4ygj05h37chmdn8kzcqs07fpbflxfrq530563mrza7yl"))))
1835 (build-system r-build-system)
1837 `(("r-lattice" ,r-lattice)))
1838 (home-page "http://cran.r-project.org/web/packages/coda")
1839 (synopsis "This is a package for Output Analysis and Diagnostics for MCMC")
1840 (description "This package provides functions for summarizing and plotting
1841 the output from Markov Chain Monte Carlo (MCMC) simulations, as well as
1842 diagnostic tests of convergence to the equilibrium distribution of the Markov
1844 (license license:gpl2+)))
1846 (define-public r-ade4
1853 (uri (cran-uri "ade4" version))
1856 "0lnc37d6waajmagy8qvw206pyc4vgrpzl3hk3j9frh6wa0b8x140"))))
1857 (build-system r-build-system)
1858 (home-page "http://pbil.univ-lyon1.fr/ADE-4")
1859 (synopsis "Multivariate data analysis and graphical display")
1861 "The ade4 package contains data analysis functions to analyze ecological
1862 and environmental data in the framework of Euclidean exploratory methods.")
1863 (license license:gpl2+)))
1865 (define-public r-xml2
1872 (uri (cran-uri "xml2" version))
1875 "05iifrcgzx53w5ciw8bbm4vdwc3giv4xsvazv8chqxkndfvf7wq0"))))
1876 (build-system r-build-system)
1878 `(("libxml2" ,libxml2)))
1880 `(("r-rcpp" ,r-rcpp)
1882 (home-page "https://github.com/hadley/xml2")
1883 (synopsis "Parse XML with R")
1885 "This package provides a simple, consistent interface to working with XML
1886 files in R. It is built on top of the libxml2 C library.")
1887 (license license:gpl2+)))
1889 (define-public r-multitaper
1891 (name "r-multitaper")
1896 (uri (cran-uri "multitaper" version))
1899 "1ckf9bhvd5k7ypaw2viqh3cyj9jij0ygcp4q9pxwqs508s6yx3a5"))))
1900 (build-system r-build-system)
1902 `(("gfortran" ,gfortran)))
1903 (home-page "https://github.com/wesleyburr/multitaper/")
1904 (synopsis "Multitaper spectral analysis tools")
1906 "This package implements multitaper spectral estimation
1907 techniques using prolate spheroidal sequences (Slepians) and sine
1908 tapers for time series analysis. It includes an adaptive weighted
1909 multitaper spectral estimate, a coherence estimate, Thomson's Harmonic
1910 F-test, and complex demodulation. The Slepians sequences are
1911 generated efficiently using a tridiagonal matrix solution, and
1912 jackknifed confidence intervals are available for most estimates.")
1913 (license license:gpl2+)))
1915 (define-public r-rversions
1917 (name "r-rversions")
1921 (uri (cran-uri "rversions" version))
1924 "0i2gi05nrvknr7g89rbppkswyfcwwd4r9gp75fdfhpah8sgq1l11"))))
1925 (build-system r-build-system)
1927 `(("r-curl" ,r-curl)
1928 ("r-xml2" ,r-xml2)))
1929 (home-page "https://github.com/metacran/rversions")
1930 (synopsis "Query R versions, including 'r-release' and 'r-oldrel'")
1932 "This package provides functions to query the main R repository to find
1933 the versions that @code{r-release} and @code{r-oldrel} refer to, and also all
1934 previous R versions and their release dates.")
1935 (license license:expat)))
1937 (define-public r-whisker
1943 (uri (cran-uri "whisker" version))
1946 "0z4cn115gxcl086d6bnqr8afi67b6a7xqg6ivmk3l4ng1x8kcj28"))))
1947 (build-system r-build-system)
1948 (home-page "https://github.com/edwindj/whisker")
1949 (synopsis "Logicless mustache templating for R")
1951 "This package provides logicless templating, with a syntax that is not
1953 (license license:gpl3+)))
1955 (define-public r-backports
1957 (name "r-backports")
1962 (uri (cran-uri "backports" version))
1965 "1pn1ii8vbkgxcqvx52kzsbwf9gkn9fp33388087zky2hmdzdirn0"))))
1966 (build-system r-build-system)
1967 (home-page "http://cran.r-project.org/web/packages/backports")
1968 (synopsis "Reimplementations of functions introduced since R 3.0.0")
1970 "Provides implementations of functions which have been introduced in R
1971 since version 3.0.0. The backports are conditionally exported which results
1972 in R resolving the function names to the version shipped with R (if available)
1973 and uses the implemented backports as fallback. This way package developers
1974 can make use of the new functions without worrying about the minimum required
1976 (license license:gpl2+)))
1978 (define-public r-checkmate
1980 (name "r-checkmate")
1985 (uri (cran-uri "checkmate" version))
1988 "1zqcggl9m7slvc0q6zyhssdypb7jzf3l9byl5vxh1qdwjiw2y64g"))))
1989 (build-system r-build-system)
1991 `(("r-backports" ,r-backports)))
1992 (home-page "https://github.com/mllg/checkmate")
1993 (synopsis "Fast and versatile argument checks")
1995 "This package provides tests and assertions to perform frequent argument
1996 checks. A substantial part of the package was written in C to minimize any
1997 worries about execution time overhead.")
1998 (license license:bsd-3)))
2000 (define-public r-bbmisc
2007 (uri (cran-uri "BBmisc" version))
2010 "1lh1n4bvxzivb5rbz69mvd8xdgr3gr2bnqd68a39sd1530l8r90y"))))
2011 (properties `((upstream-name . "BBmisc")))
2012 (build-system r-build-system)
2014 `(("r-checkmate" ,r-checkmate)))
2015 (home-page "https://github.com/berndbischl/BBmisc")
2016 (synopsis "Miscellaneous functions for R package development")
2018 "This package provides miscellaneous helper functions for the development
2020 (license license:bsd-3)))
2022 (define-public r-fail
2029 (uri (cran-uri "fail" version))
2032 "0vfm6kmpmgsamda5p0sl771kbnsscan31l2chzssyw93kwmams7d"))))
2033 (build-system r-build-system)
2035 `(("r-bbmisc" ,r-bbmisc)
2036 ("r-checkmate" ,r-checkmate)))
2037 (home-page "https://github.com/mllg/fail")
2038 (synopsis "File abstraction interface layer (FAIL)")
2040 "This package provides a more comfortable interface to work with R data
2041 or source files in a key-value fashion.")
2042 (license license:bsd-3)))
2044 (define-public r-batchjobs
2046 (name "r-batchjobs")
2051 (uri (cran-uri "BatchJobs" version))
2054 "1kb99024jih5bycc226bl4jyvbbl1sg72q3m2wnlshl7s8p6vva0"))))
2055 (properties `((upstream-name . "BatchJobs")))
2056 (build-system r-build-system)
2058 `(("r-bbmisc" ,r-bbmisc)
2060 ("r-checkmate" ,r-checkmate)
2062 ("r-digest" ,r-digest)
2064 ("r-rsqlite" ,r-rsqlite)
2065 ("r-sendmailr" ,r-sendmailr)
2066 ("r-stringr" ,r-stringr)))
2067 (home-page "https://github.com/tudo-r/BatchJobs")
2068 (synopsis "Batch computing with R")
2070 "This package provides @code{Map}, @code{Reduce} and @code{Filter}
2071 variants to generate jobs on batch computing systems like PBS/Torque, LSF,
2072 SLURM and Sun Grid Engine. Multicore and SSH systems are also supported.")
2073 (license license:bsd-2)))
2075 (define-public r-brew
2081 (uri (cran-uri "brew" version))
2084 "1vghazbcha8gvkwwcdagjvzx6yl8zm7kgr0i9wxr4jng06d1l3fp"))))
2085 (build-system r-build-system)
2086 (home-page "http://cran.r-project.org/web/packages/brew")
2087 (synopsis "Templating framework for report generation")
2089 "The brew package implements a templating framework for mixing text and R
2090 code for report generation. The template syntax is similar to PHP, Ruby's erb
2091 module, Java Server Pages, and Python's psp module.")
2092 (license license:gpl2+)))
2094 (define-public r-desc
2101 (uri (cran-uri "desc" version))
2104 "0mc1jmiwqyj7s6gzxz6fyamzjpmdn3rpfpllby2fq11ml30c6jpr"))))
2105 (build-system r-build-system)
2107 `(("r-assertthat" ,r-assertthat)
2108 ("r-crayon" ,r-crayon)
2110 ("r-rprojroot" ,r-rprojroot)))
2111 (home-page "https://github.com/r-pkgs/desc")
2112 (synopsis "Manipulate DESCRIPTION Files")
2114 "This package provides tools to read, write, create, and manipulate
2115 DESCRIPTION files. It is intended for packages that create or manipulate
2117 (license license:expat)))
2119 (define-public r-commonmark
2121 (name "r-commonmark")
2126 (uri (cran-uri "commonmark" version))
2129 "12q5mncxvkwdxc35is6y5idx8a1h99hyz5x6ri0arni6k25krchk"))))
2130 (build-system r-build-system)
2131 ;;(inputs `(("zlib" ,zlib)))
2132 (home-page "http://cran.r-project.org/web/packages/commonmark")
2133 (synopsis "CommonMark and Github Markdown Rendering in R")
2135 "The CommonMark specification defines a rationalized version of markdown
2136 syntax. This package uses the 'cmark' reference implementation for converting
2137 markdown text into various formats including HTML, LaTeX and groff man. In
2138 addition, it exposes the markdown parse tree in XML format. The latest
2139 version of this package also adds support for Github extensions including
2140 tables, autolinks and strikethrough text.")
2141 (license license:bsd-2)))
2143 (define-public r-roxygen2
2149 (uri (cran-uri "roxygen2" version))
2152 "0xpzziminf225kjwhyl51kgkzhplyzhk5farhf5s822krl2xqbfj"))))
2153 (build-system r-build-system)
2155 `(("r-brew" ,r-brew)
2156 ("r-commonmark" ,r-commonmark)
2158 ("r-digest" ,r-digest)
2161 ("r-stringi" ,r-stringi)
2162 ("r-stringr" ,r-stringr)
2163 ("r-xml2" ,r-xml2)))
2164 (home-page "https://github.com/klutometis/roxygen")
2165 (synopsis "In-source documentation system for R")
2167 "Roxygen2 is a Doxygen-like in-source documentation system for Rd,
2168 collation, and NAMESPACE files.")
2169 (license license:gpl2+)))
2171 (define-public r-openssl
2178 (uri (cran-uri "openssl" version))
2181 "0ffwllii8xl6sa2v66134g0fwaw1y3zn3mvaa4nrc120vv5d3mkd"))))
2182 (build-system r-build-system)
2184 `(("openssl" ,openssl)))
2185 (home-page "https://github.com/jeroenooms/openssl")
2186 (synopsis "Toolkit for encryption, signatures and certificates")
2188 "This package provides R bindings to OpenSSL libssl and libcrypto, plus
2189 custom SSH pubkey parsers. It supports RSA, DSA and NIST curves P-256, P-384
2190 and P-521. Cryptographic signatures can either be created and verified
2191 manually or via x509 certificates. AES block cipher is used in CBC mode for
2192 symmetric encryption; RSA for asymmetric (public key) encryption. High-level
2193 envelope functions combine RSA and AES for encrypting arbitrary sized data.
2194 Other utilities include key generators, hash functions (md5, sha1, sha256,
2195 etc), base64 encoder, a secure random number generator, and @code{bignum} math
2196 methods for manually performing crypto calculations on large multibyte
2198 (license license:expat)))
2200 (define-public r-httr
2206 (uri (cran-uri "httr" version))
2209 "03kkjlhyvvi5znwaxfm6cmdsg3q7ivwsvkzgabhjdj2jxs80pfg7"))))
2210 (build-system r-build-system)
2212 `(("r-curl" ,r-curl)
2213 ("r-digest" ,r-digest)
2214 ("r-jsonlite" ,r-jsonlite)
2215 ("r-openssl" ,r-openssl)
2218 ("r-stringr" ,r-stringr)))
2219 (home-page "https://github.com/hadley/httr")
2220 (synopsis "Tools for working with URLs and HTTP")
2222 "The aim of httr is to provide a wrapper for RCurl customised to the
2223 demands of modern web APIs. It provides useful tools for working with HTTP
2224 organised by HTTP verbs (@code{GET()}, @code{POST()}, etc). Configuration
2225 functions make it easy to control additional request components.")
2226 (license license:expat)))
2228 (define-public r-git2r
2234 (uri (cran-uri "git2r" version))
2237 "0bgzdsdi9n6l8pchivs6a2g4ksa56qs8hygpyv2c0ndqmx4jxcwi"))))
2238 (build-system r-build-system)
2239 ;; This R package contains modified sources of libgit2. This modified
2240 ;; version of libgit2 is built as the package is built. Hence libgit2 is
2241 ;; not among the inputs of this package.
2243 `(("libssh2" ,libssh2)
2244 ("openssl" ,openssl)
2246 (home-page "https://github.com/ropensci/git2r")
2247 (synopsis "Access Git repositories with R")
2249 "This package provides an R interface to the libgit2 library, which is a
2250 pure C implementation of the Git core methods.")
2251 ;; GPLv2 only with linking exception.
2252 (license license:gpl2)))
2254 (define-public r-rstudioapi
2256 (name "r-rstudioapi")
2260 (uri (cran-uri "rstudioapi" version))
2263 "1zkvz72z6nw0xc8bhb21y5x1nk6avijs0w8n4vsbvw9sn76wc96s"))))
2264 (build-system r-build-system)
2265 (home-page "http://cran.r-project.org/web/packages/rstudioapi")
2266 (synopsis "Safely access the RStudio API")
2268 "This package provides functions to access the RStudio API and provide
2269 informative error messages when it's not available.")
2270 (license license:expat)))
2272 (define-public r-devtools
2278 (uri (cran-uri "devtools" version))
2281 "08ajsr12wd31lsx3jv5l9mq4063dc5fpr9lcnzra6kl59vi5pa7v"))))
2282 (build-system r-build-system)
2284 `(("r-curl" ,r-curl)
2285 ("r-digest" ,r-digest)
2286 ("r-evaluate" ,r-evaluate)
2287 ("r-git2r" ,r-git2r)
2289 ("r-jsonlite" ,r-jsonlite)
2290 ("r-memoise" ,r-memoise)
2291 ("r-roxygen2" ,r-roxygen2)
2292 ("r-rstudioapi" ,r-rstudioapi)
2293 ("r-rversions" ,r-rversions)
2294 ("r-whisker" ,r-whisker)
2295 ("r-withr" ,r-withr)))
2296 (home-page "https://github.com/hadley/devtools")
2297 (synopsis "Tools to make developing R packages easier")
2298 (description "The devtools package is a collection of package development
2299 tools to simplify the devolpment of R packages.")
2300 (license license:gpl2+)))
2302 (define-public r-withr
2308 (uri (cran-uri "withr" version))
2311 "042z8nmqqilgrvhmbqrjc05qys3gzwq1rqy2wxp2bi5d41859493"))))
2312 (build-system r-build-system)
2313 (home-page "https://github.com/jimhester/withr")
2314 (synopsis "Run code with temporarily modified global state")
2316 "This package provides a set of functions to run R code in an environment
2317 in which global state has been temporarily modified. Many of these functions
2318 were originally a part of the r-devtools package.")
2319 (license license:gpl2+)))
2321 (define-public r-hms
2328 (uri (cran-uri "hms" version))
2331 "127znf522r5mn3k6frhdd7pqh063bs3l85gn9h7cx50hpjf2as4k"))))
2332 (build-system r-build-system)
2333 (home-page "https://github.com/rstats-db/hms")
2334 (synopsis "Pretty time of day")
2336 "This package implements an S3 class for storing and formatting
2337 time-of-day values, based on the @code{difftime} class.")
2338 (license license:gpl3+)))
2340 (define-public r-readr
2346 (uri (cran-uri "readr" version))
2349 "1g7g3gdmvq7nj8asw6fi13k38c420sy9696nqgkrhlvv5h13yqs7"))))
2350 (build-system r-build-system)
2352 `(("r-rcpp" ,r-rcpp)
2354 ("r-tibble" ,r-tibble)
2357 (home-page "https://github.com/hadley/readr")
2358 (synopsis "Read tabular data")
2360 "This package provides functions to read flat or tabular text files from
2361 disk (or a connection).")
2362 (license license:gpl2+)))
2364 (define-public r-plotrix
2370 (uri (cran-uri "plotrix" version))
2373 "1wxzjnzvkl3aga51ad2xhv4s7v46kvnp4z0nz4cb9cn10057sfw8"))))
2374 (build-system r-build-system)
2375 (home-page "http://cran.r-project.org/web/packages/plotrix")
2376 (synopsis "Various plotting functions")
2378 "This package provides lots of plotting, various labeling, axis and color
2379 scaling functions for R.")
2380 (license license:gpl2+)))
2382 (define-public r-gridbase
2388 (uri (cran-uri "gridBase" version))
2391 "09jzw4rzwf2y5lcz7b16mb68pn0fqigv34ff7lr6w3yi9k91i1xy"))))
2392 (build-system r-build-system)
2393 (home-page "http://cran.r-project.org/web/packages/gridBase")
2394 (synopsis "Integration of base and grid graphics")
2396 "This package provides an integration of base and grid graphics for R.")
2397 (license license:gpl2+)))
2399 (define-public r-latticeextra
2401 (name "r-latticeextra")
2406 (uri (cran-uri "latticeExtra" version))
2409 "1hkyqsa7klk5glj9y1hg3rxr5qilqw8h0017zc4c3nps7lr9a1kq"))))
2410 (properties `((upstream-name . "latticeExtra")))
2411 (build-system r-build-system)
2413 `(("r-lattice" ,r-lattice)
2414 ("r-rcolorbrewer" ,r-rcolorbrewer)))
2415 (home-page "http://latticeextra.r-forge.r-project.org/")
2416 (synopsis "Extra graphical utilities based on lattice")
2418 "Building on the infrastructure provided by the lattice package, this
2419 package provides several new high-level graphics functions and methods, as
2420 well as additional utilities such as panel and axis annotation functions.")
2421 (license license:gpl2+)))
2423 (define-public r-rcpparmadillo
2425 (name "r-rcpparmadillo")
2426 (version "0.7.800.2.0")
2429 (uri (cran-uri "RcppArmadillo" version))
2432 "025lh504nw7ir1f2xsqnvfkq9rg0rb2xzfn3a2s0b2a9snqdzzwr"))))
2433 (properties `((upstream-name . "RcppArmadillo")))
2434 (build-system r-build-system)
2436 `(("r-rcpp" ,r-rcpp)))
2437 (home-page "https://github.com/RcppCore/RcppArmadillo")
2438 (synopsis "Rcpp integration for the Armadillo linear algebra library")
2440 "Armadillo is a templated C++ linear algebra library that aims towards a
2441 good balance between speed and ease of use. Integer, floating point and
2442 complex numbers are supported, as well as a subset of trigonometric and
2443 statistics functions. Various matrix decompositions are provided through
2444 optional integration with LAPACK and ATLAS libraries. This package includes
2445 the header files from the templated Armadillo library.")
2446 ;; Armadillo is licensed under the MPL 2.0, while RcppArmadillo (the Rcpp
2447 ;; bindings to Armadillo) is licensed under the GNU GPL version 2 or
2448 ;; later, as is the rest of 'Rcpp'.
2449 (license license:gpl2+)))
2451 (define-public r-bitops
2457 (uri (cran-uri "bitops" version))
2460 "176nr5wpnkavn5z0yy9f7d47l37ndnn2w3gv854xav8nnybi6wwv"))))
2461 (build-system r-build-system)
2462 (home-page "http://cran.r-project.org/web/packages/bitops")
2463 (synopsis "Bitwise operations")
2465 "This package provides functions for bitwise operations on integer
2467 (license license:gpl2+)))
2469 (define-public r-catools
2475 (uri (cran-uri "caTools" version))
2478 "1x4szsn2qmbzpyjfdaiz2q7jwhap2gky9wq0riah74q0pzz76ank"))))
2479 (properties `((upstream-name . "caTools")))
2480 (build-system r-build-system)
2482 `(("r-bitops" ,r-bitops)))
2483 (home-page "http://cran.r-project.org/web/packages/caTools")
2484 (synopsis "Various tools including functions for moving window statistics")
2486 "This package contains several basic utility functions including:
2487 moving (rolling, running) window statistic functions, read/write for GIF and
2488 ENVI binary files, fast calculation of AUC, LogitBoost classifier, base64
2489 encoder/decoder, round-off-error-free sum and cumsum, etc.")
2490 (license license:gpl3+)))
2492 (define-public r-rprojroot
2494 (name "r-rprojroot")
2499 (uri (cran-uri "rprojroot" version))
2502 "1fgyxv1zv04sllcclzz089xl6hpdzac7xk61l0l4acb7rqsx5d18"))))
2503 (build-system r-build-system)
2505 `(("r-backports" ,r-backports)))
2506 (home-page "https://github.com/krlmlr/rprojroot")
2507 (synopsis "Finding files in project subdirectories")
2509 "This package helps accessing files relative to a project root. It
2510 provides helpers for robust, reliable and flexible paths to files below a
2511 project root. The root of a project is defined as a directory that matches a
2512 certain criterion, e.g., it contains a certain regular file.")
2513 (license license:gpl3)))
2515 (define-public r-rmarkdown
2517 (name "r-rmarkdown")
2522 (uri (cran-uri "rmarkdown" version))
2525 "1dvs9cq88g61wfimifagq6y98yxavxzjan39jvpdsg98mafckq9g"))))
2526 (properties `((upstream-name . "rmarkdown")))
2527 (build-system r-build-system)
2529 `(("r-catools" ,r-catools)
2530 ("r-evaluate" ,r-evaluate)
2531 ("r-htmltools" ,r-htmltools)
2532 ("r-jsonlite" ,r-jsonlite)
2533 ("r-base64enc" ,r-base64enc)
2534 ("r-knitr" ,r-knitr)
2535 ("r-rprojroot" ,r-rprojroot)
2537 ("ghc-pandoc" ,ghc-pandoc)))
2538 (home-page "http://rmarkdown.rstudio.com")
2539 (synopsis "Convert R Markdown documents into a variety of formats")
2541 "This package provides tools to convert R Markdown documents into a
2542 variety of formats.")
2543 (license license:gpl3+)))
2545 (define-public r-gtable
2551 (uri (cran-uri "gtable" version))
2554 "0vz7073m0a2q12qzzihrfh5c2kx5jqi5l7z470fxmwqghdllh7l0"))))
2555 (properties `((upstream-name . "gtable")))
2556 (build-system r-build-system)
2557 (home-page "https://cran.r-project.org/web/packages/gtable")
2558 (synopsis "R library to arrange grobs in tables")
2560 "Gtable is a collection of tools to make it easier to work with
2561 \"tables\" of grobs.")
2562 (license license:gpl2+)))
2564 (define-public r-gridextra
2566 (name "r-gridextra")
2570 (uri (cran-uri "gridExtra" version))
2573 "0638ihwl00j76ivaxxhxvi8z573lwy1jym3srr78mx6dbdd4bzj4"))))
2574 (properties `((upstream-name . "gridExtra")))
2575 (build-system r-build-system)
2577 `(("r-gtable" ,r-gtable)))
2579 `(("r-knitr" ,r-knitr))) ;for building vignettes
2580 (home-page "https://github.com/baptiste/gridextra")
2581 (synopsis "Miscellaneous functions for \"Grid\" graphics")
2583 "This package provides a number of user-level functions to work with
2584 @code{grid} graphics, notably to arrange multiple grid-based plots on a page,
2586 (license license:gpl2+)))
2588 (define-public r-pkgconfig
2590 (name "r-pkgconfig")
2594 (uri (cran-uri "pkgconfig" version))
2597 "0h2sp93fqqjbfqgq82a3i94ybnndx6ghaal8pbf99firnsjb40mb"))))
2598 (build-system r-build-system)
2599 (home-page "https://github.com/gaborcsardi/pkgconfig")
2600 (synopsis "Private configuration for R packages")
2601 (description "This package provides the functionality to set configuration
2602 options on a per-package basis. Options set by a given package only apply to
2603 that package, other packages are unaffected.")
2604 (license license:expat)))
2606 (define-public r-blob
2612 (uri (cran-uri "blob" version))
2615 "05pazzcyz3c3vd2l70zq9cf172cgjff4dnf419zigfnxycyn1mhn"))))
2616 (build-system r-build-system)
2618 `(("r-tibble" ,r-tibble)))
2619 (home-page "https://github.com/hadley/blob")
2620 (synopsis "Simple S3 Class for representing vectors of binary data")
2621 (description "Raw vectors in R are useful for storing a single binary
2622 object. What if you want to put a vector of them in a data frame? The blob
2623 package provides the blob object, a list of raw vectors, suitable for use as
2624 a column in data frame.")
2625 (license license:gpl3+)))
2627 (define-public r-rsqlite
2633 (uri (cran-uri "RSQLite" version))
2636 "1xpg1i1jkzkzv44k512k90c2vvl960pl2d4a3spwcha6yclyc3vz"))))
2637 (properties `((upstream-name . "RSQLite")))
2638 (build-system r-build-system)
2642 ("r-memoise" ,r-memoise)
2643 ("r-plogr" ,r-plogr)
2645 ("r-bit64" ,r-bit64)
2647 ("r-pkgconfig" ,r-pkgconfig)))
2648 (home-page "https://github.com/rstats-db/RSQLite")
2649 (synopsis "SQLite interface for R")
2651 "This package embeds the SQLite database engine in R and provides an
2652 interface compliant with the DBI package. The source for the SQLite
2653 engine (version 3.8.8.2) is included.")
2654 (license license:lgpl2.0+)))
2656 (define-public r-rcurl
2659 (version "1.95-0.1.2")
2662 (uri (string-append "http://www.bioconductor.org/packages/"
2663 "release/extra/src/"
2664 "contrib/RCurl_" version ".tar.gz"))
2667 "0l7qi45jxlf898n0jazabnam1yyczvqfdknd00bdirhhiplpd1sc"))))
2668 (properties `((upstream-name . "RCurl")))
2669 (build-system r-build-system)
2671 `(("libcurl" ,curl)))
2673 `(("r-bitops" ,r-bitops)))
2674 (home-page "http://www.omegahat.org/RCurl")
2675 (synopsis "General network client interface for R")
2677 "The package allows one to compose general HTTP requests and provides
2678 convenient functions to fetch URIs, GET and POST forms, etc. and process the
2679 results returned by the Web server. This provides a great deal of control
2680 over the HTTP/FTP/... connection and the form of the request while providing a
2681 higher-level interface than is available just using R socket connections.
2682 Additionally, the underlying implementation is robust and extensive,
2683 supporting FTP/FTPS/TFTP (uploads and downloads), SSL/HTTPS, telnet, dict,
2684 ldap, and also supports cookies, redirects, authentication, etc.")
2685 (license license:bsd-3)))
2687 (define-public r-xml
2690 (version "3.98-1.6")
2693 (uri (cran-uri "XML" version))
2696 "1amxx7fpik162nimrr7m5lvv6rhx9cwdyg44fxp1i5wm3y4skwnz"))))
2698 `((upstream-name . "XML")))
2699 (build-system r-build-system)
2701 `(("libxml2" ,libxml2)))
2702 (home-page "http://www.omegahat.org/RSXML")
2703 (synopsis "Tools for parsing and generating XML within R")
2705 "Many approaches for both reading and creating XML (and HTML)
2706 documents (including DTDs), both local and accessible via HTTP or FTP. Also
2707 offers access to an XPath \"interpreter\".")
2708 (license license:bsd-2)))
2710 (define-public r-xnomial
2715 (origin (method url-fetch)
2716 (uri (cran-uri "XNomial" version))
2719 "1mwx302576rmsjllbq2clfxilm3hkyp5bw0wmwqbn0kgv5wpy8z6"))))
2720 (properties (quasiquote ((upstream-name . "XNomial"))))
2721 (build-system r-build-system)
2722 (home-page "http://cran.r-project.org/web/packages/XNomial")
2723 (synopsis "Goodness-of-Fit test for multinomial data")
2725 "This package provides an exact Goodness-of-Fit test for
2726 multinomial data with fixed probabilities. It can be used to
2727 determine whether a set of counts fits a given expected ratio. To see
2728 whether a set of observed counts fits an expectation, one can examine
2729 all possible outcomes with @code{xmulti()} or a random sample of them
2730 with @code{xmonte()} and find the probability of an observation
2731 deviating from the expectation by at least as much as the observed.
2732 As a measure of deviation from the expected, one can use the
2733 log-likelihood ratio, the multinomial probability, or the classic
2734 chi-square statistic. A histogram of the test statistic can also be
2735 plotted and compared with the asymptotic curve.")
2736 (license (list license:gpl2+ license:gpl3+))))
2738 (define-public r-lambda-r
2744 (uri (cran-uri "lambda.r" version))
2747 "1j6287iqvs3ill6r5g6ksf5809qp0l0nf20ib8266m1r09lc9j14"))))
2748 (properties `((upstream-name . "lambda.r")))
2749 (build-system r-build-system)
2750 (home-page "http://cran.r-project.org/web/packages/lambda.r")
2751 (synopsis "Functional programming extension for R")
2753 "This package provides a language extension to efficiently write
2754 functional programs in R. Syntax extensions include multi-part function
2755 definitions, pattern matching, guard statements, built-in (optional) type
2757 (license license:lgpl3+)))
2759 (define-public r-futile-options
2761 (name "r-futile-options")
2765 (uri (cran-uri "futile.options" version))
2768 "1hp82h6xqq5cck67h7lpf22n3j7mg3v1mla5y5ivnzrrb7iyr17f"))))
2770 `((upstream-name . "futile.options")))
2771 (build-system r-build-system)
2772 (home-page "http://cran.r-project.org/web/packages/futile.options")
2773 (synopsis "Options management framework")
2775 "The futile.options subsystem provides an easy user-defined options
2776 management system that is properly scoped. This means that options created
2777 via @code{futile.options} are fully self-contained and will not collide with
2778 options defined in other packages.")
2779 (license license:lgpl3+)))
2781 (define-public r-futile-logger
2783 (name "r-futile-logger")
2787 (uri (cran-uri "futile.logger" version))
2790 "1r3nayk0z9n1svbf8640vw90dal5q07nkn0gv4bnva3pbzb352sy"))))
2791 (properties `((upstream-name . "futile.logger")))
2792 (build-system r-build-system)
2794 `(("r-futile-options" ,r-futile-options)
2795 ("r-lambda-r" ,r-lambda-r)))
2796 (home-page "http://cran.r-project.org/web/packages/futile.logger")
2797 (synopsis "Logging utility for R")
2799 "This package provides a simple yet powerful logging utility. Based
2800 loosely on log4j, futile.logger takes advantage of R idioms to make logging a
2801 convenient and easy to use replacement for @code{cat} and @code{print}
2803 (license license:lgpl3+)))
2805 (define-public r-segmented
2807 (name "r-segmented")
2812 (uri (cran-uri "segmented" version))
2815 "1740cvx2q4v23g4q0zkvg50s5bv8jcrlzzhm7fac4xn0riwmzp5i"))))
2816 (build-system r-build-system)
2817 (home-page "http://cran.r-project.org/web/packages/segmented")
2818 (synopsis "Regression models with breakpoints estimation")
2820 "Given a regression model, segmented updates the model by adding one or
2821 more segmented (i.e., piecewise-linear) relationships. Several variables with
2822 multiple breakpoints are allowed.")
2823 (license (list license:gpl2+ license:gpl3+))))
2825 (define-public r-snow
2831 (uri (cran-uri "snow" version))
2834 "1mxbrkpnmq32x4wd0194d541661yvfrrjlr3lsf7qq53ms3h21zf"))))
2835 (build-system r-build-system)
2836 (home-page "http://cran.r-project.org/web/packages/snow")
2837 (synopsis "Support for simple parallel computing in R")
2839 "The snow package provides support for simple parallel computing on a
2840 network of workstations using R. A master R process calls @code{makeCluster}
2841 to start a cluster of worker processes; the master process then uses functions
2842 such as @code{clusterCall} and @code{clusterApply} to execute R code on the
2843 worker processes and collect and return the results on the master.")
2844 (license (list license:gpl2+ license:gpl3+))))
2846 (define-public r-sparsem
2852 (uri (cran-uri "SparseM" version))
2855 "16xnl9cacim35aawq6bmd2y6rrhnh1kg6dwsy3k5yslkfr1y9j62"))))
2857 `((upstream-name . "SparseM")))
2859 `(("gfortran" ,gfortran)))
2860 (build-system r-build-system)
2861 (home-page "http://www.econ.uiuc.edu/~roger/research/sparse/sparse.html")
2862 (synopsis "Sparse linear algebra")
2864 "This package provides some basic linear algebra functionality for sparse
2865 matrices. It includes Cholesky decomposition and backsolving as well as
2866 standard R subsetting and Kronecker products.")
2867 (license license:gpl2+)))
2869 (define-public r-iterators
2871 (name "r-iterators")
2876 (uri (cran-uri "iterators" version))
2879 "1f057pabs7ss9h1n244can26qsi5n2k3salrdk0b0vkphlrs4kmf"))))
2880 (build-system r-build-system)
2881 (home-page "http://cran.r-project.org/web/packages/iterators")
2882 (synopsis "Iterator construct for R")
2884 "This package provides support for iterators, which allow a programmer to
2885 traverse through all the elements of a vector, list, or other collection of
2887 (license license:asl2.0)))
2889 (define-public r-codetools
2891 (name "r-codetools")
2896 (uri (cran-uri "codetools" version))
2899 "0h7sjmvvsi35041jp47cxhsqzgf1y8jrw6fxii7n26i8g7nrh1sf"))))
2900 (build-system r-build-system)
2901 (home-page "https://cran.r-project.org/web/packages/codetools")
2902 (synopsis "Code analysis tools for R")
2903 (description "This package provides code analysis tools for R to check R
2904 code for possible problems.")
2905 (license (list license:gpl2+ license:gpl3+))))
2907 (define-public r-foreach
2914 (uri (cran-uri "foreach" version))
2917 "10aqsd3rxz03s1qdb6gsb1cj89mj4vmh491zfpin4skj1xvkzw0y"))))
2918 (build-system r-build-system)
2920 `(("r-codetools" ,r-codetools)
2921 ("r-iterators" ,r-iterators)))
2922 (home-page "http://cran.r-project.org/web/packages/foreach")
2923 (synopsis "Foreach looping construct for R")
2925 "This package provides support for the @code{foreach} looping construct.
2926 @code{foreach} is an idiom that allows for iterating over elements in a
2927 collection, without the use of an explicit loop counter. This package in
2928 particular is intended to be used for its return value, rather than for its
2929 side effects. In that sense, it is similar to the standard @code{lapply}
2930 function, but doesn't require the evaluation of a function. Using
2931 @code{foreach} without side effects also facilitates executing the loop in
2933 (license license:asl2.0)))
2935 (define-public r-doparallel
2937 (name "r-doparallel")
2942 (uri (cran-uri "doParallel" version))
2945 "1mddx25l25pw9d0csnx2q203dbg5hbrhkr1f08kw0p02a1lln0kh"))))
2946 (properties `((upstream-name . "doParallel")))
2947 (build-system r-build-system)
2949 `(("r-foreach" ,r-foreach)
2950 ("r-iterators" ,r-iterators)))
2951 (home-page "http://cran.r-project.org/web/packages/doParallel")
2952 (synopsis "Foreach parallel adaptor for the 'parallel' package")
2954 "This package provides a parallel backend for the @code{%dopar%} function
2955 using the parallel package.")
2956 (license license:gpl2+)))
2958 (define-public r-domc
2965 (uri (cran-uri "doMC" version))
2968 "0y47jl6g4f83r14pj8bafdzq1phj7bxy5dwyz3k43d2rr8phk8bn"))))
2969 (properties `((upstream-name . "doMC")))
2970 (build-system r-build-system)
2972 `(("r-foreach" ,r-foreach)
2973 ("r-iterators" ,r-iterators)))
2974 (home-page "http://cran.r-project.org/web/packages/doMC")
2975 (synopsis "Foreach parallel adaptor for the 'parallel' package")
2977 "This package provides a parallel backend for the @code{%dopar%} function
2978 using the multicore functionality of the parallel package.")
2979 (license license:gpl2+)))
2987 (uri (cran-uri "DT" version))
2990 "1g86p0jcjqi2ph5rhm45jkzibsa6yfcj8n5cg3giy90sqgjzkdx1"))))
2992 `((upstream-name . "DT")))
2993 (build-system r-build-system)
2995 `(("r-htmltools" ,r-htmltools)
2996 ("r-htmlwidgets" ,r-htmlwidgets)
2997 ("r-magrittr" ,r-magrittr)))
2998 (home-page "http://rstudio.github.io/DT")
2999 (synopsis "R wrapper of the DataTables JavaScript library")
3001 "This package allows for data objects in R to be rendered as HTML tables
3002 using the JavaScript library 'DataTables' (typically via R Markdown or Shiny).
3003 The 'DataTables' library has been included in this R package.")
3004 ;; The DT package as a whole is distributed under GPLv3. The DT package
3005 ;; inludes other software components under different licenses:
3007 ;; * Expat: jQuery, jquery.highlight.js, DataTables
3008 ;; * ASL2.0: selectize.js
3009 ;; * WTFPL: noUiSlider
3010 (license (list license:gpl3
3013 (license:non-copyleft "http://www.wtfpl.net/txt/copying/")))))
3015 (define-public r-base64enc
3017 (name "r-base64enc")
3021 (uri (cran-uri "base64enc" version))
3024 "13b89fhg1nx7zds82a0biz847ixphg9byf5zl2cw9kab6s56v1bd"))))
3025 (build-system r-build-system)
3026 (home-page "http://www.rforge.net/base64enc")
3027 (synopsis "Tools for Base64 encoding")
3029 "This package provides tools for handling Base64 encoding. It is more
3030 flexible than the orphaned \"base64\" package.")
3031 (license license:gpl2+)))
3033 (define-public r-irlba
3040 (uri (cran-uri "irlba" version))
3043 "1qbcn0ix85pmk296jhpi419kvh06vxm5cq24yk013ps3g7fyi0si"))))
3044 (build-system r-build-system)
3046 `(("r-matrix" ,r-matrix)))
3047 (home-page "http://cran.r-project.org/web/packages/irlba")
3048 (synopsis "Methods for eigendecomposition of large matrices")
3050 "This package provides fast and memory efficient methods for truncated
3051 singular and eigenvalue decompositions, as well as for principal component
3052 analysis of large sparse or dense matrices.")
3053 (license (list license:gpl2+ license:gpl3+))))
3055 (define-public r-glmnet
3062 (uri (cran-uri "glmnet" version))
3065 "1cbpzmbv837fvq88rgn6mgzgr9f1wqp9fg8gh2kkmngvr1957a9c"))))
3066 (build-system r-build-system)
3068 `(("gfortran" ,gfortran)))
3070 `(("r-foreach" ,r-foreach)
3071 ("r-matrix" ,r-matrix)))
3072 (home-page "http://www.jstatsoft.org/v33/i01")
3073 (synopsis "Lasso and elastic-net regularized generalized linear models")
3075 "The glmnet package provides efficient procedures for fitting the entire
3076 lasso or elastic-net regularization path for linear and Poisson regression, as
3077 well as logistic, multinomial, Cox, multiple-response Gaussian and grouped
3078 multinomial models. The algorithm uses cyclical coordinate descent in a
3079 path-wise fashion.")
3080 (license license:gpl2+)))
3082 (define-public r-pkgmaker
3089 (uri (cran-uri "pkgmaker" version))
3092 "0vrqnd3kg6liqvpbd969jjsdx0f0rvmmxgdbwwrp6xfmdg0pib8r"))))
3093 (build-system r-build-system)
3095 `(("r-codetools" ,r-codetools)
3096 ("r-digest" ,r-digest)
3097 ("r-registry" ,r-registry)
3098 ("r-stringr" ,r-stringr)
3099 ("r-xtable" ,r-xtable)))
3100 (home-page "https://renozao.github.io/pkgmaker")
3101 (synopsis "Package development utilities")
3103 "This package provides some low-level utilities to use for R package
3104 development. It currently provides managers for multiple package specific
3105 options and registries, vignette, unit test and bibtex related utilities.")
3106 (license license:gpl2+)))
3108 (define-public r-registry
3115 (uri (cran-uri "registry" version))
3118 "0c7lscfxncwwd8zp46h2xfw9gw14dypqv6m2kx85xjhjh0xw99aq"))))
3119 (build-system r-build-system)
3120 (home-page "http://cran.r-project.org/web/packages/registry")
3121 (synopsis "Infrastructure for R package registries")
3123 "This package provides a generic infrastructure for creating and using R
3124 package registries.")
3125 (license license:gpl2+)))
3127 (define-public r-rngtools
3134 (uri (cran-uri "rngtools" version))
3137 "1fcgfqrrb48z37xgy8sffx91p9irp39yqzxv7nqp1x2hnwsrh097"))))
3138 (build-system r-build-system)
3140 `(("r-digest" ,r-digest)
3141 ("r-pkgmaker" ,r-pkgmaker)
3142 ("r-stringr" ,r-stringr)))
3143 (home-page "https://renozao.github.io/rngtools")
3144 (synopsis "Utility functions for working with random number generators")
3146 "This package contains a set of functions for working with Random Number
3147 Generators (RNGs). In particular, it defines a generic S4 framework for
3148 getting/setting the current RNG, or RNG data that are embedded into objects
3149 for reproducibility. Notably, convenient default methods greatly facilitate
3150 the way current RNG settings can be changed.")
3151 (license license:gpl3+)))
3153 (define-public r-rtsne
3160 (uri (cran-uri "Rtsne" version))
3163 "17crbdi80q4g2pwp9v7j3bdaznk96qlrqx01zvj3wwqippizyfqw"))))
3164 (properties `((upstream-name . "Rtsne")))
3165 (build-system r-build-system)
3167 `(("r-rcpp" ,r-rcpp)))
3168 (home-page "https://github.com/jkrijthe/Rtsne")
3169 (synopsis "T-distributed stochastic neighbor embedding")
3171 "This package provides an R wrapper around the fast T-distributed
3172 Stochastic Neighbor Embedding using a Barnes-Hut implementation.")
3173 ;; The declared license for this package is BSD-3, but it also includes
3174 ;; code licensed under BSD-4.
3175 (license (list license:bsd-3 license:bsd-4))))
3177 (define-public r-e1071
3184 (uri (cran-uri "e1071" version))
3187 "08n6i26nfckjpxjkzi8phhanc3ahsrirkv5rz38y2jcv7ds031pn"))))
3188 (build-system r-build-system)
3190 `(("r-class" ,r-class)))
3191 (home-page "http://cran.r-project.org/web/packages/e1071")
3192 (synopsis "Miscellaneous functions for probability theory")
3194 "This package provides functions for latent class analysis, short time
3195 Fourier transform, fuzzy clustering, support vector machines, shortest path
3196 computation, bagged clustering, naive Bayes classifier, and more.")
3197 (license license:gpl2+)))
3199 (define-public r-bigmemory-sri
3201 (name "r-bigmemory-sri")
3206 (uri (cran-uri "bigmemory.sri" version))
3208 (base32 "0mg14ilwdkd64q2ri9jdwnk7mp55dqim7xfifrs65sdsv1934h2m"))))
3210 `((upstream-name . "bigmemory.sri")))
3211 (build-system r-build-system)
3212 (home-page "http://cran.r-project.org/web/packages/bigmemory.sri")
3213 (synopsis "Shared resource interface for the bigmemory package")
3214 (description "This package provides a shared resource interface for the
3215 bigmemory and synchronicity packages.")
3216 ;; Users can choose either LGPLv3 or ASL2.0.
3217 (license (list license:lgpl3 license:asl2.0))))
3219 (define-public r-synchronicity
3221 (name "r-synchronicity")
3226 (uri (cran-uri "synchronicity" version))
3229 "0d9skpwmsnkn4xb3f2kgyyv8bhdi0r9p1kj3cvi0s92fjjnpi00c"))))
3230 (build-system r-build-system)
3233 ("r-bigmemory-sri" ,r-bigmemory-sri)
3234 ("r-rcpp" ,r-rcpp)))
3235 (home-page "http://www.bigmemory.org")
3236 (synopsis "Boost mutex functionality in R")
3237 (description "This package provides support for synchronization
3238 via mutexes and may eventually support interprocess communication and
3240 ;; Users can choose either LGPLv3 or ASL2.0.
3241 (license (list license:lgpl3 license:asl2.0))))
3243 (define-public r-bigmemory
3245 (name "r-bigmemory")
3250 (uri (cran-uri "bigmemory" version))
3253 "191gbzca557kpk7mdsg716vfyqpr7j5din6qb8hin4g1nkzzwmg6"))))
3254 (build-system r-build-system)
3258 ("r-bigmemory-sri" ,r-bigmemory-sri)
3259 ("r-r-utils" ,r-r-utils)))
3260 (home-page "http://www.bigmemory.org")
3261 (synopsis "Manage large matrices with shared memory or memory-mapped files")
3262 (description "This package provides methods to create, store, access, and
3263 manipulate large matrices. Matrices are allocated to shared memory and may use
3264 memory-mapped files.")
3265 ;; Users can choose either LGPLv3 or ASL2.0.
3266 (license (list license:lgpl3 license:asl2.0))))
3268 (define-public r-nmf
3275 (uri (cran-uri "NMF" version))
3278 "0mmh9bz0zjwd8h9jplz4rq3g94npaqj8s4px51vcv47csssd9k6z"))))
3279 (properties `((upstream-name . "NMF")))
3280 (build-system r-build-system)
3282 `(("r-cluster" ,r-cluster)
3283 ("r-bigmemory" ,r-bigmemory)
3284 ("r-synchronicity" ,r-synchronicity)
3285 ("r-colorspace" ,r-colorspace)
3286 ("r-digest" ,r-digest)
3287 ("r-doparallel" ,r-doparallel)
3288 ("r-foreach" ,r-foreach)
3289 ("r-ggplot2" ,r-ggplot2)
3290 ("r-gridbase" ,r-gridbase)
3291 ("r-pkgmaker" ,r-pkgmaker)
3292 ("r-rcolorbrewer" ,r-rcolorbrewer)
3293 ("r-registry" ,r-registry)
3294 ("r-reshape2" ,r-reshape2)
3295 ("r-rngtools" ,r-rngtools)
3296 ("r-stringr" ,r-stringr)))
3297 (home-page "http://renozao.github.io/NMF")
3298 (synopsis "Algorithms and framework for nonnegative matrix factorization")
3300 "This package provides a framework to perform Non-negative Matrix
3301 Factorization (NMF). The package implements a set of already published
3302 algorithms and seeding methods, and provides a framework to test, develop and
3303 plug new or custom algorithms. Most of the built-in algorithms have been
3304 optimized in C++, and the main interface function provides an easy way of
3305 performing parallel computations on multicore machines.")
3306 (license license:gpl2+)))
3308 (define-public r-igraph
3315 (uri (cran-uri "igraph" version))
3318 "00jnm8v3kvxpxav5klld2z2nnkcpj4sdwv4ksipddy5mp04ysr6w"))))
3319 (build-system r-build-system)
3321 `(("gfortran" ,gfortran)))
3324 ("libxml2" ,libxml2)))
3326 `(("r-irlba" ,r-irlba)
3327 ("r-magrittr" ,r-magrittr)
3329 (home-page "http://igraph.org")
3330 (synopsis "Network analysis and visualization")
3332 "This package provides routines for simple graphs and network analysis.
3333 It can handle large graphs very well and provides functions for generating
3334 random and regular graphs, graph visualization, centrality methods and much
3336 (license license:gpl2+)))
3338 (define-public r-r-methodss3
3340 (name "r-r-methodss3")
3344 (uri (cran-uri "R.methodsS3" version))
3347 "11z6v2i7jl647wxi9p5z66yvfnnqv6s7fxqmz7w2gkb6j8wl1f24"))))
3348 (properties `((upstream-name . "R.methodsS3")))
3349 (build-system r-build-system)
3350 (home-page "http://cran.r-project.org/web/packages/R.methodsS3")
3351 (synopsis "S3 methods simplified")
3353 "This package provides methods that simplify the setup of S3 generic
3354 functions and S3 methods. Major effort has been made in making definition of
3355 methods as simple as possible with a minimum of maintenance for package
3356 developers. For example, generic functions are created automatically, if
3357 missing, and naming conflict are automatically solved, if possible. The
3358 method @code{setMethodS3()} is a good start for those who in the future may
3359 want to migrate to S4.")
3360 (license license:lgpl2.1+)))
3362 (define-public r-r-oo
3368 (uri (cran-uri "R.oo" version))
3371 "0723gxjazgqq7v3lwnl7axw3brzcnizvhbd71ijkkv8mz31fwp34"))))
3372 (properties `((upstream-name . "R.oo")))
3373 (build-system r-build-system)
3375 `(("r-r-methodss3" ,r-r-methodss3)))
3376 (home-page "https://github.com/HenrikBengtsson/R.oo")
3377 (synopsis "R object-oriented programming with or without references")
3379 "This package provides methods and classes for object-oriented
3380 programming in R with or without references. Large effort has been made on
3381 making definition of methods as simple as possible with a minimum of
3382 maintenance for package developers.")
3383 (license license:lgpl2.1+)))
3385 (define-public r-r-utils
3391 (uri (cran-uri "R.utils" version))
3394 "17q3w5dlly5xl2srrzsmf9s7vs5d576vqbcs6sr2p5x4qvqa1q8s"))))
3395 (properties `((upstream-name . "R.utils")))
3396 (build-system r-build-system)
3398 `(("r-r-methodss3" ,r-r-methodss3)
3399 ("r-r-oo" ,r-r-oo)))
3400 (home-page "https://github.com/HenrikBengtsson/R.utils")
3401 (synopsis "Various programming utilities")
3403 "This package provides utility functions useful when programming and
3404 developing R packages.")
3405 (license license:lgpl2.1+)))
3407 (define-public r-r-cache
3413 (uri (cran-uri "R.cache" version))
3416 "006x52w9r8phw5hgqmyp0bz8z42vn8p5yibibnzi1sfa1xlw8iyx"))))
3417 (properties `((upstream-name . "R.cache")))
3418 (build-system r-build-system)
3420 `(("r-digest" ,r-digest)
3421 ("r-r-methodss3" ,r-r-methodss3)
3423 ("r-r-utils" ,r-r-utils)))
3424 (home-page "https://github.com/HenrikBengtsson/R.cache")
3425 (synopsis "Light-weight caching of objects and results")
3427 "This package provides methods for caching or memoization of objects and
3428 results. With this package, any R object can be cached in a key-value storage
3429 where the key can be an arbitrary set of R objects. The cache memory is
3430 persistent (on the file system).")
3431 (license license:lgpl2.1+)))
3433 (define-public r-r-rsp
3439 (uri (cran-uri "R.rsp" version))
3442 "01l430avj5ggmdsla2kiriix72g0dlzx9klniq321bs0za808v3c"))))
3443 (properties `((upstream-name . "R.rsp")))
3444 (build-system r-build-system)
3446 `(("r-r-cache" ,r-r-cache)
3447 ("r-r-methodss3" ,r-r-methodss3)
3449 ("r-r-utils" ,r-r-utils)))
3450 (home-page "https://github.com/HenrikBengtsson/R.rsp")
3451 (synopsis "Dynamic generation of scientific reports")
3453 "The RSP markup language provides a powerful markup for controlling the
3454 content and output of LaTeX, HTML, Markdown, AsciiDoc, Sweave and knitr
3455 documents (and more), e.g. @code{Today's date is <%=Sys.Date()%>}. Contrary
3456 to many other literate programming languages, with RSP it is straightforward
3457 to loop over mixtures of code and text sections, e.g. in month-by-month
3458 summaries. RSP has also several preprocessing directives for incorporating
3459 static and dynamic contents of external files (local or online) among other
3460 things. RSP is ideal for self-contained scientific reports and R package
3462 (license license:lgpl2.1+)))
3464 (define-public r-mvtnorm
3470 (uri (cran-uri "mvtnorm" version))
3473 "0i74s9dl4jf1gln6agra8h38qn9ifd5v0gi13caj1da5nrbmn0aa"))))
3474 (build-system r-build-system)
3476 `(("gfortran" ,gfortran)))
3477 (home-page "http://mvtnorm.R-forge.R-project.org")
3478 (synopsis "Package for multivariate normal and t-distributions")
3479 (description "This package can compute multivariate normal and
3480 t-probabilities, quantiles, random deviates and densities.")
3481 (license license:gpl2)))
3483 (define-public r-matrixstats
3485 (name "r-matrixstats")
3489 (uri (cran-uri "matrixStats" version))
3492 "19fjf19cr0p3j9pj17myz39zpi5bh7ci72db3la9my09n6k6mnir"))))
3493 (properties `((upstream-name . "matrixStats")))
3494 (build-system r-build-system)
3496 `(("r-r-rsp" ,r-r-rsp))) ;used to build vignettes
3497 (home-page "https://github.com/HenrikBengtsson/matrixStats")
3498 (synopsis "Methods applying to vectors and matrix rows and columns")
3500 "This package provides methods operating on rows and columns of matrices,
3501 e.g. @code{rowMedians()}, @code{rowRanks()}, and @code{rowSds()}. There are
3502 also some vector-based methods, e.g. @code{binMeans()}, @code{madDiff()} and
3503 @code{weightedMedians()}. All methods have been optimized for speed and
3505 (license license:artistic2.0)))
3507 (define-public r-viridis
3513 (uri (cran-uri "viridis" version))
3516 "03mha2935k1mw7mjjkq7mrx185hl0m3vq3967iiwbknpivbdxllk"))))
3517 (build-system r-build-system)
3519 `(("r-ggplot2" ,r-ggplot2)
3520 ("r-gridextra" ,r-gridextra)
3521 ("r-viridislite" ,r-viridislite)))
3522 (home-page "https://github.com/sjmgarnier/viridis")
3523 (synopsis "Matplotlib default color map")
3525 "This package is a port of the new @url{matplotlib,
3526 http://matplotlib.org/} color maps (@code{viridis}--the default--,
3527 @code{magma}, @code{plasma}, and @code{inferno}) to R. These color maps are
3528 designed in such a way that they will analytically be perfectly
3529 perceptually-uniform, both in regular form and also when converted to
3530 black-and-white. They are also designed to be perceived by readers with the
3531 most common form of color blindness.")
3532 (license license:x11)))
3534 (define-public r-viridislite
3536 (name "r-viridislite")
3541 (uri (cran-uri "viridisLite" version))
3544 "1546h44ng4dxs130jkh6lkh990hmp90m1w45sq5p47n546gr0k9d"))))
3545 (properties `((upstream-name . "viridisLite")))
3546 (build-system r-build-system)
3547 (home-page "https://github.com/sjmgarnier/viridisLite")
3548 (synopsis "Default color maps from matplotlib")
3550 "This package is a port of the new @code{matplotlib} color maps ('viridis',
3551 'magma', 'plasma' and 'inferno') to R. matplotlib is a popular plotting
3552 library for Python. These color maps are designed in such a way that they
3553 will analytically be perfectly perceptually-uniform, both in regular form and
3554 also when converted to black-and-white. They are also designed to be
3555 perceived by readers with the most common form of color blindness. This is
3556 the 'lite' version of the more complete @code{viridis} package.")
3557 (license license:expat)))
3559 (define-public r-tidyr
3566 (uri (cran-uri "tidyr" version))
3569 "11hs3gqpbaw3w281as4m7j9n594ix5axfpwbyjsd0l62pwnzj217"))))
3570 (build-system r-build-system)
3572 `(("r-dplyr" ,r-dplyr)
3573 ("r-lazyeval" ,r-lazyeval)
3574 ("r-magrittr" ,r-magrittr)
3576 ("r-stringi" ,r-stringi)
3577 ("r-tibble" ,r-tibble)))
3578 (home-page "https://github.com/hadley/tidyr")
3579 (synopsis "Tidy data with `spread()` and `gather()` functions")
3581 "tidyr is a reframing of the reshape2 package designed to accompany the
3582 tidy data framework, and to work hand-in-hand with magrittr and dplyr to build
3583 a solid pipeline for data analysis. It is designed specifically for tidying
3584 data, not the general reshaping that reshape2 does, or the general aggregation
3585 that reshape did. In particular, built-in methods only work for data frames,
3586 and tidyr provides no margins or aggregation.")
3587 (license license:expat)))
3589 (define-public r-hexbin
3592 ;; The package tarball was updated in place, resulting in a change in the
3593 ;; hash value. We decided to bump the version to 1.27.1-1 instead of
3594 ;; keeping the version at upstream's 1.27.1.
3595 (version "1.27.1-1")
3599 (uri (cran-uri "hexbin" "1.27.1"))
3602 "025d609z1nyy684hwvp34b9mjzkgvild7fvfr95f941dmsikan87"))))
3603 (build-system r-build-system)
3605 `(("r-lattice" ,r-lattice)))
3607 `(("gfortran" ,gfortran)))
3608 (home-page "https://github.com/edzer/hexbin")
3609 (synopsis "Hexagonal binning routines")
3611 "This package provides binning and plotting functions for hexagonal bins.
3612 It uses and relies on grid graphics and formal (S4) classes and methods.")
3613 (license license:gpl2+)))
3615 (define-public r-purrr
3622 (uri (cran-uri "purrr" version))
3625 "0lss8q733nv7s154wargm6vnxq55qygnxakib8xdj4jv0y86sxc3"))))
3626 (build-system r-build-system)
3629 ("r-dplyr" ,r-dplyr)
3630 ("r-lazyeval" ,r-lazyeval)
3631 ("r-magrittr" ,r-magrittr)
3632 ("r-rcpp" ,r-rcpp)))
3633 (home-page "https://github.com/hadley/purrr")
3634 (synopsis "Functional programming tools")
3636 "This package completes R's functional programming tools with missing
3637 features present in other programming languages.")
3638 (license license:gpl3+)))
3640 (define-public r-plotly
3646 (uri (cran-uri "plotly" version))
3649 "09yw977yxlcxv57kni3q899zrxyxa6pznr06cylr9lqkyr7llfhx"))))
3650 (build-system r-build-system)
3652 `(("r-base64enc" ,r-base64enc)
3653 ("r-digest" ,r-digest)
3654 ("r-dplyr" ,r-dplyr)
3655 ("r-ggplot2" ,r-ggplot2)
3656 ("r-hexbin" ,r-hexbin)
3657 ("r-htmlwidgets" ,r-htmlwidgets)
3659 ("r-jsonlite" ,r-jsonlite)
3660 ("r-lazyeval" ,r-lazyeval)
3661 ("r-magrittr" ,r-magrittr)
3662 ("r-purrr" ,r-purrr)
3663 ("r-scales" ,r-scales)
3664 ("r-tibble" ,r-tibble)
3665 ("r-tidyr" ,r-tidyr)
3666 ("r-viridislite" ,r-viridislite)))
3667 (home-page "https://plot.ly/r")
3668 (synopsis "Create interactive web graphics")
3670 "This package enables the translation of ggplot2 graphs to an interactive
3671 web-based version and/or the creation of custom web-based visualizations
3672 directly from R. Once uploaded to a plotly account, plotly graphs (and the
3673 data behind them) can be viewed and modified in a web browser.")
3674 (license license:x11)))
3676 (define-public r-biased-urn
3678 (name "r-biased-urn")
3683 (uri (cran-uri "BiasedUrn" version))
3686 "13i2lgfnjhlbbm2yxfc2l5hswqw6x03pwba5csjmirv8kpjw4xr3"))))
3687 (properties `((upstream-name . "BiasedUrn")))
3688 (build-system r-build-system)
3689 (home-page "http://www.agner.org/random/")
3690 (synopsis "Biased urn model distributions")
3692 "This package provides statistical models of biased sampling in the form
3693 of univariate and multivariate noncentral hypergeometric distributions,
3694 including Wallenius' noncentral hypergeometric distribution and Fisher's
3695 noncentral hypergeometric distribution (also called extended hypergeometric
3697 (license license:gpl3+)))
3699 (define-public r-rematch
3706 (uri (cran-uri "rematch" version))
3709 "0y3mshvpvz9csmq8hk8jbabx4nxlv5sckvfzvm6920ndg34xw2d4"))))
3710 (build-system r-build-system)
3711 (home-page "https://github.com/MangoTheCat/rematch")
3712 (synopsis "Match regular expressions with a nicer API")
3714 "This package provides a small wrapper on @code{regexpr} to extract the
3715 matches and captured groups from the match of a regular expression to a
3717 (license license:expat)))
3719 (define-public r-cellranger
3721 (name "r-cellranger")
3726 (uri (cran-uri "cellranger" version))
3729 "16fgi3annn34c3cxi0pxf62mmmmxi21hp0zzlv7bkfsjqy4g4f2x"))))
3730 (build-system r-build-system)
3732 `(("r-rematch" ,r-rematch)
3733 ("r-tibble" ,r-tibble)))
3734 (home-page "https://github.com/rsheets/cellranger")
3735 (synopsis "Translate spreadsheet cell ranges to rows and columns")
3737 "This package provides helper functions to work with spreadsheets and the
3738 @code{A1:D10} style of cell range specification.")
3739 (license license:expat)))
3741 (define-public r-googlesheets
3743 (name "r-googlesheets")
3748 (uri (cran-uri "googlesheets" version))
3751 "0ps13h1cv7fj5dh8s4nvwi64wnnyqdsadcaa4iizq1c5s615cwk3"))))
3752 (build-system r-build-system)
3754 `(("r-cellranger" ,r-cellranger)
3755 ("r-dplyr" ,r-dplyr)
3757 ("r-jsonlite" ,r-jsonlite)
3758 ("r-purrr" ,r-purrr)
3759 ("r-readr" ,r-readr)
3760 ("r-stringr" ,r-stringr)
3761 ("r-tidyr" ,r-tidyr)
3762 ("r-xml2" ,r-xml2)))
3763 (home-page "https://github.com/jennybc/googlesheets")
3764 (synopsis "Manage Google spreadsheets from R")
3765 (description "This package provides tools to interact with Google Sheets
3767 (license license:expat)))
3769 (define-public r-spams
3772 (version "2.6-2017-03-22")
3776 (uri (string-append "https://gforge.inria.fr/frs/download.php/36615/"
3777 "spams-R-v" version ".tar.gz"))
3780 "13z2293jixf1r9g8dyy856xrhvpjr2ln2n9smn6644126r9hmhkx"))))
3781 (build-system r-build-system)
3784 (modify-phases %standard-phases
3785 (add-after 'unpack 'chdir
3786 (lambda _ (chdir "spams") #t))
3787 ;; Don't tune for the building machine
3788 (add-after 'chdir 'no-mtune
3790 (substitute* "src/Makevars"
3791 (("-mtune=native") ""))
3794 `(("r-lattice" ,r-lattice)
3795 ("r-matrix" ,r-matrix)))
3796 (home-page "http://spams-devel.gforge.inria.fr")
3797 (synopsis "Toolbox for solving sparse estimation problems")
3798 (description "SPAMS (SPArse Modeling Software) is an optimization toolbox
3799 for solving various sparse estimation problems. It includes tools for the
3803 @item Dictionary learning and matrix factorization (NMF, sparse @dfn{principle
3804 component analysis} (PCA), ...)
3805 @item Solving sparse decomposition problems with LARS, coordinate descent,
3806 OMP, SOMP, proximal methods
3807 @item Solving structured sparse decomposition problems (l1/l2, l1/linf, sparse
3808 group lasso, tree-structured regularization, structured sparsity with
3809 overlapping groups,...).
3811 (license license:gpl3+)))
3813 (define-public r-base64
3820 (uri (cran-uri "base64" version))
3823 "1labh0ycdm2xcjssj8bhnyjvbk44mcdsi0rb2p8rfqa428mrq9cf"))))
3824 (build-system r-build-system)
3826 `(("r-openssl" ,r-openssl)))
3827 (home-page "http://cran.r-project.org/web/packages/base64")
3828 (synopsis "Base64 encoder and decoder")
3830 "This package is a compatibility wrapper to replace the orphaned package
3831 by Romain Francois. New applications should use the openssl or base64enc
3833 (license license:expat)))
3835 (define-public r-hmisc
3842 (uri (cran-uri "Hmisc" version))
3845 "1lg9k0kj803wsm3h0a991q9l2lrgsqryzfv2z79b88kjbfapqpqr"))))
3846 (properties `((upstream-name . "Hmisc")))
3847 (build-system r-build-system)
3849 `(("gfortran" ,gfortran)))
3851 `(("r-acepack" ,r-acepack)
3852 ("r-base64" ,r-base64)
3853 ("r-base64enc" ,r-base64enc)
3854 ("r-cluster" ,r-cluster)
3855 ("r-data-table" ,r-data-table)
3856 ("r-foreign" ,r-foreign)
3857 ("r-formula" ,r-formula)
3858 ("r-ggplot2" ,r-ggplot2)
3859 ("r-gridextra" ,r-gridextra)
3860 ("r-gtable" ,r-gtable)
3861 ("r-lattice" ,r-lattice)
3862 ("r-latticeextra" ,r-latticeextra)
3863 ("r-htmltable" ,r-htmltable)
3864 ("r-htmltools" ,r-htmltools)
3866 ("r-rpart" ,r-rpart)
3867 ("r-survival" ,r-survival)
3868 ("r-viridis" ,r-viridis)))
3869 (home-page "http://biostat.mc.vanderbilt.edu/Hmisc")
3870 (synopsis "Miscellaneous data analysis and graphics functions")
3872 "This package contains many functions useful for data analysis,
3873 high-level graphics, utility operations, functions for computing sample size
3874 and power, importing and annotating datasets, imputing missing values,
3875 advanced table making, variable clustering, character string manipulation,
3876 conversion of R objects to LaTeX code, and recoding variables.")
3877 (license license:gpl2+)))
3879 (define-public r-runit
3886 (uri (cran-uri "RUnit" version))
3889 "1jqr871jkll2xmk7wk5hv1z3a36hyn2ibgivw7bwk4b346940xlx"))))
3890 (properties `((upstream-name . "RUnit")))
3891 (build-system r-build-system)
3892 (home-page "http://cran.r-project.org/web/packages/RUnit")
3893 (synopsis "R unit test framework")
3895 "This package provides R functions implementing a standard unit testing
3896 framework, with additional code inspection and report generation tools.")
3897 (license license:gpl2+)))
3899 (define-public r-dynamictreecut
3901 (name "r-dynamictreecut")
3906 (uri (cran-uri "dynamicTreeCut" version))
3909 "1fadbql7g5r2vvlkr89nlrjxwp4yx4xrdqmv077qvmnx9vv0f4w3"))))
3910 (properties `((upstream-name . "dynamicTreeCut")))
3911 (build-system r-build-system)
3913 "http://www.genetics.ucla.edu/labs/horvath/CoexpressionNetwork/BranchCutting/")
3914 (synopsis "Detect clusters in hierarchical clustering dendrograms")
3916 "This package contains methods for the detection of clusters in
3917 hierarchical clustering dendrograms.")
3918 (license license:gpl2+)))
3920 (define-public r-preprocesscore
3922 (name "r-preprocesscore")
3927 (uri (bioconductor-uri "preprocessCore" version))
3930 "1ggvmak13rhxc4ghf16ncjfvgszc8yvza93s2l9kn8yiwr96vp2h"))))
3932 `((upstream-name . "preprocessCore")))
3933 (build-system r-build-system)
3934 (home-page "https://github.com/bmbolstad/preprocessCore")
3935 (synopsis "Collection of pre-processing functions")
3937 "This package provides a library of core pre-processing and normalization
3939 (license license:lgpl2.0+)))
3941 (define-public r-fastcluster
3943 (name "r-fastcluster")
3948 (uri (cran-uri "fastcluster" version))
3951 "006k9isra5biyavqwci61avladw19mhp6kmkjj3777rl1r4r8b9z"))))
3952 (build-system r-build-system)
3953 (home-page "http://danifold.net/fastcluster.html")
3954 (synopsis "Fast hierarchical clustering routines")
3956 "This package implements fast hierarchical, agglomerative clustering
3957 routines. Part of the functionality is designed as drop-in replacement for
3958 existing routines: @code{linkage()} in the SciPy package
3959 @code{scipy.cluster.hierarchy}, @code{hclust()} in R's @code{stats} package,
3960 and the @code{flashClust} package. It provides the same functionality with
3961 the benefit of a much faster implementation. Moreover, there are
3962 memory-saving routines for clustering of vector data, which go beyond what the
3963 existing packages provide.")
3964 (license license:bsd-2)))
3966 (define-public r-sfsmisc
3973 (uri (cran-uri "sfsmisc" version))
3976 "0580piv4n1nispl3pa8nfjjfnb8iwaqky2dzdy0aqnxrxgrhqhvz"))))
3977 (build-system r-build-system)
3978 (home-page "http://cran.r-project.org/web/packages/sfsmisc")
3979 (synopsis "Utilities from \"Seminar fuer Statistik\" ETH Zurich")
3981 "This package provides useful utilities from Seminar fuer Statistik ETH
3982 Zurich, including many that are related to graphics.")
3983 (license license:gpl2+)))
3985 (define-public r-gtools
3992 (uri (cran-uri "gtools" version))
3995 "1xknwk9xlsj027pg0nwiizigcrsc84hdrig0jn0cgcyxj8dabdl6"))))
3996 (build-system r-build-system)
3997 (home-page "http://cran.r-project.org/web/packages/gtools")
3998 (synopsis "Various R programming tools")
4000 "This package contains a collection of various functions to assist in R
4001 programming, such as tools to assist in developing, updating, and maintaining
4002 R and R packages, calculating the logit and inverse logit transformations,
4003 tests for whether a value is missing, empty or contains only @code{NA} and
4004 @code{NULL} values, and many more.")
4005 (license license:gpl2)))
4007 (define-public r-gdata
4014 (uri (cran-uri "gdata" version))
4017 "0kiy3jbcszlpmarg311spdsfi5pn89wgy742dxsbzxk8907fr5w0"))))
4018 (build-system r-build-system)
4022 `(("r-gtools" ,r-gtools)))
4023 (home-page "http://cran.r-project.org/web/packages/gdata")
4024 (synopsis "Various R programming tools for data manipulation")
4026 "This package provides various R programming tools for data manipulation,
4030 @item medical unit conversions
4031 @item combining objects
4032 @item character vector operations
4033 @item factor manipulation
4034 @item obtaining information about R objects
4035 @item manipulating MS-Excel formatted files
4036 @item generating fixed-width format files
4037 @item extricating components of date and time objects
4038 @item operations on columns of data frames
4039 @item matrix operations
4040 @item operations on vectors and data frames
4041 @item value of last evaluated expression
4042 @item wrapper for @code{sample} that ensures consistent behavior for
4043 both scalar and vector arguments
4045 (license license:gpl2+)))
4047 (define-public r-gplots
4054 (uri (cran-uri "gplots" version))
4057 "02nb8n3s7c1zxq2s7ycaq2ys72y7mzirxrwj954h6gdc4x1zhg9l"))))
4058 (build-system r-build-system)
4060 `(("r-catools" ,r-catools)
4061 ("r-gdata" ,r-gdata)
4062 ("r-gtools" ,r-gtools)
4063 ("r-kernsmooth" ,r-kernsmooth)))
4064 (home-page "http://cran.r-project.org/web/packages/gplots")
4065 (synopsis "Various R programming tools for plotting data")
4067 "This package provides various R programming tools for plotting data,
4071 @item calculating and plotting locally smoothed summary function
4072 @item enhanced versions of standard plots
4073 @item manipulating colors
4074 @item calculating and plotting two-dimensional data summaries
4075 @item enhanced regression diagnostic plots
4076 @item formula-enabled interface to @code{stats::lowess} function
4077 @item displaying textual data in plots
4079 @item plotting \"Venn\" diagrams
4080 @item displaying Open-Office style plots
4081 @item plotting multiple data on same region, with separate axes
4082 @item plotting means and confidence intervals
4083 @item spacing points in an x-y plot so they don't overlap
4085 (license license:gpl2+)))
4087 (define-public r-rocr
4094 (uri (cran-uri "ROCR" version))
4097 "1jay8cm7lgq56i967vm5c2hgaxqkphfpip0gn941li3yhh7p3vz7"))))
4098 (properties `((upstream-name . "ROCR")))
4099 (build-system r-build-system)
4101 `(("r-gplots" ,r-gplots)))
4102 (home-page "http://rocr.bioinf.mpi-sb.mpg.de/")
4103 (synopsis "Visualizing the performance of scoring classifiers")
4105 "ROCR is a flexible tool for creating cutoff-parameterized 2D performance
4106 curves by freely combining two from over 25 performance measures (new
4107 performance measures can be added using a standard interface). Curves from
4108 different cross-validation or bootstrapping runs can be averaged by different
4109 methods, and standard deviations, standard errors or box plots can be used to
4110 visualize the variability across the runs. The parameterization can be
4111 visualized by printing cutoff values at the corresponding curve positions, or
4112 by coloring the curve according to cutoff. All components of a performance
4113 plot can be quickly adjusted using a flexible parameter dispatching
4115 (license license:gpl2+)))
4117 (define-public r-kernsmooth
4119 (name "r-kernsmooth")
4124 (uri (cran-uri "KernSmooth" version))
4127 "1xhha8kw10jv8pv8b61hb5in9qiw3r2a9kdji3qlm991s4zd4wlb"))))
4128 (properties `((upstream-name . "KernSmooth")))
4129 (build-system r-build-system)
4131 `(("gfortran" ,gfortran)))
4132 (home-page "http://cran.r-project.org/web/packages/KernSmooth")
4133 (synopsis "Functions for kernel smoothing")
4135 "This package provides functions for kernel smoothing (and density
4136 estimation) corresponding to the book: Wand, M.P. and Jones, M.C. (1995)
4137 \"Kernel Smoothing\".")
4138 ;; Unlimited use and distribution
4139 (license (license:non-copyleft "file://LICENSE.note"))))
4141 (define-public r-zoo
4147 (uri (cran-uri "zoo" version))
4150 "0mqklbx92ifwa0awm7gpm4r9dvwa09p55zjxjnypiqsxy532r4h9"))))
4151 (build-system r-build-system)
4153 `(("r-lattice" ,r-lattice)))
4154 (home-page "http://zoo.R-Forge.R-project.org/")
4155 (synopsis "S3 infrastructure for regular and irregular time series")
4156 (description "This package contains an S3 class with methods for totally
4157 ordered indexed observations. It is particularly aimed at irregular time
4158 series of numeric vectors/matrices and factors.")
4159 (license license:gpl2+)))
4161 (define-public r-ztable
4167 (uri (cran-uri "ztable" version))
4170 "1jfqnqy9544gfvz3bsb48v4177nwp4b4n9l2743asq8sbq305b5r"))))
4171 (build-system r-build-system)
4172 (home-page "http://cran.r-project.org/web/packages/ztable")
4173 (synopsis "Zebra-striped tables in LaTeX and HTML formats for R")
4175 "This package provides functions to make zebra-striped tables (tables
4176 with alternating row colors) in LaTeX and HTML formats easily from
4177 @code{data.frame}, @code{matrix}, @code{lm}, @code{aov}, @code{anova},
4178 @code{glm}, @code{coxph}, @code{nls}, @code{fitdistr}, @code{mytable} and
4179 @code{cbind.mytable} objects.")
4180 (license license:gpl2+)))
4182 (define-public r-vipor
4188 (uri (cran-uri "vipor" version))
4191 "112gc0d7f8iavgf56pnzfxb7hy75yhd0zlyjzshdcfbnqcd2a6bx"))))
4192 (build-system r-build-system)
4193 (home-page "http://cran.r-project.org/web/packages/vipor")
4194 (synopsis "Plot categorical data using noise and density estimates")
4196 "This package provides tools to generate a violin point plot, a
4197 combination of a violin/histogram plot and a scatter plot by offsetting points
4198 within a category based on their density using quasirandom noise.")
4199 (license license:gpl2+)))
4201 (define-public r-beeswarm
4207 (uri (cran-uri "beeswarm" version))
4210 "0hy89bwv7jixlg91li1fywa77916am2whqp1m1fx1khd45g44581"))))
4211 (build-system r-build-system)
4212 (home-page "http://www.cbs.dtu.dk/~eklund/beeswarm/")
4213 (synopsis "Implementation of bee swarm plots")
4215 "This package provides an implementation of bee swarm plots. The bee
4216 swarm plot is a one-dimensional scatter plot like stripchart, but with
4217 closely-packed, non-overlapping points.")
4218 (license license:artistic2.0)))
4220 (define-public r-sourcetools
4222 (name "r-sourcetools")
4227 (uri (cran-uri "sourcetools" version))
4230 "0l8c6fql82cb246qh7hfgxb4s35qn0qfgy6dzvkx0zkz1cpqvx69"))))
4231 (build-system r-build-system)
4232 (home-page "http://cran.r-project.org/web/packages/sourcetools")
4233 (synopsis "Tools for reading, tokenizing and parsing R code")
4235 "The sourcetools package provides both an R and C++ interface for the
4236 tokenization of R code, and helpers for interacting with the tokenized
4237 representation of R code.")
4238 (license license:expat)))
4240 (define-public r-ggbeeswarm
4242 (name "r-ggbeeswarm")
4246 (uri (cran-uri "ggbeeswarm" version))
4249 "1jgp55rvmzc4agcrlsjn8m5lk85di9c4wj94xzikqkql4lvq3qpd"))))
4250 (build-system r-build-system)
4252 `(("r-beeswarm" ,r-beeswarm)
4253 ("r-ggplot2" ,r-ggplot2)
4254 ("r-vipor" ,r-vipor)))
4255 (home-page "https://github.com/eclarke/ggbeeswarm")
4256 (synopsis "Categorical scatter (violin point) plots")
4258 "This package provides two methods of plotting categorical scatter plots
4259 such that the arrangement of points within a category reflects the density of
4260 data at that region, and avoids over-plotting.")
4261 (license license:gpl2+)))
4263 (define-public r-ggthemes
4269 (uri (cran-uri "ggthemes" version))
4272 "1jj8lp7jbk3489kpgbw4b5phpn01gkfmksc21c6sn3x6wmzyn6hs"))))
4273 (build-system r-build-system)
4275 `(("r-assertthat" ,r-assertthat)
4276 ("r-colorspace" ,r-colorspace)
4277 ("r-ggplot2" ,r-ggplot2)
4278 ("r-scales" ,r-scales)))
4279 (home-page "https://cran.rstudio.com/web/packages/ggthemes")
4280 (synopsis "Extra themes, scales and geoms for @code{ggplot2}")
4281 (description "This package provides extra themes and scales for
4282 @code{ggplot2} that replicate the look of plots by Edward Tufte and
4283 Stephen Few in Fivethirtyeight, The Economist, Stata, Excel, and The
4284 Wall Street Journal, among others. This package also provides
4285 @code{geoms} for Tufte's box plot and range frame.")
4286 (license license:gpl2)))
4288 (define-public r-statmod
4294 (uri (cran-uri "statmod" version))
4297 "1fgzkwriba39d7946lq892f0si2fjdy37pvxki6ix8xyj8qgnci4"))))
4298 (build-system r-build-system)
4299 (home-page "http://cran.r-project.org/web/packages/statmod")
4301 `(("gfortran" ,gfortran)))
4302 (synopsis "Statistical modeling")
4304 "This package provides a collection of algorithms and functions to aid
4305 statistical modeling. It includes growth curve comparisons, limiting dilution
4306 analysis (aka ELDA), mixed linear models, heteroscedastic regression,
4307 inverse-Gaussian probability calculations, Gauss quadrature and a secure
4308 convergence algorithm for nonlinear models. It also includes advanced
4309 generalized linear model functions that implement secure convergence,
4310 dispersion modeling and Tweedie power-law families.")
4311 ;; Statmod is distributed under either license
4312 (license (list license:gpl2 license:gpl3))))
4314 (define-public r-rann
4320 (uri (cran-uri "RANN" version))
4323 "007cgqg9bybg2zlljbv5m6cmlm3r6i251018rpgjcn0xnm9sjsj7"))))
4325 `((upstream-name . "RANN")))
4326 (build-system r-build-system)
4327 (home-page "https://github.com/jefferis/RANN")
4328 (synopsis "Fast nearest neighbour search")
4330 "This package finds the k nearest neighbours for every point in a given
4331 dataset in O(N log N) time using Arya and Mount's ANN library. Provides
4332 approximate, exact searches, fixed radius searches, bd and kb trees.")
4333 (license license:gpl3+)))
4335 (define-public r-fivethirtyeight
4337 (name "r-fivethirtyeight")
4342 (uri (string-append "https://mran.microsoft.com/src/contrib/"
4343 "fivethirtyeight_" version ".tar.gz"))
4346 "0fcc8rq745nsghp27dk0lgih90y4zx8hrzcvsn6ih786yv7qxhvl"))))
4347 (build-system r-build-system)
4349 `(("r-knitr" ,r-knitr)
4350 ("r-rmarkdown" ,r-rmarkdown)
4351 ("r-dplyr" ,r-dplyr)
4352 ("r-readr" ,r-readr)
4353 ("r-ggplot2" ,r-ggplot2)
4354 ("r-magrittr" ,r-magrittr)
4355 ("r-stringr" ,r-stringr)))
4356 (home-page "https://mran.microsoft.com/package/fivethirtyeight/")
4357 (synopsis "Data and code behind the stories at FiveThirtyEight")
4358 (description "This R package provides access to the code and data sets
4359 published by the statistics blog FiveThirtyEight.")
4360 (license license:expat)))
4362 (define-public r-compquadform
4364 (name "r-compquadform")
4369 (uri (cran-uri "CompQuadForm" version))
4372 "1i30hrqdk64q17vsn918c3q79brchgx2wzh1gbsgbn0dh1ncabq4"))))
4373 (properties `((upstream-name . "CompQuadForm")))
4374 (build-system r-build-system)
4375 (home-page "http://cran.r-project.org/web/packages/CompQuadForm")
4376 (synopsis "Distribution function of quadratic forms in normal variables")
4378 "This package provides functions to compute the distribution function of
4379 quadratic forms in normal variables using Imhof's method, Davies's algorithm,
4380 Farebrother's algorithm or Liu et al.'s algorithm.")
4381 (license license:gpl2+)))
4383 (define-public r-cowplot
4390 (uri (cran-uri "cowplot" version))
4393 "03iimcsh1pk7iqzjdlfcj43b8khijdk4hg00j4jdllv19xsfb0hx"))))
4394 (build-system r-build-system)
4396 `(("r-ggplot2" ,r-ggplot2)
4397 ("r-gtable" ,r-gtable)
4398 ("r-plyr" ,r-plyr)))
4399 (home-page "https://github.com/wilkelab/cowplot")
4400 (synopsis "Streamlined plot theme and plot annotations for ggplot2")
4402 "This package provides some helpful extensions and modifications to the
4403 ggplot2 package to combine multiple ggplot2 plots into one and label them with
4404 letters, as is often required for scientific publications.")
4405 (license license:gpl2)))
4407 (define-public r-mixtools
4414 (uri (cran-uri "mixtools" version))
4417 "13wdm0xs5bakhpa8ypg6lvhjaqkxyabwz4glxdwn0jwdvkcdhgsl"))))
4418 (build-system r-build-system)
4420 `(("r-mass" ,r-mass)
4421 ("r-segmented" ,r-segmented)
4422 ("r-survival" ,r-survival)))
4423 (home-page "http://cran.r-project.org/web/packages/mixtools")
4424 (synopsis "Tools for analyzing finite mixture models")
4426 "This package provides a collection of R functions for analyzing finite
4428 (license license:gpl2+)))
4430 (define-public r-lars
4437 (uri (cran-uri "lars" version))
4440 "0blj44wqrx6lmym1m9v6wkz8zxzbjax2zl6swgdczci0ixb5nx34"))))
4441 (build-system r-build-system)
4443 `(("gfortran" ,gfortran)))
4444 (home-page "http://www-stat.stanford.edu/~hastie/Papers/#LARS")
4445 (synopsis "Least angle regression software")
4447 "Least Angle Regression (\"LAR\") is a model selection algorithm; a
4448 useful and less greedy version of traditional forward selection methods. A
4449 simple modification of the LAR algorithm implements Tibshirani's Lasso; the
4450 Lasso modification of LARS calculates the entire Lasso path of coefficients
4451 for a given problem at the cost of a single least squares fit. Another LARS
4452 modification efficiently implements epsilon Forward Stagewise linear
4454 (license license:gpl2)))
4456 (define-public r-fastica
4463 (uri (cran-uri "fastICA" version))
4466 "0ykk78fsk5da2g16i4wji85bvji7nayjvkfp07hyaxq9d15jmf0r"))))
4467 (properties `((upstream-name . "fastICA")))
4468 (build-system r-build-system)
4469 (home-page "http://cran.r-project.org/web/packages/fastICA")
4470 (synopsis "FastICA algorithms to perform ICA and projection pursuit")
4472 "This package provides an implementation of the FastICA algorithm to
4473 perform @dfn{independent component analysis} (ICA) and projection pursuit.")
4475 (license license:gpl3+)))
4477 (define-public r-randomforest
4479 (name "r-randomforest")
4484 (uri (cran-uri "randomForest" version))
4487 "1i43idaihhl6nwqw42v9dqpl6f8z3ykcn2in32lh2755i27jylbf"))))
4488 (properties `((upstream-name . "randomForest")))
4489 (build-system r-build-system)
4490 (home-page "https://www.stat.berkeley.edu/~breiman/RandomForests/")
4492 `(("gfortran" ,gfortran)))
4493 (synopsis "Breiman and Cutler's random forests for classification and regression")
4495 "This package provides the Breiman and Cutler's random forests algorithm, based on a
4496 forest of trees using random inputs, for classification and regression.")
4497 (license license:gpl2+)))
4499 (define-public r-diptest
4506 (uri (cran-uri "diptest" version))
4509 "06xnc5gv1284ll0addxnxb6ljz6fn8dbyrp5vchyz6551h800aa6"))))
4510 (build-system r-build-system)
4511 (home-page "http://cran.r-project.org/web/packages/diptest")
4512 (synopsis "Hartigan's dip test statistic for unimodality")
4514 "This package computes Hartigan's dip test statistic for unimodality,
4515 multimodality and provides a test with simulation based p-values, where the
4516 original public code has been corrected.")
4517 (license license:gpl2+)))
4519 (define-public r-modeltools
4521 (name "r-modeltools")
4526 (uri (cran-uri "modeltools" version))
4529 "0ynds453xprxv0jqqzi3blnv5w6vrdww9pvd1sq4lrr5ar3k3cq7"))))
4530 (build-system r-build-system)
4531 (home-page "http://cran.r-project.org/web/packages/modeltools")
4532 (synopsis "Tools and classes for statistical models")
4534 "This package provides a collection of tools to deal with statistical
4535 models. The functionality is experimental and the user interface is likely
4536 to change in the future.")
4537 (license license:gpl2)))
4539 (define-public r-flexmix
4546 (uri (cran-uri "flexmix" version))
4549 "1i205yw3kkxs27gqcs6zx0c2mh16p332a2p06wq6fdzb20bazg3z"))))
4550 (build-system r-build-system)
4552 `(("r-lattice" ,r-lattice)
4553 ("r-modeltools" ,r-modeltools)
4554 ("r-nnet" ,r-nnet)))
4555 (home-page "http://cran.r-project.org/web/packages/flexmix")
4556 (synopsis "Flexible mixture modeling")
4558 "This package implements a general framework for finite mixtures of
4559 regression models using the EM algorithm. FlexMix provides the E-step and
4560 all data handling, while the M-step can be supplied by the user to easily
4561 define new models. Existing drivers implement mixtures of standard linear
4562 models, generalized linear models and model-based clustering.")
4563 (license license:gpl2+)))
4565 (define-public r-mclust
4572 (uri (cran-uri "mclust" version))
4575 "0045msdw1xndfmlylbnm1ss716iiqzqwj454a97gmcq5kph86qzz"))))
4576 (build-system r-build-system)
4578 `(("gfortran" ,gfortran)))
4579 (home-page "http://www.stat.washington.edu/mclust/")
4580 (synopsis "Gaussian mixture modelling for model-based clustering etc.")
4582 "This package provides Gaussian finite mixture models fitted via EM
4583 algorithm for model-based clustering, classification, and density estimation,
4584 including Bayesian regularization, dimension reduction for visualisation,
4585 and resampling-based inference.")
4586 (license license:gpl2+)))
4588 (define-public r-prabclus
4595 (uri (cran-uri "prabclus" version))
4598 "0qjsxrx6yv338bxm4ki0w9h8hind1l98abdrz828588bwj02jya1"))))
4599 (build-system r-build-system)
4601 `(("r-mass" ,r-mass)
4602 ("r-mclust" ,r-mclust)))
4603 (home-page "https://cran.r-project.org/web/packages/prabclus")
4604 (synopsis "Parametric bootstrap tests for spatial neighborhood clustering")
4606 "This package provides a distance-based parametric bootstrap tests
4607 for clustering with spatial neighborhood information. Some distance measures,
4608 clustering of presence-absence, abundance and multilocus genetical data for
4609 species delimitation, nearest neighbor based noise detection.")
4610 (license license:gpl2+)))
4612 (define-public r-deoptimr
4619 (uri (cran-uri "DEoptimR" version))
4622 "1vz546hyjyhly70z62h5n3mn62b8llhhmim8ffp9y6jnnb0i2sc4"))))
4623 (properties `((upstream-name . "DEoptimR")))
4624 (build-system r-build-system)
4625 (home-page "http://cran.r-project.org/web/packages/DEoptimR")
4626 (synopsis "Differential evolution optimization in pure R")
4628 "This package provides a differential evolution (DE) stochastic
4629 algorithms for global optimization of problems with and without constraints.
4630 The aim is to curate a collection of its state-of-the-art variants that (1) do
4631 not sacrifice simplicity of design, (2) are essentially tuning-free, and (3)
4632 can be efficiently implemented directly in the R language.")
4633 (license license:gpl2+)))
4635 (define-public r-robustbase
4637 (name "r-robustbase")
4642 (uri (cran-uri "robustbase" version))
4645 "13xz4am7y0s0kl5bmbcw3dlhl7ji8h9sjx56wsgmj6r9n35nrggw"))))
4646 (build-system r-build-system)
4648 `(("gfortran" ,gfortran)))
4650 `(("r-deoptimr" ,r-deoptimr)))
4651 (home-page "http://robustbase.r-forge.r-project.org/")
4652 (synopsis "Basic robust statistics")
4654 "This packages allows to analyze data with robust methods such as
4655 regression methodology including model selections and multivariate statistics.")
4656 (license license:gpl2+)))
4658 (define-public r-trimcluster
4660 (name "r-trimcluster")
4665 (uri (cran-uri "trimcluster" version))
4668 "0lsgbg93hm0w1rdb813ry0ks2l0jfpyqzqkf3h3bj6fch0avcbv2"))))
4669 (build-system r-build-system)
4670 (home-page "http://cran.r-project.org/web/packages/trimcluster")
4671 (synopsis "Cluster analysis with trimming")
4673 "The trimmed k-means clustering method by Cuesta-Albertos, Gordaliza and
4674 Matran (1997). This optimizes the k-means criterion under trimming a portion
4676 (license license:gpl2+)))
4678 (define-public r-fpc
4685 (uri (cran-uri "fpc" version))
4688 "15m0p9l9w2v7sl0cnzyg81i2fmx3hrhvr3371544mwn3fpsca5sx"))))
4689 (build-system r-build-system)
4691 `(("r-class" ,r-class)
4692 ("r-cluster" ,r-cluster)
4693 ("r-diptest" ,r-diptest)
4694 ("r-flexmix" ,r-flexmix)
4695 ("r-kernlab" ,r-kernlab)
4697 ("r-mclust" ,r-mclust)
4698 ("r-mvtnorm" ,r-mvtnorm)
4699 ("r-prabclus" ,r-prabclus)
4700 ("r-robustbase" ,r-robustbase)
4701 ("r-trimcluster" ,r-trimcluster)))
4702 (home-page "http://cran.r-project.org/web/packages/fpc")
4703 (synopsis "Flexible procedures for clustering")
4705 "This package provides various methods for clustering and cluster validation.
4706 For example, it provides fixed point clustering, linear regression clustering,
4707 clustering by merging Gaussian mixture components, as well as symmetric and
4708 asymmetric discriminant projections for visualisation of the separation of
4710 (license license:gpl2+)))
4712 (define-public r-vgam
4719 (uri (cran-uri "VGAM" version))
4722 "0wr6szcpj8r4a1rlzgd6iym7khin69fmvxcf37iyvs8mms86dfr3"))))
4723 (properties `((upstream-name . "VGAM")))
4724 (build-system r-build-system)
4726 `(("gfortran" ,gfortran)))
4727 (home-page "https://www.stat.auckland.ac.nz/~yee/VGAM")
4728 (synopsis "Vector generalized linear and additive models")
4730 "This package is an implementation of about 6 major classes of statistical
4731 regression models. Currently only fixed-effects models are implemented, i.e.,
4732 no random-effects models. Many (150+) models and distributions are estimated
4733 by maximum likelihood estimation (MLE) or penalized MLE, using Fisher scoring.
4734 VGLMs can be loosely thought of as multivariate generalised linear models.")
4735 (license license:gpl2+)))
4737 (define-public r-pbapply
4744 (uri (cran-uri "pbapply" version))
4747 "1sdmjlnwxb99f95g5v8k8mirrkzw99yig377v0qi9lzwjgd6fqqr"))))
4748 (build-system r-build-system)
4749 (home-page "https://github.com/psolymos/pbapply")
4750 (synopsis "Adding progress bar to apply functions")
4752 "This lightweight package that adds progress bar to vectorized R
4753 functions apply. The implementation can easily be added to functions where
4754 showing the progress is useful e.g. bootstrap.")
4755 (license license:gpl2)))
4757 (define-public r-fnn
4764 (uri (cran-uri "FNN" version))
4767 "1kncmiaraq1mrykb9fj3fsxswabk3l71fnp1vks0x9aay5xfk8mj"))))
4768 (properties `((upstream-name . "FNN")))
4769 (build-system r-build-system)
4770 (home-page "http://cran.r-project.org/web/packages/FNN")
4771 (synopsis "Fast nearest neighbor search algorithms and applications")
4773 "This package provides cover-tree and kd-tree fast k-nearest neighbor
4774 search algorithms and related applications including KNN classification,
4775 regression and information measures.")
4776 (license license:gpl2+)))
4778 (define-public r-minqa
4785 (uri (cran-uri "minqa" version))
4788 "036drja6xz7awja9iwb76x91415p26fb0jmg7y7v0p65m6j978fg"))))
4789 (build-system r-build-system)
4791 `(("r-rcpp" ,r-rcpp)))
4793 `(("gfortran" ,gfortran)))
4794 (home-page "http://optimizer.r-forge.r-project.org")
4795 (synopsis "Derivative-free optimization algorithms by quadratic approximation")
4797 "This package provides a derivative-free optimization by quadratic approximation
4798 based on an interface to Fortran implementations by M. J. D. Powell.")
4799 (license license:gpl2)))
4801 (define-public r-rcppeigen
4803 (name "r-rcppeigen")
4804 (version "0.3.2.9.1")
4808 (uri (cran-uri "RcppEigen" version))
4811 "1ih940yjbc530cmpl6kx1jic7pz2ps1w5vrvy32qizh6m5s3lk7x"))))
4812 (properties `((upstream-name . "RcppEigen")))
4813 (build-system r-build-system)
4815 `(("r-rcpp" ,r-rcpp)
4816 ("r-matrix" ,r-matrix)))
4817 (home-page "http://eigen.tuxfamily.org")
4818 (synopsis "Rcpp integration for the Eigen templated linear algebra library")
4820 "This package provides an integration of Eigen in R using a C++ template
4821 library for linear algebra: matrices, vectors, numerical solvers and related algorithms.
4822 It supports dense and sparse matrices on integer, floating point and complex numbers,
4823 decompositions of such matrices, and solutions of linear systems.")
4824 (license license:gpl2+)))
4826 (define-public r-modelmetrics
4828 (name "r-modelmetrics")
4833 (uri (cran-uri "ModelMetrics" version))
4836 "119xxmzb5biq7k1yxqsf0jmmarmfn6lds9x9hfgv593xlpym6za8"))))
4837 (properties `((upstream-name . "ModelMetrics")))
4838 (build-system r-build-system)
4840 `(("r-rcpp" ,r-rcpp)))
4841 (home-page "http://cran.r-project.org/web/packages/ModelMetrics")
4842 (synopsis "Rapid calculation of model metrics")
4844 "Written in C++ using @code{Rcpp}, this package provides a collection of
4845 metrics for evaluating models.")
4846 (license license:gpl2+)))
4848 (define-public r-matrixmodels
4850 (name "r-matrixmodels")
4855 (uri (cran-uri "MatrixModels" version))
4858 "0cyfvhci2p1vr2x52ymkyqqs63x1qchn856dh2j94yb93r08x1zy"))))
4859 (properties `((upstream-name . "MatrixModels")))
4860 (build-system r-build-system)
4862 `(("r-matrix" ,r-matrix)))
4863 (home-page "https://cran.r-project.org/web/packages/MatrixModels")
4864 (synopsis "Modelling with sparse and dense matrices")
4866 "This package models with sparse and dense matrix matrices,
4867 using modular prediction and response module classes.")
4868 (license license:gpl2+)))
4870 (define-public r-quantreg
4877 (uri (cran-uri "quantreg" version))
4880 "1dirmxa4cd05nb0yv0ga6ivw5hkr2zr2cb2lixl1nb6amqn024is"))))
4881 (build-system r-build-system)
4883 `(("gfortran" ,gfortran)))
4885 `(("r-matrix" ,r-matrix)
4886 ("r-matrixmodels" ,r-matrixmodels)
4887 ("r-sparsem" ,r-sparsem)))
4888 (home-page "http://www.r-project.org")
4889 (synopsis "Quantile regression")
4891 "This package provides an estimation and inference methods for models
4892 of conditional quantiles: linear and nonlinear parametric and non-parametric
4893 models for conditional quantiles of a univariate response and several methods
4894 for handling censored survival data. Portfolio selection methods based on
4895 expected shortfall risk are also included.")
4896 (license license:gpl2+)))
4898 (define-public r-nloptr
4905 (uri (cran-uri "nloptr" version))
4908 "1cypz91z28vhvwq2rzqjrbdc6a2lvfr2g16vid2sax618q6ai089"))))
4909 (build-system r-build-system)
4911 `(("pkg-config" ,pkg-config)))
4913 `(("nlopt" ,nlopt)))
4914 (home-page "http://cran.r-project.org/web/packages/nloptr")
4915 (synopsis "R interface to NLopt")
4917 "This package is interface to NLopt, a library for nonlinear
4918 optimization. NLopt is a library for nonlinear optimization, providing a
4919 common interface for a number of different free optimization routines
4920 available online as well as original implementations of various other
4922 (license license:lgpl3)))
4924 (define-public r-lme4
4931 (uri (cran-uri "lme4" version))
4934 "13j4a721rx0272pdxrz6nabjv56xb6srklq5w4z1abc82lyvda2z"))))
4935 (build-system r-build-system)
4937 `(("r-rcpp" ,r-rcpp)
4938 ("r-rcppeigen" ,r-rcppeigen)))
4940 `(("r-lattice" ,r-lattice)
4941 ("r-matrix" ,r-matrix)
4942 ("r-minqa" ,r-minqa)
4943 ("r-nloptr" ,r-nloptr)
4945 ("r-nlme" ,r-nlme)))
4946 (home-page "http://cran.r-project.org/web/packages/lme4")
4947 (synopsis "Linear mixed-effects models using eigen and S4")
4949 "This package provides fit linear and generalized linear mixed-effects
4950 models. The models and their components are represented using S4 classes and
4951 methods. The core computational algorithms are implemented using the Eigen
4952 C++ library for numerical linear algebra and RcppEigen glue.")
4953 (license license:gpl2+)))
4955 (define-public r-pbkrtest
4962 (uri (cran-uri "pbkrtest" version))
4965 "1si3bhi59xc51a0pgjjglccq3h4aljyhw2k1b8574s145fnh7fsw"))))
4966 (build-system r-build-system)
4968 `(("r-lme4" ,r-lme4)
4970 ("r-matrix" ,r-matrix)))
4971 (home-page "http://people.math.aau.dk/~sorenh/software/pbkrtest/")
4972 (synopsis "Methods for linear mixed model comparison")
4974 "This package implements a parametric bootstrap test and a Kenward Roger
4975 modification of F-tests for linear mixed effects models and a parametric
4976 bootstrap test for generalized linear mixed models.")
4977 (license license:gpl2+)))
4979 (define-public r-car
4986 (uri (cran-uri "car" version))
4989 "0a6v7rsd1xsdyapnfqy37m7c4kx9wslkzsizc9k0lmnba0bwyfgx"))))
4990 (build-system r-build-system)
4992 `(("r-mass" ,r-mass)
4995 ("r-pbkrtest" ,r-pbkrtest)
4996 ("r-quantreg" ,r-quantreg)))
4997 (home-page "https://r-forge.r-project.org/projects/car/")
4998 (synopsis "Companion to applied regression")
5000 "This package provides functions and datasets from book Companion
5001 to Applied regression, Second Edition, Sage, 2011.")
5002 (license license:gpl2+)))
5004 (define-public r-caret
5011 (uri (cran-uri "caret" version))
5014 "1w31xzpmj8p6r6s7s1vwnjxainq54bbh4cqm177ba0myv69hh8cc"))))
5015 (build-system r-build-system)
5018 ("r-foreach" ,r-foreach)
5019 ("r-ggplot2" ,r-ggplot2)
5020 ("r-lattice" ,r-lattice)
5021 ("r-modelmetrics" ,r-modelmetrics)
5024 ("r-reshape2" ,r-reshape2)))
5025 (home-page "https://github.com/topepo/caret")
5026 (synopsis "Classification and regression training")
5028 "This package provides misc functions for training and plotting
5029 classification and regression models.")
5030 (license license:gpl2+)))
5032 (define-public r-rcppprogress
5034 (name "r-rcppprogress")
5039 (uri (cran-uri "RcppProgress" version))
5042 "0796g11w7iv3ix1wfm3fh09qq7jki4r4cp1mjagq77igri3xrr9x"))))
5043 (properties `((upstream-name . "RcppProgress")))
5044 (build-system r-build-system)
5046 `(("r-rcpp" ,r-rcpp)))
5047 (home-page "https://github.com/kforner/rcpp_progress")
5048 (synopsis "Interruptible progress bar for C++ in R packages")
5050 "This package allows to display a progress bar in the R console for long running
5051 computations taking place in C++ code, and support for interrupting those computations
5052 even in multithreaded code, typically using OpenMP.")
5053 (license license:gpl3+)))
5055 (define-public r-mnormt
5062 (uri (cran-uri "mnormt" version))
5065 "1b34xxrnf35khsx82mhvmk96sgfr2flyasaah7qkb2976pwxay7z"))))
5066 (build-system r-build-system)
5068 `(("gfortran" ,gfortran)))
5069 (home-page "http://azzalini.stat.unipd.it/SW/Pkg-mnormt")
5070 (synopsis "Multivariate normal and \"t\" distributions")
5072 "This package provides functions for computing the density and the
5073 distribution function of multivariate normal and \"t\" random variables, and
5074 for generating random vectors sampled from these distributions. Probabilities
5075 are computed via non-Monte Carlo methods.")
5076 (license license:gpl2+)))
5078 (define-public r-numderiv
5081 (version "2016.8-1")
5085 (uri (cran-uri "numDeriv" version))
5088 "07ni52rwiap4wilfz94w5mrqaxr59axxmgn57857ip4p6qkiss0v"))))
5089 (properties `((upstream-name . "numDeriv")))
5090 (build-system r-build-system)
5091 (home-page "https://cran.r-project.org/web/packages/numDeriv")
5092 (synopsis "Accurate numerical derivatives")
5094 "This package provides methods for calculating accurate numerical
5095 first and second order derivatives.")
5096 (license license:gpl2)))
5105 (uri (cran-uri "sn" version))
5108 "0fh7xjsfd2x8d9lbnss7raldh24b72b3pvcv7zqa1qprzg7zfr01"))))
5109 (build-system r-build-system)
5111 `(("r-mnormt" ,r-mnormt)
5112 ("r-numderiv" ,r-numderiv)))
5113 (home-page "http://azzalini.stat.unipd.it/SN")
5114 (synopsis "The skew-normal and skew-t distributions")
5116 "This packages provides functionalities to build and manipulate
5117 probability distributions of the skew-normal family and some related
5118 ones, notably the skew-t family, and provides related statistical
5119 methods for data fitting and diagnostics, in the univariate and the
5120 multivariate case.")
5121 (license license:gpl2+)))
5123 (define-public r-tclust
5130 (uri (cran-uri "tclust" version))
5133 "0a1b7yp4l9wf6ic5czizyl2cnxrc1virj0icr8i6m1vv23jd8jfp"))))
5134 (build-system r-build-system)
5136 `(("r-cluster" ,r-cluster)
5137 ("r-mclust" ,r-mclust)
5138 ("r-mvtnorm" ,r-mvtnorm)
5140 (home-page "http://cran.r-project.org/web/packages/tclust")
5141 (synopsis "Robust trimmed clustering")
5143 "This package implements different robust clustering
5144 algorithms (@code{tclust}) based on trimming and including some graphical
5145 diagnostic tools (@code{ctlcurves} and @code{DiscrFact}).")
5146 (license license:gpl3)))
5148 (define-public r-ranger
5155 (uri (cran-uri "ranger" version))
5158 "0g1rnpk4c06lmy0r5n0j7i2xna190kqalmxp42d9gnk3drnb1x43"))))
5159 (build-system r-build-system)
5161 `(("r-rcpp" ,r-rcpp)))
5162 (home-page "https://github.com/imbs-hl/ranger")
5163 (synopsis "Fast implementation of random forests")
5165 "This package provides a fast implementation of Random Forests,
5166 particularly suited for high dimensional data. Ensembles of classification,
5167 regression, survival and probability prediction trees are supported. Data from
5168 genome-wide association studies can be analyzed efficiently.")
5169 (license license:gpl3)))
5171 (define-public r-tsne
5178 (uri (cran-uri "tsne" version))
5181 "0s8cv2pndkddq62rzlgzgfdjp1vjv5hz5i5957sllnb97vbzbzb6"))))
5182 (build-system r-build-system)
5183 (home-page "https://github.com/jdonaldson/rtsne/")
5184 (synopsis "t-Distributed Stochastic Neighbor Embedding for R")
5186 "This package provides a pure R implementation of the t-SNE algorithm.")
5187 (license license:gpl2+)))
5189 (define-public r-cairo
5196 (uri (cran-uri "Cairo" version))
5199 "1x1q99r3r978rlkkm5gixkv03p0mcr6k7ydcqdmisrwnmrn7p1ia"))))
5200 (properties `((upstream-name . "Cairo")))
5201 (build-system r-build-system)
5206 `(("pkg-config" ,pkg-config)))
5207 (home-page "http://www.rforge.net/Cairo/")
5208 (synopsis "R graphics device using Cairo graphics library")
5210 "This package provides a Cairo graphics device that can be use to
5211 create high-quality vector (PDF, PostScript and SVG) and bitmap
5212 output (PNG,JPEG,TIFF), and high-quality rendering in displays (X11
5213 and Win32). Since it uses the same back-end for all output, copying
5214 across formats is WYSIWYG. Files are created without the dependence
5215 on X11 or other external programs. This device supports alpha
5216 channel (semi-transparent drawing) and resulting images can contain
5217 transparent and semi-transparent regions. It is ideal for use in
5218 server environments (file output) and as a replacement for other
5219 devices that don't have Cairo's capabilities such as alpha support or
5220 anti-aliasing. Backends are modular such that any subset of backends
5222 (license license:gpl2)))
5224 (define-public r-lubridate
5226 (name "r-lubridate")
5231 (uri (cran-uri "lubridate" version))
5234 "0ci6rwij9i1inn840m0mlh1nqgh6vm2lada9kdnjpcjp5kyfv1qs"))))
5235 (build-system r-build-system)
5237 `(("r-stringr" ,r-stringr)))
5239 "http://cran.r-project.org/web/packages/lubridate")
5240 (synopsis "Make dealing with dates a little easier")
5242 "This package provides functions to work with date-times and time-spans:
5243 fast and user friendly parsing of date-time data, extraction and updating of
5244 components of a date-time (years, months, days, hours, minutes, and seconds),
5245 algebraic manipulation on date-time and time-span objects. The 'lubridate'
5246 package has a consistent and memorable syntax that makes working with dates
5248 (license license:gpl2)))
5250 (define-public r-fdrtool
5257 (uri (cran-uri "fdrtool" version))
5260 "1h46frlk7d9f4qx0bg6p55nrm9wwwz2sv6d1nz7061wdfsm69yb5"))))
5261 (build-system r-build-system)
5262 (home-page "http://strimmerlab.org/software/fdrtool/")
5263 (synopsis "Estimation of false discovery rates and higher criticism")
5265 "This package provides tools to estimate both tail area-based false
5266 discovery rates (Fdr) as well as local false discovery rates (fdr) for a
5267 variety of null models (p-values, z-scores, correlation coefficients,
5268 t-scores). The proportion of null values and the parameters of the null
5269 distribution are adaptively estimated from the data. In addition, the package
5270 contains functions for non-parametric density estimation (Grenander
5271 estimator), for monotone regression (isotonic regression and antitonic
5272 regression with weights), for computing the greatest convex minorant (GCM) and
5273 the least concave majorant (LCM), for the half-normal and correlation
5274 distributions, and for computing empirical higher criticism (HC) scores and
5275 the corresponding decision threshold.")
5276 (license license:gpl3+)))