1 ;;; GNU Guix --- Functional package management for GNU
2 ;;; Copyright © 2015, 2016, 2017, 2018, 2019 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, 2019 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>
10 ;;; Copyright © 2017 Kyle Meyer <kyle@kyleam.com>
11 ;;; Copyright © 2017, 2018, 2019, 2020 Tobias Geerinckx-Rice <me@tobias.gr>
12 ;;; Copyright © 2017 Alex Kost <alezost@gmail.com>
13 ;;; Copyright © 2018 Alex Branham <alex.branham@gmail.com>
15 ;;; This file is part of GNU Guix.
17 ;;; GNU Guix is free software; you can redistribute it and/or modify it
18 ;;; under the terms of the GNU General Public License as published by
19 ;;; the Free Software Foundation; either version 3 of the License, or (at
20 ;;; your option) any later version.
22 ;;; GNU Guix is distributed in the hope that it will be useful, but
23 ;;; WITHOUT ANY WARRANTY; without even the implied warranty of
24 ;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
25 ;;; GNU General Public License for more details.
27 ;;; You should have received a copy of the GNU General Public License
28 ;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
30 (define-module (gnu packages statistics)
31 #:use-module ((guix licenses) #:prefix license:)
32 #:use-module (guix packages)
33 #:use-module (guix download)
34 #:use-module (guix hg-download)
35 #:use-module (guix git-download)
36 #:use-module (guix utils)
37 #:use-module (guix build-system ant)
38 #:use-module (guix build-system gnu)
39 #:use-module (guix build-system r)
40 #:use-module (guix build-system python)
41 #:use-module (guix build-system trivial)
42 #:use-module (gnu packages)
43 #:use-module (gnu packages algebra)
44 #:use-module (gnu packages autotools)
45 #:use-module (gnu packages bash)
46 #:use-module (gnu packages check)
47 #:use-module (gnu packages compression)
48 #:use-module (gnu packages cran)
49 #:use-module (gnu packages curl)
50 #:use-module (gnu packages emacs)
51 #:use-module (gnu packages emacs-xyz)
52 #:use-module (gnu packages fontutils)
53 #:use-module (gnu packages gcc)
54 #:use-module (gnu packages gtk)
55 #:use-module (gnu packages gettext)
56 #:use-module (gnu packages glib)
57 #:use-module (gnu packages haskell-xyz)
58 #:use-module (gnu packages icu4c)
59 #:use-module (gnu packages image)
60 #:use-module (gnu packages java)
61 #:use-module (gnu packages libffi)
62 #:use-module (gnu packages machine-learning)
63 #:use-module (gnu packages maths)
64 #:use-module (gnu packages multiprecision)
65 #:use-module (gnu packages pcre)
66 #:use-module (gnu packages perl)
67 #:use-module (gnu packages pkg-config)
68 #:use-module (gnu packages python)
69 #:use-module (gnu packages python-science)
70 #:use-module (gnu packages python-xyz)
71 #:use-module (gnu packages readline)
72 #:use-module (gnu packages sphinx)
73 #:use-module (gnu packages ssh)
74 #:use-module (gnu packages tcl)
75 #:use-module (gnu packages tex)
76 #:use-module (gnu packages texinfo)
77 #:use-module (gnu packages time)
78 #:use-module (gnu packages tls)
79 #:use-module (gnu packages base)
80 #:use-module (gnu packages version-control)
81 #:use-module (gnu packages web)
82 #:use-module (gnu packages xml)
83 #:use-module (gnu packages xorg)
84 #:use-module (srfi srfi-1))
94 (uri (string-append "mirror://gnu/pspp/pspp-"
98 "07pp27zycrb5x927jwaj9r3q7hy915jh51xs85zxby6gfiwl63m5"))))
99 (build-system gnu-build-system)
102 ("gettext" ,gettext-minimal)
106 ("readline" ,readline)
108 ("gtksourceview" ,gtksourceview)
109 ("spread-sheet-widget" ,spread-sheet-widget)
112 `(("autoconf" ,autoconf) ;for tests
113 ("glib" ,glib "bin") ;for glib-genmarshal
115 ("pkg-config" ,pkg-config)
116 ("python" ,python-2) ;for tests
117 ("texinfo" ,texinfo)))
118 (home-page "https://www.gnu.org/software/pspp/")
119 (synopsis "Statistical analysis")
121 "GNU PSPP is a statistical analysis program. It can perform
122 descriptive statistics, T-tests, linear regression and non-parametric tests.
123 It features both a graphical interface as well as command-line input. PSPP
124 is designed to interoperate with Gnumeric, LibreOffice and OpenOffice. Data
125 can be imported from spreadsheets, text files and database sources and it can
126 be output in text, PostScript, PDF or HTML.")
127 (license license:gpl3+)))
135 (uri (string-append "mirror://sourceforge/mcmc-jags/JAGS/"
136 (version-major version) ".x/Source/"
137 "JAGS-" version ".tar.gz"))
140 "1z3icccg2ic56vmhyrpinlsvpq7kcaflk1731rgpvz9bk1bxvica"))))
141 (build-system gnu-build-system)
142 (home-page "http://mcmc-jags.sourceforge.net/")
144 `(("gfortran" ,gfortran)
146 (synopsis "Gibbs sampler")
147 (description "JAGS is Just Another Gibbs Sampler. It is a program for
148 analysis of Bayesian hierarchical models using Markov Chain Monte Carlo (MCMC)
149 simulation not wholly unlike BUGS. JAGS was written with three aims in mind:
152 @item To have a cross-platform engine for the BUGS language;
153 @item To be extensible, allowing users to write their own functions,
154 distributions and samplers;
155 @item To be a platform for experimentation with ideas in Bayesian modelling.
157 (license license:gpl2)))
159 (define-public libxls
166 (uri (string-append "https://github.com/libxls/libxls/releases/download/"
167 "v" version "/libxls-" version ".tar.gz"))
169 (base32 "1akadsyl10rp101ccjmrxr7933c3v641k377bn74jv6cdkcm4zld"))))
170 (build-system gnu-build-system)
171 (home-page "https://github.com/libxls/libxls")
172 (synopsis "Read binary (.xls) Excel spreadsheet files")
174 "libxls is a C library to read .xls spreadsheet files in the binary OLE
175 BIFF8 format as created by Excel 97 and later versions. It cannot write them.
177 This package also provides @command{xls2csv} to export Excel files to CSV.")
178 (license license:bsd-2)))
180 ;; Update this package together with the set of recommended packages: r-boot,
181 ;; r-class, r-cluster, r-codetools, r-foreign, r-kernsmooth, r-lattice,
182 ;; r-mass, r-matrix, r-mgcv, r-nlme, r-nnet, r-rpart, r-spatial, r-survival.
185 (name "r-with-tests")
189 (uri (string-append "mirror://cran/src/base/R-"
190 (version-major version) "/R-"
194 "0m69pfi0nxyriyb2yz74xfzaxwfkinnf9kpvf1rz727vvmfa8rdx"))))
195 (build-system gnu-build-system)
197 `(#:disallowed-references (,tzdata-for-tests)
199 (list (string-append "LDFLAGS=-Wl,-rpath="
200 (assoc-ref %outputs "out")
202 ;; This affects the embedded timestamp of only the core packages.
203 "PKG_BUILT_STAMP=1970-01-01")
205 (modify-phases %standard-phases
206 (add-before 'configure 'do-not-compress-serialized-files
207 (lambda* (#:key inputs #:allow-other-keys)
208 ;; This ensures that Guix can detect embedded store references;
209 ;; see bug #28157 for details.
210 (substitute* "src/library/base/makebasedb.R"
211 (("compress = TRUE") "compress = FALSE"))
213 (add-before 'configure 'patch-uname
214 (lambda* (#:key inputs #:allow-other-keys)
215 (let ((uname-bin (string-append (assoc-ref inputs "coreutils")
217 (substitute* "src/scripts/R.sh.in"
218 (("uname") uname-bin)))
220 (add-after 'unpack 'build-reproducibly
222 ;; The documentation contains time stamps to demonstrate
223 ;; documentation generation in different phases.
224 (substitute* "src/library/tools/man/Rd2HTML.Rd"
225 (("\\\\%Y-\\\\%m-\\\\%d at \\\\%H:\\\\%M:\\\\%S")
226 "(removed for reproducibility)"))
228 ;; Remove timestamp from tracing environment. This fixes
229 ;; reproducibility of "methods.rd{b,x}".
230 (substitute* "src/library/methods/R/trace.R"
231 (("dateCreated = Sys.time\\(\\)")
232 "dateCreated = as.POSIXct(\"1970-1-1 00:00:00\", tz = \"UTC\")"))
234 ;; Ensure that gzipped files are reproducible.
235 (substitute* '("src/library/grDevices/Makefile.in"
236 "doc/manual/Makefile.in")
237 (("R_GZIPCMD\\)" line)
238 (string-append line " -n")))
240 ;; The "srcfile" procedure in "src/library/base/R/srcfile.R"
241 ;; queries the mtime of a given file and records it in an object.
242 ;; This is acceptable at runtime to detect stale source files,
243 ;; but it destroys reproducibility at build time.
245 ;; Similarly, the "srcfilecopy" procedure records the current
246 ;; time. We change both of them to respect SOURCE_DATE_EPOCH.
247 (substitute* "src/library/base/R/srcfile.R"
248 (("timestamp <- (timestamp.*|file.mtime.*)" _ time)
249 (string-append "timestamp <- \
250 as.POSIXct(if (\"\" != Sys.getenv(\"SOURCE_DATE_EPOCH\")) {\
251 as.numeric(Sys.getenv(\"SOURCE_DATE_EPOCH\"))\
252 } else { " time "}, origin=\"1970-01-01\")\n")))
254 ;; This library is installed using "install_package_description",
255 ;; so we need to pass the "builtStamp" argument.
256 (substitute* "src/library/tools/Makefile.in"
257 (("(install_package_description\\(.*\"')\\)\"" line prefix)
258 (string-append prefix ", builtStamp='1970-01-01')\"")))
260 (substitute* "src/library/Recommended/Makefile.in"
261 (("INSTALL_OPTS =" m)
262 (string-append m " --built-timestamp=1970-01-01" m)))
264 ;; R bundles an older version of help2man, which does not respect
265 ;; SOURCE_DATE_EPOCH. We cannot just use the latest help2man,
266 ;; because that breaks a test.
267 (with-fluids ((%default-port-encoding "ISO-8859-1"))
268 (substitute* "tools/help2man.pl"
269 (("my \\$date = strftime \"%B %Y\", localtime" line)
270 (string-append line " 1"))))
272 (add-before 'configure 'set-default-pager
273 ;; Set default pager to "cat", because otherwise it is "false",
274 ;; making "help()" print nothing at all.
275 (lambda _ (setenv "PAGER" "cat") #t))
276 (add-before 'check 'set-timezone
277 ;; Some tests require the timezone to be set. However, the
278 ;; timezone may not just be "UTC", or else a brittle regression
279 ;; test in reg-tests-1d will fail.
280 (lambda* (#:key inputs #:allow-other-keys)
281 (setenv "TZ" "UTC+1")
283 (string-append (assoc-ref inputs "tzdata")
286 (add-after 'build 'make-info
287 (lambda _ (invoke "make" "info")))
288 (add-after 'build 'install-info
289 (lambda _ (invoke "make" "install-info"))))
291 `(;; We build the recommended packages here, because they are needed in
292 ;; order to run the test suite. We disable them in the r-minimal
295 "--with-blas=-lopenblas"
301 ,(string-append "--with-tcl-config="
302 (assoc-ref %build-inputs "tcl")
304 ,(string-append "--with-tk-config="
305 (assoc-ref %build-inputs "tk")
308 "--enable-BLAS-shlib"
309 "--with-system-tre")))
310 ;; R has some support for Java. When the JDK is available at configure
311 ;; time environment variables pointing to the JDK will be recorded under
312 ;; $R_HOME/etc and ./tools/getsp.java will be compiled which is used by "R
313 ;; CMD javareconf". "R CMD javareconf" appears to only be used to update
314 ;; the recorded environment variables in $R_HOME/etc. Refer to
315 ;; https://cran.r-project.org/doc/manuals/r-release/R-admin.html#Java-support
316 ;; for additional information.
318 ;; As the JDK is a rather large input with only very limited effects on R,
319 ;; we decided to drop it.
323 ("pkg-config" ,pkg-config)
324 ("texinfo" ,texinfo) ; for building HTML manuals
325 ("texlive" ,(texlive-union (list texlive-fonts-ec
328 texlive-latex-fancyvrb
329 texlive-latex-graphics
330 texlive-latex-hyperref
331 texlive-latex-oberdiek
333 texlive-latex-upquote
335 ("tzdata" ,tzdata-for-tests)
338 `(;; We need not only cairo here, but pango to ensure that tests for the
339 ;; "cairo" bitmapType plotting backend succeed.
341 ("coreutils" ,coreutils)
343 ("openblas" ,openblas)
344 ("gfortran" ,gfortran)
346 ("libjpeg" ,libjpeg-turbo)
351 ("readline" ,readline)
352 ;; This avoids a reference to the ungraftable static bash. R uses the
353 ;; detected shell for the "system" procedure.
354 ("bash" ,bash-minimal)
360 (list (search-path-specification
361 (variable "R_LIBS_SITE")
362 (files (list "site-library/")))))
363 (home-page "https://www.r-project.org/")
364 (synopsis "Environment for statistical computing and graphics")
366 "R is a language and environment for statistical computing and graphics.
367 It provides a variety of statistical techniques, such as linear and nonlinear
368 modeling, classical statistical tests, time-series analysis, classification
369 and clustering. It also provides robust support for producing
370 publication-quality data plots. A large amount of 3rd-party packages are
371 available, greatly increasing its breadth and scope.")
372 (license license:gpl3+)))
374 (define-public r-minimal
375 (package (inherit r-with-tests)
379 ,@(substitute-keyword-arguments (package-arguments r-with-tests)
380 ((#:configure-flags flags)
381 ;; Do not build the recommended packages. The build system creates
382 ;; random temporary directories and embeds their names in some
383 ;; package files. We build these packages with the r-build-system
385 `(cons "--without-recommended-packages" ,flags)))))))
387 (define-public rmath-standalone
388 (package (inherit r-minimal)
389 (name "rmath-standalone")
392 (modify-phases %standard-phases
393 (add-after 'configure 'chdir
394 (lambda _ (chdir "src/nmath/standalone/") #t)))))
395 (synopsis "Standalone R math library")
397 "This package provides the R math library as an independent package.")))
399 (define-public r-boot
406 (uri (cran-uri "boot" version))
409 "0yv0l55kjmlfdx1xhgyjdi0bskxhfal74wr5jxaib1qj99nmkm49"))))
410 (build-system r-build-system)
411 (home-page "https://cran.r-project.org/web/packages/boot")
412 (synopsis "Bootstrap functions for R")
414 "This package provides functions and datasets for bootstrapping from the
415 book \"Bootstrap Methods and Their Application\" by A.C. Davison and
416 D.V. Hinkley (1997, CUP), originally written by Angelo Canty for S.")
417 ;; Unlimited distribution
418 (license (license:non-copyleft "file://R/bootfuns.q"))))
420 (define-public r-mass
427 (uri (cran-uri "MASS" version))
430 "1k0m7pa4gb5apzrrkb5kx5d7bmkm2pl5g15vwb6j067hrqahck26"))))
431 (properties `((upstream-name . "MASS")))
432 (build-system r-build-system)
433 (home-page "http://www.stats.ox.ac.uk/pub/MASS4/")
434 (synopsis "Support functions and datasets for Venables and Ripley's MASS")
436 "This package provides functions and datasets for the book \"Modern
437 Applied Statistics with S\" (4th edition, 2002) by Venables and Ripley.")
438 ;; Either version may be picked.
439 (license (list license:gpl2 license:gpl3))))
441 (define-public r-class
448 (uri (cran-uri "class" version))
451 "1x1hqz8xyhbpq4krsh02glqnlzcch25agkmn4a3da9n723b37gzn"))))
452 (build-system r-build-system)
454 `(("r-mass" ,r-mass)))
455 (home-page "http://www.stats.ox.ac.uk/pub/MASS4/")
456 (synopsis "R functions for classification")
458 "This package provides various functions for classification, including
459 k-nearest neighbour, Learning Vector Quantization and Self-Organizing Maps.")
460 ;; Either of the two versions can be picked.
461 (license (list license:gpl2 license:gpl3))))
463 (define-public r-cluster
470 (uri (cran-uri "cluster" version))
473 "055af3yz2biqbsbwm4arwr1yqnj4gicpzv2i6dbfl5pnz2z5byga"))))
474 (build-system r-build-system)
476 `(("gfortran" ,gfortran)))
477 (home-page "https://cran.r-project.org/web/packages/cluster")
478 (synopsis "Methods for cluster analysis")
480 "This package provides methods for cluster analysis. It is a much
481 extended version of the original from Peter Rousseeuw, Anja Struyf and Mia
482 Hubert, based on Kaufman and Rousseeuw (1990) \"Finding Groups in Data\".")
483 (license license:gpl2+)))
485 (define-public r-codetools
492 (uri (cran-uri "codetools" version))
495 "00bmhzqprqfn3w6ghx7sakai6s7il8gbksfiawj8in5mbhbncypn"))))
496 (build-system r-build-system)
497 (home-page "https://cran.r-project.org/web/packages/codetools")
498 (synopsis "Code analysis tools for R")
499 (description "This package provides code analysis tools for R to check R
500 code for possible problems.")
501 ;; Any version of the GPL.
502 (license (list license:gpl2+ license:gpl3+))))
504 (define-public r-foreign
511 (uri (cran-uri "foreign" version))
514 "047w772msiki85rxxhqkxya37gmw4331l32651rr09dl2vq02pgj"))))
515 (build-system r-build-system)
516 (home-page "https://cran.r-project.org/web/packages/foreign")
517 (synopsis "Read data stored by other statistics software")
519 "This package provides functions for reading and writing data stored by
520 some versions of Epi Info, Minitab, S, SAS, SPSS, Stata, Systat and Weka and
521 for reading and writing some dBase files.")
522 (license license:gpl2+)))
524 (define-public r-kernsmooth
526 (name "r-kernsmooth")
531 (uri (cran-uri "KernSmooth" version))
534 "1acrkbdn3a74y4dndkcdl1njnpfqz7gk3bsz03g8lfj8l7z53hmq"))))
535 (properties `((upstream-name . "KernSmooth")))
536 (build-system r-build-system)
538 `(("gfortran" ,gfortran)))
539 (home-page "https://cran.r-project.org/web/packages/KernSmooth")
540 (synopsis "Functions for kernel smoothing")
542 "This package provides functions for kernel smoothing (and density
543 estimation) corresponding to the book: Wand, M.P. and Jones, M.C. (1995)
544 \"Kernel Smoothing\".")
545 ;; Unlimited use and distribution
546 (license (license:non-copyleft "file://LICENCE.note"))))
548 (define-public r-lattice
554 (uri (cran-uri "lattice" version))
557 "0b8abkz7syscq883mrgv63pkwaqkcpwfx8rgbqy9vgfva0z5xszx"))))
558 (build-system r-build-system)
559 (home-page "http://lattice.r-forge.r-project.org/")
560 (synopsis "High-level data visualization system")
562 "The lattice package provides a powerful and elegant high-level data
563 visualization system inspired by Trellis graphics, with an emphasis on
564 multivariate data. Lattice is sufficient for typical graphics needs, and is
565 also flexible enough to handle most nonstandard requirements.")
566 (license license:gpl2+)))
568 (define-public r-matrix
575 (uri (cran-uri "Matrix" version))
578 "06b1rc1vq65b271f2wpzhqkvhng8hwwnvjflzxkng50i52603zzp"))))
579 (properties `((upstream-name . "Matrix")))
580 (build-system r-build-system)
582 `(("r-lattice" ,r-lattice)))
583 (home-page "http://Matrix.R-forge.R-project.org/")
584 (synopsis "Sparse and dense matrix classes and methods")
586 "This package provides classes and methods for dense and sparse matrices
587 and operations on them using LAPACK and SuiteSparse.")
588 (license license:gpl2+)))
590 (define-public r-nlme
597 (uri (cran-uri "nlme" version))
599 (base32 "13iixbs2ibldc75rl7rav5n5kx33zwm33xnfw1yvlkpcqf38bd22"))))
600 (build-system r-build-system)
602 `(("r-lattice" ,r-lattice)))
604 `(("gfortran" ,gfortran)))
605 (home-page "https://cran.r-project.org/web/packages/nlme")
606 (synopsis "Linear and nonlinear mixed effects models")
608 "This package provides tools to fit and compare Gaussian linear and
609 nonlinear mixed-effects models.")
610 (license license:gpl2+)))
612 (define-public r-mgcv
619 (uri (cran-uri "mgcv" version))
621 (base32 "1if34mqsn9r7g0l82lxvvx0wjhi9paqdymyd73nschxcl1if8vbk"))))
622 (build-system r-build-system)
624 `(("r-matrix" ,r-matrix)
626 (home-page "https://cran.r-project.org/web/packages/mgcv")
627 (synopsis "Mixed generalised additive model computation")
629 "GAMs, GAMMs and other generalized ridge regression with multiple smoothing
630 parameter estimation by GCV, REML or UBRE/AIC. The library includes a
631 @code{gam()} function, a wide variety of smoothers, JAGS support and
632 distributions beyond the exponential family.")
633 (license license:gpl2+)))
635 (define-public r-nnet
642 (uri (cran-uri "nnet" version))
645 "17amqnw9dpap2w8ivx53hxha2xrm0drwfnj32li0xk41hlz548r7"))))
646 (build-system r-build-system)
647 (home-page "http://www.stats.ox.ac.uk/pub/MASS4/")
648 (synopsis "Feed-forward neural networks and multinomial log-linear models")
650 "This package provides functions for feed-forward neural networks with a
651 single hidden layer, and for multinomial log-linear models.")
652 (license (list license:gpl2+ license:gpl3+))))
654 (define-public r-rpart
661 (uri (cran-uri "rpart" version))
664 "0p5frya963ppn476p5dxs2mnarsalksr6gw9zzmjsn8ikq7bx3ib"))))
665 (build-system r-build-system)
666 (home-page "https://cran.r-project.org/web/packages/rpart")
667 (synopsis "Recursive partitioning and regression trees")
669 "This package provides recursive partitioning functions for
670 classification, regression and survival trees.")
671 (license (list license:gpl2+ license:gpl3+))))
673 (define-public r-spatial
680 (uri (cran-uri "spatial" version))
683 "04aw8j533sn63ybyrf4hyhrqm4058vfcb7yhjy07kq92mk94hi32"))))
684 (build-system r-build-system)
685 (home-page "http://www.stats.ox.ac.uk/pub/MASS4/")
686 (synopsis "Functions for kriging and point pattern analysis")
688 "This package provides functions for kriging and point pattern
690 ;; Either version may be picked.
691 (license (list license:gpl2 license:gpl3))))
693 (define-public r-survival
700 (uri (cran-uri "survival" version))
703 "15fj4y8c107bwq22amx88r5hw7qndlcbr9sapzrpkpr7iqz3kkyf"))))
704 (build-system r-build-system)
706 `(("r-matrix" ,r-matrix)))
707 (home-page "https://github.com/therneau/survival")
708 (synopsis "Survival analysis")
710 "This package contains the core survival analysis routines, including
711 definition of Surv objects, Kaplan-Meier and Aalen-Johansen (multi-state)
712 curves, Cox models, and parametric accelerated failure time models.")
713 (license license:lgpl2.0+)))
716 (package (inherit r-minimal)
719 (build-system trivial-build-system)
720 (arguments '(#:builder (begin (mkdir %output) #t)))
722 `(("r-minimal" ,r-minimal)
725 ("r-cluster" ,r-cluster)
726 ("r-codetools" ,r-codetools)
727 ("r-foreign" ,r-foreign)
728 ("r-kernsmooth" ,r-kernsmooth)
729 ("r-lattice" ,r-lattice)
731 ("r-matrix" ,r-matrix)
736 ("r-spatial" ,r-spatial)
737 ("r-survival" ,r-survival)))))
746 (uri (cran-uri "bit" version))
749 "0y351ajlrn9ywbiai46mjpwmw5pqc9ik2z24rf0bnbdcvaxdr7r8"))))
750 (build-system r-build-system)
751 (home-page "http://ff.r-forge.r-project.org")
752 (synopsis "Class for vectors of 1-bit booleans")
754 "This package provides bitmapped vectors of booleans (no @code{NA}s),
755 coercion from and to logicals, integers and integer subscripts, fast boolean
756 operators and fast summary statistics. With @code{bit} class vectors of true
757 binary booleans, @code{TRUE} and @code{FALSE} can be stored with 1 bit only.")
758 (license license:gpl2)))
760 (define-public r-bit64
767 (uri (cran-uri "bit64" version))
770 "07znvz9vp1nz1y5ljng4qyskvm943cdbmy996s67560ijxzsm6kv"))))
771 (build-system r-build-system)
774 (home-page "http://ff.r-forge.r-project.org/")
775 (synopsis "S3 class for vectors of 64 bit integers")
777 "The bit64 package provides serializable S3 atomic 64 bit (signed)
778 integers that can be used in vectors, matrices, arrays and @code{data.frames}.
779 Methods are available for coercion from and to logicals, integers, doubles,
780 characters and factors as well as many elementwise and summary functions.
781 Many fast algorithmic operations such as @code{match} and @code{order} support
782 interactive data exploration and manipulation and optionally leverage
784 (license license:gpl2)))
786 (define-public r-dichromat
793 (uri (cran-uri "dichromat" version))
795 (base32 "1l8db1nk29ccqg3mkbafvfiw0775iq4gapysf88xq2zp6spiw59i"))))
796 (build-system r-build-system)
797 (home-page "https://cran.r-project.org/web/packages/dichromat")
798 (synopsis "Color schemes for dichromats")
800 "Dichromat collapses red-green or green-blue distinctions to simulate the
801 effects of different types of color-blindness.")
802 (license license:gpl2+)))
804 (define-public r-digest
811 (uri (cran-uri "digest" version))
813 (base32 "18h5s8vkdcz2vhpsx6g3ig00zalrihr03skn95zw3lr2y56pafmp"))))
814 (build-system r-build-system)
815 ;; Vignettes require r-knitr, which requires r-digest, so we have to
816 ;; disable them and the tests.
819 #:configure-flags (list "--no-build-vignettes")))
820 (home-page "http://dirk.eddelbuettel.com/code/digest.html")
821 (synopsis "Create cryptographic hash digests of R objects")
823 "This package contains an implementation of a function @code{digest()} for
824 the creation of hash digests of arbitrary R objects (using the md5, sha-1,
825 sha-256, crc32, xxhash and murmurhash algorithms) permitting easy comparison
826 of R language objects, as well as a function @code{hmac()} to create hash-based
827 message authentication code.
829 Please note that this package is not meant to be deployed for cryptographic
830 purposes for which more comprehensive (and widely tested) libraries such as
831 OpenSSL should be used.")
832 (license license:gpl2+)))
834 (define-public r-estimability
836 (name "r-estimability")
840 (uri (cran-uri "estimability" version))
843 "0cifdaa71spkcxl4db4z884jrya865sg3dhcv4isd8fnzg2pjcd3"))))
844 (build-system r-build-system)
845 (home-page "https://cran.r-project.org/web/packages/estimability")
846 (synopsis "Tools for assessing estimability of linear predictions")
847 (description "Provides tools for determining estimability of linear
848 functions of regression coefficients, and @code{epredict} methods that handle
849 non-estimable cases correctly.")
850 (license license:gpl2+)))
852 (define-public r-labeling
859 (uri (cran-uri "labeling" version))
861 (base32 "13sk7zrrrzry6ky1bp8mmnzcl9jhvkig8j4id9nny7z993mnk00d"))))
862 (build-system r-build-system)
863 (home-page "https://cran.r-project.org/web/packages/labeling")
864 (synopsis "Axis labeling algorithms")
865 (description "The labeling package provides a range of axis labeling
867 (license license:expat)))
869 (define-public r-magrittr
876 (uri (cran-uri "magrittr" version))
878 (base32 "1s1ar6rag8m277qcqmdp02gn4awn9bdj9ax0r8s32i59mm1mki05"))))
879 (build-system r-build-system)
880 (home-page "https://cran.r-project.org/web/packages/magrittr/index.html")
881 (synopsis "A forward-pipe operator for R")
883 "Magrittr provides a mechanism for chaining commands with a new
884 forward-pipe operator, %>%. This operator will forward a value, or the result
885 of an expression, into the next function call/expression. There is flexible
886 support for the type of right-hand side expressions. For more information,
887 see package vignette. To quote Rene Magritte, \"Ceci n'est pas un pipe.\"")
888 (license license:expat)))
890 (define-public r-munsell
897 (uri (cran-uri "munsell" version))
899 (base32 "16g1fzisbpqb15yh3pqf3iia4csppva5dnv1z88x9dg263xskwyh"))))
900 (build-system r-build-system)
902 `(("r-colorspace" ,r-colorspace)))
903 (home-page "https://cran.r-project.org/web/packages/munsell")
904 (synopsis "Munsell colour system")
906 "The Munsell package contains Functions for exploring and using the
907 Munsell colour system.")
908 (license license:expat)))
910 (define-public r-permute
917 (uri (cran-uri "permute" version))
920 "0ra8p5mf2590azrkas8z2ry7mif77xqxd29n4zgyi5vll225726j"))))
921 (build-system r-build-system)
922 ;; Tests do not run correctly, but running them properly would entail a
923 ;; circular dependency with vegan.
924 (home-page "https://github.com/gavinsimpson/permute")
925 (synopsis "Functions for Generating Restricted Permutations of Data")
927 "This package provides a set of restricted permutation designs for freely
928 exchangeable, line transects (time series), spatial grid designs and permutation
929 of blocks (groups of samples). @code{permute} also allows split-plot designs,
930 in which the whole-plots or split-plots or both can be freely exchangeable.")
931 (license license:gpl2+)))
933 (define-public r-plyr
940 (uri (cran-uri "plyr" version))
942 (base32 "0x4mbb3rgv1ayxqidw0p9i10khbg51fz5r62vw4il8d7licqq07a"))))
943 (build-system r-build-system)
944 (propagated-inputs `(("r-rcpp" ,r-rcpp)))
945 (home-page "http://had.co.nz/plyr")
946 (synopsis "Tools for Splitting, Applying and Combining Data")
948 "Plyr is a set of tools that solves a common set of problems: you need to
949 break a big problem down into manageable pieces, operate on each piece and
950 then put all the pieces back together. For example, you might want to fit a
951 model to each spatial location or time point in your study, summarise data by
952 panels or collapse high-dimensional arrays to simpler summary statistics.")
953 (license license:expat)))
955 (define-public r-proto
962 (uri (cran-uri "proto" version))
964 (base32 "1l843p8vckjckdhgv37ngv47fga5jzy0n00pmipvp05nnaixk54j"))))
965 (build-system r-build-system)
966 (home-page "https://github.com/hadley/proto")
967 (synopsis "Prototype object-based programming")
969 "Proto is an object oriented system using object-based, also called
970 prototype-based, rather than class-based object oriented ideas.")
971 (license license:gpl2+)))
973 (define-public r-rcolorbrewer
975 (name "r-rcolorbrewer")
980 (uri (cran-uri "RColorBrewer" version))
982 (base32 "1pfcl8z1pnsssfaaz9dvdckyfnnc6rcq56dhislbf571hhg7isgk"))))
983 (build-system r-build-system)
984 (home-page "https://cran.r-project.org/web/packages/RColorBrewer")
985 (synopsis "ColorBrewer palettes")
987 "This package provides color schemes for maps (and other graphics)
988 designed by Cynthia Brewer as described at http://colorbrewer2.org")
989 ;; Includes code licensed under bsd-4
990 (license license:asl2.0)))
992 (define-public r-sendmailr
999 (uri (cran-uri "sendmailR" version))
1002 "0z7ipywnzgkhfvl4zb2fjwl1xq7b5wib296vn9c9qgbndj6b1zh4"))))
1003 (properties `((upstream-name . "sendmailR")))
1004 (build-system r-build-system)
1006 `(("r-base64enc" ,r-base64enc)))
1008 "https://cran.r-project.org/web/packages/sendmailR")
1009 (synopsis "Send email using R")
1011 "This package contains a simple SMTP client which provides a portable
1012 solution for sending email, including attachments, from within R.")
1013 (license license:gpl2+)))
1015 (define-public r-stringi
1022 (uri (cran-uri "stringi" version))
1025 "0gdmdf4i3ik8rcs7af1vlsfnilcmw3z28jx4278rpq2asigps89k"))))
1026 (build-system r-build-system)
1027 (inputs `(("icu4c" ,icu4c)))
1028 (native-inputs `(("pkg-config" ,pkg-config)))
1029 (home-page "http://stringi.rexamine.com/")
1030 (synopsis "Character string processing facilities")
1032 "This package allows for fast, correct, consistent, portable, as well as
1033 convenient character string/text processing in every locale and any native
1034 encoding. Owing to the use of the ICU library, the package provides R users
1035 with platform-independent functions known to Java, Perl, Python, PHP, and Ruby
1036 programmers. Among available features there are: pattern searching
1037 (e.g. via regular expressions), random string generation, string collation,
1038 transliteration, concatenation, date-time formatting and parsing, etc.")
1039 (license license:bsd-3)))
1041 (define-public r-stringr
1048 (uri (cran-uri "stringr" version))
1050 (base32 "1p9ip7p87gbbg4s6d3d392svvzz2b5dqdq2c8ilgvn4s78nlsq47"))))
1051 (build-system r-build-system)
1053 `(("r-glue" ,r-glue)
1054 ("r-magrittr" ,r-magrittr)
1055 ("r-stringi" ,r-stringi)))
1056 (home-page "https://github.com/hadley/stringr")
1057 (synopsis "Simple, consistent wrappers for common string operations")
1059 "Stringr is a consistent, simple and easy to use set of wrappers around
1060 the fantastic @code{stringi} package. All function and argument names (and
1061 positions) are consistent, all functions deal with \"NA\"'s and zero length
1062 vectors in the same way, and the output from one function is easy to feed into
1063 the input of another.")
1064 (license license:gpl2+)))
1066 (define-public r-reshape2
1073 (uri (cran-uri "reshape2" version))
1075 (base32 "03ki5ka1dj208fc0dclbm0b4xp9d769pah2j9cs34l776p4r9zwa"))))
1076 (build-system r-build-system)
1078 `(("r-plyr" ,r-plyr)
1080 ("r-stringr" ,r-stringr)))
1081 (home-page "https://github.com/hadley/reshape")
1082 (synopsis "Flexibly reshape data: a reboot of the \"reshape\" package")
1084 "Reshape2 is an R library to flexibly restructure and aggregate data
1085 using just two functions: melt and dcast (or acast).")
1086 (license license:expat)))
1088 (define-public r-ggplot2
1095 (uri (cran-uri "ggplot2" version))
1097 (base32 "0mjswqiqcwm0aqxll16bx2kwa6c9km3aql87bdj4347n1ali94g3"))))
1098 (build-system r-build-system)
1100 `(("r-digest" ,r-digest)
1101 ("r-gtable" ,r-gtable)
1102 ("r-lazyeval" ,r-lazyeval)
1105 ("r-tibble" ,r-tibble)
1106 ("r-reshape2" ,r-reshape2)
1107 ("r-rlang" ,r-rlang)
1108 ("r-scales" ,r-scales)
1109 ("r-svglite" ,r-svglite) ; Needed for 'ggsave'
1110 ("r-viridislite" ,r-viridislite)
1111 ("r-withr" ,r-withr)))
1112 (home-page "https://ggplot2.tidyverse.org")
1113 (synopsis "An implementation of the grammar of graphics")
1115 "Ggplot2 is an implementation of the grammar of graphics in R. It
1116 combines the advantages of both base and lattice graphics: conditioning and
1117 shared axes are handled automatically, and you can still build up a plot step
1118 by step from multiple data sources. It also implements a sophisticated
1119 multidimensional conditioning system and a consistent interface to map data to
1120 aesthetic attributes.")
1121 (license license:gpl2+)))
1123 (define-public r-ggdendro
1129 (uri (cran-uri "ggdendro" version))
1132 "1zzq1hxd0d1qa5hrzwfkdw6fzscpcafbwbpkrb62dm559y8awp0j"))))
1133 (build-system r-build-system)
1135 `(("r-ggplot2" ,r-ggplot2)
1137 ("r-knitr" ,r-knitr)))
1138 (home-page "https://github.com/andrie/ggdendro")
1139 (synopsis "Create Dendrograms and Tree Diagrams Using ggplot2")
1140 (description "This is a set of tools for dendrograms and tree plots using
1141 ggplot2. The ggplot2 philosophy is to clearly separate data from the
1142 presentation. Unfortunately the plot method for dendrograms plots directly
1143 to a plot device with out exposing the data. The ggdendro package resolves
1144 this by making available functions that extract the dendrogram plot data.
1145 The package provides implementations for tree, rpart, as well as diana and
1146 agnes cluster diagrams.")
1147 (license license:gpl2+)))
1149 (define-public r-gdtools
1156 (uri (cran-uri "gdtools" version))
1159 "1aax50wyrs4336zpf247l8wmp4spab2n70msziy1ip4gbjn26wa1"))))
1160 (build-system r-build-system)
1162 `(("pkg-config" ,pkg-config)))
1165 ("freetype2" ,freetype)
1168 `(("r-rcpp" ,r-rcpp)
1169 ("r-systemfonts" ,r-systemfonts)))
1170 (home-page "https://cran.r-project.org/web/packages/gdtools")
1171 (synopsis "Utilities for graphical rendering")
1173 "The @code{gdtools} package provides functionalities to get font metrics
1174 and to generate base64 encoded string from raster matrix.")
1175 (license license:gpl3)))
1177 (define-public r-svglite
1184 (uri (cran-uri "svglite" version))
1187 "1gwv51wqp6pgm2f9gavsiq65njs77fr49n8y6y9ax60k3a4vvg14"))))
1188 (build-system r-build-system)
1191 ("r-gdtools" ,r-gdtools)
1192 ("r-rcpp" ,r-rcpp)))
1193 (home-page "https://github.com/hadley/svglite")
1194 (synopsis "SVG graphics device")
1196 "@code{svglite} is a graphics device that produces clean
1197 @dfn{SVG} (Scalable Vector Graphics) output, suitable for use on the web, or
1198 hand editing. Compared to the built-in @code{svg()}, @code{svglite} is
1199 considerably faster, produces smaller files, and leaves text as is.")
1200 (license license:gpl2+)))
1202 (define-public r-assertthat
1204 (name "r-assertthat")
1208 (uri (cran-uri "assertthat" version))
1211 "17wy5bdfzg73sg2clisg1k3zyn1adkj59x56m5nwia2k8z67zkw5"))))
1212 (build-system r-build-system)
1213 (home-page "https://github.com/hadley/assertthat")
1214 (synopsis "Easy pre and post assertions")
1216 "Assertthat is an extension to stopifnot() that makes it easy to declare
1217 the pre and post conditions that your code should satisfy, while also
1218 producing friendly error messages so that your users know what they've done
1220 (license license:gpl3+)))
1222 (define-public r-lazyeval
1228 (uri (cran-uri "lazyeval" version))
1231 "1m10i059csrcqkcn59a8wspn784alxsq3symzhn24mhhl894346n"))))
1232 (build-system r-build-system)
1233 (home-page "https://github.com/hadley/lazyeval")
1234 (synopsis "Lazy (non-standard) evaluation in R")
1236 "This package provides the tools necessary to do non-standard
1237 evaluation (NSE) in R.")
1238 (license license:gpl3+)))
1240 (define-public r-dbi
1246 (uri (cran-uri "DBI" version))
1249 "1r03j9rdcxb9bhxk40dkmy10ikz4yzsxhy3f9k9ix3x577xbfvd9"))))
1250 (build-system r-build-system)
1251 (home-page "https://github.com/rstats-db/DBI")
1252 (synopsis "R database interface")
1254 "The DBI package provides a database interface (DBI) definition for
1255 communication between R and relational database management systems. All
1256 classes in this package are virtual and need to be extended by the various
1257 R/DBMS implementations.")
1258 (license license:lgpl2.0+)))
1263 (version "1.72.0-3")
1266 (uri (cran-uri "BH" version))
1269 "1ay8vb6i730lipg8b8g3893vqglhw2kqpc29lwdrxdkb66iw33l8"))))
1270 (build-system r-build-system)
1271 (home-page "https://github.com/eddelbuettel/bh")
1272 (synopsis "R package providing subset of Boost headers")
1274 "This package aims to provide the most useful subset of Boost libraries
1275 for template use among CRAN packages.")
1276 (license license:boost1.0)))
1278 (define-public r-evaluate
1284 (uri (cran-uri "evaluate" version))
1287 "0a2y7j534gbgixkwj9r1z76l2vssw4g1hznzbpclc076wkdqpj58"))))
1288 (build-system r-build-system)
1289 (home-page "https://github.com/hadley/evaluate")
1290 (synopsis "Parsing and evaluation tools for R")
1292 "This package provides tools that allow you to recreate the parsing,
1293 evaluation and display of R code, with enough information that you can
1294 accurately recreate what happens at the command line. The tools can easily be
1295 adapted for other output formats, such as HTML or LaTeX.")
1296 (license license:gpl3+)))
1298 (define-public r-formatr
1304 (uri (cran-uri "formatR" version))
1307 "1nsxbrx31k3y6yql30qkrvdfyznlia2qfvwv95mfiy7m7wdn4rm3"))))
1308 (build-system r-build-system)
1309 (home-page "http://yihui.name/formatR")
1310 (synopsis "Format R code automatically")
1312 "This package provides a function to format R source code. Spaces and
1313 indent will be added to the code automatically, and comments will be preserved
1314 under certain conditions, so that R code will be more human-readable and tidy.
1315 There is also a Shiny app as a user interface in this package.")
1316 (license license:gpl3+)))
1318 (define-public r-highr
1324 (uri (cran-uri "highr" version))
1327 "0my6idnhmmgs4q1vs40y2lh56yij2p59mpwvm53wjs2zk6x1zl2b"))))
1328 (build-system r-build-system)
1329 (home-page "https://github.com/yihui/highr")
1330 (synopsis "Syntax highlighting for R source code")
1332 "This package provides syntax highlighting for R source code. Currently
1333 it supports LaTeX and HTML output. Source code of other languages is
1334 supported via Andre Simon's highlight package.")
1335 (license license:gpl3+)))
1337 (define-public r-mime
1343 (uri (cran-uri "mime" version))
1346 "18w98prfbivvygiyamsf9yg090kzbnvw2fn9b27823gmis4d08ny"))))
1347 (build-system r-build-system)
1348 (home-page "https://github.com/yihui/mime")
1349 (synopsis "R package to map filenames to MIME types")
1351 "This package guesses the MIME type from a filename extension using the
1352 data derived from /etc/mime.types in UNIX-type systems.")
1353 (license license:gpl2)))
1355 (define-public r-markdown
1361 (uri (cran-uri "markdown" version))
1364 "06zwbrp14bri3470anadd7dvgmw06xf8df6v2pk64wx3f9sd934d"))))
1365 (build-system r-build-system)
1366 ;; Skip check phase because the tests require the r-knitr package to be
1367 ;; installed. This prevents installation failures. Knitr normally
1368 ;; shouldn't be available since r-markdown is a dependency of the r-knitr
1370 (arguments `(#:tests? #f))
1372 `(("r-mime" ,r-mime)
1373 ("r-xfun" ,r-xfun)))
1374 (home-page "https://github.com/rstudio/markdown")
1375 (synopsis "Markdown rendering for R")
1377 "This package provides R bindings to the Sundown Markdown rendering
1378 library (https://github.com/vmg/sundown). Markdown is a plain-text formatting
1379 syntax that can be converted to XHTML or other formats.")
1380 (license license:gpl2)))
1382 (define-public r-yaml
1388 (uri (cran-uri "yaml" version))
1391 "0in562nd0i23cg91a8kdbqgim656fgscykwi0icsnq53xj3srg2m"))))
1392 (build-system r-build-system)
1393 (home-page "https://cran.r-project.org/web/packages/yaml/")
1394 (synopsis "Methods to convert R data to YAML and back")
1396 "This package implements the libyaml YAML 1.1 parser and
1397 emitter (http://pyyaml.org/wiki/LibYAML) for R.")
1398 (license license:bsd-3)))
1400 (define-public r-knitr
1406 (uri (cran-uri "knitr" version))
1409 "08f3bdd5cnnbigybr9vmkhq12n64pbmn4layl3w5rwk8xi5kbnrq"))))
1410 (build-system r-build-system)
1412 `(("r-evaluate" ,r-evaluate)
1413 ("r-highr" ,r-highr)
1414 ("r-markdown" ,r-markdown)
1415 ("r-stringr" ,r-stringr)
1417 ("r-yaml" ,r-yaml)))
1418 (home-page "http://yihui.name/knitr/")
1419 (synopsis "General-purpose package for dynamic report generation in R")
1421 "This package provides a general-purpose tool for dynamic report
1422 generation in R using Literate Programming techniques.")
1423 ;; The code is released under any version of the GPL. As it is used by
1424 ;; r-markdown which is available under GPLv2 only, we have chosen GPLv2+
1426 (license license:gpl2+)))
1428 (define-public r-knitrbootstrap
1430 (name "r-knitrbootstrap")
1435 (uri (cran-uri "knitrBootstrap" version))
1438 "1aj60j7f0gcs120fdrnfbnb7vk7lfn1phil0mghg6a5zldz4cqs3"))))
1439 (properties `((upstream-name . "knitrBootstrap")))
1440 (build-system r-build-system)
1442 `(("r-knitr" ,r-knitr)
1443 ("r-rmarkdown" ,r-rmarkdown)
1444 ("r-markdown" ,r-markdown)))
1445 (home-page "https://github.com/jimhester/knitrBootstrap")
1446 (synopsis "Knitr bootstrap framework")
1448 "This package provides a framework to create Bootstrap 3 HTML reports
1449 from knitr Rmarkdown.")
1450 (license license:expat)))
1452 (define-public r-microbenchmark
1454 (name "r-microbenchmark")
1458 (uri (cran-uri "microbenchmark" version))
1461 "1xl4m4yl4h2zcjiz8wsa7f3sh55qg2xr3sgpvz18rlix6b3173r6"))))
1462 (build-system r-build-system)
1463 (home-page "https://cran.r-project.org/web/packages/microbenchmark/")
1464 (synopsis "Accurate timing functions for R")
1466 "This package provides infrastructure to accurately measure and compare
1467 the execution time of R expressions.")
1468 (license license:bsd-2)))
1470 (define-public r-pryr
1476 (uri (cran-uri "pryr" version))
1479 "06vj5xl9x37kbd3l5bw7sbgfdnp37spvrjrn976rxi04clqk966k"))))
1480 (build-system r-build-system)
1482 `(("r-stringr" ,r-stringr)
1483 ("r-codetools" ,r-codetools)))
1485 `(("r-rcpp" ,r-rcpp)))
1486 (home-page "https://github.com/hadley/pryr")
1487 (synopsis "Tools for computing on the R language")
1489 "This package provides useful tools to pry back the covers of R and
1490 understand the language at a deeper level.")
1491 (license license:gpl2)))
1493 (define-public r-memoise
1499 (uri (cran-uri "memoise" version))
1502 "034qfc2xlh30x1q2vya239w34a3ir3y2fwnx2agbgbi6592zjxmj"))))
1503 (build-system r-build-system)
1505 `(("r-digest" ,r-digest)))
1506 (home-page "https://github.com/hadley/memoise")
1507 (synopsis "Memoise functions for R")
1509 "This R package allows to cache the results of a function so that when
1510 you call it again with the same arguments it returns the pre-computed value.")
1511 (license license:expat)))
1513 (define-public r-crayon
1519 (uri (cran-uri "crayon" version))
1522 "0s7s6vc3ww8pzanpjisym4jjvwcc5pi2qg8srx7jqlz9j3wrnvpw"))))
1523 (build-system r-build-system)
1525 `(("r-memoise" ,r-memoise)))
1526 (home-page "https://github.com/gaborcsardi/crayon")
1527 (synopsis "Colored terminal output for R")
1529 "Colored terminal output on terminals that support ANSI color and
1530 highlight codes. It also works in Emacs ESS. ANSI color support is
1531 automatically detected. Colors and highlighting can be combined and nested.
1532 New styles can also be created easily. This package was inspired by the
1533 \"chalk\" JavaScript project.")
1534 (license license:expat)))
1536 (define-public r-praise
1543 (uri (cran-uri "praise" version))
1546 "1gfyypnvmih97p2r0php9qa39grzqpsdbq5g0fdsbpq5zms5w0sw"))))
1547 (build-system r-build-system)
1548 (home-page "https://github.com/gaborcsardi/praise")
1549 (synopsis "Functions to praise users")
1551 "This package provides template functions to assist in building friendly
1552 R packages that praise their users.")
1553 (license license:expat)))
1555 (define-public r-testthat
1561 (uri (cran-uri "testthat" version))
1564 "0m8xchdpgn9iwj6gb2qw46zr85v9zf1gkbr9nnahmy5sp1s9bbky"))))
1565 (build-system r-build-system)
1568 ("r-crayon" ,r-crayon)
1569 ("r-digest" ,r-digest)
1570 ("r-ellipsis" ,r-ellipsis)
1571 ("r-evaluate" ,r-evaluate)
1572 ("r-magrittr" ,r-magrittr)
1573 ("r-pkgload" ,r-pkgload)
1574 ("r-praise" ,r-praise)
1576 ("r-rlang" ,r-rlang)
1577 ("r-withr" ,r-withr)))
1578 (home-page "https://github.com/hadley/testthat")
1579 (synopsis "Unit testing for R")
1581 "This package provides a unit testing system for R designed to be fun,
1582 flexible and easy to set up.")
1583 (license license:expat)))
1591 (uri (cran-uri "R6" version))
1594 "0gma5z41mx02ka9h96xdyf3p6i1rx0izczrzj26c4mbnh9jgvc16"))))
1595 (build-system r-build-system)
1596 (home-page "https://github.com/wch/R6/")
1597 (synopsis "Classes with reference semantics in R")
1599 "The R6 package allows the creation of classes with reference semantics,
1600 similar to R's built-in reference classes. Compared to reference classes, R6
1601 classes are simpler and lighter-weight, and they are not built on S4 classes
1602 so they do not require the methods package. These classes allow public and
1603 private members, and they support inheritance, even when the classes are
1604 defined in different packages.")
1605 (license license:expat)))
1607 (define-public r-rlang
1613 (uri (cran-uri "rlang" version))
1616 "0fczcp17kaz3s4p0nd4126bppwl20vpxfybhsndpcky9h75wklgv"))))
1617 (build-system r-build-system)
1618 (home-page "http://rlang.tidyverse.org")
1619 (synopsis "Functions for base types, core R and Tidyverse features")
1620 (description "This package provides a toolbox for working with base types,
1621 core R features like the condition system, and core @code{Tidyverse} features
1622 like tidy evaluation.")
1623 (license license:gpl3)))
1625 (define-public r-tibble
1632 (uri (cran-uri "tibble" version))
1635 "06jfayiip8j8ibdhw3fvxn4n8aqbqhwanrszpzlsf92xdfgfm34s"))))
1636 (build-system r-build-system)
1639 ("r-crayon" ,r-crayon)
1640 ("r-fansi" ,r-fansi)
1641 ("r-pkgconfig" ,r-pkgconfig)
1642 ("r-pillar" ,r-pillar)
1643 ("r-rlang" ,r-rlang)))
1644 (home-page "https://github.com/hadley/tibble")
1645 (synopsis "Simple data frames")
1647 "This package provides a @code{tbl_df} class that offers better checking
1648 and printing capabilities than traditional data frames.")
1649 (license license:expat)))
1651 (define-public r-dplyr
1657 (uri (cran-uri "dplyr" version))
1660 "032c89wa04g9rih9shyvwl3il0bsrv3xk489x6867sk9bb3amd38"))))
1661 (build-system r-build-system)
1663 `(("r-assertthat" ,r-assertthat)
1666 ("r-magrittr" ,r-magrittr)
1667 ("r-pkgconfig" ,r-pkgconfig)
1668 ("r-plogr" ,r-plogr)
1671 ("r-rlang" ,r-rlang)
1672 ("r-tibble" ,r-tibble)
1673 ("r-tidyselect" ,r-tidyselect)))
1674 (home-page "https://github.com/hadley/dplyr")
1675 (synopsis "Tools for working with data frames in R")
1677 "dplyr is the next iteration of plyr. It is focussed on tools for
1678 working with data frames. It has three main goals: 1) identify the most
1679 important data manipulation tools needed for data analysis and make them easy
1680 to use in R; 2) provide fast performance for in-memory data by writing key
1681 pieces of code in C++; 3) use the same code interface to work with data no
1682 matter where it is stored, whether in a data frame, a data table or
1684 (license license:expat)))
1686 (define-public r-dbplyr
1693 (uri (cran-uri "dbplyr" version))
1696 "1q2dflr88s5a1amzfld3087q422vf70052qn84zyd8895kdg10xp"))))
1697 (build-system r-build-system)
1699 `(("r-assertthat" ,r-assertthat)
1701 ("r-dplyr" ,r-dplyr)
1703 ("r-purrr" ,r-purrr)
1705 ("r-rlang" ,r-rlang)
1706 ("r-tibble" ,r-tibble)
1707 ("r-tidyselect" ,r-tidyselect)))
1708 (home-page "https://github.com/tidyverse/dbplyr")
1709 (synopsis "Dplyr back end for databases")
1711 "This package provides a dplyr back end for databases that allows you to
1712 work with remote database tables as if they are in-memory data frames. Basic
1713 features works with any database that has a @code{DBI} back end; more advanced
1714 features require SQL translation to be provided by the package author.")
1715 (license license:expat)))
1717 (define-public r-acepack
1724 (uri (cran-uri "acepack" version))
1727 "1f98rpfjmhd92rdc3j004plyfpjailz6j0ycysbac0kgj83haxc2"))))
1728 (build-system r-build-system)
1730 `(("gfortran" ,gfortran)))
1731 (home-page "https://cran.r-project.org/web/packages/acepack")
1732 (synopsis "Functions for regression transformations")
1734 "This package provides ACE and AVAS methods for choosing regression
1736 (license license:expat)))
1738 (define-public r-formula
1745 (uri (cran-uri "Formula" version))
1748 "0wiqh8rr9d5ciy80wj8f5fnmiiw0ywanvvnhkwd622dx42dk848l"))))
1749 (properties `((upstream-name . "Formula")))
1750 (build-system r-build-system)
1751 (home-page "https://cran.r-project.org/web/packages/Formula")
1752 (synopsis "Extended model formulas")
1754 "This package provides a new class @code{Formula}, which extends the base
1755 class @code{formula}. It supports extended formulas with multiple parts of
1756 regressors on the right-hand side and/or multiple responses on the left-hand
1758 (license (list license:gpl2+ license:gpl3+))))
1760 (define-public r-locfit
1767 (uri (cran-uri "locfit" version))
1770 "0lafrmq1q7x026m92h01hc9cjjiximqqi3v1g2hw7ai9vf7i897m"))))
1771 (build-system r-build-system)
1773 `(("r-lattice" ,r-lattice)))
1774 (home-page "https://cran.r-project.org/web/packages/locfit")
1775 (synopsis "Local regression, likelihood and density estimation")
1777 "This package provides functions used for local regression, likelihood
1778 and density estimation.")
1779 (license (list license:gpl2+ license:gpl3+))))
1781 (define-public r-chron
1787 (uri (cran-uri "chron" version))
1790 "0vc7dxqwx0jqzwszax6di3091npsxnhnbvr7sy7rlip0jqzarwqd"))))
1791 (build-system r-build-system)
1792 (home-page "https://cran.r-project.org/web/packages/chron")
1793 (synopsis "Chronological R objects which can handle dates and times")
1795 "This package provides chronological R objects which can handle dates and
1797 (license license:gpl2)))
1799 (define-public r-data-table
1801 (name "r-data-table")
1805 (uri (cran-uri "data.table" version))
1808 "1p7rf4v3ysflpgcmy9krkwmcy7z22wb08xm443649waz6lx5z9yk"))))
1809 (build-system r-build-system)
1813 `(("pkg-config" ,pkg-config)))
1814 (home-page "https://github.com/Rdatatable/data.table/wiki")
1815 (synopsis "Enhanced version of data.frame R object")
1817 "The R package @code{data.table} is an extension of @code{data.frame}
1818 providing functions for fast aggregation of large data (e.g. 100GB in RAM),
1819 fast ordered joins, fast add/modify/delete of columns by group, column listing
1820 and fast file reading.")
1821 (license license:gpl3+)))
1823 (define-public r-xtable
1830 (uri (cran-uri "xtable" version))
1833 "077xfm0gphvhsay75amd9v90zk57kjgrrlgih04fyrbqqblc1gjs"))))
1834 (build-system r-build-system)
1836 `(("r-knitr" ,r-knitr))) ; for vignettes
1837 (home-page "http://xtable.r-forge.r-project.org/")
1838 (synopsis "Export R tables to LaTeX or HTML")
1840 "This package provides tools to export R data as LaTeX and HTML tables.")
1841 (license license:gpl2+)))
1843 (define-public python-patsy
1845 (name "python-patsy")
1849 (uri (pypi-uri "patsy" version))
1852 "149rbrdzwns0ay88caf1zsm1r53v1q5np1mrb36na50y432cw5gi"))))
1853 (build-system python-build-system)
1856 (modify-phases %standard-phases
1858 (lambda _ (invoke "nosetests" "-v"))))))
1860 `(("python-numpy" ,python-numpy)
1861 ("python-scipy" ,python-scipy)
1862 ("python-six" ,python-six)))
1864 `(("python-nose" ,python-nose)))
1865 (home-page "https://github.com/pydata/patsy")
1866 (synopsis "Describe statistical models and build design matrices")
1868 "Patsy is a Python package for describing statistical models and for
1869 building design matrices.")
1870 ;; The majority of the code is distributed under BSD-2. The module
1871 ;; patsy.compat contains code derived from the Python standard library,
1872 ;; and is covered by the PSFL.
1873 (license (list license:bsd-2 license:psfl))))
1875 (define-public python2-patsy
1876 (package-with-python2 python-patsy))
1878 (define-public python-statsmodels
1880 (name "python-statsmodels")
1885 (uri (pypi-uri "statsmodels" version))
1888 "0fxs8a7sp4d7jvqlm36yi45i2d28kjfvraf9q8i9jr1chhxgjqb4"))))
1889 (build-system python-build-system)
1891 `(;; The test suite is very large and rather brittle. Tests often fail
1892 ;; because of minor changes in dependencies that upstream hasn't fixed
1893 ;; in a new release.
1896 (modify-phases %standard-phases
1897 (add-after 'unpack 'set-matplotlib-backend-to-agg
1899 ;; Set the matplotlib backend to Agg to avoid problems using the
1900 ;; GTK backend without a display.
1901 (substitute* (append (find-files "statsmodels/graphics/tests" "\\.py")
1902 '("statsmodels/tsa/vector_ar/tests/test_var.py"
1903 "statsmodels/duration/tests/test_survfunc.py"))
1904 (("import matplotlib\\.pyplot as plt" line)
1905 (string-append "import matplotlib;matplotlib.use('Agg');"
1909 `(("python-numpy" ,python-numpy)
1910 ("python-scipy" ,python-scipy)
1911 ("python-pandas" ,python-pandas)
1912 ("python-patsy" ,python-patsy)
1913 ("python-matplotlib" ,python-matplotlib)))
1915 `(("python-cython" ,python-cython)
1916 ("python-nose" ,python-nose)
1917 ("python-sphinx" ,python-sphinx)))
1918 (home-page "http://statsmodels.sourceforge.net/")
1919 (synopsis "Statistical modeling and econometrics in Python")
1921 "Statsmodels is a Python package that provides a complement to scipy for
1922 statistical computations including descriptive statistics and estimation and
1923 inference for statistical models.")
1924 (license license:bsd-3)))
1926 (define-public python2-statsmodels
1927 (let ((stats (package-with-python2 python-statsmodels)))
1928 (package (inherit stats)
1930 `(("python2-pytz" ,python2-pytz)
1931 ("python2-numpy" ,python2-numpy)
1932 ("python2-scipy" ,python2-scipy)
1933 ("python2-pandas" ,python2-pandas)
1934 ("python2-patsy" ,python2-patsy)
1935 ("python2-matplotlib" ,python2-matplotlib))))))
1937 (define-public r-coda
1943 (uri (cran-uri "coda" version))
1946 "1mn50bshky968gn4nf6vnkaa768fnvm1xmhkms7szwdw9341zpyk"))))
1947 (build-system r-build-system)
1949 `(("r-lattice" ,r-lattice)))
1950 (home-page "https://cran.r-project.org/web/packages/coda")
1951 (synopsis "This is a package for Output Analysis and Diagnostics for MCMC")
1952 (description "This package provides functions for summarizing and plotting
1953 the output from Markov Chain Monte Carlo (MCMC) simulations, as well as
1954 diagnostic tests of convergence to the equilibrium distribution of the Markov
1956 (license license:gpl2+)))
1958 (define-public r-ade4
1965 (uri (cran-uri "ade4" version))
1968 "16z9jk4qj35ghsk4lwmq241dgc770y8a70dlmp9q4gz6d8ssgl7m"))))
1969 (build-system r-build-system)
1971 `(("r-mass" ,r-mass)))
1972 (home-page "http://pbil.univ-lyon1.fr/ADE-4")
1973 (synopsis "Multivariate data analysis and graphical display")
1975 "The ade4 package contains data analysis functions to analyze ecological
1976 and environmental data in the framework of Euclidean exploratory methods.")
1977 (license license:gpl2+)))
1979 (define-public r-xml2
1986 (uri (cran-uri "xml2" version))
1989 "1x3q3a0xv8j0nx3hs4d3pfjm5g9nvaxmfrapba9f4nrkqi3z2l1h"))))
1990 (build-system r-build-system)
1992 `(("libxml2" ,libxml2)
1995 `(("pkg-config" ,pkg-config)))
1997 `(("r-rcpp" ,r-rcpp)))
1998 (home-page "https://github.com/hadley/xml2")
1999 (synopsis "Parse XML with R")
2001 "This package provides a simple, consistent interface to working with XML
2002 files in R. It is built on top of the libxml2 C library.")
2003 (license license:gpl2+)))
2005 (define-public r-multitaper
2007 (name "r-multitaper")
2012 (uri (cran-uri "multitaper" version))
2015 "04wd9bbhyx7697pfy0fpj02v1csr48hkpqj62h9p8a6w84ji4k68"))))
2016 (build-system r-build-system)
2018 `(("gfortran" ,gfortran)))
2019 (home-page "https://github.com/wesleyburr/multitaper/")
2020 (synopsis "Multitaper spectral analysis tools")
2022 "This package implements multitaper spectral estimation
2023 techniques using prolate spheroidal sequences (Slepians) and sine
2024 tapers for time series analysis. It includes an adaptive weighted
2025 multitaper spectral estimate, a coherence estimate, Thomson's Harmonic
2026 F-test, and complex demodulation. The Slepians sequences are
2027 generated efficiently using a tridiagonal matrix solution, and
2028 jackknifed confidence intervals are available for most estimates.")
2029 (license license:gpl2+)))
2031 (define-public r-rversions
2033 (name "r-rversions")
2037 (uri (cran-uri "rversions" version))
2040 "1ic6sxnyya24d5xsxjg3fba73fhya9fhs0kaf66yha6nwxj1zv2i"))))
2041 (build-system r-build-system)
2043 `(("r-curl" ,r-curl)
2044 ("r-xml2" ,r-xml2)))
2045 (home-page "https://github.com/metacran/rversions")
2046 (synopsis "Query R versions, including 'r-release' and 'r-oldrel'")
2048 "This package provides functions to query the main R repository to find
2049 the versions that @code{r-release} and @code{r-oldrel} refer to, and also all
2050 previous R versions and their release dates.")
2051 (license license:expat)))
2053 (define-public r-whisker
2059 (uri (cran-uri "whisker" version))
2062 "1a7vz0dk95xfjvi38wbpw8vmf5qn3g8p490msz2rw0piwidmk1ks"))))
2063 (build-system r-build-system)
2064 (home-page "https://github.com/edwindj/whisker")
2065 (synopsis "Logicless mustache templating for R")
2067 "This package provides logicless templating, with a syntax that is not
2069 (license license:gpl3+)))
2071 (define-public r-backports
2073 (name "r-backports")
2078 (uri (cran-uri "backports" version))
2081 "0k19w68b2aihyj5mflw3732gkkzs78sssqdns960pdw3yfnkiv33"))))
2082 (build-system r-build-system)
2083 (home-page "https://cran.r-project.org/web/packages/backports")
2084 (synopsis "Reimplementations of functions introduced since R 3.0.0")
2086 "Provides implementations of functions which have been introduced in R
2087 since version 3.0.0. The backports are conditionally exported which results
2088 in R resolving the function names to the version shipped with R (if available)
2089 and uses the implemented backports as fallback. This way package developers
2090 can make use of the new functions without worrying about the minimum required
2092 (license license:gpl2+)))
2094 (define-public r-checkmate
2096 (name "r-checkmate")
2101 (uri (cran-uri "checkmate" version))
2104 "08ddpgs4mv5d5y4j054pm8drmxkn7yvhfpbghwxlizjpnxa5g8ps"))))
2105 (build-system r-build-system)
2107 `(("r-backports" ,r-backports)))
2108 (home-page "https://github.com/mllg/checkmate")
2109 (synopsis "Fast and versatile argument checks")
2111 "This package provides tests and assertions to perform frequent argument
2112 checks. A substantial part of the package was written in C to minimize any
2113 worries about execution time overhead.")
2114 (license license:bsd-3)))
2116 (define-public r-bbmisc
2123 (uri (cran-uri "BBmisc" version))
2126 "1lh1n4bvxzivb5rbz69mvd8xdgr3gr2bnqd68a39sd1530l8r90y"))))
2127 (properties `((upstream-name . "BBmisc")))
2128 (build-system r-build-system)
2130 `(("r-checkmate" ,r-checkmate)))
2131 (home-page "https://github.com/berndbischl/BBmisc")
2132 (synopsis "Miscellaneous functions for R package development")
2134 "This package provides miscellaneous helper functions for the development
2136 (license license:bsd-3)))
2138 (define-public r-fail
2145 (uri (cran-uri "fail" version))
2148 "0vfm6kmpmgsamda5p0sl771kbnsscan31l2chzssyw93kwmams7d"))))
2149 (build-system r-build-system)
2151 `(("r-bbmisc" ,r-bbmisc)
2152 ("r-checkmate" ,r-checkmate)))
2153 (home-page "https://github.com/mllg/fail")
2154 (synopsis "File abstraction interface layer (FAIL)")
2156 "This package provides a more comfortable interface to work with R data
2157 or source files in a key-value fashion.")
2158 (license license:bsd-3)))
2160 (define-public r-batchjobs
2162 (name "r-batchjobs")
2167 (uri (cran-uri "BatchJobs" version))
2170 "1zz4sspj596pijxlz321g0jy2rg9ki83j6fihbwisjwr66p2vk1m"))))
2171 (properties `((upstream-name . "BatchJobs")))
2172 (build-system r-build-system)
2174 `(("r-backports" ,r-backports)
2175 ("r-bbmisc" ,r-bbmisc)
2177 ("r-checkmate" ,r-checkmate)
2178 ("r-data-table" ,r-data-table)
2180 ("r-digest" ,r-digest)
2181 ("r-rsqlite" ,r-rsqlite)
2182 ("r-sendmailr" ,r-sendmailr)
2183 ("r-stringi" ,r-stringi)))
2184 (home-page "https://github.com/tudo-r/BatchJobs")
2185 (synopsis "Batch computing with R")
2187 "This package provides @code{Map}, @code{Reduce} and @code{Filter}
2188 variants to generate jobs on batch computing systems like PBS/Torque, LSF,
2189 SLURM and Sun Grid Engine. Multicore and SSH systems are also supported.")
2190 (license license:bsd-2)))
2192 (define-public r-brew
2198 (uri (cran-uri "brew" version))
2201 "1vghazbcha8gvkwwcdagjvzx6yl8zm7kgr0i9wxr4jng06d1l3fp"))))
2202 (build-system r-build-system)
2203 (home-page "https://cran.r-project.org/web/packages/brew")
2204 (synopsis "Templating framework for report generation")
2206 "The brew package implements a templating framework for mixing text and R
2207 code for report generation. The template syntax is similar to PHP, Ruby's erb
2208 module, Java Server Pages, and Python's psp module.")
2209 (license license:gpl2+)))
2211 (define-public r-desc
2218 (uri (cran-uri "desc" version))
2221 "1s6s13fk6sxwcj8wzkwxl9vr33153xx11p5wi9avqx3rzkabavz6"))))
2222 (build-system r-build-system)
2224 `(("r-assertthat" ,r-assertthat)
2225 ("r-crayon" ,r-crayon)
2227 ("r-rprojroot" ,r-rprojroot)))
2228 (home-page "https://github.com/r-pkgs/desc")
2229 (synopsis "Manipulate DESCRIPTION Files")
2231 "This package provides tools to read, write, create, and manipulate
2232 DESCRIPTION files. It is intended for packages that create or manipulate
2234 (license license:expat)))
2236 (define-public r-commonmark
2238 (name "r-commonmark")
2243 (uri (cran-uri "commonmark" version))
2246 "024iz1qp2kv6iz6y69ir0jk3qhjps86rhkzlcmhqsxx97rx7cjni"))))
2247 (build-system r-build-system)
2248 (home-page "https://cran.r-project.org/web/packages/commonmark")
2249 (synopsis "CommonMark and Github Markdown Rendering in R")
2251 "The CommonMark specification defines a rationalized version of markdown
2252 syntax. This package uses the @code{cmark} reference implementation for
2253 converting markdown text into various formats including HTML, LaTeX and groff
2254 man. In addition, it exposes the markdown parse tree in XML format. The latest
2255 version of this package also adds support for Github extensions including
2256 tables, autolinks and strikethrough text.")
2257 (license license:bsd-2)))
2259 (define-public r-roxygen2
2265 (uri (cran-uri "roxygen2" version))
2268 "162xag27hwwyadfwm5zpyy15nxwhw2vbhwapx3jmi9cfyryr68sq"))))
2269 (build-system r-build-system)
2271 `(("r-brew" ,r-brew)
2272 ("r-commonmark" ,r-commonmark)
2274 ("r-digest" ,r-digest)
2275 ("r-pkgload" ,r-pkgload)
2276 ("r-purrr" ,r-purrr)
2279 ("r-rlang" ,r-rlang)
2280 ("r-stringi" ,r-stringi)
2281 ("r-stringr" ,r-stringr)
2282 ("r-xml2" ,r-xml2)))
2284 `(("r-knitr" ,r-knitr))) ; for vignettes
2285 (home-page "https://github.com/klutometis/roxygen")
2286 (synopsis "In-source documentation system for R")
2288 "Roxygen2 is a Doxygen-like in-source documentation system for Rd,
2289 collation, and NAMESPACE files.")
2290 (license license:gpl2+)))
2292 (define-public r-openssl
2299 (uri (cran-uri "openssl" version))
2302 "1ihz2qi33lhngl19xdanq0pbmfaacy63794mg8ll7z2lab3yryzp"))))
2303 (build-system r-build-system)
2305 `(("libressl" ,libressl)))
2307 `(("pkg-config" ,pkg-config)))
2309 `(("r-askpass" ,r-askpass)))
2310 (home-page "https://github.com/jeroenooms/openssl")
2311 (synopsis "Toolkit for encryption, signatures and certificates")
2313 "This package provides R bindings to OpenSSL libssl and libcrypto, plus
2314 custom SSH pubkey parsers. It supports RSA, DSA and NIST curves P-256, P-384
2315 and P-521. Cryptographic signatures can either be created and verified
2316 manually or via x509 certificates. AES block cipher is used in CBC mode for
2317 symmetric encryption; RSA for asymmetric (public key) encryption. High-level
2318 envelope functions combine RSA and AES for encrypting arbitrary sized data.
2319 Other utilities include key generators, hash functions (md5, sha1, sha256,
2320 etc), base64 encoder, a secure random number generator, and @code{bignum} math
2321 methods for manually performing crypto calculations on large multibyte
2323 (license license:expat)))
2325 (define-public r-httr
2331 (uri (cran-uri "httr" version))
2334 "0mp1il13q6n49n2hv1p2p8x6avjan6dr5az19ql4hb78pc3pwp37"))))
2335 (build-system r-build-system)
2337 `(("r-curl" ,r-curl)
2338 ("r-jsonlite" ,r-jsonlite)
2339 ("r-openssl" ,r-openssl)
2342 (home-page "https://github.com/hadley/httr")
2343 (synopsis "Tools for working with URLs and HTTP")
2345 "The aim of httr is to provide a wrapper for RCurl customised to the
2346 demands of modern web APIs. It provides useful tools for working with HTTP
2347 organised by HTTP verbs (@code{GET()}, @code{POST()}, etc). Configuration
2348 functions make it easy to control additional request components.")
2349 (license license:expat)))
2351 (define-public r-git2r
2357 (uri (cran-uri "git2r" version))
2360 "0dbl845sahv2i641ncaf06w06djravwc5wknp9syzx0ad8l0kmhk"))))
2361 (build-system r-build-system)
2363 `(("libgit2" ,libgit2)
2366 `(("pkg-config" ,pkg-config)))
2367 (home-page "https://github.com/ropensci/git2r")
2368 (synopsis "Access Git repositories with R")
2370 "This package provides an R interface to the libgit2 library, which is a
2371 pure C implementation of the Git core methods.")
2372 ;; GPLv2 only with linking exception.
2373 (license license:gpl2)))
2375 (define-public r-rstudioapi
2377 (name "r-rstudioapi")
2381 (uri (cran-uri "rstudioapi" version))
2384 "15mbw607ncdf53mgga76n3va5zzdcjqz14nb0jcn9axwccqamic0"))))
2385 (build-system r-build-system)
2386 (home-page "https://cran.r-project.org/web/packages/rstudioapi")
2387 (synopsis "Safely access the RStudio API")
2389 "This package provides functions to access the RStudio API and provide
2390 informative error messages when it's not available.")
2391 (license license:expat)))
2393 (define-public r-devtools
2399 (uri (cran-uri "devtools" version))
2402 "0i2f549hxkn0j1x1avkhwy68c9r48v9284j7x9cak2q6dfsqz61f"))))
2403 (build-system r-build-system)
2405 `(("r-callr" ,r-callr)
2408 ("r-crayon" ,r-crayon)
2410 ("r-digest" ,r-digest)
2412 ("r-ellipsis" ,r-ellipsis)
2414 ("r-git2r" ,r-git2r)
2416 ("r-jsonlite" ,r-jsonlite)
2417 ("r-memoise" ,r-memoise)
2418 ("r-pkgbuild" ,r-pkgbuild)
2419 ("r-pkgload" ,r-pkgload)
2420 ("r-rcmdcheck" ,r-rcmdcheck)
2421 ("r-remotes" ,r-remotes)
2422 ("r-rlang" ,r-rlang)
2423 ("r-roxygen2" ,r-roxygen2)
2424 ("r-rstudioapi" ,r-rstudioapi)
2425 ("r-rversions" ,r-rversions)
2426 ("r-sessioninfo" ,r-sessioninfo)
2427 ("r-testthat" ,r-testthat)
2428 ("r-usethis" ,r-usethis)
2429 ("r-withr" ,r-withr)))
2430 (home-page "https://github.com/hadley/devtools")
2431 (synopsis "Tools to make developing R packages easier")
2432 (description "The devtools package is a collection of package development
2433 tools to simplify the devolpment of R packages.")
2434 (license license:gpl2+)))
2436 (define-public r-withr
2442 (uri (cran-uri "withr" version))
2445 "11j6zykklxnvp4xqsr6a2xib665i38m3khdspp887nwagmvnydj1"))))
2446 (build-system r-build-system)
2447 (home-page "https://github.com/jimhester/withr")
2448 (synopsis "Run code with temporarily modified global state")
2450 "This package provides a set of functions to run R code in an environment
2451 in which global state has been temporarily modified. Many of these functions
2452 were originally a part of the r-devtools package.")
2453 (license license:gpl2+)))
2455 (define-public r-hms
2462 (uri (cran-uri "hms" version))
2465 "1baki0qw5ijgiflvsdvqj3apg4yanf12vx14kwbqdzk5rz46fasf"))))
2466 (build-system r-build-system)
2468 `(("r-rlang" ,r-rlang)
2469 ("r-pkgconfig" ,r-pkgconfig)
2470 ("r-vctrs" ,r-vctrs)))
2471 (home-page "https://github.com/rstats-db/hms")
2472 (synopsis "Pretty time of day")
2474 "This package implements an S3 class for storing and formatting
2475 time-of-day values, based on the @code{difftime} class.")
2476 (license license:gpl3+)))
2478 (define-public r-readr
2484 (uri (cran-uri "readr" version))
2487 "1wz496rw0ah433p755n3xac8gh7yzid4xgdjzd1a7wmpkgilvy9k"))))
2488 (build-system r-build-system)
2490 `(("r-clipr" ,r-clipr)
2491 ("r-crayon" ,r-crayon)
2494 ("r-tibble" ,r-tibble)
2497 (home-page "https://github.com/hadley/readr")
2498 (synopsis "Read tabular data")
2500 "This package provides functions to read flat or tabular text files from
2501 disk (or a connection).")
2502 (license license:gpl2+)))
2504 (define-public r-plotrix
2510 (uri (cran-uri "plotrix" version))
2513 "1x92mmyfry127zzr6cmcj6kjsc4zhxrrdlr0jcxn3bb0hpdfps54"))))
2514 (build-system r-build-system)
2515 (home-page "https://cran.r-project.org/web/packages/plotrix")
2516 (synopsis "Various plotting functions")
2518 "This package provides lots of plotting, various labeling, axis and color
2519 scaling functions for R.")
2520 (license license:gpl2+)))
2522 (define-public r-gridbase
2528 (uri (cran-uri "gridBase" version))
2531 "09jzw4rzwf2y5lcz7b16mb68pn0fqigv34ff7lr6w3yi9k91i1xy"))))
2532 (build-system r-build-system)
2533 (home-page "https://cran.r-project.org/web/packages/gridBase")
2534 (synopsis "Integration of base and grid graphics")
2536 "This package provides an integration of base and grid graphics for R.")
2537 (license license:gpl2+)))
2539 (define-public r-latticeextra
2541 (name "r-latticeextra")
2546 (uri (cran-uri "latticeExtra" version))
2549 "04fzwcqs594rk5qp98yilh3kdh3sw4xf8wld5rp94ggpaqfw7bbc"))))
2550 (properties `((upstream-name . "latticeExtra")))
2551 (build-system r-build-system)
2553 `(("r-jpeg" ,r-jpeg)
2554 ("r-lattice" ,r-lattice)
2556 ("r-rcolorbrewer" ,r-rcolorbrewer)))
2557 (home-page "http://latticeextra.r-forge.r-project.org/")
2558 (synopsis "Extra graphical utilities based on lattice")
2560 "Building on the infrastructure provided by the lattice package, this
2561 package provides several new high-level graphics functions and methods, as
2562 well as additional utilities such as panel and axis annotation functions.")
2563 (license license:gpl2+)))
2565 (define-public r-rcpparmadillo
2567 (name "r-rcpparmadillo")
2568 (version "0.9.800.3.0")
2571 (uri (cran-uri "RcppArmadillo" version))
2574 "0kpcspg3mafi5kncjfhnbcwimvlf19jvrxilvhbpd20sap473mh3"))))
2575 (properties `((upstream-name . "RcppArmadillo")))
2576 (build-system r-build-system)
2577 ;; All needed for vignettes
2579 `(("r-knitr" ,r-knitr)
2580 ("r-rmarkdown" ,r-rmarkdown)
2581 ("ghc-pandoc" ,ghc-pandoc)
2582 ("ghc-pandoc-citeproc" ,ghc-pandoc-citeproc)))
2584 `(("r-rcpp" ,r-rcpp)))
2585 (home-page "https://github.com/RcppCore/RcppArmadillo")
2586 (synopsis "Rcpp integration for the Armadillo linear algebra library")
2588 "Armadillo is a templated C++ linear algebra library that aims towards a
2589 good balance between speed and ease of use. Integer, floating point and
2590 complex numbers are supported, as well as a subset of trigonometric and
2591 statistics functions. Various matrix decompositions are provided through
2592 optional integration with LAPACK and ATLAS libraries. This package includes
2593 the header files from the templated Armadillo library.")
2594 ;; Armadillo is licensed under the MPL 2.0, while RcppArmadillo (the Rcpp
2595 ;; bindings to Armadillo) is licensed under the GNU GPL version 2 or
2596 ;; later, as is the rest of 'Rcpp'.
2597 (license license:gpl2+)))
2599 (define-public r-bitops
2605 (uri (cran-uri "bitops" version))
2608 "176nr5wpnkavn5z0yy9f7d47l37ndnn2w3gv854xav8nnybi6wwv"))))
2609 (build-system r-build-system)
2610 (home-page "https://cran.r-project.org/web/packages/bitops")
2611 (synopsis "Bitwise operations")
2613 "This package provides functions for bitwise operations on integer
2615 (license license:gpl2+)))
2617 (define-public r-catools
2620 (version "1.17.1.4")
2623 (uri (cran-uri "caTools" version))
2626 "151vsfakg32jn9msfdjcizhizm8k8yxlfpnsbagns9ihr59s3w49"))))
2627 (properties `((upstream-name . "caTools")))
2628 (build-system r-build-system)
2630 `(("r-bitops" ,r-bitops)))
2631 (home-page "https://cran.r-project.org/web/packages/caTools")
2632 (synopsis "Various tools including functions for moving window statistics")
2634 "This package contains several basic utility functions including:
2635 moving (rolling, running) window statistic functions, read/write for GIF and
2636 ENVI binary files, fast calculation of AUC, LogitBoost classifier, base64
2637 encoder/decoder, round-off-error-free sum and cumsum, etc.")
2638 (license license:gpl3+)))
2640 (define-public r-rprojroot
2642 (name "r-rprojroot")
2647 (uri (cran-uri "rprojroot" version))
2650 "12r3fdxmi2pmwn6ic3rhg0b20ll5z420m0d8fziv1n21961namnz"))))
2651 (build-system r-build-system)
2653 `(("r-backports" ,r-backports)))
2654 (home-page "https://github.com/krlmlr/rprojroot")
2655 (synopsis "Finding files in project subdirectories")
2657 "This package helps accessing files relative to a project root. It
2658 provides helpers for robust, reliable and flexible paths to files below a
2659 project root. The root of a project is defined as a directory that matches a
2660 certain criterion, e.g., it contains a certain regular file.")
2661 (license license:gpl3)))
2663 (define-public r-rmarkdown
2665 (name "r-rmarkdown")
2670 (uri (cran-uri "rmarkdown" version))
2672 (base32 "1bm3n17wa0pf1cq7qmwhbnn02x2pld7zzmmzjcvwy6apanch9fl7"))))
2673 (properties `((upstream-name . "rmarkdown")))
2674 (build-system r-build-system)
2676 `(("r-base64enc" ,r-base64enc)
2677 ("r-evaluate" ,r-evaluate)
2678 ("r-htmltools" ,r-htmltools)
2679 ("r-jsonlite" ,r-jsonlite)
2680 ("r-knitr" ,r-knitr)
2682 ("r-stringr" ,r-stringr)
2683 ("r-tinytex" ,r-tinytex)
2686 ("ghc-pandoc" ,ghc-pandoc)))
2687 (home-page "https://rmarkdown.rstudio.com")
2688 (synopsis "Convert R Markdown documents into a variety of formats")
2690 "This package provides tools to convert R Markdown documents into a
2691 variety of formats.")
2692 (license license:gpl3+)))
2694 (define-public r-gtable
2700 (uri (cran-uri "gtable" version))
2703 "1lyncxf2dqdjgw1071cn9c8zwzkz6sldnd5cgmicf70bc726qf7x"))))
2704 (properties `((upstream-name . "gtable")))
2705 (build-system r-build-system)
2706 (home-page "https://cran.r-project.org/web/packages/gtable")
2707 (synopsis "R library to arrange grobs in tables")
2709 "Gtable is a collection of tools to make it easier to work with
2710 \"tables\" of grobs.")
2711 (license license:gpl2+)))
2713 (define-public r-gridextra
2715 (name "r-gridextra")
2719 (uri (cran-uri "gridExtra" version))
2722 "0fwfk3cdwxxim7nd55pn7m31bcaqj48y06j7an2k1v1pybk0rdl1"))))
2723 (properties `((upstream-name . "gridExtra")))
2724 (build-system r-build-system)
2726 `(("r-gtable" ,r-gtable)))
2728 `(("r-knitr" ,r-knitr))) ;for building vignettes
2729 (home-page "https://github.com/baptiste/gridextra")
2730 (synopsis "Miscellaneous functions for \"Grid\" graphics")
2732 "This package provides a number of user-level functions to work with
2733 @code{grid} graphics, notably to arrange multiple grid-based plots on a page,
2735 (license license:gpl2+)))
2737 (define-public r-pkgconfig
2739 (name "r-pkgconfig")
2743 (uri (cran-uri "pkgconfig" version))
2746 "0l1qph8zyi2sic3k2qcd7vlfl7rzfh1q7z7zvjkl5f7y1x2fy3rk"))))
2747 (build-system r-build-system)
2748 (home-page "https://github.com/gaborcsardi/pkgconfig")
2749 (synopsis "Private configuration for R packages")
2750 (description "This package provides the functionality to set configuration
2751 options on a per-package basis. Options set by a given package only apply to
2752 that package, other packages are unaffected.")
2753 (license license:expat)))
2755 (define-public r-blob
2761 (uri (cran-uri "blob" version))
2764 "08z071jzac4gasgfgab0y5g3ilfmlw08ln813wphxg07hsiczw8s"))))
2765 (build-system r-build-system)
2767 `(("r-prettyunits" ,r-prettyunits)
2768 ("r-rlang" ,r-rlang)
2769 ("r-vctrs" ,r-vctrs)))
2770 (home-page "https://github.com/hadley/blob")
2771 (synopsis "Simple S3 Class for representing vectors of binary data")
2772 (description "Raw vectors in R are useful for storing a single binary
2773 object. What if you want to put a vector of them in a data frame? The blob
2774 package provides the blob object, a list of raw vectors, suitable for use as
2775 a column in data frame.")
2776 (license license:gpl3+)))
2778 (define-public r-rsqlite
2784 (uri (cran-uri "RSQLite" version))
2787 "1m38sj8rwbf3p2lhqabcp7c7djk7s9ng37cz39yxk706v9pi4380"))))
2788 (properties `((upstream-name . "RSQLite")))
2789 (build-system r-build-system)
2793 ("r-memoise" ,r-memoise)
2794 ("r-plogr" ,r-plogr)
2796 ("r-bit64" ,r-bit64)
2798 ("r-pkgconfig" ,r-pkgconfig)))
2799 (home-page "https://github.com/rstats-db/RSQLite")
2800 (synopsis "SQLite interface for R")
2802 "This package embeds the SQLite database engine in R and provides an
2803 interface compliant with the DBI package. The source for the SQLite
2804 engine (version 3.8.8.2) is included.")
2805 (license license:lgpl2.0+)))
2807 (define-public r-rcurl
2810 (version "1.95-0.1.2")
2813 (uri (string-append "https://www.bioconductor.org/packages/"
2814 "release/extra/src/"
2815 "contrib/RCurl_" version ".tar.gz"))
2818 "0l7qi45jxlf898n0jazabnam1yyczvqfdknd00bdirhhiplpd1sc"))))
2819 (properties `((upstream-name . "RCurl")))
2820 (build-system r-build-system)
2823 (modify-phases %standard-phases
2824 (add-after 'unpack 'respect-CURL_CA_BUNDLE
2826 (substitute* "R/options.S"
2827 (("\\.els = rev\\(merge\\(list\\(\\.\\.\\.\\), \\.opts\\)\\)" m)
2829 certs = Sys.getenv(\"CURL_CA_BUNDLE\")
2830 if (certs != \"\") { .opts = merge.list(.opts, list(cainfo=certs)) }
2834 `(("libcurl" ,curl)))
2836 `(("r-bitops" ,r-bitops)))
2837 (home-page "http://www.omegahat.org/RCurl")
2838 (synopsis "General network client interface for R")
2840 "The package allows one to compose general HTTP requests and provides
2841 convenient functions to fetch URIs, GET and POST forms, etc. and process the
2842 results returned by the Web server. This provides a great deal of control
2843 over the HTTP/FTP/... connection and the form of the request while providing a
2844 higher-level interface than is available just using R socket connections.
2845 Additionally, the underlying implementation is robust and extensive,
2846 supporting FTP/FTPS/TFTP (uploads and downloads), SSL/HTTPS, telnet, dict,
2847 ldap, and also supports cookies, redirects, authentication, etc.")
2848 (license license:bsd-3)))
2850 (define-public r-xml
2853 (version "3.98-1.20")
2856 (uri (cran-uri "XML" version))
2859 "0n28m8iz1wfgixr7fjswl238c5w9kggsrw0c8hdzp859dqvqdbs6"))))
2861 `((upstream-name . "XML")))
2862 (build-system r-build-system)
2864 `(("libxml2" ,libxml2)
2867 `(("pkg-config" ,pkg-config)))
2868 (home-page "http://www.omegahat.org/RSXML")
2869 (synopsis "Tools for parsing and generating XML within R")
2871 "Many approaches for both reading and creating XML (and HTML)
2872 documents (including DTDs), both local and accessible via HTTP or FTP. Also
2873 offers access to an XPath \"interpreter\".")
2874 (license license:bsd-2)))
2876 (define-public r-xnomial
2881 (origin (method url-fetch)
2882 (uri (cran-uri "XNomial" version))
2885 "1mwx302576rmsjllbq2clfxilm3hkyp5bw0wmwqbn0kgv5wpy8z6"))))
2886 (properties (quasiquote ((upstream-name . "XNomial"))))
2887 (build-system r-build-system)
2888 (home-page "https://cran.r-project.org/web/packages/XNomial")
2889 (synopsis "Goodness-of-Fit test for multinomial data")
2891 "This package provides an exact Goodness-of-Fit test for
2892 multinomial data with fixed probabilities. It can be used to
2893 determine whether a set of counts fits a given expected ratio. To see
2894 whether a set of observed counts fits an expectation, one can examine
2895 all possible outcomes with @code{xmulti()} or a random sample of them
2896 with @code{xmonte()} and find the probability of an observation
2897 deviating from the expectation by at least as much as the observed.
2898 As a measure of deviation from the expected, one can use the
2899 log-likelihood ratio, the multinomial probability, or the classic
2900 chi-square statistic. A histogram of the test statistic can also be
2901 plotted and compared with the asymptotic curve.")
2902 (license (list license:gpl2+ license:gpl3+))))
2904 (define-public r-lambda-r
2910 (uri (cran-uri "lambda.r" version))
2913 "1mh1g0gsd58gng0hb29vww2yqb2jfs07kba5kxnnqck5j3izwlnj"))))
2914 (properties `((upstream-name . "lambda.r")))
2915 (build-system r-build-system)
2917 `(("r-formatr" ,r-formatr)))
2918 (home-page "https://cran.r-project.org/web/packages/lambda.r")
2919 (synopsis "Functional programming extension for R")
2921 "This package provides a language extension to efficiently write
2922 functional programs in R. Syntax extensions include multi-part function
2923 definitions, pattern matching, guard statements, built-in (optional) type
2925 (license license:lgpl3+)))
2927 (define-public r-futile-options
2929 (name "r-futile-options")
2933 (uri (cran-uri "futile.options" version))
2936 "0w15agpi88y3qkv6fl72zy2pzyplzgvnj41a4ixhg64mw1sck73s"))))
2938 `((upstream-name . "futile.options")))
2939 (build-system r-build-system)
2940 (home-page "https://cran.r-project.org/web/packages/futile.options")
2941 (synopsis "Options management framework")
2943 "The futile.options subsystem provides an easy user-defined options
2944 management system that is properly scoped. This means that options created
2945 via @code{futile.options} are fully self-contained and will not collide with
2946 options defined in other packages.")
2947 (license license:lgpl3+)))
2949 (define-public r-futile-logger
2951 (name "r-futile-logger")
2955 (uri (cran-uri "futile.logger" version))
2958 "1r3nayk0z9n1svbf8640vw90dal5q07nkn0gv4bnva3pbzb352sy"))))
2959 (properties `((upstream-name . "futile.logger")))
2960 (build-system r-build-system)
2962 `(("r-futile-options" ,r-futile-options)
2963 ("r-lambda-r" ,r-lambda-r)))
2964 (home-page "https://cran.r-project.org/web/packages/futile.logger")
2965 (synopsis "Logging utility for R")
2967 "This package provides a simple yet powerful logging utility. Based
2968 loosely on log4j, futile.logger takes advantage of R idioms to make logging a
2969 convenient and easy to use replacement for @code{cat} and @code{print}
2971 (license license:lgpl3+)))
2973 (define-public r-segmented
2975 (name "r-segmented")
2980 (uri (cran-uri "segmented" version))
2983 "06cxdrqgnpk5fvbam5i7qa4n71wry0yvlj0jpwbxf267mvpx10fh"))))
2984 (build-system r-build-system)
2985 (home-page "https://cran.r-project.org/web/packages/segmented")
2986 (synopsis "Regression models with breakpoints estimation")
2988 "Given a regression model, segmented updates the model by adding one or
2989 more segmented (i.e., piecewise-linear) relationships. Several variables with
2990 multiple breakpoints are allowed.")
2991 (license (list license:gpl2+ license:gpl3+))))
2993 (define-public r-snow
2999 (uri (cran-uri "snow" version))
3002 "1n3n8pva9s34fvlw32yng0x416lmbv7q1fsd0ywa4kikmxym64l5"))))
3003 (build-system r-build-system)
3004 (home-page "https://cran.r-project.org/web/packages/snow")
3005 (synopsis "Support for simple parallel computing in R")
3007 "The snow package provides support for simple parallel computing on a
3008 network of workstations using R. A master R process calls @code{makeCluster}
3009 to start a cluster of worker processes; the master process then uses functions
3010 such as @code{clusterCall} and @code{clusterApply} to execute R code on the
3011 worker processes and collect and return the results on the master.")
3012 (license (list license:gpl2+ license:gpl3+))))
3014 (define-public r-sparsem
3020 (uri (cran-uri "SparseM" version))
3023 "0cmlm0lps3daalvp5jzjnjfys388hgkyc8yw0g5r2351h749xdyn"))))
3025 `((upstream-name . "SparseM")))
3027 `(("gfortran" ,gfortran)))
3028 (build-system r-build-system)
3029 (home-page "http://www.econ.uiuc.edu/~roger/research/sparse/sparse.html")
3030 (synopsis "Sparse linear algebra")
3032 "This package provides some basic linear algebra functionality for sparse
3033 matrices. It includes Cholesky decomposition and backsolving as well as
3034 standard R subsetting and Kronecker products.")
3035 (license license:gpl2+)))
3037 (define-public r-iterators
3039 (name "r-iterators")
3044 (uri (cran-uri "iterators" version))
3047 "0jwzxaa3jm1xzgfv5pn0xqkk7rhm0xwvgn85w7xaw8xx1vb33gwn"))))
3048 (build-system r-build-system)
3049 (home-page "https://cran.r-project.org/web/packages/iterators")
3050 (synopsis "Iterator construct for R")
3052 "This package provides support for iterators, which allow a programmer to
3053 traverse through all the elements of a vector, list, or other collection of
3055 (license license:asl2.0)))
3057 (define-public r-foreach
3064 (uri (cran-uri "foreach" version))
3067 "0q7iyniw5iri4hl57bhil3r69s5wnaijzn0q0x4h3z42245jqqwm"))))
3068 (build-system r-build-system)
3070 `(("r-codetools" ,r-codetools)
3071 ("r-iterators" ,r-iterators)))
3072 (home-page "https://cran.r-project.org/web/packages/foreach")
3073 (synopsis "Foreach looping construct for R")
3075 "This package provides support for the @code{foreach} looping construct.
3076 @code{foreach} is an idiom that allows for iterating over elements in a
3077 collection, without the use of an explicit loop counter. This package in
3078 particular is intended to be used for its return value, rather than for its
3079 side effects. In that sense, it is similar to the standard @code{lapply}
3080 function, but doesn't require the evaluation of a function. Using
3081 @code{foreach} without side effects also facilitates executing the loop in
3083 (license license:asl2.0)))
3085 (define-public r-doparallel
3087 (name "r-doparallel")
3092 (uri (cran-uri "doParallel" version))
3095 "0vnqbha3gig3awbfvsfx3ni5jir398md1n7xmsb8jihnjsk7xbbi"))))
3096 (properties `((upstream-name . "doParallel")))
3097 (build-system r-build-system)
3099 `(("r-foreach" ,r-foreach)
3100 ("r-iterators" ,r-iterators)))
3101 (home-page "https://cran.r-project.org/web/packages/doParallel")
3102 (synopsis "Foreach parallel adaptor for the 'parallel' package")
3104 "This package provides a parallel backend for the @code{%dopar%} function
3105 using the parallel package.")
3106 (license license:gpl2+)))
3108 (define-public r-domc
3115 (uri (cran-uri "doMC" version))
3118 "1cn9gxavhvjswip8pwvkpi7q6wpzdllcsdjabga8akf55nggqxr9"))))
3119 (properties `((upstream-name . "doMC")))
3120 (build-system r-build-system)
3122 `(("r-foreach" ,r-foreach)
3123 ("r-iterators" ,r-iterators)))
3124 (home-page "https://cran.r-project.org/web/packages/doMC")
3125 (synopsis "Foreach parallel adaptor for the 'parallel' package")
3127 "This package provides a parallel backend for the @code{%dopar%} function
3128 using the multicore functionality of the parallel package.")
3129 (license license:gpl2+)))
3137 (uri (cran-uri "DT" version))
3140 "09k9s07aah1apc308sj1abvr27mky6fkpl9j6lxl2x55n4immvkg"))))
3142 `((upstream-name . "DT")))
3143 (build-system r-build-system)
3145 `(("r-crosstalk" ,r-crosstalk)
3146 ("r-htmltools" ,r-htmltools)
3147 ("r-htmlwidgets" ,r-htmlwidgets)
3148 ("r-jsonlite" ,r-jsonlite)
3149 ("r-magrittr" ,r-magrittr)
3150 ("r-promises" ,r-promises)))
3151 (home-page "http://rstudio.github.io/DT")
3152 (synopsis "R wrapper of the DataTables JavaScript library")
3154 "This package allows for data objects in R to be rendered as HTML tables
3155 using the JavaScript library @code{DataTables} (typically via R Markdown or
3156 Shiny). The @code{DataTables} library has been included in this R package.")
3157 ;; The DT package as a whole is distributed under GPLv3. The DT package
3158 ;; inludes other software components under different licenses:
3160 ;; * Expat: jQuery, jquery.highlight.js, DataTables
3161 ;; * ASL2.0: selectize.js
3162 ;; * WTFPL: noUiSlider
3163 (license (list license:gpl3
3166 (license:non-copyleft "http://www.wtfpl.net/txt/copying/")))))
3168 (define-public r-base64enc
3170 (name "r-base64enc")
3174 (uri (cran-uri "base64enc" version))
3177 "13b89fhg1nx7zds82a0biz847ixphg9byf5zl2cw9kab6s56v1bd"))))
3178 (build-system r-build-system)
3179 (home-page "http://www.rforge.net/base64enc")
3180 (synopsis "Tools for Base64 encoding")
3182 "This package provides tools for handling Base64 encoding. It is more
3183 flexible than the orphaned \"base64\" package.")
3184 (license license:gpl2+)))
3186 (define-public r-irlba
3193 (uri (cran-uri "irlba" version))
3196 "1h7mzrqdjc41814cf6c93sbyl7nxwvsf3x8apl9rhmydgdlk7qkf"))))
3197 (build-system r-build-system)
3199 `(("r-matrix" ,r-matrix)))
3200 (home-page "https://cran.r-project.org/web/packages/irlba")
3201 (synopsis "Methods for eigendecomposition of large matrices")
3203 "This package provides fast and memory efficient methods for truncated
3204 singular and eigenvalue decompositions, as well as for principal component
3205 analysis of large sparse or dense matrices.")
3206 (license (list license:gpl2+ license:gpl3+))))
3208 (define-public r-glmnet
3215 (uri (cran-uri "glmnet" version))
3217 (base32 "0b3nnfzp8dxcdkvxr0yvy6d58yk3xg4kz1wqa42bxqppbakmd2gl"))))
3218 (build-system r-build-system)
3220 `(("gfortran" ,gfortran)))
3222 `(("r-foreach" ,r-foreach)
3223 ("r-matrix" ,r-matrix)
3224 ("r-shape" ,r-shape)))
3225 (home-page "http://www.jstatsoft.org/v33/i01")
3226 (synopsis "Lasso and elastic-net regularized generalized linear models")
3228 "The glmnet package provides efficient procedures for fitting the entire
3229 lasso or elastic-net regularization path for linear and Poisson regression, as
3230 well as logistic, multinomial, Cox, multiple-response Gaussian and grouped
3231 multinomial models. The algorithm uses cyclical coordinate descent in a
3232 path-wise fashion.")
3233 (license license:gpl2+)))
3235 (define-public r-pkgmaker
3242 (uri (cran-uri "pkgmaker" version))
3245 "0spcamjncj78kzjps2rw4v1a4494yazv6xvhn0vmdflnypc8k8hp"))))
3246 (build-system r-build-system)
3248 `(("r-bibtex" ,r-bibtex)
3249 ("r-codetools" ,r-codetools)
3250 ("r-digest" ,r-digest)
3251 ("r-magrittr" ,r-magrittr)
3252 ("r-registry" ,r-registry)
3253 ("r-stringi" ,r-stringi)
3254 ("r-stringr" ,r-stringr)
3255 ("r-withr" ,r-withr)
3256 ("r-xtable" ,r-xtable)))
3257 (home-page "https://renozao.github.io/pkgmaker")
3258 (synopsis "Package development utilities")
3260 "This package provides some low-level utilities to use for R package
3261 development. It currently provides managers for multiple package specific
3262 options and registries, vignette, unit test and bibtex related utilities.")
3263 (license license:gpl2+)))
3265 (define-public r-registry
3272 (uri (cran-uri "registry" version))
3275 "1k3j6dx350awamr0dwwgkhfs46vsnj4nf08iw5byq0x7n3nkdsnz"))))
3276 (build-system r-build-system)
3277 (home-page "https://cran.r-project.org/web/packages/registry")
3278 (synopsis "Infrastructure for R package registries")
3280 "This package provides a generic infrastructure for creating and using R
3281 package registries.")
3282 (license license:gpl2+)))
3284 (define-public r-rngtools
3291 (uri (cran-uri "rngtools" version))
3294 "1kivj594bn774lbn29ws2rmzy2km99sza0j3jqvhal6hwmk27a9s"))))
3295 (build-system r-build-system)
3297 `(("r-digest" ,r-digest)
3298 ("r-pkgmaker" ,r-pkgmaker)
3299 ("r-stringr" ,r-stringr)))
3300 (home-page "https://renozao.github.io/rngtools")
3301 (synopsis "Utility functions for working with random number generators")
3303 "This package contains a set of functions for working with Random Number
3304 Generators (RNGs). In particular, it defines a generic S4 framework for
3305 getting/setting the current RNG, or RNG data that are embedded into objects
3306 for reproducibility. Notably, convenient default methods greatly facilitate
3307 the way current RNG settings can be changed.")
3308 (license license:gpl3+)))
3310 (define-public r-rtsne
3317 (uri (cran-uri "Rtsne" version))
3320 "0v17vxizrs1msay24xl2bckfajr2c82wpqj07lyssbrq197nwdsn"))))
3321 (properties `((upstream-name . "Rtsne")))
3322 (build-system r-build-system)
3324 `(("r-rcpp" ,r-rcpp)))
3325 (home-page "https://github.com/jkrijthe/Rtsne")
3326 (synopsis "T-distributed stochastic neighbor embedding")
3328 "This package provides an R wrapper around the fast T-distributed
3329 Stochastic Neighbor Embedding using a Barnes-Hut implementation.")
3330 ;; The declared license for this package is BSD-3, but it also includes
3331 ;; code licensed under BSD-4.
3332 (license (list license:bsd-3 license:bsd-4))))
3334 (define-public r-e1071
3341 (uri (cran-uri "e1071" version))
3344 "0pf2pjb590z0jikgv1037xcp7dq06mg3dzmyffjw6gk7dd9blbdv"))))
3345 (build-system r-build-system)
3347 `(("r-class" ,r-class)))
3348 (home-page "https://cran.r-project.org/web/packages/e1071")
3349 (synopsis "Miscellaneous functions for probability theory")
3351 "This package provides functions for latent class analysis, short time
3352 Fourier transform, fuzzy clustering, support vector machines, shortest path
3353 computation, bagged clustering, naive Bayes classifier, and more.")
3354 (license license:gpl2+)))
3356 (define-public r-bigmemory-sri
3358 (name "r-bigmemory-sri")
3363 (uri (cran-uri "bigmemory.sri" version))
3365 (base32 "0mg14ilwdkd64q2ri9jdwnk7mp55dqim7xfifrs65sdsv1934h2m"))))
3367 `((upstream-name . "bigmemory.sri")))
3368 (build-system r-build-system)
3369 (home-page "https://cran.r-project.org/web/packages/bigmemory.sri")
3370 (synopsis "Shared resource interface for the bigmemory package")
3371 (description "This package provides a shared resource interface for the
3372 bigmemory and synchronicity packages.")
3373 ;; Users can choose either LGPLv3 or ASL2.0.
3374 (license (list license:lgpl3 license:asl2.0))))
3376 (define-public r-synchronicity
3378 (name "r-synchronicity")
3383 (uri (cran-uri "synchronicity" version))
3386 "1kgsk64aifjm3mfj102y3va7x1abypq2zi0cqbnjhl8fqyzp69hx"))))
3387 (build-system r-build-system)
3390 ("r-bigmemory-sri" ,r-bigmemory-sri)
3392 ("r-uuid" ,r-uuid)))
3393 (home-page "http://www.bigmemory.org")
3394 (synopsis "Boost mutex functionality in R")
3395 (description "This package provides support for synchronization
3396 via mutexes and may eventually support interprocess communication and
3398 ;; Users can choose either LGPLv3 or ASL2.0.
3399 (license (list license:lgpl3 license:asl2.0))))
3401 (define-public r-bigmemory
3403 (name "r-bigmemory")
3408 (uri (cran-uri "bigmemory" version))
3411 "03pg8mxdc7q0249visjmc8bc3xmwxsfg3i2n6higicj4cfz7zihq"))))
3412 (build-system r-build-system)
3416 ("r-bigmemory-sri" ,r-bigmemory-sri)))
3417 (home-page "http://www.bigmemory.org")
3418 (synopsis "Manage large matrices with shared memory or memory-mapped files")
3419 (description "This package provides methods to create, store, access, and
3420 manipulate large matrices. Matrices are allocated to shared memory and may use
3421 memory-mapped files.")
3422 ;; Users can choose either LGPLv3 or ASL2.0.
3423 (license (list license:lgpl3 license:asl2.0))))
3425 (define-public r-nmf
3432 (uri (cran-uri "NMF" version))
3435 "1qq25n3k5sgh3srlshb3ic6q92s12c1ilqf5cd5anvq6cqfchc1v"))))
3436 (properties `((upstream-name . "NMF")))
3437 (build-system r-build-system)
3439 `(("r-cluster" ,r-cluster)
3440 ("r-bigmemory" ,r-bigmemory) ; suggested
3441 ("r-synchronicity" ,r-synchronicity) ; suggested
3442 ("r-colorspace" ,r-colorspace)
3443 ("r-digest" ,r-digest)
3444 ("r-doparallel" ,r-doparallel)
3445 ("r-foreach" ,r-foreach)
3446 ("r-ggplot2" ,r-ggplot2)
3447 ("r-gridbase" ,r-gridbase)
3448 ("r-pkgmaker" ,r-pkgmaker)
3449 ("r-rcolorbrewer" ,r-rcolorbrewer)
3450 ("r-registry" ,r-registry)
3451 ("r-reshape2" ,r-reshape2)
3452 ("r-rngtools" ,r-rngtools)
3453 ("r-stringr" ,r-stringr)))
3454 (home-page "http://renozao.github.io/NMF")
3455 (synopsis "Algorithms and framework for nonnegative matrix factorization")
3457 "This package provides a framework to perform Non-negative Matrix
3458 Factorization (NMF). The package implements a set of already published
3459 algorithms and seeding methods, and provides a framework to test, develop and
3460 plug new or custom algorithms. Most of the built-in algorithms have been
3461 optimized in C++, and the main interface function provides an easy way of
3462 performing parallel computations on multicore machines.")
3463 (license license:gpl2+)))
3465 (define-public r-r-methodss3
3467 (name "r-r-methodss3")
3471 (uri (cran-uri "R.methodsS3" version))
3474 "11z6v2i7jl647wxi9p5z66yvfnnqv6s7fxqmz7w2gkb6j8wl1f24"))))
3475 (properties `((upstream-name . "R.methodsS3")))
3476 (build-system r-build-system)
3477 (home-page "https://cran.r-project.org/web/packages/R.methodsS3")
3478 (synopsis "S3 methods simplified")
3480 "This package provides methods that simplify the setup of S3 generic
3481 functions and S3 methods. Major effort has been made in making definition of
3482 methods as simple as possible with a minimum of maintenance for package
3483 developers. For example, generic functions are created automatically, if
3484 missing, and naming conflict are automatically solved, if possible. The
3485 method @code{setMethodS3()} is a good start for those who in the future may
3486 want to migrate to S4.")
3487 (license license:lgpl2.1+)))
3489 (define-public r-r-oo
3495 (uri (cran-uri "R.oo" version))
3498 "189fb7mmyzwg6nn8rza8iip7fbyws7i2vkmzy672x9mhvgilq4pm"))))
3499 (properties `((upstream-name . "R.oo")))
3500 (build-system r-build-system)
3502 `(("r-r-methodss3" ,r-r-methodss3)))
3503 (home-page "https://github.com/HenrikBengtsson/R.oo")
3504 (synopsis "R object-oriented programming with or without references")
3506 "This package provides methods and classes for object-oriented
3507 programming in R with or without references. Large effort has been made on
3508 making definition of methods as simple as possible with a minimum of
3509 maintenance for package developers.")
3510 (license license:lgpl2.1+)))
3512 (define-public r-r-utils
3518 (uri (cran-uri "R.utils" version))
3521 "1krj1ny7y43lpm2q8c7swxfdc3ngy2j8knzv71f8bfsgh673nsxc"))))
3522 (properties `((upstream-name . "R.utils")))
3523 (build-system r-build-system)
3525 `(("r-r-methodss3" ,r-r-methodss3)
3526 ("r-r-oo" ,r-r-oo)))
3527 (home-page "https://github.com/HenrikBengtsson/R.utils")
3528 (synopsis "Various programming utilities")
3530 "This package provides utility functions useful when programming and
3531 developing R packages.")
3532 (license license:lgpl2.1+)))
3534 (define-public r-r-cache
3540 (uri (cran-uri "R.cache" version))
3543 "1n8n5ihkryrbxv630dwhz4r048nyv676qd3i9f5z5fa04hvlxbqq"))))
3544 (properties `((upstream-name . "R.cache")))
3545 (build-system r-build-system)
3547 `(("r-digest" ,r-digest)
3548 ("r-r-methodss3" ,r-r-methodss3)
3550 ("r-r-utils" ,r-r-utils)))
3551 (home-page "https://github.com/HenrikBengtsson/R.cache")
3552 (synopsis "Light-weight caching of objects and results")
3554 "This package provides methods for caching or memoization of objects and
3555 results. With this package, any R object can be cached in a key-value storage
3556 where the key can be an arbitrary set of R objects. The cache memory is
3557 persistent (on the file system).")
3558 (license license:lgpl2.1+)))
3560 (define-public r-r-rsp
3566 (uri (cran-uri "R.rsp" version))
3569 "128zqyvbq9hm9gy86jzhj609lkfw57vr24mdxgh46ncmx66ag4gj"))))
3570 (properties `((upstream-name . "R.rsp")))
3571 (build-system r-build-system)
3573 `(("r-digest" ,r-digest)
3574 ("r-r-cache" ,r-r-cache)
3575 ("r-r-methodss3" ,r-r-methodss3)
3577 ("r-r-utils" ,r-r-utils)))
3578 (home-page "https://github.com/HenrikBengtsson/R.rsp")
3579 (synopsis "Dynamic generation of scientific reports")
3581 "The RSP markup language provides a powerful markup for controlling the
3582 content and output of LaTeX, HTML, Markdown, AsciiDoc, Sweave and knitr
3583 documents (and more), e.g. @code{Today's date is <%=Sys.Date()%>}. Contrary
3584 to many other literate programming languages, with RSP it is straightforward
3585 to loop over mixtures of code and text sections, e.g. in month-by-month
3586 summaries. RSP has also several preprocessing directives for incorporating
3587 static and dynamic contents of external files (local or online) among other
3588 things. RSP is ideal for self-contained scientific reports and R package
3590 (license license:lgpl2.1+)))
3592 (define-public r-mvtnorm
3598 (uri (cran-uri "mvtnorm" version))
3601 "03rfmii9j8x8fjv7hp8qd28z0svl4w0x54k2f4jpwv4qa7079i24"))))
3602 (build-system r-build-system)
3604 `(("gfortran" ,gfortran)))
3605 (home-page "http://mvtnorm.R-forge.R-project.org")
3606 (synopsis "Package for multivariate normal and t-distributions")
3607 (description "This package can compute multivariate normal and
3608 t-probabilities, quantiles, random deviates and densities.")
3609 (license license:gpl2)))
3611 (define-public r-matrixstats
3613 (name "r-matrixstats")
3617 (uri (cran-uri "matrixStats" version))
3620 "06fvx0rlaz80k0lkqq2n7v0309xpz7h7ss0m9kgyikp4xs8bvmhn"))))
3621 (properties `((upstream-name . "matrixStats")))
3622 (build-system r-build-system)
3624 `(("r-r-rsp" ,r-r-rsp))) ;used to build vignettes
3625 (home-page "https://github.com/HenrikBengtsson/matrixStats")
3626 (synopsis "Methods applying to vectors and matrix rows and columns")
3628 "This package provides methods operating on rows and columns of matrices,
3629 e.g. @code{rowMedians()}, @code{rowRanks()}, and @code{rowSds()}. There are
3630 also some vector-based methods, e.g. @code{binMeans()}, @code{madDiff()} and
3631 @code{weightedMedians()}. All methods have been optimized for speed and
3633 (license license:artistic2.0)))
3635 (define-public r-viridis
3641 (uri (cran-uri "viridis" version))
3644 "060rf1jn29dq53y3nhb0hykvcap6rqsk04rq544ypiiqb18ngwnx"))))
3645 (build-system r-build-system)
3647 `(("r-ggplot2" ,r-ggplot2)
3648 ("r-gridextra" ,r-gridextra)
3649 ("r-viridislite" ,r-viridislite)))
3650 (home-page "https://github.com/sjmgarnier/viridis")
3651 (synopsis "Matplotlib default color map")
3653 "This package is a port of the new @url{matplotlib,
3654 http://matplotlib.org/} color maps (@code{viridis}--the default--,
3655 @code{magma}, @code{plasma}, and @code{inferno}) to R. These color maps are
3656 designed in such a way that they will analytically be perfectly
3657 perceptually-uniform, both in regular form and also when converted to
3658 black-and-white. They are also designed to be perceived by readers with the
3659 most common form of color blindness.")
3660 (license license:x11)))
3662 (define-public r-viridislite
3664 (name "r-viridislite")
3669 (uri (cran-uri "viridisLite" version))
3672 "1by2l05f0yabwvv64lhnv7bbhx0w683s3wr9j2xda920ghpa23kq"))))
3673 (properties `((upstream-name . "viridisLite")))
3674 (build-system r-build-system)
3675 (home-page "https://github.com/sjmgarnier/viridisLite")
3676 (synopsis "Default color maps from matplotlib")
3678 "This package is a port of the new @code{matplotlib} color maps
3679 (@code{viridis}, @code{magma}, @code{plasma} and @code{inferno}) to R.
3680 matplotlib is a popular plotting library for Python. These color maps are
3681 designed in such a way that they will analytically be perfectly
3682 perceptually-uniform, both in regular form and also when converted to
3683 black-and-white. They are also designed to be perceived by readers with the
3684 most common form of color blindness. This is the @code{lite} version of the
3685 more complete @code{viridis} package.")
3686 (license license:expat)))
3688 (define-public r-tidyselect
3690 (name "r-tidyselect")
3695 (uri (cran-uri "tidyselect" version))
3698 "0x3cp36byhfjajikr1lwffjm85ayw3bcs7d7kb0cydgs61ifiqjw"))))
3699 (build-system r-build-system)
3701 `(("r-glue" ,r-glue)
3702 ("r-purrr" ,r-purrr)
3704 ("r-rlang" ,r-rlang)))
3705 (home-page "https://cran.r-project.org/web/packages/tidyselect")
3706 (synopsis "Select from a set of strings")
3708 "This package provides a backend for the selecting functions of the
3709 tidyverse. It makes it easy to implement select-like functions in your own
3710 packages in a way that is consistent with other tidyverse interfaces for
3712 (license license:gpl3)))
3714 (define-public r-tidyr
3721 (uri (cran-uri "tidyr" version))
3724 "1403j0xd93l0r7qj738ryd5zc79hbcghrzybib3c3hrnaq5s78cj"))))
3725 (build-system r-build-system)
3727 `(("r-dplyr" ,r-dplyr)
3728 ("r-ellipsis" ,r-ellipsis)
3729 ("r-magrittr" ,r-magrittr)
3731 ("r-lifecycle" ,r-lifecycle)
3732 ("r-purrr" ,r-purrr)
3733 ("r-rlang" ,r-rlang)
3734 ("r-tidyselect" ,r-tidyselect)
3736 ("r-stringi" ,r-stringi)
3737 ("r-tibble" ,r-tibble)
3738 ("r-vctrs" ,r-vctrs)))
3739 (home-page "https://github.com/hadley/tidyr")
3740 (synopsis "Tidy data with `spread()` and `gather()` functions")
3742 "tidyr is a reframing of the reshape2 package designed to accompany the
3743 tidy data framework, and to work hand-in-hand with magrittr and dplyr to build
3744 a solid pipeline for data analysis. It is designed specifically for tidying
3745 data, not the general reshaping that reshape2 does, or the general aggregation
3746 that reshape did. In particular, built-in methods only work for data frames,
3747 and tidyr provides no margins or aggregation.")
3748 (license license:expat)))
3750 (define-public r-hexbin
3757 (uri (cran-uri "hexbin" version))
3760 "0b58jb1kz39wzrnkv077cfzns889xly7psvhxnm3xmnx6yvd986d"))))
3761 (build-system r-build-system)
3763 `(("r-lattice" ,r-lattice)))
3765 `(("gfortran" ,gfortran)))
3766 (home-page "https://github.com/edzer/hexbin")
3767 (synopsis "Hexagonal binning routines")
3769 "This package provides binning and plotting functions for hexagonal bins.
3770 It uses and relies on grid graphics and formal (S4) classes and methods.")
3771 (license license:gpl2+)))
3773 (define-public r-purrr
3780 (uri (cran-uri "purrr" version))
3783 "17lyys7dxjrwsfkq7a7hw65iy3qn3pp1sn70srdy64jf8adahc8g"))))
3784 (build-system r-build-system)
3786 `(("r-magrittr" ,r-magrittr)
3787 ("r-rlang" ,r-rlang)))
3788 (home-page "https://github.com/hadley/purrr")
3789 (synopsis "Functional programming tools")
3791 "This package completes R's functional programming tools with missing
3792 features present in other programming languages.")
3793 (license license:gpl3+)))
3795 (define-public r-plotly
3801 (uri (cran-uri "plotly" version))
3804 "0gadam4qw81q9gpjp7sqrpd7ikmcdsc78d8vjn39g0xzs5j8r845"))))
3805 (build-system r-build-system)
3807 `(("r-base64enc" ,r-base64enc)
3808 ("r-crosstalk" ,r-crosstalk)
3809 ("r-digest" ,r-digest)
3810 ("r-data-table" ,r-data-table)
3811 ("r-dplyr" ,r-dplyr)
3812 ("r-ggplot2" ,r-ggplot2)
3813 ("r-hexbin" ,r-hexbin)
3814 ("r-htmltools" ,r-htmltools)
3815 ("r-htmlwidgets" ,r-htmlwidgets)
3817 ("r-jsonlite" ,r-jsonlite)
3818 ("r-lazyeval" ,r-lazyeval)
3819 ("r-magrittr" ,r-magrittr)
3820 ("r-promises" ,r-promises)
3821 ("r-purrr" ,r-purrr)
3822 ("r-rcolorbrewer" ,r-rcolorbrewer)
3823 ("r-rlang" ,r-rlang)
3824 ("r-scales" ,r-scales)
3825 ("r-tibble" ,r-tibble)
3826 ("r-tidyr" ,r-tidyr)
3827 ("r-viridislite" ,r-viridislite)))
3828 (home-page "https://plot.ly/r")
3829 (synopsis "Create interactive web graphics")
3831 "This package enables the translation of ggplot2 graphs to an interactive
3832 web-based version and/or the creation of custom web-based visualizations
3833 directly from R. Once uploaded to a plotly account, plotly graphs (and the
3834 data behind them) can be viewed and modified in a web browser.")
3835 (license license:x11)))
3837 (define-public r-biased-urn
3839 (name "r-biased-urn")
3844 (uri (cran-uri "BiasedUrn" version))
3847 "13i2lgfnjhlbbm2yxfc2l5hswqw6x03pwba5csjmirv8kpjw4xr3"))))
3848 (properties `((upstream-name . "BiasedUrn")))
3849 (build-system r-build-system)
3850 (home-page "http://www.agner.org/random/")
3851 (synopsis "Biased urn model distributions")
3853 "This package provides statistical models of biased sampling in the form
3854 of univariate and multivariate noncentral hypergeometric distributions,
3855 including Wallenius' noncentral hypergeometric distribution and Fisher's
3856 noncentral hypergeometric distribution (also called extended hypergeometric
3858 (license license:gpl3+)))
3860 (define-public r-rematch
3867 (uri (cran-uri "rematch" version))
3870 "0y3mshvpvz9csmq8hk8jbabx4nxlv5sckvfzvm6920ndg34xw2d4"))))
3871 (build-system r-build-system)
3872 (home-page "https://github.com/MangoTheCat/rematch")
3873 (synopsis "Match regular expressions with a nicer API")
3875 "This package provides a small wrapper on @code{regexpr} to extract the
3876 matches and captured groups from the match of a regular expression to a
3878 (license license:expat)))
3880 (define-public r-cellranger
3882 (name "r-cellranger")
3887 (uri (cran-uri "cellranger" version))
3890 "16fgi3annn34c3cxi0pxf62mmmmxi21hp0zzlv7bkfsjqy4g4f2x"))))
3891 (build-system r-build-system)
3893 `(("r-rematch" ,r-rematch)
3894 ("r-tibble" ,r-tibble)))
3895 (home-page "https://github.com/rsheets/cellranger")
3896 (synopsis "Translate spreadsheet cell ranges to rows and columns")
3898 "This package provides helper functions to work with spreadsheets and the
3899 @code{A1:D10} style of cell range specification.")
3900 (license license:expat)))
3902 (define-public r-googlesheets
3904 (name "r-googlesheets")
3909 (uri (cran-uri "googlesheets" version))
3912 "11q07nxys72wkxx9mawmjyf20gvwvrb7h3gpa73h6lgh2vgrwnv8"))))
3913 (build-system r-build-system)
3915 `(("r-cellranger" ,r-cellranger)
3916 ("r-dplyr" ,r-dplyr)
3918 ("r-jsonlite" ,r-jsonlite)
3919 ("r-purrr" ,r-purrr)
3920 ("r-readr" ,r-readr)
3921 ("r-stringr" ,r-stringr)
3922 ("r-tibble" ,r-tibble)
3923 ("r-tidyr" ,r-tidyr)
3924 ("r-xml2" ,r-xml2)))
3925 (home-page "https://github.com/jennybc/googlesheets")
3926 (synopsis "Manage Google spreadsheets from R")
3927 (description "This package provides tools to interact with Google Sheets
3929 (license license:expat)))
3931 (define-public r-spams
3934 (version "2.6-2017-03-22")
3938 ;; Use the ‘Latest version’ link for a stable URI across releases.
3939 (uri (string-append "https://gforge.inria.fr/frs/download.php/"
3940 "latestfile/4531/spams-R-v" version ".tar.gz"))
3943 "13z2293jixf1r9g8dyy856xrhvpjr2ln2n9smn6644126r9hmhkx"))))
3944 (build-system r-build-system)
3947 (modify-phases %standard-phases
3948 (add-after 'unpack 'chdir
3949 (lambda _ (chdir "spams") #t))
3950 ;; Don't tune for the building machine.
3951 (add-after 'chdir 'no-mtune
3953 (substitute* "src/Makevars"
3954 (("-mtune=native") ""))
3957 `(("r-lattice" ,r-lattice)
3958 ("r-matrix" ,r-matrix)))
3959 (home-page "http://spams-devel.gforge.inria.fr")
3960 (synopsis "Toolbox for solving sparse estimation problems")
3961 (description "SPAMS (SPArse Modeling Software) is an optimization toolbox
3962 for solving various sparse estimation problems. It includes tools for the
3966 @item Dictionary learning and matrix factorization (NMF, sparse @dfn{principle
3967 component analysis} (PCA), ...)
3968 @item Solving sparse decomposition problems with LARS, coordinate descent,
3969 OMP, SOMP, proximal methods
3970 @item Solving structured sparse decomposition problems (l1/l2, l1/linf, sparse
3971 group lasso, tree-structured regularization, structured sparsity with
3972 overlapping groups,...).
3974 (license license:gpl3+)))
3976 (define-public r-base64
3983 (uri (cran-uri "base64" version))
3986 "1labh0ycdm2xcjssj8bhnyjvbk44mcdsi0rb2p8rfqa428mrq9cf"))))
3987 (build-system r-build-system)
3989 `(("r-openssl" ,r-openssl)))
3990 (home-page "https://cran.r-project.org/web/packages/base64")
3991 (synopsis "Base64 encoder and decoder")
3993 "This package is a compatibility wrapper to replace the orphaned package
3994 by Romain Francois. New applications should use the openssl or base64enc
3996 (license license:expat)))
3998 (define-public r-hmisc
4005 (uri (cran-uri "Hmisc" version))
4007 (base32 "0rb1m6138lqzb46nss9ggvhghipd10vdnwsy6iq2wzynrynzkwkz"))))
4008 (properties `((upstream-name . "Hmisc")))
4009 (build-system r-build-system)
4011 `(("gfortran" ,gfortran)))
4013 `(("r-acepack" ,r-acepack)
4014 ("r-base64enc" ,r-base64enc)
4015 ("r-cluster" ,r-cluster)
4016 ("r-data-table" ,r-data-table)
4017 ("r-foreign" ,r-foreign)
4018 ("r-formula" ,r-formula)
4019 ("r-ggplot2" ,r-ggplot2)
4020 ("r-gridextra" ,r-gridextra)
4021 ("r-gtable" ,r-gtable)
4022 ("r-lattice" ,r-lattice)
4023 ("r-latticeextra" ,r-latticeextra)
4024 ("r-htmltable" ,r-htmltable)
4025 ("r-htmltools" ,r-htmltools)
4027 ("r-rpart" ,r-rpart)
4028 ("r-survival" ,r-survival)
4029 ("r-viridis" ,r-viridis)))
4030 (home-page "http://biostat.mc.vanderbilt.edu/Hmisc")
4031 (synopsis "Miscellaneous data analysis and graphics functions")
4033 "This package contains many functions useful for data analysis,
4034 high-level graphics, utility operations, functions for computing sample size
4035 and power, importing and annotating datasets, imputing missing values,
4036 advanced table making, variable clustering, character string manipulation,
4037 conversion of R objects to LaTeX code, and recoding variables.")
4038 (license license:gpl2+)))
4040 (define-public r-runit
4047 (uri (cran-uri "RUnit" version))
4050 "1wc1gwb7yw7phf8b0gkig6c23klya3ax11c6i4s0f049k42r78r3"))))
4051 (properties `((upstream-name . "RUnit")))
4052 (build-system r-build-system)
4053 (home-page "https://cran.r-project.org/web/packages/RUnit")
4054 (synopsis "R unit test framework")
4056 "This package provides R functions implementing a standard unit testing
4057 framework, with additional code inspection and report generation tools.")
4058 (license license:gpl2+)))
4060 (define-public r-dynamictreecut
4062 (name "r-dynamictreecut")
4067 (uri (cran-uri "dynamicTreeCut" version))
4070 "1fadbql7g5r2vvlkr89nlrjxwp4yx4xrdqmv077qvmnx9vv0f4w3"))))
4071 (properties `((upstream-name . "dynamicTreeCut")))
4072 (build-system r-build-system)
4074 "http://www.genetics.ucla.edu/labs/horvath/CoexpressionNetwork/BranchCutting/")
4075 (synopsis "Detect clusters in hierarchical clustering dendrograms")
4077 "This package contains methods for the detection of clusters in
4078 hierarchical clustering dendrograms.")
4079 (license license:gpl2+)))
4081 (define-public r-preprocesscore
4083 (name "r-preprocesscore")
4088 (uri (bioconductor-uri "preprocessCore" version))
4091 "0zrb9hx60vppkg0priczdb301nhq5f0dj8lkc8rcc4xrqqr915qm"))))
4093 `((upstream-name . "preprocessCore")))
4094 (build-system r-build-system)
4095 (home-page "https://github.com/bmbolstad/preprocessCore")
4096 (synopsis "Collection of pre-processing functions")
4098 "This package provides a library of core pre-processing and normalization
4100 (license license:lgpl2.0+)))
4102 (define-public r-fastcluster
4104 (name "r-fastcluster")
4109 (uri (cran-uri "fastcluster" version))
4112 "01a2xnhhvv1swd4g8p4lzyn7ww7kg49jlnzc7kfz60jqjzpisrpk"))))
4113 (build-system r-build-system)
4114 (home-page "http://danifold.net/fastcluster.html")
4115 (synopsis "Fast hierarchical clustering routines")
4117 "This package implements fast hierarchical, agglomerative clustering
4118 routines. Part of the functionality is designed as drop-in replacement for
4119 existing routines: @code{linkage()} in the SciPy package
4120 @code{scipy.cluster.hierarchy}, @code{hclust()} in R's @code{stats} package,
4121 and the @code{flashClust} package. It provides the same functionality with
4122 the benefit of a much faster implementation. Moreover, there are
4123 memory-saving routines for clustering of vector data, which go beyond what the
4124 existing packages provide.")
4125 (license license:bsd-2)))
4127 (define-public r-sfsmisc
4134 (uri (cran-uri "sfsmisc" version))
4137 "0zaw617zarmwir8l60riky0z6r1j3mwfnm1f32vqcbljb74akdj4"))))
4138 (build-system r-build-system)
4139 (home-page "https://cran.r-project.org/web/packages/sfsmisc")
4140 (synopsis "Utilities from \"Seminar fuer Statistik\" ETH Zurich")
4142 "This package provides useful utilities from Seminar fuer Statistik ETH
4143 Zurich, including many that are related to graphics.")
4144 (license license:gpl2+)))
4146 (define-public r-gtools
4153 (uri (cran-uri "gtools" version))
4156 "0f5syk1qq6cjq6hwymvkiyhzwa389z94722v881ipbfqkd2q8505"))))
4157 (build-system r-build-system)
4160 (modify-phases %standard-phases
4161 (add-after 'unpack 'make-deterministic
4163 (substitute* "R/checkReverseDependencies.R"
4164 (("tempdir\\(\\)") "\"/tmp\""))
4166 (home-page "https://cran.r-project.org/web/packages/gtools")
4167 (synopsis "Various R programming tools")
4169 "This package contains a collection of various functions to assist in R
4170 programming, such as tools to assist in developing, updating, and maintaining
4171 R and R packages, calculating the logit and inverse logit transformations,
4172 tests for whether a value is missing, empty or contains only @code{NA} and
4173 @code{NULL} values, and many more.")
4174 (license license:gpl2)))
4176 (define-public r-gdata
4183 (uri (cran-uri "gdata" version))
4186 "0zwdj7lscgxr8r62ii8hbdh4mb7sa9w4f5nv32zzrxdvymcpya2b"))))
4187 (build-system r-build-system)
4191 `(("r-gtools" ,r-gtools)))
4192 (home-page "https://cran.r-project.org/web/packages/gdata")
4193 (synopsis "Various R programming tools for data manipulation")
4195 "This package provides various R programming tools for data manipulation,
4199 @item medical unit conversions
4200 @item combining objects
4201 @item character vector operations
4202 @item factor manipulation
4203 @item obtaining information about R objects
4204 @item manipulating MS-Excel formatted files
4205 @item generating fixed-width format files
4206 @item extricating components of date and time objects
4207 @item operations on columns of data frames
4208 @item matrix operations
4209 @item operations on vectors and data frames
4210 @item value of last evaluated expression
4211 @item wrapper for @code{sample} that ensures consistent behavior for
4212 both scalar and vector arguments
4214 (license license:gpl2+)))
4216 (define-public r-gplots
4223 (uri (cran-uri "gplots" version))
4226 "0vrm7wqrmqsmfrc070r9chpzb0vv60pay2lyar9qxfry6bsrvx86"))))
4227 (build-system r-build-system)
4229 `(("r-catools" ,r-catools)
4230 ("r-gdata" ,r-gdata)
4231 ("r-gtools" ,r-gtools)
4232 ("r-kernsmooth" ,r-kernsmooth)))
4233 (home-page "https://cran.r-project.org/web/packages/gplots")
4234 (synopsis "Various R programming tools for plotting data")
4236 "This package provides various R programming tools for plotting data,
4240 @item calculating and plotting locally smoothed summary function
4241 @item enhanced versions of standard plots
4242 @item manipulating colors
4243 @item calculating and plotting two-dimensional data summaries
4244 @item enhanced regression diagnostic plots
4245 @item formula-enabled interface to @code{stats::lowess} function
4246 @item displaying textual data in plots
4248 @item plotting \"Venn\" diagrams
4249 @item displaying Open-Office style plots
4250 @item plotting multiple data on same region, with separate axes
4251 @item plotting means and confidence intervals
4252 @item spacing points in an x-y plot so they don't overlap
4254 (license license:gpl2+)))
4256 (define-public r-rocr
4263 (uri (cran-uri "ROCR" version))
4266 "1jay8cm7lgq56i967vm5c2hgaxqkphfpip0gn941li3yhh7p3vz7"))))
4267 (properties `((upstream-name . "ROCR")))
4268 (build-system r-build-system)
4270 `(("r-gplots" ,r-gplots)))
4271 (home-page "http://rocr.bioinf.mpi-sb.mpg.de/")
4272 (synopsis "Visualizing the performance of scoring classifiers")
4274 "ROCR is a flexible tool for creating cutoff-parameterized 2D performance
4275 curves by freely combining two from over 25 performance measures (new
4276 performance measures can be added using a standard interface). Curves from
4277 different cross-validation or bootstrapping runs can be averaged by different
4278 methods, and standard deviations, standard errors or box plots can be used to
4279 visualize the variability across the runs. The parameterization can be
4280 visualized by printing cutoff values at the corresponding curve positions, or
4281 by coloring the curve according to cutoff. All components of a performance
4282 plot can be quickly adjusted using a flexible parameter dispatching
4284 (license license:gpl2+)))
4286 (define-public r-zoo
4292 (uri (cran-uri "zoo" version))
4295 "1w4542zs53bm261g95086a60576v334g1jrhnbgdqni4izf2s1wy"))))
4296 (build-system r-build-system)
4298 `(("r-lattice" ,r-lattice)))
4299 (home-page "http://zoo.R-Forge.R-project.org/")
4300 (synopsis "S3 infrastructure for regular and irregular time series")
4301 (description "This package contains an S3 class with methods for totally
4302 ordered indexed observations. It is particularly aimed at irregular time
4303 series of numeric vectors/matrices and factors.")
4304 (license license:gpl2+)))
4306 (define-public r-ztable
4312 (uri (cran-uri "ztable" version))
4315 "0g7khk5ifsdh9p31wlwh2l5mn1hzxzpv6qcn1wh34vsfjdmijjwy"))))
4316 (build-system r-build-system)
4318 `(("r-flextable" ,r-flextable)
4319 ("r-magrittr" ,r-magrittr)
4320 ("r-moonbook" ,r-moonbook)
4321 ("r-officer" ,r-officer)
4322 ("r-rcolorbrewer" ,r-rcolorbrewer)
4323 ("r-scales" ,r-scales)
4324 ("r-stringr" ,r-stringr)))
4325 (home-page "https://cran.r-project.org/web/packages/ztable")
4326 (synopsis "Zebra-striped tables in LaTeX and HTML formats for R")
4328 "This package provides functions to make zebra-striped tables (tables
4329 with alternating row colors) in LaTeX and HTML formats easily from
4330 @code{data.frame}, @code{matrix}, @code{lm}, @code{aov}, @code{anova},
4331 @code{glm}, @code{coxph}, @code{nls}, @code{fitdistr}, @code{mytable} and
4332 @code{cbind.mytable} objects.")
4333 (license license:gpl2+)))
4335 (define-public r-vipor
4341 (uri (cran-uri "vipor" version))
4344 "112gc0d7f8iavgf56pnzfxb7hy75yhd0zlyjzshdcfbnqcd2a6bx"))))
4345 (build-system r-build-system)
4346 (home-page "https://cran.r-project.org/web/packages/vipor")
4347 (synopsis "Plot categorical data using noise and density estimates")
4349 "This package provides tools to generate a violin point plot, a
4350 combination of a violin/histogram plot and a scatter plot by offsetting points
4351 within a category based on their density using quasirandom noise.")
4352 (license license:gpl2+)))
4354 (define-public r-beeswarm
4360 (uri (cran-uri "beeswarm" version))
4363 "0hy89bwv7jixlg91li1fywa77916am2whqp1m1fx1khd45g44581"))))
4364 (build-system r-build-system)
4365 (home-page "http://www.cbs.dtu.dk/~eklund/beeswarm/")
4366 (synopsis "Implementation of bee swarm plots")
4368 "This package provides an implementation of bee swarm plots. The bee
4369 swarm plot is a one-dimensional scatter plot like stripchart, but with
4370 closely-packed, non-overlapping points.")
4371 (license license:artistic2.0)))
4373 (define-public r-sourcetools
4375 (name "r-sourcetools")
4380 (uri (cran-uri "sourcetools" version))
4383 "1jnjir0q2dj724f1mjm6p5h77yzyx6xcqy9r2g7gmcxkxw349627"))))
4384 (build-system r-build-system)
4385 (home-page "https://cran.r-project.org/web/packages/sourcetools")
4386 (synopsis "Tools for reading, tokenizing and parsing R code")
4388 "The sourcetools package provides both an R and C++ interface for the
4389 tokenization of R code, and helpers for interacting with the tokenized
4390 representation of R code.")
4391 (license license:expat)))
4393 (define-public r-ggbeeswarm
4395 (name "r-ggbeeswarm")
4399 (uri (cran-uri "ggbeeswarm" version))
4402 "0crk29p5vi1r3a988kms4y7r0iqwgwzsikgvh18r9wbzyr98bb5v"))))
4403 (build-system r-build-system)
4405 `(("r-beeswarm" ,r-beeswarm)
4406 ("r-ggplot2" ,r-ggplot2)
4407 ("r-vipor" ,r-vipor)))
4408 (home-page "https://github.com/eclarke/ggbeeswarm")
4409 (synopsis "Categorical scatter (violin point) plots")
4411 "This package provides two methods of plotting categorical scatter plots
4412 such that the arrangement of points within a category reflects the density of
4413 data at that region, and avoids over-plotting.")
4414 (license license:gpl2+)))
4416 (define-public r-ggthemes
4422 (uri (cran-uri "ggthemes" version))
4425 "0rrkzfggc1nlda1w1lbqdycx6nawxbkac1szhvkwrqlzh6agxcsv"))))
4426 (build-system r-build-system)
4428 `(("r-ggplot2" ,r-ggplot2)
4429 ("r-purrr" ,r-purrr)
4430 ("r-scales" ,r-scales)
4431 ("r-stringr" ,r-stringr)
4432 ("r-tibble" ,r-tibble)))
4433 (home-page "https://cran.rstudio.com/web/packages/ggthemes")
4434 (synopsis "Extra themes, scales and geoms for @code{ggplot2}")
4435 (description "This package provides extra themes and scales for
4436 @code{ggplot2} that replicate the look of plots by Edward Tufte and
4437 Stephen Few in Fivethirtyeight, The Economist, Stata, Excel, and The
4438 Wall Street Journal, among others. This package also provides
4439 @code{geoms} for Tufte's box plot and range frame.")
4440 (license license:gpl2)))
4442 (define-public r-statmod
4448 (uri (cran-uri "statmod" version))
4451 "1fbi5m4c0lingm2vvi0g6jf8f2mg1h01xwyz5rnymrq7gs0ibiks"))))
4452 (build-system r-build-system)
4453 (home-page "https://cran.r-project.org/web/packages/statmod")
4455 `(("gfortran" ,gfortran)))
4456 (synopsis "Statistical modeling")
4458 "This package provides a collection of algorithms and functions to aid
4459 statistical modeling. It includes growth curve comparisons, limiting dilution
4460 analysis (aka ELDA), mixed linear models, heteroscedastic regression,
4461 inverse-Gaussian probability calculations, Gauss quadrature and a secure
4462 convergence algorithm for nonlinear models. It also includes advanced
4463 generalized linear model functions that implement secure convergence,
4464 dispersion modeling and Tweedie power-law families.")
4465 ;; Statmod is distributed under either license
4466 (license (list license:gpl2 license:gpl3))))
4468 (define-public r-rann
4474 (uri (cran-uri "RANN" version))
4477 "10kid40w9w7vkz2hpcfkdpxr4afxzms5dzvfwr0sl5xynzgw76dj"))))
4479 `((upstream-name . "RANN")))
4480 (build-system r-build-system)
4481 (home-page "https://github.com/jefferis/RANN")
4482 (synopsis "Fast nearest neighbour search")
4484 "This package finds the k nearest neighbours for every point in a given
4485 dataset in O(N log N) time using Arya and Mount's ANN library. Provides
4486 approximate, exact searches, fixed radius searches, bd and kb trees.")
4487 (license license:gpl3+)))
4489 (define-public r-fivethirtyeight
4491 (name "r-fivethirtyeight")
4496 (uri (string-append "https://mran.microsoft.com/src/contrib/"
4497 "fivethirtyeight_" version ".tar.gz"))
4500 "0fcc8rq745nsghp27dk0lgih90y4zx8hrzcvsn6ih786yv7qxhvl"))))
4501 (build-system r-build-system)
4503 `(("r-knitr" ,r-knitr)
4504 ("r-rmarkdown" ,r-rmarkdown)
4505 ("r-dplyr" ,r-dplyr)
4506 ("r-readr" ,r-readr)
4507 ("r-ggplot2" ,r-ggplot2)
4508 ("r-magrittr" ,r-magrittr)
4509 ("r-stringr" ,r-stringr)))
4510 (home-page "https://mran.microsoft.com/package/fivethirtyeight/")
4511 (synopsis "Data and code behind the stories at FiveThirtyEight")
4512 (description "This R package provides access to the code and data sets
4513 published by the statistics blog FiveThirtyEight.")
4514 (license license:expat)))
4516 (define-public r-compquadform
4518 (name "r-compquadform")
4523 (uri (cran-uri "CompQuadForm" version))
4526 "1i30hrqdk64q17vsn918c3q79brchgx2wzh1gbsgbn0dh1ncabq4"))))
4527 (properties `((upstream-name . "CompQuadForm")))
4528 (build-system r-build-system)
4529 (home-page "https://cran.r-project.org/web/packages/CompQuadForm")
4530 (synopsis "Distribution function of quadratic forms in normal variables")
4532 "This package provides functions to compute the distribution function of
4533 quadratic forms in normal variables using Imhof's method, Davies's algorithm,
4534 Farebrother's algorithm or Liu et al.'s algorithm.")
4535 (license license:gpl2+)))
4537 (define-public r-cowplot
4544 (uri (cran-uri "cowplot" version))
4547 "19cqdhgfyr1wj0fz0c5ly8f0aiy9sfgzq6lzb78hkx0hdp2agybh"))))
4548 (build-system r-build-system)
4550 `(("r-ggplot2" ,r-ggplot2)
4551 ("r-gtable" ,r-gtable)
4552 ("r-rlang" ,r-rlang)
4553 ("r-scales" ,r-scales)))
4554 (home-page "https://github.com/wilkelab/cowplot")
4555 (synopsis "Streamlined plot theme and plot annotations for ggplot2")
4557 "This package provides some helpful extensions and modifications to the
4558 ggplot2 package to combine multiple ggplot2 plots into one and label them with
4559 letters, as is often required for scientific publications.")
4560 (license license:gpl2)))
4562 (define-public r-mixtools
4569 (uri (cran-uri "mixtools" version))
4572 "13wdm0xs5bakhpa8ypg6lvhjaqkxyabwz4glxdwn0jwdvkcdhgsl"))))
4573 (build-system r-build-system)
4575 `(("r-mass" ,r-mass)
4576 ("r-segmented" ,r-segmented)
4577 ("r-survival" ,r-survival)))
4578 (home-page "https://cran.r-project.org/web/packages/mixtools")
4579 (synopsis "Tools for analyzing finite mixture models")
4581 "This package provides a collection of R functions for analyzing finite
4583 (license license:gpl2+)))
4585 (define-public r-lars
4592 (uri (cran-uri "lars" version))
4595 "0blj44wqrx6lmym1m9v6wkz8zxzbjax2zl6swgdczci0ixb5nx34"))))
4596 (build-system r-build-system)
4598 `(("gfortran" ,gfortran)))
4599 (home-page "http://www-stat.stanford.edu/~hastie/Papers/#LARS")
4600 (synopsis "Least angle regression software")
4602 "Least Angle Regression (\"LAR\") is a model selection algorithm; a
4603 useful and less greedy version of traditional forward selection methods. A
4604 simple modification of the LAR algorithm implements Tibshirani's Lasso; the
4605 Lasso modification of LARS calculates the entire Lasso path of coefficients
4606 for a given problem at the cost of a single least squares fit. Another LARS
4607 modification efficiently implements epsilon Forward Stagewise linear
4609 (license license:gpl2)))
4611 (define-public r-fastica
4618 (uri (cran-uri "fastICA" version))
4621 "1zpijqcipm0aa3rxj0mys06lskqy4dbppjpxr1aby0j16y9ka8ij"))))
4622 (properties `((upstream-name . "fastICA")))
4623 (build-system r-build-system)
4624 (home-page "https://cran.r-project.org/web/packages/fastICA")
4625 (synopsis "FastICA algorithms to perform ICA and projection pursuit")
4627 "This package provides an implementation of the FastICA algorithm to
4628 perform @dfn{independent component analysis} (ICA) and projection pursuit.")
4630 (license license:gpl3+)))
4632 (define-public r-randomforest
4634 (name "r-randomforest")
4639 (uri (cran-uri "randomForest" version))
4642 "0kbmm0l42fc2d1rdq0l7k09d34kd87q4lx651ffsic4y84h8kf7l"))))
4643 (properties `((upstream-name . "randomForest")))
4644 (build-system r-build-system)
4645 (home-page "https://www.stat.berkeley.edu/~breiman/RandomForests/")
4647 `(("gfortran" ,gfortran)))
4648 (synopsis "Breiman and Cutler's random forests for classification and regression")
4650 "This package provides the Breiman and Cutler's random forests algorithm, based on a
4651 forest of trees using random inputs, for classification and regression.")
4652 (license license:gpl2+)))
4654 (define-public r-diptest
4661 (uri (cran-uri "diptest" version))
4664 "06xnc5gv1284ll0addxnxb6ljz6fn8dbyrp5vchyz6551h800aa6"))))
4665 (build-system r-build-system)
4666 (home-page "https://cran.r-project.org/web/packages/diptest")
4667 (synopsis "Hartigan's dip test statistic for unimodality")
4669 "This package computes Hartigan's dip test statistic for unimodality,
4670 multimodality and provides a test with simulation based p-values, where the
4671 original public code has been corrected.")
4672 (license license:gpl2+)))
4674 (define-public r-modeltools
4676 (name "r-modeltools")
4681 (uri (cran-uri "modeltools" version))
4684 "1s9lmkac3rl0nknf4wizfhg7ryq7c8yvvyc4z619238br27hhsi5"))))
4685 (build-system r-build-system)
4686 (home-page "https://cran.r-project.org/web/packages/modeltools")
4687 (synopsis "Tools and classes for statistical models")
4689 "This package provides a collection of tools to deal with statistical
4690 models. The functionality is experimental and the user interface is likely
4691 to change in the future.")
4692 (license license:gpl2)))
4694 (define-public r-flexmix
4701 (uri (cran-uri "flexmix" version))
4704 "0hrz2axp2c9548b1r0bmrl57219nn030qndb83a8garkzq5lqi5s"))))
4705 (build-system r-build-system)
4707 `(("r-lattice" ,r-lattice)
4708 ("r-modeltools" ,r-modeltools)
4709 ("r-nnet" ,r-nnet)))
4710 (home-page "https://cran.r-project.org/web/packages/flexmix")
4711 (synopsis "Flexible mixture modeling")
4713 "This package implements a general framework for finite mixtures of
4714 regression models using the EM algorithm. FlexMix provides the E-step and
4715 all data handling, while the M-step can be supplied by the user to easily
4716 define new models. Existing drivers implement mixtures of standard linear
4717 models, generalized linear models and model-based clustering.")
4718 (license license:gpl2+)))
4720 (define-public r-mclust
4727 (uri (cran-uri "mclust" version))
4730 "0whandnda1fnjn5k3hgxdbp3b0xr7nlzy1j37saqb536h8q9dwkm"))))
4731 (build-system r-build-system)
4733 `(("gfortran" ,gfortran)))
4734 (home-page "http://www.stat.washington.edu/mclust/")
4735 (synopsis "Gaussian mixture modelling for model-based clustering etc.")
4737 "This package provides Gaussian finite mixture models fitted via EM
4738 algorithm for model-based clustering, classification, and density estimation,
4739 including Bayesian regularization, dimension reduction for visualisation,
4740 and resampling-based inference.")
4741 (license license:gpl2+)))
4743 (define-public r-prabclus
4750 (uri (cran-uri "prabclus" version))
4753 "0hg4d7y1w18jpgvw10z8833bbbcnlkwiasx0wh6iwa2pnnybq8gl"))))
4754 (build-system r-build-system)
4756 `(("r-mass" ,r-mass)
4757 ("r-mclust" ,r-mclust)))
4758 (home-page "https://cran.r-project.org/web/packages/prabclus")
4759 (synopsis "Parametric bootstrap tests for spatial neighborhood clustering")
4761 "This package provides distance-based parametric bootstrap tests for
4762 clustering with spatial neighborhood information. It implements some distance
4763 measures, clustering of presence-absence, abundance and multilocus genetical
4764 data for species delimitation, nearest neighbor based noise detection.")
4765 (license license:gpl2+)))
4767 (define-public r-deoptimr
4774 (uri (cran-uri "DEoptimR" version))
4777 "1vz546hyjyhly70z62h5n3mn62b8llhhmim8ffp9y6jnnb0i2sc4"))))
4778 (properties `((upstream-name . "DEoptimR")))
4779 (build-system r-build-system)
4780 (home-page "https://cran.r-project.org/web/packages/DEoptimR")
4781 (synopsis "Differential evolution optimization in pure R")
4783 "This package provides a differential evolution (DE) stochastic
4784 algorithms for global optimization of problems with and without constraints.
4785 The aim is to curate a collection of its state-of-the-art variants that (1) do
4786 not sacrifice simplicity of design, (2) are essentially tuning-free, and (3)
4787 can be efficiently implemented directly in the R language.")
4788 (license license:gpl2+)))
4790 (define-public r-robustbase
4792 (name "r-robustbase")
4797 (uri (cran-uri "robustbase" version))
4800 "0mkzbsjl5nihyj7mzks14p6kr3spp44xvygjz4ran11gspdn9rdx"))))
4801 (build-system r-build-system)
4803 `(("gfortran" ,gfortran)))
4805 `(("r-deoptimr" ,r-deoptimr)))
4806 (home-page "http://robustbase.r-forge.r-project.org/")
4807 (synopsis "Basic robust statistics")
4809 "This package allows to analyze data with robust methods such as
4810 regression methodology including model selections and multivariate statistics.")
4811 (license license:gpl2+)))
4813 (define-public r-pcapp
4820 (uri (cran-uri "pcaPP" version))
4823 "1z2kdf9gfp965xbcd4rg6vf20d1bl443na0qjkpq7gmzpaq6cifa"))))
4824 (properties `((upstream-name . "pcaPP")))
4825 (build-system r-build-system)
4827 `(("r-mvtnorm" ,r-mvtnorm)))
4828 (home-page "https://cran.r-project.org/web/packages/pcaPP")
4829 (synopsis "Robust PCA by projection pursuit")
4831 "This package provides functions for robust @dfn{principal component
4832 analysis} (PCA) by projection pursuit.")
4833 (license license:gpl3+)))
4835 (define-public r-rrcov
4842 (uri (cran-uri "rrcov" version))
4845 "11zvxidlb1pr2j5dzvmbjqdgsmmicsq8ppjf5wcfykfyf2fkcmz7"))))
4846 (build-system r-build-system)
4848 `(("r-cluster" ,r-cluster)
4849 ("r-lattice" ,r-lattice)
4850 ("r-mvtnorm" ,r-mvtnorm)
4851 ("r-pcapp" ,r-pcapp)
4852 ("r-robustbase" ,r-robustbase)))
4854 `(("gfortran" ,gfortran)))
4855 (home-page "https://cran.r-project.org/web/packages/rrcov")
4856 (synopsis "Scalable robust estimators with high breakdown Point")
4858 "This package provides an implementation of robust location and scatter
4859 estimation and robust multivariate analysis with high breakdown point.")
4860 (license license:gpl2+)))
4862 (define-public r-fit-models
4864 (name "r-fit-models")
4869 (uri (cran-uri "fit.models" version))
4872 "0vjbzmx0ambm6yzidb4vbgmhclwzwv2iz2cwl54ccdkvx4cx3fck"))))
4873 (properties `((upstream-name . "fit.models")))
4874 (build-system r-build-system)
4876 `(("r-lattice" ,r-lattice)))
4877 (home-page "https://cran.r-project.org/web/packages/fit.models")
4878 (synopsis "Compare fitted models")
4880 "The @code{fit.models} function and its associated methods (coefficients, print,
4881 summary, plot, etc.) were originally provided in the @code{robust} package to
4882 compare robustly and classically fitted model objects. The aim of the
4883 @code{fit.models} package is to separate this fitted model object comparison
4884 functionality from the robust package and to extend it to support fitting
4885 methods (e.g., classical, robust, Bayesian, regularized, etc.) more
4887 ;; Any version of the GPL
4888 (license (list license:gpl2+ license:gpl3+))))
4890 (define-public r-robust
4893 (version "0.4-18.2")
4897 (uri (cran-uri "robust" version))
4900 "02x7d6dgx3skiadvx5m3c44b4bhz37ycpfhc25dhhv50y1db6l3k"))))
4901 (build-system r-build-system)
4903 `(("r-fit-models" ,r-fit-models)
4904 ("r-lattice" ,r-lattice)
4906 ("r-robustbase" ,r-robustbase)
4907 ("r-rrcov" ,r-rrcov)))
4909 `(("gfortran" ,gfortran)))
4910 (home-page "https://cran.r-project.org/web/packages/robust")
4911 (synopsis "Port of the S+ \"Robust Library\"")
4913 "This package is a port of the S+ \"Robust Library\". It provides
4914 methods for robust statistics, notably for robust regression and robust
4915 multivariate analysis.")
4916 (license license:gpl2)))
4918 (define-public r-trimcluster
4920 (name "r-trimcluster")
4925 (uri (cran-uri "trimcluster" version))
4928 "0013bpyq6mkvjn38qsmwnsxfiwxgwngnqxycxvgpgmiadhm8fjmn"))))
4929 (build-system r-build-system)
4930 (home-page "https://cran.r-project.org/web/packages/trimcluster")
4931 (synopsis "Cluster analysis with trimming")
4933 "The trimmed k-means clustering method by Cuesta-Albertos, Gordaliza and
4934 Matran (1997). This optimizes the k-means criterion under trimming a portion
4937 (license (list license:gpl2+ license:gpl3+))))
4939 (define-public r-fpc
4946 (uri (cran-uri "fpc" version))
4949 "1dy3pla4jjgs46izqg2kxajlxr80sbr9896jbzb1qszrdx7af041"))))
4950 (build-system r-build-system)
4952 `(("r-class" ,r-class)
4953 ("r-cluster" ,r-cluster)
4954 ("r-diptest" ,r-diptest)
4955 ("r-flexmix" ,r-flexmix)
4956 ("r-kernlab" ,r-kernlab)
4958 ("r-mclust" ,r-mclust)
4959 ("r-prabclus" ,r-prabclus)
4960 ("r-robustbase" ,r-robustbase)))
4961 (home-page "https://cran.r-project.org/web/packages/fpc")
4962 (synopsis "Flexible procedures for clustering")
4964 "This package provides various methods for clustering and cluster validation.
4965 For example, it provides fixed point clustering, linear regression clustering,
4966 clustering by merging Gaussian mixture components, as well as symmetric and
4967 asymmetric discriminant projections for visualisation of the separation of
4969 (license license:gpl2+)))
4971 (define-public r-vgam
4978 (uri (cran-uri "VGAM" version))
4980 (base32 "0kyan3a4ys2xbg9kf167cyf1gk7g963id62cjm2ij4i7y4wi61zq"))))
4981 (properties `((upstream-name . "VGAM")))
4982 (build-system r-build-system)
4984 `(("gfortran" ,gfortran)))
4985 (home-page "https://www.stat.auckland.ac.nz/~yee/VGAM")
4986 (synopsis "Vector generalized linear and additive models")
4988 "This package is an implementation of about 6 major classes of statistical
4989 regression models. Currently only fixed-effects models are implemented, i.e.,
4990 no random-effects models. Many (150+) models and distributions are estimated
4991 by maximum likelihood estimation (MLE) or penalized MLE, using Fisher scoring.
4992 VGLMs can be loosely thought of as multivariate generalised linear models.")
4993 (license license:gpl2+)))
4995 (define-public r-pbapply
5002 (uri (cran-uri "pbapply" version))
5005 "1xmk4p006v8gij26rs6kp5prjyf2n32nqjxiyp8a6kvgyc4z46dc"))))
5006 (build-system r-build-system)
5007 (home-page "https://github.com/psolymos/pbapply")
5008 (synopsis "Adding progress bar to apply functions")
5010 "This lightweight package that adds progress bar to vectorized R
5011 functions apply. The implementation can easily be added to functions where
5012 showing the progress is useful e.g. bootstrap.")
5013 (license license:gpl2)))
5015 (define-public r-minqa
5022 (uri (cran-uri "minqa" version))
5025 "036drja6xz7awja9iwb76x91415p26fb0jmg7y7v0p65m6j978fg"))))
5026 (build-system r-build-system)
5028 `(("r-rcpp" ,r-rcpp)))
5030 `(("gfortran" ,gfortran)))
5031 (home-page "http://optimizer.r-forge.r-project.org")
5032 (synopsis "Derivative-free optimization algorithms by quadratic approximation")
5034 "This package provides a derivative-free optimization by quadratic approximation
5035 based on an interface to Fortran implementations by M. J. D. Powell.")
5036 (license license:gpl2)))
5038 (define-public r-rcppeigen
5040 (name "r-rcppeigen")
5041 (version "0.3.3.7.0")
5045 (uri (cran-uri "RcppEigen" version))
5048 "1b78qcjim0n9klgkr82n794d6bj9r9f33g0kcsszsns2hir65sk2"))))
5049 (properties `((upstream-name . "RcppEigen")))
5050 (build-system r-build-system)
5052 `(("r-rcpp" ,r-rcpp)
5053 ("r-matrix" ,r-matrix)))
5054 (home-page "http://eigen.tuxfamily.org")
5055 (synopsis "Rcpp integration for the Eigen templated linear algebra library")
5057 "This package provides an integration of Eigen in R using a C++ template
5058 library for linear algebra: matrices, vectors, numerical solvers and related algorithms.
5059 It supports dense and sparse matrices on integer, floating point and complex numbers,
5060 decompositions of such matrices, and solutions of linear systems.")
5061 (license license:gpl2+)))
5063 (define-public r-modelmetrics
5065 (name "r-modelmetrics")
5070 (uri (cran-uri "ModelMetrics" version))
5073 "17yw46yr0n9hddvlhh73jdpmpdlpa581n5xjpwkr6cpr2f7xxpqc"))))
5074 (properties `((upstream-name . "ModelMetrics")))
5075 (build-system r-build-system)
5077 `(("r-rcpp" ,r-rcpp)
5078 ("r-data-table" ,r-data-table)))
5079 (home-page "https://cran.r-project.org/web/packages/ModelMetrics")
5080 (synopsis "Rapid calculation of model metrics")
5082 "Written in C++ using @code{Rcpp}, this package provides a collection of
5083 metrics for evaluating models.")
5084 (license license:gpl2+)))
5086 (define-public r-matrixmodels
5088 (name "r-matrixmodels")
5093 (uri (cran-uri "MatrixModels" version))
5096 "0cyfvhci2p1vr2x52ymkyqqs63x1qchn856dh2j94yb93r08x1zy"))))
5097 (properties `((upstream-name . "MatrixModels")))
5098 (build-system r-build-system)
5100 `(("r-matrix" ,r-matrix)))
5101 (home-page "https://cran.r-project.org/web/packages/MatrixModels")
5102 (synopsis "Modelling with sparse and dense matrices")
5104 "This package models with sparse and dense matrix matrices,
5105 using modular prediction and response module classes.")
5106 (license license:gpl2+)))
5108 (define-public r-quantreg
5115 (uri (cran-uri "quantreg" version))
5117 (base32 "19nh79qrkb75q348nk148l8wqjwnq5jgq29wpzqym5cfv1kjqfvh"))))
5118 (build-system r-build-system)
5120 `(("gfortran" ,gfortran)))
5122 `(("r-matrix" ,r-matrix)
5123 ("r-matrixmodels" ,r-matrixmodels)
5124 ("r-sparsem" ,r-sparsem)))
5125 (home-page "https://www.r-project.org")
5126 (synopsis "Quantile regression")
5128 "This package provides an estimation and inference methods for models
5129 of conditional quantiles: linear and nonlinear parametric and non-parametric
5130 models for conditional quantiles of a univariate response and several methods
5131 for handling censored survival data. Portfolio selection methods based on
5132 expected shortfall risk are also included.")
5133 (license license:gpl2+)))
5135 (define-public r-nloptr
5142 (uri (cran-uri "nloptr" version))
5145 "15yz60kljxwnhm2m3gryjzxl3ynhkhd5jiwc179b1hz6rlzf71hz"))))
5146 (build-system r-build-system)
5148 `(("r-knitr" ,r-knitr) ; for building vignettes
5149 ("pkg-config" ,pkg-config)
5150 ("gfortran" ,gfortran)))
5152 `(("nlopt" ,nlopt)))
5153 (home-page "https://cran.r-project.org/web/packages/nloptr")
5154 (synopsis "R interface to NLopt")
5156 "This package is interface to NLopt, a library for nonlinear
5157 optimization. NLopt is a library for nonlinear optimization, providing a
5158 common interface for a number of different free optimization routines
5159 available online as well as original implementations of various other
5161 (license license:lgpl3)))
5163 (define-public r-lme4
5170 (uri (cran-uri "lme4" version))
5173 "035j2hqkwv939xl07pm2vykvf3wlx8qj317846n9pkpqkyv58mbz"))))
5174 (build-system r-build-system)
5176 `(("r-boot" ,r-boot)
5177 ("r-lattice" ,r-lattice)
5179 ("r-matrix" ,r-matrix)
5180 ("r-minqa" ,r-minqa)
5181 ("r-nloptr" ,r-nloptr)
5184 ("r-rcppeigen" ,r-rcppeigen)))
5185 (home-page "https://cran.r-project.org/web/packages/lme4")
5186 (synopsis "Linear mixed-effects models using eigen and S4")
5188 "This package provides fit linear and generalized linear mixed-effects
5189 models. The models and their components are represented using S4 classes and
5190 methods. The core computational algorithms are implemented using the Eigen
5191 C++ library for numerical linear algebra and RcppEigen glue.")
5192 (license license:gpl2+)))
5194 (define-public r-pbkrtest
5201 (uri (cran-uri "pbkrtest" version))
5204 "1si3bhi59xc51a0pgjjglccq3h4aljyhw2k1b8574s145fnh7fsw"))))
5205 (build-system r-build-system)
5207 `(("r-lme4" ,r-lme4)
5209 ("r-matrix" ,r-matrix)))
5210 (home-page "http://people.math.aau.dk/~sorenh/software/pbkrtest/")
5211 (synopsis "Methods for linear mixed model comparison")
5213 "This package implements a parametric bootstrap test and a Kenward Roger
5214 modification of F-tests for linear mixed effects models and a parametric
5215 bootstrap test for generalized linear mixed models.")
5216 (license license:gpl2+)))
5218 (define-public r-cardata
5225 (uri (cran-uri "carData" version))
5227 (base32 "0cg2yxzn0pdjqykr60my1fzpfkqac21fll5hv3m9w5c9sayq8swq"))))
5228 (properties `((upstream-name . "carData")))
5229 (build-system r-build-system)
5230 (home-page "https://r-forge.r-project.org/projects/car/")
5231 (synopsis "Data Sets for the book Companion to Applied Regression")
5233 "This package provides datasets to accompany J. Fox and S. Weisberg, An R
5234 Companion to Applied Regression, Third Edition, Sage.")
5235 (license license:gpl2+)))
5237 (define-public r-car
5244 (uri (cran-uri "car" version))
5246 (base32 "0yv5mwaa0ymrbis9590mx0zcj3w6j4drhs6ab13zhx4zc3x1b7b6"))))
5247 (build-system r-build-system)
5249 `(("r-abind" ,r-abind)
5250 ("r-cardata" ,r-cardata)
5252 ("r-maptools" ,r-maptools)
5257 ("r-pbkrtest" ,r-pbkrtest)
5258 ("r-quantreg" ,r-quantreg)
5260 (home-page "https://r-forge.r-project.org/projects/car/")
5261 (synopsis "Companion to applied regression")
5263 "This package provides functions and datasets from book Companion
5264 to Applied regression, Second Edition, Sage, 2011.")
5265 (license license:gpl2+)))
5267 (define-public r-rcppprogress
5269 (name "r-rcppprogress")
5274 (uri (cran-uri "RcppProgress" version))
5277 "0yk01hfv961zyp569682k9igvhnwqyg5j0n5fm63sxigj82l2xhi"))))
5278 (properties `((upstream-name . "RcppProgress")))
5279 (build-system r-build-system)
5281 `(("r-devtools" ,r-devtools)
5282 ("r-rcpp" ,r-rcpp)))
5283 (home-page "https://github.com/kforner/rcpp_progress")
5284 (synopsis "Interruptible progress bar for C++ in R packages")
5286 "This package allows to display a progress bar in the R console for long running
5287 computations taking place in C++ code, and support for interrupting those computations
5288 even in multithreaded code, typically using OpenMP.")
5289 (license license:gpl3+)))
5291 (define-public r-mnormt
5298 (uri (cran-uri "mnormt" version))
5301 "1b34xxrnf35khsx82mhvmk96sgfr2flyasaah7qkb2976pwxay7z"))))
5302 (build-system r-build-system)
5304 `(("gfortran" ,gfortran)))
5305 (home-page "http://azzalini.stat.unipd.it/SW/Pkg-mnormt")
5306 (synopsis "Multivariate normal and \"t\" distributions")
5308 "This package provides functions for computing the density and the
5309 distribution function of multivariate normal and \"t\" random variables, and
5310 for generating random vectors sampled from these distributions. Probabilities
5311 are computed via non-Monte Carlo methods.")
5312 (license license:gpl2+)))
5314 (define-public r-numderiv
5317 (version "2016.8-1.1")
5321 (uri (cran-uri "numDeriv" version))
5324 "0idk02pqkziik932bd8k72d1q775g1is3m4bc861pcxfz6gx3i6q"))))
5325 (properties `((upstream-name . "numDeriv")))
5326 (build-system r-build-system)
5327 (home-page "https://cran.r-project.org/web/packages/numDeriv")
5328 (synopsis "Accurate numerical derivatives")
5330 "This package provides methods for calculating accurate numerical
5331 first and second order derivatives.")
5332 (license license:gpl2)))
5341 (uri (cran-uri "sn" version))
5344 "0x46gxkplxbnhaqbpiav1r4xlv4ib7n57kxmca7scqwj22y7wrs6"))))
5345 (build-system r-build-system)
5347 `(("r-mnormt" ,r-mnormt)
5348 ("r-numderiv" ,r-numderiv)))
5349 (home-page "http://azzalini.stat.unipd.it/SN")
5350 (synopsis "The skew-normal and skew-t distributions")
5352 "This package provides functionalities to build and manipulate
5353 probability distributions of the skew-normal family and some related
5354 ones, notably the skew-t family, and provides related statistical
5355 methods for data fitting and diagnostics, in the univariate and the
5356 multivariate case.")
5357 (license license:gpl2+)))
5359 (define-public r-tclust
5366 (uri (cran-uri "tclust" version))
5369 "17md6l9v9dl9b72l84df01b52h2xiynbcjm437mv9mzcr09fc2sb"))))
5370 (build-system r-build-system)
5371 ;; These are all suggested packages, not build dependencies.
5373 `(("r-cluster" ,r-cluster)
5374 ("r-mclust" ,r-mclust)
5375 ("r-mvtnorm" ,r-mvtnorm)
5377 (home-page "https://cran.r-project.org/web/packages/tclust")
5378 (synopsis "Robust trimmed clustering")
5380 "This package implements different robust clustering
5381 algorithms (@code{tclust}) based on trimming and including some graphical
5382 diagnostic tools (@code{ctlcurves} and @code{DiscrFact}).")
5383 (license license:gpl3)))
5385 (define-public r-ranger
5392 (uri (cran-uri "ranger" version))
5395 "1vr5akgh388iivrxi0g4pl2npq9dc4cim3ljk4kjf637q058wc7w"))))
5396 (build-system r-build-system)
5398 `(("r-rcpp" ,r-rcpp)
5399 ("r-matrix" ,r-matrix)
5400 ("r-rcppeigen" ,r-rcppeigen)))
5401 (home-page "https://github.com/imbs-hl/ranger")
5402 (synopsis "Fast implementation of random forests")
5404 "This package provides a fast implementation of Random Forests,
5405 particularly suited for high dimensional data. Ensembles of classification,
5406 regression, survival and probability prediction trees are supported. Data from
5407 genome-wide association studies can be analyzed efficiently.")
5408 (license license:gpl3)))
5410 (define-public r-tsne
5417 (uri (cran-uri "tsne" version))
5420 "0s8cv2pndkddq62rzlgzgfdjp1vjv5hz5i5957sllnb97vbzbzb6"))))
5421 (build-system r-build-system)
5422 (home-page "https://github.com/jdonaldson/rtsne/")
5423 (synopsis "t-Distributed Stochastic Neighbor Embedding for R")
5425 "This package provides a pure R implementation of the t-SNE algorithm.")
5426 (license license:gpl2+)))
5428 (define-public r-cairo
5435 (uri (cran-uri "Cairo" version))
5438 "1mdmd5zmjkh1b0x928zizgzh42x8swbajffb88rvnjfdhk1z0dvq"))))
5439 (properties `((upstream-name . "Cairo")))
5440 (build-system r-build-system)
5446 `(("pkg-config" ,pkg-config)))
5447 (home-page "http://www.rforge.net/Cairo/")
5448 (synopsis "R graphics device using Cairo graphics library")
5450 "This package provides a Cairo graphics device that can be use to
5451 create high-quality vector (PDF, PostScript and SVG) and bitmap
5452 output (PNG,JPEG,TIFF), and high-quality rendering in displays (X11
5453 and Win32). Since it uses the same back-end for all output, copying
5454 across formats is WYSIWYG. Files are created without the dependence
5455 on X11 or other external programs. This device supports alpha
5456 channel (semi-transparent drawing) and resulting images can contain
5457 transparent and semi-transparent regions. It is ideal for use in
5458 server environments (file output) and as a replacement for other
5459 devices that don't have Cairo's capabilities such as alpha support or
5460 anti-aliasing. Backends are modular such that any subset of backends
5462 (license license:gpl2)))
5464 (define-public r-lubridate
5466 (name "r-lubridate")
5471 (uri (cran-uri "lubridate" version))
5474 "14a823il77w3wmmnzr89vwrqp50y56dh5raycnaw6c8nv5xsh32i"))))
5475 (build-system r-build-system)
5477 `(("r-rcpp" ,r-rcpp)
5478 ("r-stringr" ,r-stringr)))
5480 "https://cran.r-project.org/web/packages/lubridate")
5481 (synopsis "Make dealing with dates a little easier")
5483 "This package provides functions to work with date-times and time-spans:
5484 fast and user friendly parsing of date-time data, extraction and updating of
5485 components of a date-time (years, months, days, hours, minutes, and seconds),
5486 algebraic manipulation on date-time and time-span objects. The @code{lubridate}
5487 package has a consistent and memorable syntax that makes working with dates
5489 (license license:gpl2)))
5491 (define-public r-fdrtool
5498 (uri (cran-uri "fdrtool" version))
5501 "1h46frlk7d9f4qx0bg6p55nrm9wwwz2sv6d1nz7061wdfsm69yb5"))))
5502 (build-system r-build-system)
5503 (home-page "http://strimmerlab.org/software/fdrtool/")
5504 (synopsis "Estimation of false discovery rates and higher criticism")
5506 "This package provides tools to estimate tail area-based false discovery
5507 rates as well as local false discovery rates for a variety of null
5508 models (p-values, z-scores, correlation coefficients, t-scores). The
5509 proportion of null values and the parameters of the null distribution are
5510 adaptively estimated from the data. In addition, the package contains
5511 functions for non-parametric density estimation (Grenander estimator), for
5512 monotone regression (isotonic regression and antitonic regression with
5513 weights), for computing the @dfn{greatest convex minorant} (GCM) and the
5514 @dfn{least concave majorant} (LCM), for the half-normal and correlation
5515 distributions, and for computing empirical @dfn{higher criticism} (HC) scores
5516 and the corresponding decision threshold.")
5517 (license license:gpl3+)))
5519 (define-public r-forcats
5526 (uri (cran-uri "forcats" version))
5529 "1cnjh23z59fhbjmy7y95425hcq3m5wrwqvahsxwi7zm6d9bwp0vw"))))
5530 (build-system r-build-system)
5532 `(("r-ellipsis" ,r-ellipsis)
5533 ("r-magrittr" ,r-magrittr)
5534 ("r-tibble" ,r-tibble)
5535 ("r-rlang" ,r-rlang)))
5536 (home-page "http://forcats.tidyverse.org")
5537 (synopsis "Tools for working with factors")
5538 (description "This package provides helpers for reordering factor
5539 levels (including moving specified levels to front, ordering by first
5540 appearance, reversing, and randomly shuffling), and tools for modifying factor
5541 levels (including collapsing rare levels into other, \"anonymizing\", and
5542 manually \"recoding\").")
5543 (license license:gpl3)))
5545 (define-public r-tgstat
5546 (let ((changeset "4f8e60c03598f49aff6f5beeab40f2b995377e9f")
5550 (version (string-append "1.0.2-" revision "." (string-take changeset 7)))
5555 (url "https://bitbucket.org/tanaylab/tgstat")
5556 (changeset changeset)))
5557 (file-name (string-append name "-" version "-checkout"))
5560 "0ilkkyximy77zbncm91kdfqbxf0qyndg16pd3q3p6a3xc9qcmxvn"))))
5561 (build-system r-build-system)
5564 (modify-phases %standard-phases
5565 (add-after 'unpack 'fix-isnan
5567 (substitute* "src/tgstat.h"
5568 (("#define isnan ::isnan")
5569 "#define isnan std::isnan"))
5572 `(("r-rcpp" ,r-rcpp)))
5573 (home-page "https://bitbucket.org/tanaylab/tgstat/")
5574 (synopsis "Tanay's group statistical utilities")
5576 "The goal of tgstat is to provide fast and efficient statistical
5578 (license license:gpl2))))
5580 (define-public r-tgconfig
5581 (let ((changeset "1e02c7614713bd0866c46f0c679a058f8c6d627e")
5585 (version (string-append "0.0.0.9000-" revision "." (string-take changeset 7)))
5590 (url "https://bitbucket.org/tanaylab/tgconfig")
5591 (changeset changeset)))
5592 (file-name (string-append name "-" version "-checkout"))
5595 "0xy6c7s7mn1yx191154bwbv1bl424bnvc80syqpl1vdl28ba46rj"))))
5596 (build-system r-build-system)
5598 `(("r-yaml" ,r-yaml)))
5599 (home-page "https://bitbucket.org/tanaylab/tgconfig/")
5600 (synopsis "Infrastructure for managing package parameters")
5602 "The goal of tgconfig is to provide infrastructure for managing package
5604 (license license:gpl3))))
5606 (define-public r-directlabels
5608 (name "r-directlabels")
5609 (version "2018.05.22")
5613 (uri (cran-uri "directlabels" version))
5616 "0xcpc56ssb9430b0xcdhayk3qaak2qcakyss2pz14y5w2027hblv"))))
5617 (build-system r-build-system)
5619 `(("r-quadprog" ,r-quadprog)))
5620 (home-page "http://directlabels.r-forge.r-project.org/")
5621 (synopsis "Direct labels for multicolor plots")
5623 "This package provides an extensible framework for automatically placing
5624 direct labels onto multicolor plots. Label positions are described using
5625 positioning methods that can be re-used across several different plots. There
5626 are heuristics for examining @code{trellis} and @code{ggplot} objects and
5627 inferring an appropriate positioning method.")
5628 (license license:gpl3)))
5630 (define-public r-catterplots
5631 (let ((commit "ae17cd5e49ddda4ecfe0eba8a4c21df8c88e72c4")
5634 (name "r-catterplots")
5635 (version (git-version "0" revision commit))
5639 (url "https://github.com/Gibbsdavidl/CatterPlots.git")
5641 (file-name (git-file-name name version))
5644 "0qa8liylffpxgdg8xcgjar5dsvczqhn3akd4w35113hnyg1m4xyg"))))
5645 (build-system r-build-system)
5647 `(("r-png" ,r-png)))
5648 (home-page "https://github.com/Gibbsdavidl/CatterPlots")
5649 (synopsis "Scatter plots with cat shaped points")
5650 (description "Did you ever wish you could make scatter plots with cat
5651 shaped points? Now you can!")
5652 (license license:asl2.0))))
5654 (define-public r-colorout
5662 (url "https://github.com/jalvesaq/colorout.git")
5663 (commit (string-append "v" version))))
5664 (file-name (git-file-name name version))
5666 (base32 "1rsx69wjpa73c6x2hacvvvbzdzxn7wg06gizf97kasjdlb7azmp3"))))
5667 (build-system r-build-system)
5668 (home-page "https://github.com/jalvesaq/colorout")
5669 (synopsis "Colorize output in the R REPL")
5670 (description "@code{colorout} is an R package that colorizes R output when
5671 running in terminal emulator.
5673 R STDOUT is parsed and numbers, negative numbers, dates in the standard
5674 format, strings, and R constants are identified and wrapped by special ANSI
5675 scape codes that are interpreted by terminal emulators as commands to colorize
5676 the output. R STDERR is also parsed to identify the expressions warning and
5677 error and their translations to many languages. If these expressions are
5678 found, the output is colorized accordingly; otherwise, it is colorized as
5679 STDERROR (blue, by default).
5681 You can customize the colors according to your taste, guided by the color
5682 table made by the command @code{show256Colors()}. You can also set the colors
5683 to any arbitrary string. In this case, it is up to you to set valid values.")
5684 (license license:gpl3+)))
5686 (define-public python-rpy2
5687 ;; We need to take this changeset instead of the RELEASE_3_0_4 tag, because
5688 ;; it fixes a regression when using ggplot 3.2.0.
5689 (let ((changeset "19868a8")
5692 (name "python-rpy2")
5693 (version (git-version "3.0.4" revision changeset))
5698 (url "https://bitbucket.org/rpy2/rpy2")
5699 (changeset changeset)))
5700 (file-name (git-file-name name version))
5703 "1bb0wslcbj3wjvyk3jb9yyzdi6adfqh5vfgcvn22dyzxzbhcs8kk"))))
5704 (build-system python-build-system)
5706 '(#:modules ((ice-9 ftw)
5710 (guix build python-build-system))
5712 (modify-phases %standard-phases
5714 (lambda* (#:key outputs inputs #:allow-other-keys)
5715 (let ((cwd (getcwd)))
5717 (setenv "PYTHONPATH"
5718 (string-append cwd "/build/"
5719 (find (cut string-prefix? "lib" <>)
5720 (scandir (string-append cwd "/build")))
5722 (getenv "PYTHONPATH"))))
5723 (invoke "pytest" "-v" "rpy/tests/"))))))
5725 `(("python-cffi" ,python-cffi)
5726 ("python-six" ,python-six)
5727 ("python-jinja2" ,python-jinja2)
5728 ("python-numpy" ,python-numpy)
5729 ("python-pandas" ,python-pandas)
5730 ("python-pytz" ,python-pytz)
5731 ("python-ipython" ,python-ipython)
5732 ("python-tzlocal" ,python-tzlocal)))
5734 `(("readline" ,readline)
5737 ("r-minimal" ,r-minimal)
5738 ("r-survival" ,r-survival)
5739 ("r-ggplot2" ,r-ggplot2)
5740 ("r-rsqlite" ,r-rsqlite)
5741 ("r-dplyr" ,r-dplyr)
5742 ("r-dbplyr" ,r-dbplyr)
5743 ("python-numpy" ,python-numpy)))
5746 ("python-pytest" ,python-pytest)))
5747 (home-page "https://rpy2.bitbucket.io/")
5748 (synopsis "Python interface to the R language")
5749 (description "rpy2 is a redesign and rewrite of rpy. It is providing a
5750 low-level interface to R from Python, a proposed high-level interface,
5751 including wrappers to graphical libraries, as well as R-like structures and
5753 ;; Any of these licenses can be picked for the R interface. The whole
5754 ;; project is released under GPLv2+ according to the license declaration
5756 (license (list license:mpl2.0 license:gpl2+ license:lgpl2.1+)))))
5758 (define-public java-jdistlib
5760 (name "java-jdistlib")
5764 (uri (string-append "mirror://sourceforge/jdistlib/jdistlib-"
5765 version "-src.jar"))
5768 "1pkj8aahw9ydr1isbaqrkd05nvq98ik5jwwhf3yf3rky3z869v11"))))
5769 (build-system ant-build-system)
5771 `(#:jar-name "jdistlib.jar"
5773 #:tests? #f ; no dedicated test directory
5775 (modify-phases %standard-phases
5776 (add-after 'unpack 'fix-broken-encoding
5778 (with-fluids ((%default-port-encoding "ISO-8859-1"))
5779 (substitute* "src/jdistlib/Beta.java"
5780 (("Scheff.+-Tukey") "Scheffe-Tukey")))
5783 `(("java-jtransforms" ,java-jtransforms)))
5785 `(("java-junit" ,java-junit)))
5786 (home-page "http://jdistlib.sourceforge.net/")
5787 (synopsis "Java library of statistical distributions")
5788 (description "JDistlib is the Java Statistical Distribution Library, a
5789 Java package that provides routines for various statistical distributions.")
5790 ;; The files that were translated from R code are under GPLv2+; some files
5791 ;; are under the GPLv3, which is a mistake. The author confirmed in an
5792 ;; email that this whole project should be under GPLv2+.
5793 (license license:gpl2+)))
5795 (define-public emacs-ess
5801 (uri (string-append "https://github.com/emacs-ess/ESS/archive/v"
5805 "0cbilbsiwvcyf6d5y24mymp57m3ana5dkzab3knfs83w4a3a4c5c"))
5806 (file-name (string-append name "-" version ".tar.gz"))
5807 (modules '((guix build utils)))
5810 ;; Stop ESS from trying to bundle an external julia-mode.el.
5811 (substitute* "lisp/Makefile"
5812 (("^\tjulia-mode.elc\\\\\n") "")
5813 (("^dist: all julia-mode.el")
5815 ;; No need to build docs in so many formats. Also, skipping
5816 ;; pdf lets us not pull in texlive.
5817 (substitute* "doc/Makefile"
5818 (("all : info text html pdf")
5820 (("install: install-info install-other-docs")
5821 "install: install-info"))
5822 ;; Test fails upstream
5823 (substitute* "test/ess-r-tests.el"
5824 (("ert-deftest ess-r-namespaced-eval-no-srcref-in-errors ()")
5825 "ert-deftest ess-r-namespaced-eval-no-srcref-in-errors () :expected-result :failed"))
5827 (build-system gnu-build-system)
5829 (let ((base-directory "/share/emacs/site-lisp/guix.d/ess"))
5830 `(#:make-flags (list (string-append "PREFIX=" %output)
5831 (string-append "ETCDIR=" %output "/"
5832 ,base-directory "/etc")
5833 (string-append "LISPDIR=" %output "/"
5836 (modify-phases %standard-phases
5838 (add-before 'build 'more-shebang-patching
5839 (lambda* (#:key inputs #:allow-other-keys)
5840 (substitute* "Makeconf"
5841 (("SHELL = /bin/sh")
5842 (string-append "SHELL = " (which "sh"))))
5846 (invoke "make" "test")))))))
5848 `(("emacs" ,emacs-minimal)
5849 ("r-minimal" ,r-minimal)))
5852 ("texinfo" ,texinfo)))
5854 `(("emacs-julia-mode" ,emacs-julia-mode)))
5855 (home-page "https://ess.r-project.org/")
5856 (synopsis "Emacs mode for statistical analysis programs")
5857 (description "Emacs Speaks Statistics (ESS) is an add-on package for GNU
5858 Emacs. It is designed to support editing of scripts and interaction with
5859 various statistical analysis programs such as R, Julia, and JAGS.")
5860 (license license:gpl2+)))