1 ;;; GNU Guix --- Functional package management for GNU
2 ;;; Copyright © 2015, 2016, 2017, 2018, 2019, 2020 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, 2020 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 "13xaxwfbzj0bd6rn2n27z0n04lb93mcyq991w4vdbbg8v282jc49"))))
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)
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 "1jpdgj0lsi60q0mqbhfw809w8d66whix27y6wpdzll6775g3j3ll"))))
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 "1z6x2x1z12wnv0z4p74d91r5wfaq30sdz4ynwx0lncz1q45mhbh5"))))
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 "1dapkmh4jlb9sxfrpvapvlfhczl4s8p3r20bn47gcgdk1izmbjjl"))))
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 "1rqc3wy3lmy0wczsvsn8yszzsxhppfwg4iznb1j6ki2qawpdij7g"))))
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 "1z0rj5cm4ycw1y0gd5wwwg8c2298v90iybgqdqh17967jbi2125f"))))
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 "07zj3gpwncw89hbiwjb6ih9axv5zwdqnbgz9yw9xzws6nrpdcbmn"))))
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 "12xjkkkmflkz8s435by4r23b57cz7z67z84907f6qg99hn1yg0qb"))))
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 "1r9dkq0kxkps54gkmgcdngsd068p054va2vhnqhs5jmwp2vsvk0m"))))
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 "11sjjdn146w95s1vsfmmgdls082cbnm1slv98xvyjhsl2mpx4mga"))))
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 "1mkgxzf000zdgbbbvg2vf4md4l501n5lfksffq8vdg6pbgd6fgv3"))))
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 "1n0jrajpvc8hjkh9z4g8bwq63qy5vy5cgl2pzjardyih4ngcz3fq"))))
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 "0j21am605kqqzlwhm45kaj0m2irnmy2vz0j7kzi9f0qdzrv3q3ij"))))
1098 (build-system r-build-system)
1100 `(("r-digest" ,r-digest)
1102 ("r-gtable" ,r-gtable)
1103 ("r-isoband" ,r-isoband)
1106 ("r-tibble" ,r-tibble)
1107 ("r-rlang" ,r-rlang)
1108 ("r-scales" ,r-scales)
1109 ("r-svglite" ,r-svglite) ; Needed for 'ggsave'
1110 ("r-withr" ,r-withr)))
1111 (home-page "https://ggplot2.tidyverse.org")
1112 (synopsis "An implementation of the grammar of graphics")
1114 "Ggplot2 is an implementation of the grammar of graphics in R. It
1115 combines the advantages of both base and lattice graphics: conditioning and
1116 shared axes are handled automatically, and you can still build up a plot step
1117 by step from multiple data sources. It also implements a sophisticated
1118 multidimensional conditioning system and a consistent interface to map data to
1119 aesthetic attributes.")
1120 (license license:gpl2+)))
1122 (define-public r-ggdendro
1128 (uri (cran-uri "ggdendro" version))
1131 "1zzq1hxd0d1qa5hrzwfkdw6fzscpcafbwbpkrb62dm559y8awp0j"))))
1132 (build-system r-build-system)
1134 `(("r-ggplot2" ,r-ggplot2)
1136 ("r-knitr" ,r-knitr)))
1137 (home-page "https://github.com/andrie/ggdendro")
1138 (synopsis "Create Dendrograms and Tree Diagrams Using ggplot2")
1139 (description "This is a set of tools for dendrograms and tree plots using
1140 ggplot2. The ggplot2 philosophy is to clearly separate data from the
1141 presentation. Unfortunately the plot method for dendrograms plots directly
1142 to a plot device with out exposing the data. The ggdendro package resolves
1143 this by making available functions that extract the dendrogram plot data.
1144 The package provides implementations for tree, rpart, as well as diana and
1145 agnes cluster diagrams.")
1146 (license license:gpl2+)))
1148 (define-public r-gdtools
1155 (uri (cran-uri "gdtools" version))
1158 "08njzin0c6biw62j5w30r9j85vr1m2cg4hmv5d76nym860yrlqjf"))))
1159 (build-system r-build-system)
1161 `(("pkg-config" ,pkg-config)))
1164 ("freetype2" ,freetype)
1167 `(("r-rcpp" ,r-rcpp)
1168 ("r-systemfonts" ,r-systemfonts)))
1169 (home-page "https://cran.r-project.org/web/packages/gdtools")
1170 (synopsis "Utilities for graphical rendering")
1172 "The @code{gdtools} package provides functionalities to get font metrics
1173 and to generate base64 encoded string from raster matrix.")
1174 (license license:gpl3)))
1176 (define-public r-svglite
1183 (uri (cran-uri "svglite" version))
1186 "1zivykbi1pxdxhrkc1if1ihdn5p27j0nai2q0abca1dwry3wg2yl"))))
1187 (build-system r-build-system)
1190 ("r-gdtools" ,r-gdtools)
1191 ("r-rcpp" ,r-rcpp)))
1192 (home-page "https://github.com/hadley/svglite")
1193 (synopsis "SVG graphics device")
1195 "@code{svglite} is a graphics device that produces clean
1196 @dfn{SVG} (Scalable Vector Graphics) output, suitable for use on the web, or
1197 hand editing. Compared to the built-in @code{svg()}, @code{svglite} is
1198 considerably faster, produces smaller files, and leaves text as is.")
1199 (license license:gpl2+)))
1201 (define-public r-assertthat
1203 (name "r-assertthat")
1207 (uri (cran-uri "assertthat" version))
1210 "17wy5bdfzg73sg2clisg1k3zyn1adkj59x56m5nwia2k8z67zkw5"))))
1211 (build-system r-build-system)
1212 (home-page "https://github.com/hadley/assertthat")
1213 (synopsis "Easy pre and post assertions")
1215 "Assertthat is an extension to stopifnot() that makes it easy to declare
1216 the pre and post conditions that your code should satisfy, while also
1217 producing friendly error messages so that your users know what they've done
1219 (license license:gpl3+)))
1221 (define-public r-lazyeval
1227 (uri (cran-uri "lazyeval" version))
1230 "1m10i059csrcqkcn59a8wspn784alxsq3symzhn24mhhl894346n"))))
1231 (build-system r-build-system)
1232 (home-page "https://github.com/hadley/lazyeval")
1233 (synopsis "Lazy (non-standard) evaluation in R")
1235 "This package provides the tools necessary to do non-standard
1236 evaluation (NSE) in R.")
1237 (license license:gpl3+)))
1239 (define-public r-dbi
1245 (uri (cran-uri "DBI" version))
1248 "1r03j9rdcxb9bhxk40dkmy10ikz4yzsxhy3f9k9ix3x577xbfvd9"))))
1249 (build-system r-build-system)
1250 (home-page "https://github.com/rstats-db/DBI")
1251 (synopsis "R database interface")
1253 "The DBI package provides a database interface (DBI) definition for
1254 communication between R and relational database management systems. All
1255 classes in this package are virtual and need to be extended by the various
1256 R/DBMS implementations.")
1257 (license license:lgpl2.0+)))
1262 (version "1.72.0-3")
1265 (uri (cran-uri "BH" version))
1268 "1ay8vb6i730lipg8b8g3893vqglhw2kqpc29lwdrxdkb66iw33l8"))))
1269 (build-system r-build-system)
1270 (home-page "https://github.com/eddelbuettel/bh")
1271 (synopsis "R package providing subset of Boost headers")
1273 "This package aims to provide the most useful subset of Boost libraries
1274 for template use among CRAN packages.")
1275 (license license:boost1.0)))
1277 (define-public r-evaluate
1283 (uri (cran-uri "evaluate" version))
1286 "0a2y7j534gbgixkwj9r1z76l2vssw4g1hznzbpclc076wkdqpj58"))))
1287 (build-system r-build-system)
1288 (home-page "https://github.com/hadley/evaluate")
1289 (synopsis "Parsing and evaluation tools for R")
1291 "This package provides tools that allow you to recreate the parsing,
1292 evaluation and display of R code, with enough information that you can
1293 accurately recreate what happens at the command line. The tools can easily be
1294 adapted for other output formats, such as HTML or LaTeX.")
1295 (license license:gpl3+)))
1297 (define-public r-formatr
1303 (uri (cran-uri "formatR" version))
1306 "1nsxbrx31k3y6yql30qkrvdfyznlia2qfvwv95mfiy7m7wdn4rm3"))))
1307 (build-system r-build-system)
1308 (home-page "https://yihui.org/formatr/")
1309 (synopsis "Format R code automatically")
1311 "This package provides a function to format R source code. Spaces and
1312 indent will be added to the code automatically, and comments will be preserved
1313 under certain conditions, so that R code will be more human-readable and tidy.
1314 There is also a Shiny app as a user interface in this package.")
1315 (license license:gpl3+)))
1317 (define-public r-highr
1323 (uri (cran-uri "highr" version))
1326 "0my6idnhmmgs4q1vs40y2lh56yij2p59mpwvm53wjs2zk6x1zl2b"))))
1327 (build-system r-build-system)
1328 (home-page "https://github.com/yihui/highr")
1329 (synopsis "Syntax highlighting for R source code")
1331 "This package provides syntax highlighting for R source code. Currently
1332 it supports LaTeX and HTML output. Source code of other languages is
1333 supported via Andre Simon's highlight package.")
1334 (license license:gpl3+)))
1336 (define-public r-mime
1342 (uri (cran-uri "mime" version))
1345 "107sqarmyhxlch5nrg796i5z03p9mshskisiq2fm628ajk99gkrc"))))
1346 (build-system r-build-system)
1347 (home-page "https://github.com/yihui/mime")
1348 (synopsis "R package to map filenames to MIME types")
1350 "This package guesses the MIME type from a filename extension using the
1351 data derived from /etc/mime.types in UNIX-type systems.")
1352 (license license:gpl2)))
1354 (define-public r-markdown
1360 (uri (cran-uri "markdown" version))
1363 "06zwbrp14bri3470anadd7dvgmw06xf8df6v2pk64wx3f9sd934d"))))
1364 (build-system r-build-system)
1365 ;; Skip check phase because the tests require the r-knitr package to be
1366 ;; installed. This prevents installation failures. Knitr normally
1367 ;; shouldn't be available since r-markdown is a dependency of the r-knitr
1369 (arguments `(#:tests? #f))
1371 `(("r-mime" ,r-mime)
1372 ("r-xfun" ,r-xfun)))
1373 (home-page "https://github.com/rstudio/markdown")
1374 (synopsis "Markdown rendering for R")
1376 "This package provides R bindings to the Sundown Markdown rendering
1377 library (https://github.com/vmg/sundown). Markdown is a plain-text formatting
1378 syntax that can be converted to XHTML or other formats.")
1379 (license license:gpl2)))
1381 (define-public r-yaml
1387 (uri (cran-uri "yaml" version))
1390 "10r7g26x73am45niigm3k466030nymnr3v3fjljafzrr5aybf58i"))))
1391 (build-system r-build-system)
1392 (home-page "https://cran.r-project.org/web/packages/yaml/")
1393 (synopsis "Methods to convert R data to YAML and back")
1395 "This package implements the libyaml YAML 1.1 parser and
1396 emitter (http://pyyaml.org/wiki/LibYAML) for R.")
1397 (license license:bsd-3)))
1399 (define-public r-knitr
1405 (uri (cran-uri "knitr" version))
1408 "0ai382fmpz25qrhdgchs3vph2cdvyd73xyryg4jby5fp67d03vh5"))))
1409 (build-system r-build-system)
1411 `(("r-evaluate" ,r-evaluate)
1412 ("r-highr" ,r-highr)
1413 ("r-markdown" ,r-markdown)
1414 ("r-stringr" ,r-stringr)
1416 ("r-yaml" ,r-yaml)))
1417 (home-page "https://yihui.org/knitr/")
1418 (synopsis "General-purpose package for dynamic report generation in R")
1420 "This package provides a general-purpose tool for dynamic report
1421 generation in R using Literate Programming techniques.")
1422 ;; The code is released under any version of the GPL. As it is used by
1423 ;; r-markdown which is available under GPLv2 only, we have chosen GPLv2+
1425 (license license:gpl2+)))
1427 (define-public r-knitrbootstrap
1429 (name "r-knitrbootstrap")
1434 (uri (cran-uri "knitrBootstrap" version))
1437 "1aj60j7f0gcs120fdrnfbnb7vk7lfn1phil0mghg6a5zldz4cqs3"))))
1438 (properties `((upstream-name . "knitrBootstrap")))
1439 (build-system r-build-system)
1441 `(("r-knitr" ,r-knitr)
1442 ("r-rmarkdown" ,r-rmarkdown)
1443 ("r-markdown" ,r-markdown)))
1444 (home-page "https://github.com/jimhester/knitrBootstrap")
1445 (synopsis "Knitr bootstrap framework")
1447 "This package provides a framework to create Bootstrap 3 HTML reports
1448 from knitr Rmarkdown.")
1449 (license license:expat)))
1451 (define-public r-microbenchmark
1453 (name "r-microbenchmark")
1457 (uri (cran-uri "microbenchmark" version))
1460 "1xl4m4yl4h2zcjiz8wsa7f3sh55qg2xr3sgpvz18rlix6b3173r6"))))
1461 (build-system r-build-system)
1462 (home-page "https://cran.r-project.org/web/packages/microbenchmark/")
1463 (synopsis "Accurate timing functions for R")
1465 "This package provides infrastructure to accurately measure and compare
1466 the execution time of R expressions.")
1467 (license license:bsd-2)))
1469 (define-public r-pryr
1475 (uri (cran-uri "pryr" version))
1478 "06vj5xl9x37kbd3l5bw7sbgfdnp37spvrjrn976rxi04clqk966k"))))
1479 (build-system r-build-system)
1481 `(("r-stringr" ,r-stringr)
1482 ("r-codetools" ,r-codetools)))
1484 `(("r-rcpp" ,r-rcpp)))
1485 (home-page "https://github.com/hadley/pryr")
1486 (synopsis "Tools for computing on the R language")
1488 "This package provides useful tools to pry back the covers of R and
1489 understand the language at a deeper level.")
1490 (license license:gpl2)))
1492 (define-public r-memoise
1498 (uri (cran-uri "memoise" version))
1501 "034qfc2xlh30x1q2vya239w34a3ir3y2fwnx2agbgbi6592zjxmj"))))
1502 (build-system r-build-system)
1504 `(("r-digest" ,r-digest)))
1505 (home-page "https://github.com/hadley/memoise")
1506 (synopsis "Memoise functions for R")
1508 "This R package caches the results of a function so that when
1509 you call it again with the same arguments it returns the pre-computed value.")
1510 (license license:expat)))
1512 (define-public r-crayon
1518 (uri (cran-uri "crayon" version))
1521 "0s7s6vc3ww8pzanpjisym4jjvwcc5pi2qg8srx7jqlz9j3wrnvpw"))))
1522 (build-system r-build-system)
1524 `(("r-memoise" ,r-memoise)))
1525 (home-page "https://github.com/gaborcsardi/crayon")
1526 (synopsis "Colored terminal output for R")
1528 "Colored terminal output on terminals that support ANSI color and
1529 highlight codes. It also works in Emacs ESS. ANSI color support is
1530 automatically detected. Colors and highlighting can be combined and nested.
1531 New styles can also be created easily. This package was inspired by the
1532 \"chalk\" JavaScript project.")
1533 (license license:expat)))
1535 (define-public r-praise
1542 (uri (cran-uri "praise" version))
1545 "1gfyypnvmih97p2r0php9qa39grzqpsdbq5g0fdsbpq5zms5w0sw"))))
1546 (build-system r-build-system)
1547 (home-page "https://github.com/gaborcsardi/praise")
1548 (synopsis "Functions to praise users")
1550 "This package provides template functions to assist in building friendly
1551 R packages that praise their users.")
1552 (license license:expat)))
1554 (define-public r-testthat
1560 (uri (cran-uri "testthat" version))
1563 "0v70v2fs0f2ir962z9csbjlj8snrq9mbjfyhhb9dhz3zy26qs9hs"))))
1564 (build-system r-build-system)
1567 ("r-crayon" ,r-crayon)
1568 ("r-digest" ,r-digest)
1569 ("r-ellipsis" ,r-ellipsis)
1570 ("r-evaluate" ,r-evaluate)
1571 ("r-magrittr" ,r-magrittr)
1572 ("r-pkgload" ,r-pkgload)
1573 ("r-praise" ,r-praise)
1575 ("r-rlang" ,r-rlang)
1576 ("r-withr" ,r-withr)))
1577 (home-page "https://github.com/hadley/testthat")
1578 (synopsis "Unit testing for R")
1580 "This package provides a unit testing system for R designed to be fun,
1581 flexible and easy to set up.")
1582 (license license:expat)))
1590 (uri (cran-uri "R6" version))
1593 "0gma5z41mx02ka9h96xdyf3p6i1rx0izczrzj26c4mbnh9jgvc16"))))
1594 (build-system r-build-system)
1595 (home-page "https://github.com/wch/R6/")
1596 (synopsis "Classes with reference semantics in R")
1598 "The R6 package allows the creation of classes with reference semantics,
1599 similar to R's built-in reference classes. Compared to reference classes, R6
1600 classes are simpler and lighter-weight, and they are not built on S4 classes
1601 so they do not require the methods package. These classes allow public and
1602 private members, and they support inheritance, even when the classes are
1603 defined in different packages.")
1604 (license license:expat)))
1606 (define-public r-rlang
1612 (uri (cran-uri "rlang" version))
1615 "1a0h3dr519p3jj6aygbhwi9f2zwlan6d07f1gkh2db56y5vaq7yd"))))
1616 (build-system r-build-system)
1617 (home-page "http://rlang.tidyverse.org")
1618 (synopsis "Functions for base types, core R and Tidyverse features")
1619 (description "This package provides a toolbox for working with base types,
1620 core R features like the condition system, and core @code{Tidyverse} features
1621 like tidy evaluation.")
1622 (license license:gpl3)))
1624 (define-public r-tibble
1631 (uri (cran-uri "tibble" version))
1634 "0s84h8ls5qwixbs1n5safr3xqmg3p0llzdrd9sp4vs2572mwzqzi"))))
1635 (build-system r-build-system)
1638 ("r-crayon" ,r-crayon)
1639 ("r-ellipsis" ,r-ellipsis)
1640 ("r-fansi" ,r-fansi)
1641 ("r-lifecycle" ,r-lifecycle)
1642 ("r-magrittr" ,r-magrittr)
1643 ("r-pkgconfig" ,r-pkgconfig)
1644 ("r-pillar" ,r-pillar)
1645 ("r-rlang" ,r-rlang)
1646 ("r-vctrs" ,r-vctrs)))
1648 `(("r-knitr" ,r-knitr)))
1649 (home-page "https://github.com/hadley/tibble")
1650 (synopsis "Simple data frames")
1652 "This package provides a @code{tbl_df} class that offers better checking
1653 and printing capabilities than traditional data frames.")
1654 (license license:expat)))
1656 (define-public r-dplyr
1662 (uri (cran-uri "dplyr" version))
1665 "0602b4a9nffxx67q57csqp87nkrv33nn9wlaw1458yys9fzx6l2p"))))
1666 (build-system r-build-system)
1668 `(("r-assertthat" ,r-assertthat)
1670 ("r-ellipsis" ,r-ellipsis)
1672 ("r-magrittr" ,r-magrittr)
1673 ("r-pkgconfig" ,r-pkgconfig)
1674 ("r-plogr" ,r-plogr)
1677 ("r-rlang" ,r-rlang)
1678 ("r-tibble" ,r-tibble)
1679 ("r-tidyselect" ,r-tidyselect)))
1681 `(("r-knitr" ,r-knitr)))
1682 (home-page "https://github.com/hadley/dplyr")
1683 (synopsis "Tools for working with data frames in R")
1685 "dplyr is the next iteration of plyr. It is focussed on tools for
1686 working with data frames. It has three main goals: 1) identify the most
1687 important data manipulation tools needed for data analysis and make them easy
1688 to use in R; 2) provide fast performance for in-memory data by writing key
1689 pieces of code in C++; 3) use the same code interface to work with data no
1690 matter where it is stored, whether in a data frame, a data table or
1692 (license license:expat)))
1694 (define-public r-dbplyr
1701 (uri (cran-uri "dbplyr" version))
1704 "1q2dflr88s5a1amzfld3087q422vf70052qn84zyd8895kdg10xp"))))
1705 (build-system r-build-system)
1707 `(("r-assertthat" ,r-assertthat)
1709 ("r-dplyr" ,r-dplyr)
1711 ("r-purrr" ,r-purrr)
1713 ("r-rlang" ,r-rlang)
1714 ("r-tibble" ,r-tibble)
1715 ("r-tidyselect" ,r-tidyselect)))
1716 (home-page "https://github.com/tidyverse/dbplyr")
1717 (synopsis "Dplyr back end for databases")
1719 "This package provides a dplyr back end for databases that allows you to
1720 work with remote database tables as if they are in-memory data frames. Basic
1721 features works with any database that has a @code{DBI} back end; more advanced
1722 features require SQL translation to be provided by the package author.")
1723 (license license:expat)))
1725 (define-public r-acepack
1732 (uri (cran-uri "acepack" version))
1735 "1f98rpfjmhd92rdc3j004plyfpjailz6j0ycysbac0kgj83haxc2"))))
1736 (build-system r-build-system)
1738 `(("gfortran" ,gfortran)))
1739 (home-page "https://cran.r-project.org/web/packages/acepack")
1740 (synopsis "Functions for regression transformations")
1742 "This package provides ACE and AVAS methods for choosing regression
1744 (license license:expat)))
1746 (define-public r-formula
1753 (uri (cran-uri "Formula" version))
1756 "0wiqh8rr9d5ciy80wj8f5fnmiiw0ywanvvnhkwd622dx42dk848l"))))
1757 (properties `((upstream-name . "Formula")))
1758 (build-system r-build-system)
1759 (home-page "https://cran.r-project.org/web/packages/Formula")
1760 (synopsis "Extended model formulas")
1762 "This package provides a new class @code{Formula}, which extends the base
1763 class @code{formula}. It supports extended formulas with multiple parts of
1764 regressors on the right-hand side and/or multiple responses on the left-hand
1766 (license (list license:gpl2+ license:gpl3+))))
1768 (define-public r-locfit
1775 (uri (cran-uri "locfit" version))
1778 "1vcw16qww4v4547w0gfvhqg60l051bsdlxa6zfcgcj9xbxf6dlyr"))))
1779 (build-system r-build-system)
1781 `(("r-lattice" ,r-lattice)))
1782 (home-page "https://cran.r-project.org/web/packages/locfit")
1783 (synopsis "Local regression, likelihood and density estimation")
1785 "This package provides functions used for local regression, likelihood
1786 and density estimation.")
1787 (license (list license:gpl2+ license:gpl3+))))
1789 (define-public r-chron
1795 (uri (cran-uri "chron" version))
1798 "09gbs7c1ynlg0kl1m6nkbn75ysk16g13r17snnaws64qwywiywqg"))))
1799 (build-system r-build-system)
1800 (home-page "https://cran.r-project.org/web/packages/chron")
1801 (synopsis "Chronological R objects which can handle dates and times")
1803 "This package provides chronological R objects which can handle dates and
1805 (license license:gpl2)))
1807 (define-public r-data-table
1809 (name "r-data-table")
1813 (uri (cran-uri "data.table" version))
1816 "1p7rf4v3ysflpgcmy9krkwmcy7z22wb08xm443649waz6lx5z9yk"))))
1817 (build-system r-build-system)
1821 `(("pkg-config" ,pkg-config)))
1822 (home-page "https://github.com/Rdatatable/data.table/wiki")
1823 (synopsis "Enhanced version of data.frame R object")
1825 "The R package @code{data.table} is an extension of @code{data.frame}
1826 providing functions for fast aggregation of large data (e.g. 100GB in RAM),
1827 fast ordered joins, fast add/modify/delete of columns by group, column listing
1828 and fast file reading.")
1829 (license license:gpl3+)))
1831 (define-public r-xtable
1838 (uri (cran-uri "xtable" version))
1841 "077xfm0gphvhsay75amd9v90zk57kjgrrlgih04fyrbqqblc1gjs"))))
1842 (build-system r-build-system)
1844 `(("r-knitr" ,r-knitr))) ; for vignettes
1845 (home-page "http://xtable.r-forge.r-project.org/")
1846 (synopsis "Export R tables to LaTeX or HTML")
1848 "This package provides tools to export R data as LaTeX and HTML tables.")
1849 (license license:gpl2+)))
1851 (define-public python-patsy
1853 (name "python-patsy")
1857 (uri (pypi-uri "patsy" version))
1860 "149rbrdzwns0ay88caf1zsm1r53v1q5np1mrb36na50y432cw5gi"))))
1861 (build-system python-build-system)
1864 (modify-phases %standard-phases
1866 (lambda _ (invoke "nosetests" "-v"))))))
1868 `(("python-numpy" ,python-numpy)
1869 ("python-scipy" ,python-scipy)
1870 ("python-six" ,python-six)))
1872 `(("python-nose" ,python-nose)))
1873 (home-page "https://github.com/pydata/patsy")
1874 (synopsis "Describe statistical models and build design matrices")
1876 "Patsy is a Python package for describing statistical models and for
1877 building design matrices.")
1878 ;; The majority of the code is distributed under BSD-2. The module
1879 ;; patsy.compat contains code derived from the Python standard library,
1880 ;; and is covered by the PSFL.
1881 (license (list license:bsd-2 license:psfl))))
1883 (define-public python2-patsy
1884 (package-with-python2 python-patsy))
1886 (define-public python-statsmodels
1888 (name "python-statsmodels")
1893 (uri (pypi-uri "statsmodels" version))
1896 "1w6mf8b86vizi2895j11szqryr2v1ckjig3wp9fv94aslfh3zpjv"))))
1897 (build-system python-build-system)
1899 `(;; The test suite is very large and rather brittle. Tests often fail
1900 ;; because of minor changes in dependencies that upstream hasn't fixed
1901 ;; in a new release.
1904 (modify-phases %standard-phases
1905 (add-after 'unpack 'set-matplotlib-backend-to-agg
1907 ;; Set the matplotlib backend to Agg to avoid problems using the
1908 ;; GTK backend without a display.
1909 (substitute* (append (find-files "statsmodels/graphics/tests" "\\.py")
1910 '("statsmodels/tsa/vector_ar/tests/test_var.py"
1911 "statsmodels/duration/tests/test_survfunc.py"))
1912 (("import matplotlib\\.pyplot as plt" line)
1913 (string-append "import matplotlib;matplotlib.use('Agg');"
1917 `(("python-numpy" ,python-numpy)
1918 ("python-scipy" ,python-scipy)
1919 ("python-pandas" ,python-pandas)
1920 ("python-patsy" ,python-patsy)
1921 ("python-matplotlib" ,python-matplotlib)))
1923 `(("python-cython" ,python-cython)
1924 ("python-nose" ,python-nose)
1925 ("python-sphinx" ,python-sphinx)))
1926 (home-page "http://statsmodels.sourceforge.net/")
1927 (synopsis "Statistical modeling and econometrics in Python")
1929 "Statsmodels is a Python package that provides a complement to scipy for
1930 statistical computations including descriptive statistics and estimation and
1931 inference for statistical models.")
1932 (license license:bsd-3)))
1934 (define-public python2-statsmodels
1935 (let ((stats (package-with-python2 python-statsmodels)))
1936 (package (inherit stats)
1938 `(("python2-pytz" ,python2-pytz)
1939 ("python2-numpy" ,python2-numpy)
1940 ("python2-scipy" ,python2-scipy)
1941 ("python2-pandas" ,python2-pandas)
1942 ("python2-patsy" ,python2-patsy)
1943 ("python2-matplotlib" ,python2-matplotlib))))))
1945 (define-public r-coda
1951 (uri (cran-uri "coda" version))
1954 "1mn50bshky968gn4nf6vnkaa768fnvm1xmhkms7szwdw9341zpyk"))))
1955 (build-system r-build-system)
1957 `(("r-lattice" ,r-lattice)))
1958 (home-page "https://cran.r-project.org/web/packages/coda")
1959 (synopsis "This is a package for Output Analysis and Diagnostics for MCMC")
1960 (description "This package provides functions for summarizing and plotting
1961 the output from Markov Chain Monte Carlo (MCMC) simulations, as well as
1962 diagnostic tests of convergence to the equilibrium distribution of the Markov
1964 (license license:gpl2+)))
1966 (define-public r-ade4
1973 (uri (cran-uri "ade4" version))
1976 "1xpxznlqm8wb4d5z2dcrl0wi3jjciq2hr5rcx2b5aaipiiyzm1ij"))))
1977 (build-system r-build-system)
1979 `(("r-mass" ,r-mass)
1980 ("r-pixmap" ,r-pixmap)
1982 (home-page "http://pbil.univ-lyon1.fr/ADE-4")
1983 (synopsis "Multivariate data analysis and graphical display")
1985 "The ade4 package contains data analysis functions to analyze ecological
1986 and environmental data in the framework of Euclidean exploratory methods.")
1987 (license license:gpl2+)))
1989 (define-public r-xml2
1996 (uri (cran-uri "xml2" version))
1999 "0r7rxp922785dcryghbb3wxqgdav7mafwnmxjqfx8zaj3v1q2j3z"))))
2000 (build-system r-build-system)
2002 `(("libxml2" ,libxml2)
2005 `(("pkg-config" ,pkg-config)
2006 ("r-knitr" ,r-knitr)))
2007 (home-page "https://github.com/hadley/xml2")
2008 (synopsis "Parse XML with R")
2010 "This package provides a simple, consistent interface to working with XML
2011 files in R. It is built on top of the libxml2 C library.")
2012 (license license:gpl2+)))
2014 (define-public r-multitaper
2016 (name "r-multitaper")
2021 (uri (cran-uri "multitaper" version))
2024 "04wd9bbhyx7697pfy0fpj02v1csr48hkpqj62h9p8a6w84ji4k68"))))
2025 (build-system r-build-system)
2027 `(("gfortran" ,gfortran)))
2028 (home-page "https://github.com/wesleyburr/multitaper/")
2029 (synopsis "Multitaper spectral analysis tools")
2031 "This package implements multitaper spectral estimation
2032 techniques using prolate spheroidal sequences (Slepians) and sine
2033 tapers for time series analysis. It includes an adaptive weighted
2034 multitaper spectral estimate, a coherence estimate, Thomson's Harmonic
2035 F-test, and complex demodulation. The Slepians sequences are
2036 generated efficiently using a tridiagonal matrix solution, and
2037 jackknifed confidence intervals are available for most estimates.")
2038 (license license:gpl2+)))
2040 (define-public r-rversions
2042 (name "r-rversions")
2046 (uri (cran-uri "rversions" version))
2049 "1ic6sxnyya24d5xsxjg3fba73fhya9fhs0kaf66yha6nwxj1zv2i"))))
2050 (build-system r-build-system)
2052 `(("r-curl" ,r-curl)
2053 ("r-xml2" ,r-xml2)))
2054 (home-page "https://github.com/metacran/rversions")
2055 (synopsis "Query R versions, including 'r-release' and 'r-oldrel'")
2057 "This package provides functions to query the main R repository to find
2058 the versions that @code{r-release} and @code{r-oldrel} refer to, and also all
2059 previous R versions and their release dates.")
2060 (license license:expat)))
2062 (define-public r-whisker
2068 (uri (cran-uri "whisker" version))
2071 "1a7vz0dk95xfjvi38wbpw8vmf5qn3g8p490msz2rw0piwidmk1ks"))))
2072 (build-system r-build-system)
2073 (home-page "https://github.com/edwindj/whisker")
2074 (synopsis "Logicless mustache templating for R")
2076 "This package provides logicless templating, with a syntax that is not
2078 (license license:gpl3+)))
2080 (define-public r-backports
2082 (name "r-backports")
2087 (uri (cran-uri "backports" version))
2090 "170rphqq28j0pcr28g6dxv3isp436ajhyzkpri31pn0lfm3szs6h"))))
2091 (build-system r-build-system)
2092 (home-page "https://cran.r-project.org/web/packages/backports")
2093 (synopsis "Reimplementations of functions introduced since R 3.0.0")
2095 "Provides implementations of functions which have been introduced in R
2096 since version 3.0.0. The backports are conditionally exported which results
2097 in R resolving the function names to the version shipped with R (if available)
2098 and uses the implemented backports as fallback. This way package developers
2099 can make use of the new functions without worrying about the minimum required
2101 (license license:gpl2+)))
2103 (define-public r-checkmate
2105 (name "r-checkmate")
2110 (uri (cran-uri "checkmate" version))
2113 "193gkifr9spp0x0rwnjq1spdhjkfkh4mv27iklskcj604075phhd"))))
2114 (build-system r-build-system)
2116 `(("r-backports" ,r-backports)))
2117 (home-page "https://github.com/mllg/checkmate")
2118 (synopsis "Fast and versatile argument checks")
2120 "This package provides tests and assertions to perform frequent argument
2121 checks. A substantial part of the package was written in C to minimize any
2122 worries about execution time overhead.")
2123 (license license:bsd-3)))
2125 (define-public r-bbmisc
2132 (uri (cran-uri "BBmisc" version))
2135 "1lh1n4bvxzivb5rbz69mvd8xdgr3gr2bnqd68a39sd1530l8r90y"))))
2136 (properties `((upstream-name . "BBmisc")))
2137 (build-system r-build-system)
2139 `(("r-checkmate" ,r-checkmate)))
2140 (home-page "https://github.com/berndbischl/BBmisc")
2141 (synopsis "Miscellaneous functions for R package development")
2143 "This package provides miscellaneous helper functions for the development
2145 (license license:bsd-3)))
2147 (define-public r-fail
2154 (uri (cran-uri "fail" version))
2157 "0vfm6kmpmgsamda5p0sl771kbnsscan31l2chzssyw93kwmams7d"))))
2158 (build-system r-build-system)
2160 `(("r-bbmisc" ,r-bbmisc)
2161 ("r-checkmate" ,r-checkmate)))
2162 (home-page "https://github.com/mllg/fail")
2163 (synopsis "File abstraction interface layer (FAIL)")
2165 "This package provides a more comfortable interface to work with R data
2166 or source files in a key-value fashion.")
2167 (license license:bsd-3)))
2169 (define-public r-batchjobs
2171 (name "r-batchjobs")
2176 (uri (cran-uri "BatchJobs" version))
2179 "1zz4sspj596pijxlz321g0jy2rg9ki83j6fihbwisjwr66p2vk1m"))))
2180 (properties `((upstream-name . "BatchJobs")))
2181 (build-system r-build-system)
2183 `(("r-backports" ,r-backports)
2184 ("r-bbmisc" ,r-bbmisc)
2186 ("r-checkmate" ,r-checkmate)
2187 ("r-data-table" ,r-data-table)
2189 ("r-digest" ,r-digest)
2190 ("r-rsqlite" ,r-rsqlite)
2191 ("r-sendmailr" ,r-sendmailr)
2192 ("r-stringi" ,r-stringi)))
2193 (home-page "https://github.com/tudo-r/BatchJobs")
2194 (synopsis "Batch computing with R")
2196 "This package provides @code{Map}, @code{Reduce} and @code{Filter}
2197 variants to generate jobs on batch computing systems like PBS/Torque, LSF,
2198 SLURM and Sun Grid Engine. Multicore and SSH systems are also supported.")
2199 (license license:bsd-2)))
2201 (define-public r-brew
2207 (uri (cran-uri "brew" version))
2210 "1vghazbcha8gvkwwcdagjvzx6yl8zm7kgr0i9wxr4jng06d1l3fp"))))
2211 (build-system r-build-system)
2212 (home-page "https://cran.r-project.org/web/packages/brew")
2213 (synopsis "Templating framework for report generation")
2215 "The brew package implements a templating framework for mixing text and R
2216 code for report generation. The template syntax is similar to PHP, Ruby's erb
2217 module, Java Server Pages, and Python's psp module.")
2218 (license license:gpl2+)))
2220 (define-public r-desc
2227 (uri (cran-uri "desc" version))
2230 "1s6s13fk6sxwcj8wzkwxl9vr33153xx11p5wi9avqx3rzkabavz6"))))
2231 (build-system r-build-system)
2233 `(("r-assertthat" ,r-assertthat)
2234 ("r-crayon" ,r-crayon)
2236 ("r-rprojroot" ,r-rprojroot)))
2237 (home-page "https://github.com/r-pkgs/desc")
2238 (synopsis "Manipulate DESCRIPTION Files")
2240 "This package provides tools to read, write, create, and manipulate
2241 DESCRIPTION files. It is intended for packages that create or manipulate
2243 (license license:expat)))
2245 (define-public r-commonmark
2247 (name "r-commonmark")
2252 (uri (cran-uri "commonmark" version))
2255 "024iz1qp2kv6iz6y69ir0jk3qhjps86rhkzlcmhqsxx97rx7cjni"))))
2256 (build-system r-build-system)
2257 (home-page "https://cran.r-project.org/web/packages/commonmark")
2258 (synopsis "CommonMark and Github Markdown Rendering in R")
2260 "The CommonMark specification defines a rationalized version of markdown
2261 syntax. This package uses the @code{cmark} reference implementation for
2262 converting markdown text into various formats including HTML, LaTeX and groff
2263 man. In addition, it exposes the markdown parse tree in XML format. The latest
2264 version of this package also adds support for Github extensions including
2265 tables, autolinks and strikethrough text.")
2266 (license license:bsd-2)))
2268 (define-public r-roxygen2
2274 (uri (cran-uri "roxygen2" version))
2277 "00s1wzx5960k8pzgpz4kikjf4k061hyhnd278y65q6n0wzv3d6vy"))))
2278 (build-system r-build-system)
2280 `(("r-brew" ,r-brew)
2281 ("r-commonmark" ,r-commonmark)
2283 ("r-digest" ,r-digest)
2284 ("r-knitr" ,r-knitr)
2285 ("r-pkgload" ,r-pkgload)
2286 ("r-purrr" ,r-purrr)
2289 ("r-rlang" ,r-rlang)
2290 ("r-stringi" ,r-stringi)
2291 ("r-stringr" ,r-stringr)
2292 ("r-xml2" ,r-xml2)))
2293 (home-page "https://github.com/klutometis/roxygen")
2294 (synopsis "In-source documentation system for R")
2296 "Roxygen2 is a Doxygen-like in-source documentation system for Rd,
2297 collation, and NAMESPACE files.")
2298 (license license:gpl2+)))
2300 (define-public r-openssl
2307 (uri (cran-uri "openssl" version))
2310 "1ihz2qi33lhngl19xdanq0pbmfaacy63794mg8ll7z2lab3yryzp"))))
2311 (build-system r-build-system)
2313 `(("libressl" ,libressl)))
2315 `(("pkg-config" ,pkg-config)))
2317 `(("r-askpass" ,r-askpass)))
2318 (home-page "https://github.com/jeroenooms/openssl")
2319 (synopsis "Toolkit for encryption, signatures and certificates")
2321 "This package provides R bindings to OpenSSL libssl and libcrypto, plus
2322 custom SSH pubkey parsers. It supports RSA, DSA and NIST curves P-256, P-384
2323 and P-521. Cryptographic signatures can either be created and verified
2324 manually or via x509 certificates. AES block cipher is used in CBC mode for
2325 symmetric encryption; RSA for asymmetric (public key) encryption. High-level
2326 envelope functions combine RSA and AES for encrypting arbitrary sized data.
2327 Other utilities include key generators, hash functions (md5, sha1, sha256,
2328 etc), base64 encoder, a secure random number generator, and @code{bignum} math
2329 methods for manually performing crypto calculations on large multibyte
2331 (license license:expat)))
2333 (define-public r-httr
2339 (uri (cran-uri "httr" version))
2342 "0mp1il13q6n49n2hv1p2p8x6avjan6dr5az19ql4hb78pc3pwp37"))))
2343 (build-system r-build-system)
2345 `(("r-curl" ,r-curl)
2346 ("r-jsonlite" ,r-jsonlite)
2347 ("r-openssl" ,r-openssl)
2350 (home-page "https://github.com/hadley/httr")
2351 (synopsis "Tools for working with URLs and HTTP")
2353 "The aim of httr is to provide a wrapper for RCurl customised to the
2354 demands of modern web APIs. It provides useful tools for working with HTTP
2355 organised by HTTP verbs (@code{GET()}, @code{POST()}, etc). Configuration
2356 functions make it easy to control additional request components.")
2357 (license license:expat)))
2359 (define-public r-git2r
2365 (uri (cran-uri "git2r" version))
2368 "0dbl845sahv2i641ncaf06w06djravwc5wknp9syzx0ad8l0kmhk"))))
2369 (build-system r-build-system)
2371 `(("libgit2" ,libgit2)
2374 `(("pkg-config" ,pkg-config)))
2375 (home-page "https://github.com/ropensci/git2r")
2376 (synopsis "Access Git repositories with R")
2378 "This package provides an R interface to the libgit2 library, which is a
2379 pure C implementation of the Git core methods.")
2380 ;; GPLv2 only with linking exception.
2381 (license license:gpl2)))
2383 (define-public r-rstudioapi
2385 (name "r-rstudioapi")
2389 (uri (cran-uri "rstudioapi" version))
2392 "0srh0m4mw4k6s7spwb84l4cx4xnn04cp5cjxi0fwza7bwavpzq0k"))))
2393 (build-system r-build-system)
2394 (home-page "https://cran.r-project.org/web/packages/rstudioapi")
2395 (synopsis "Safely access the RStudio API")
2397 "This package provides functions to access the RStudio API and provide
2398 informative error messages when it's not available.")
2399 (license license:expat)))
2401 (define-public r-devtools
2407 (uri (cran-uri "devtools" version))
2410 "1l6w765q180bg5mmdq5k2ymf6apz7ldhnknzf6ynfp1kf70pbhsg"))))
2411 (build-system r-build-system)
2413 `(("r-callr" ,r-callr)
2416 ("r-crayon" ,r-crayon)
2418 ("r-digest" ,r-digest)
2420 ("r-ellipsis" ,r-ellipsis)
2422 ("r-git2r" ,r-git2r)
2424 ("r-jsonlite" ,r-jsonlite)
2425 ("r-memoise" ,r-memoise)
2426 ("r-pkgbuild" ,r-pkgbuild)
2427 ("r-pkgload" ,r-pkgload)
2428 ("r-rcmdcheck" ,r-rcmdcheck)
2429 ("r-remotes" ,r-remotes)
2430 ("r-rlang" ,r-rlang)
2431 ("r-roxygen2" ,r-roxygen2)
2432 ("r-rstudioapi" ,r-rstudioapi)
2433 ("r-rversions" ,r-rversions)
2434 ("r-sessioninfo" ,r-sessioninfo)
2435 ("r-testthat" ,r-testthat)
2436 ("r-usethis" ,r-usethis)
2437 ("r-withr" ,r-withr)))
2439 `(("r-knitr" ,r-knitr)))
2440 (home-page "https://github.com/hadley/devtools")
2441 (synopsis "Tools to make developing R packages easier")
2442 (description "The devtools package is a collection of package development
2443 tools to simplify the devolpment of R packages.")
2444 (license license:gpl2+)))
2446 (define-public r-withr
2452 (uri (cran-uri "withr" version))
2455 "11j6zykklxnvp4xqsr6a2xib665i38m3khdspp887nwagmvnydj1"))))
2456 (build-system r-build-system)
2457 (home-page "https://github.com/jimhester/withr")
2458 (synopsis "Run code with temporarily modified global state")
2460 "This package provides a set of functions to run R code in an environment
2461 in which global state has been temporarily modified. Many of these functions
2462 were originally a part of the r-devtools package.")
2463 (license license:gpl2+)))
2465 (define-public r-hms
2472 (uri (cran-uri "hms" version))
2475 "1baki0qw5ijgiflvsdvqj3apg4yanf12vx14kwbqdzk5rz46fasf"))))
2476 (build-system r-build-system)
2478 `(("r-rlang" ,r-rlang)
2479 ("r-pkgconfig" ,r-pkgconfig)
2480 ("r-vctrs" ,r-vctrs)))
2481 (home-page "https://github.com/rstats-db/hms")
2482 (synopsis "Pretty time of day")
2484 "This package implements an S3 class for storing and formatting
2485 time-of-day values, based on the @code{difftime} class.")
2486 (license license:gpl3+)))
2488 (define-public r-readr
2494 (uri (cran-uri "readr" version))
2497 "1wz496rw0ah433p755n3xac8gh7yzid4xgdjzd1a7wmpkgilvy9k"))))
2498 (build-system r-build-system)
2500 `(("r-clipr" ,r-clipr)
2501 ("r-crayon" ,r-crayon)
2504 ("r-tibble" ,r-tibble)
2507 (home-page "https://github.com/hadley/readr")
2508 (synopsis "Read tabular data")
2510 "This package provides functions to read flat or tabular text files from
2511 disk (or a connection).")
2512 (license license:gpl2+)))
2514 (define-public r-plotrix
2520 (uri (cran-uri "plotrix" version))
2523 "1x92mmyfry127zzr6cmcj6kjsc4zhxrrdlr0jcxn3bb0hpdfps54"))))
2524 (build-system r-build-system)
2525 (home-page "https://cran.r-project.org/web/packages/plotrix")
2526 (synopsis "Various plotting functions")
2528 "This package provides lots of plotting, various labeling, axis and color
2529 scaling functions for R.")
2530 (license license:gpl2+)))
2532 (define-public r-gridbase
2538 (uri (cran-uri "gridBase" version))
2541 "09jzw4rzwf2y5lcz7b16mb68pn0fqigv34ff7lr6w3yi9k91i1xy"))))
2542 (build-system r-build-system)
2543 (home-page "https://cran.r-project.org/web/packages/gridBase")
2544 (synopsis "Integration of base and grid graphics")
2546 "This package provides an integration of base and grid graphics for R.")
2547 (license license:gpl2+)))
2549 (define-public r-latticeextra
2551 (name "r-latticeextra")
2556 (uri (cran-uri "latticeExtra" version))
2559 "04fzwcqs594rk5qp98yilh3kdh3sw4xf8wld5rp94ggpaqfw7bbc"))))
2560 (properties `((upstream-name . "latticeExtra")))
2561 (build-system r-build-system)
2563 `(("r-jpeg" ,r-jpeg)
2564 ("r-lattice" ,r-lattice)
2566 ("r-rcolorbrewer" ,r-rcolorbrewer)))
2567 (home-page "http://latticeextra.r-forge.r-project.org/")
2568 (synopsis "Extra graphical utilities based on lattice")
2570 "Building on the infrastructure provided by the lattice package, this
2571 package provides several new high-level graphics functions and methods, as
2572 well as additional utilities such as panel and axis annotation functions.")
2573 (license license:gpl2+)))
2575 (define-public r-rcpparmadillo
2577 (name "r-rcpparmadillo")
2578 (version "0.9.860.2.0")
2581 (uri (cran-uri "RcppArmadillo" version))
2584 "1rg9ak0zbv8d9cyj10jq52nrcbk1pvfz28kbkhpx79mpjhrl7pb5"))))
2585 (properties `((upstream-name . "RcppArmadillo")))
2586 (build-system r-build-system)
2588 `(("r-rcpp" ,r-rcpp)))
2589 (home-page "https://github.com/RcppCore/RcppArmadillo")
2590 (synopsis "Rcpp integration for the Armadillo linear algebra library")
2592 "Armadillo is a templated C++ linear algebra library that aims towards a
2593 good balance between speed and ease of use. Integer, floating point and
2594 complex numbers are supported, as well as a subset of trigonometric and
2595 statistics functions. Various matrix decompositions are provided through
2596 optional integration with LAPACK and ATLAS libraries. This package includes
2597 the header files from the templated Armadillo library.")
2598 ;; Armadillo is licensed under the MPL 2.0, while RcppArmadillo (the Rcpp
2599 ;; bindings to Armadillo) is licensed under the GNU GPL version 2 or
2600 ;; later, as is the rest of 'Rcpp'.
2601 (license license:gpl2+)))
2603 (define-public r-bitops
2609 (uri (cran-uri "bitops" version))
2612 "176nr5wpnkavn5z0yy9f7d47l37ndnn2w3gv854xav8nnybi6wwv"))))
2613 (build-system r-build-system)
2614 (home-page "https://cran.r-project.org/web/packages/bitops")
2615 (synopsis "Bitwise operations")
2617 "This package provides functions for bitwise operations on integer
2619 (license license:gpl2+)))
2621 (define-public r-catools
2627 (uri (cran-uri "caTools" version))
2630 "0y1kgyiy322yhb0phzwvf2zgjz9awp13lhzhk9v1ddg88656jhq3"))))
2631 (properties `((upstream-name . "caTools")))
2632 (build-system r-build-system)
2634 `(("r-bitops" ,r-bitops)))
2635 (home-page "https://cran.r-project.org/web/packages/caTools")
2636 (synopsis "Various tools including functions for moving window statistics")
2638 "This package contains several basic utility functions including:
2639 moving (rolling, running) window statistic functions, read/write for GIF and
2640 ENVI binary files, fast calculation of AUC, LogitBoost classifier, base64
2641 encoder/decoder, round-off-error-free sum and cumsum, etc.")
2642 (license license:gpl3+)))
2644 (define-public r-rprojroot
2646 (name "r-rprojroot")
2651 (uri (cran-uri "rprojroot" version))
2654 "12r3fdxmi2pmwn6ic3rhg0b20ll5z420m0d8fziv1n21961namnz"))))
2655 (build-system r-build-system)
2657 `(("r-backports" ,r-backports)))
2658 (home-page "https://github.com/krlmlr/rprojroot")
2659 (synopsis "Finding files in project subdirectories")
2661 "This package helps accessing files relative to a project root. It
2662 provides helpers for robust, reliable and flexible paths to files below a
2663 project root. The root of a project is defined as a directory that matches a
2664 certain criterion, e.g., it contains a certain regular file.")
2665 (license license:gpl3)))
2667 (define-public r-rmarkdown
2669 (name "r-rmarkdown")
2674 (uri (cran-uri "rmarkdown" version))
2676 (base32 "0pa5xs0vzwn9vsgysjqbks9v5lbqphxh5agciskllibc40hhwigg"))))
2677 (properties `((upstream-name . "rmarkdown")))
2678 (build-system r-build-system)
2680 `(("r-base64enc" ,r-base64enc)
2681 ("r-evaluate" ,r-evaluate)
2682 ("r-htmltools" ,r-htmltools)
2683 ("r-jsonlite" ,r-jsonlite)
2684 ("r-knitr" ,r-knitr)
2686 ("r-stringr" ,r-stringr)
2687 ("r-tinytex" ,r-tinytex)
2690 ("ghc-pandoc" ,ghc-pandoc)))
2691 (home-page "https://rmarkdown.rstudio.com")
2692 (synopsis "Convert R Markdown documents into a variety of formats")
2694 "This package provides tools to convert R Markdown documents into a
2695 variety of formats.")
2696 (license license:gpl3+)))
2698 (define-public r-gtable
2704 (uri (cran-uri "gtable" version))
2707 "1lyncxf2dqdjgw1071cn9c8zwzkz6sldnd5cgmicf70bc726qf7x"))))
2708 (properties `((upstream-name . "gtable")))
2709 (build-system r-build-system)
2710 (home-page "https://cran.r-project.org/web/packages/gtable")
2711 (synopsis "R library to arrange grobs in tables")
2713 "Gtable is a collection of tools to make it easier to work with
2714 \"tables\" of grobs.")
2715 (license license:gpl2+)))
2717 (define-public r-gridextra
2719 (name "r-gridextra")
2723 (uri (cran-uri "gridExtra" version))
2726 "0fwfk3cdwxxim7nd55pn7m31bcaqj48y06j7an2k1v1pybk0rdl1"))))
2727 (properties `((upstream-name . "gridExtra")))
2728 (build-system r-build-system)
2730 `(("r-gtable" ,r-gtable)))
2732 `(("r-knitr" ,r-knitr))) ;for building vignettes
2733 (home-page "https://github.com/baptiste/gridextra")
2734 (synopsis "Miscellaneous functions for \"Grid\" graphics")
2736 "This package provides a number of user-level functions to work with
2737 @code{grid} graphics, notably to arrange multiple grid-based plots on a page,
2739 (license license:gpl2+)))
2741 (define-public r-pkgconfig
2743 (name "r-pkgconfig")
2747 (uri (cran-uri "pkgconfig" version))
2750 "0l1qph8zyi2sic3k2qcd7vlfl7rzfh1q7z7zvjkl5f7y1x2fy3rk"))))
2751 (build-system r-build-system)
2752 (home-page "https://github.com/gaborcsardi/pkgconfig")
2753 (synopsis "Private configuration for R packages")
2754 (description "This package provides the functionality to set configuration
2755 options on a per-package basis. Options set by a given package only apply to
2756 that package, other packages are unaffected.")
2757 (license license:expat)))
2759 (define-public r-blob
2765 (uri (cran-uri "blob" version))
2768 "1slb5mvxfyi92i8ifx2qa31hp57inilwhq1g9lzvgha6jrxbqm7g"))))
2769 (build-system r-build-system)
2771 `(("r-rlang" ,r-rlang)
2772 ("r-vctrs" ,r-vctrs)))
2773 (home-page "https://github.com/hadley/blob")
2774 (synopsis "Simple S3 Class for representing vectors of binary data")
2775 (description "Raw vectors in R are useful for storing a single binary
2776 object. What if you want to put a vector of them in a data frame? The blob
2777 package provides the blob object, a list of raw vectors, suitable for use as
2778 a column in data frame.")
2779 (license license:gpl3+)))
2781 (define-public r-rsqlite
2787 (uri (cran-uri "RSQLite" version))
2790 "1m38sj8rwbf3p2lhqabcp7c7djk7s9ng37cz39yxk706v9pi4380"))))
2791 (properties `((upstream-name . "RSQLite")))
2792 (build-system r-build-system)
2796 ("r-memoise" ,r-memoise)
2797 ("r-plogr" ,r-plogr)
2799 ("r-bit64" ,r-bit64)
2801 ("r-pkgconfig" ,r-pkgconfig)))
2802 (home-page "https://github.com/rstats-db/RSQLite")
2803 (synopsis "SQLite interface for R")
2805 "This package embeds the SQLite database engine in R and provides an
2806 interface compliant with the DBI package. The source for the SQLite
2807 engine (version 3.8.8.2) is included.")
2808 (license license:lgpl2.0+)))
2810 (define-public r-rcurl
2813 (version "1.95-0.1.2")
2816 (uri (string-append "https://www.bioconductor.org/packages/"
2817 "release/extra/src/"
2818 "contrib/RCurl_" version ".tar.gz"))
2821 "0l7qi45jxlf898n0jazabnam1yyczvqfdknd00bdirhhiplpd1sc"))))
2822 (properties `((upstream-name . "RCurl")))
2823 (build-system r-build-system)
2826 (modify-phases %standard-phases
2827 (add-after 'unpack 'respect-CURL_CA_BUNDLE
2829 (substitute* "R/options.S"
2830 (("\\.els = rev\\(merge\\(list\\(\\.\\.\\.\\), \\.opts\\)\\)" m)
2832 certs = Sys.getenv(\"CURL_CA_BUNDLE\")
2833 if (certs != \"\") { .opts = merge.list(.opts, list(cainfo=certs)) }
2837 `(("libcurl" ,curl)))
2839 `(("r-bitops" ,r-bitops)))
2840 (home-page "http://www.omegahat.org/RCurl")
2841 (synopsis "General network client interface for R")
2843 "The package allows one to compose general HTTP requests and provides
2844 convenient functions to fetch URIs, GET and POST forms, etc. and process the
2845 results returned by the Web server. This provides a great deal of control
2846 over the HTTP/FTP/... connection and the form of the request while providing a
2847 higher-level interface than is available just using R socket connections.
2848 Additionally, the underlying implementation is robust and extensive,
2849 supporting FTP/FTPS/TFTP (uploads and downloads), SSL/HTTPS, telnet, dict,
2850 ldap, and also supports cookies, redirects, authentication, etc.")
2851 (license license:bsd-3)))
2853 (define-public r-xml
2856 (version "3.99-0.3")
2859 (uri (cran-uri "XML" version))
2862 "0lzpqwajs5xaqdna50vl24qkp9xvh00zypjjzy6kgdzk11isgdw1"))))
2864 `((upstream-name . "XML")))
2865 (build-system r-build-system)
2867 `(("libxml2" ,libxml2)
2870 `(("pkg-config" ,pkg-config)))
2871 (home-page "http://www.omegahat.org/RSXML")
2872 (synopsis "Tools for parsing and generating XML within R")
2874 "Many approaches for both reading and creating XML (and HTML)
2875 documents (including DTDs), both local and accessible via HTTP or FTP. Also
2876 offers access to an XPath \"interpreter\".")
2877 (license license:bsd-2)))
2879 (define-public r-xnomial
2884 (origin (method url-fetch)
2885 (uri (cran-uri "XNomial" version))
2888 "1mwx302576rmsjllbq2clfxilm3hkyp5bw0wmwqbn0kgv5wpy8z6"))))
2889 (properties (quasiquote ((upstream-name . "XNomial"))))
2890 (build-system r-build-system)
2891 (home-page "https://cran.r-project.org/web/packages/XNomial")
2892 (synopsis "Goodness-of-Fit test for multinomial data")
2894 "This package provides an exact Goodness-of-Fit test for
2895 multinomial data with fixed probabilities. It can be used to
2896 determine whether a set of counts fits a given expected ratio. To see
2897 whether a set of observed counts fits an expectation, one can examine
2898 all possible outcomes with @code{xmulti()} or a random sample of them
2899 with @code{xmonte()} and find the probability of an observation
2900 deviating from the expectation by at least as much as the observed.
2901 As a measure of deviation from the expected, one can use the
2902 log-likelihood ratio, the multinomial probability, or the classic
2903 chi-square statistic. A histogram of the test statistic can also be
2904 plotted and compared with the asymptotic curve.")
2905 (license (list license:gpl2+ license:gpl3+))))
2907 (define-public r-lambda-r
2913 (uri (cran-uri "lambda.r" version))
2916 "1mh1g0gsd58gng0hb29vww2yqb2jfs07kba5kxnnqck5j3izwlnj"))))
2917 (properties `((upstream-name . "lambda.r")))
2918 (build-system r-build-system)
2920 `(("r-formatr" ,r-formatr)))
2921 (home-page "https://cran.r-project.org/web/packages/lambda.r")
2922 (synopsis "Functional programming extension for R")
2924 "This package provides a language extension to efficiently write
2925 functional programs in R. Syntax extensions include multi-part function
2926 definitions, pattern matching, guard statements, built-in (optional) type
2928 (license license:lgpl3+)))
2930 (define-public r-futile-options
2932 (name "r-futile-options")
2936 (uri (cran-uri "futile.options" version))
2939 "0w15agpi88y3qkv6fl72zy2pzyplzgvnj41a4ixhg64mw1sck73s"))))
2941 `((upstream-name . "futile.options")))
2942 (build-system r-build-system)
2943 (home-page "https://cran.r-project.org/web/packages/futile.options")
2944 (synopsis "Options management framework")
2946 "The futile.options subsystem provides an easy user-defined options
2947 management system that is properly scoped. This means that options created
2948 via @code{futile.options} are fully self-contained and will not collide with
2949 options defined in other packages.")
2950 (license license:lgpl3+)))
2952 (define-public r-futile-logger
2954 (name "r-futile-logger")
2958 (uri (cran-uri "futile.logger" version))
2961 "1r3nayk0z9n1svbf8640vw90dal5q07nkn0gv4bnva3pbzb352sy"))))
2962 (properties `((upstream-name . "futile.logger")))
2963 (build-system r-build-system)
2965 `(("r-futile-options" ,r-futile-options)
2966 ("r-lambda-r" ,r-lambda-r)))
2967 (home-page "https://cran.r-project.org/web/packages/futile.logger")
2968 (synopsis "Logging utility for R")
2970 "This package provides a simple yet powerful logging utility. Based
2971 loosely on log4j, futile.logger takes advantage of R idioms to make logging a
2972 convenient and easy to use replacement for @code{cat} and @code{print}
2974 (license license:lgpl3+)))
2976 (define-public r-segmented
2978 (name "r-segmented")
2983 (uri (cran-uri "segmented" version))
2986 "06cxdrqgnpk5fvbam5i7qa4n71wry0yvlj0jpwbxf267mvpx10fh"))))
2987 (build-system r-build-system)
2988 (home-page "https://cran.r-project.org/web/packages/segmented")
2989 (synopsis "Regression models with breakpoints estimation")
2991 "Given a regression model, segmented updates the model by adding one or
2992 more segmented (i.e., piecewise-linear) relationships. Several variables with
2993 multiple breakpoints are allowed.")
2994 (license (list license:gpl2+ license:gpl3+))))
2996 (define-public r-snow
3002 (uri (cran-uri "snow" version))
3005 "1n3n8pva9s34fvlw32yng0x416lmbv7q1fsd0ywa4kikmxym64l5"))))
3006 (build-system r-build-system)
3007 (home-page "https://cran.r-project.org/web/packages/snow")
3008 (synopsis "Support for simple parallel computing in R")
3010 "The snow package provides support for simple parallel computing on a
3011 network of workstations using R. A master R process calls @code{makeCluster}
3012 to start a cluster of worker processes; the master process then uses functions
3013 such as @code{clusterCall} and @code{clusterApply} to execute R code on the
3014 worker processes and collect and return the results on the master.")
3015 (license (list license:gpl2+ license:gpl3+))))
3017 (define-public r-sparsem
3023 (uri (cran-uri "SparseM" version))
3026 "0cmlm0lps3daalvp5jzjnjfys388hgkyc8yw0g5r2351h749xdyn"))))
3028 `((upstream-name . "SparseM")))
3030 `(("gfortran" ,gfortran)))
3031 (build-system r-build-system)
3032 (home-page "http://www.econ.uiuc.edu/~roger/research/sparse/sparse.html")
3033 (synopsis "Sparse linear algebra")
3035 "This package provides some basic linear algebra functionality for sparse
3036 matrices. It includes Cholesky decomposition and backsolving as well as
3037 standard R subsetting and Kronecker products.")
3038 (license license:gpl2+)))
3040 (define-public r-iterators
3042 (name "r-iterators")
3047 (uri (cran-uri "iterators" version))
3050 "0jwzxaa3jm1xzgfv5pn0xqkk7rhm0xwvgn85w7xaw8xx1vb33gwn"))))
3051 (build-system r-build-system)
3052 (home-page "https://cran.r-project.org/web/packages/iterators")
3053 (synopsis "Iterator construct for R")
3055 "This package provides support for iterators, which allow a programmer to
3056 traverse through all the elements of a vector, list, or other collection of
3058 (license license:asl2.0)))
3060 (define-public r-foreach
3067 (uri (cran-uri "foreach" version))
3070 "0584nv49x8d8m1cak5drb54sxs3y594gd521kjsdwk4c849sgy8s"))))
3071 (build-system r-build-system)
3073 `(("r-codetools" ,r-codetools)
3074 ("r-iterators" ,r-iterators)))
3076 `(("r-knitr" ,r-knitr)))
3077 (home-page "https://cran.r-project.org/web/packages/foreach")
3078 (synopsis "Foreach looping construct for R")
3080 "This package provides support for the @code{foreach} looping construct.
3081 @code{foreach} is an idiom that allows for iterating over elements in a
3082 collection, without the use of an explicit loop counter. This package in
3083 particular is intended to be used for its return value, rather than for its
3084 side effects. In that sense, it is similar to the standard @code{lapply}
3085 function, but doesn't require the evaluation of a function. Using
3086 @code{foreach} without side effects also facilitates executing the loop in
3088 (license license:asl2.0)))
3090 (define-public r-doparallel
3092 (name "r-doparallel")
3097 (uri (cran-uri "doParallel" version))
3100 "0vnqbha3gig3awbfvsfx3ni5jir398md1n7xmsb8jihnjsk7xbbi"))))
3101 (properties `((upstream-name . "doParallel")))
3102 (build-system r-build-system)
3104 `(("r-foreach" ,r-foreach)
3105 ("r-iterators" ,r-iterators)))
3106 (home-page "https://cran.r-project.org/web/packages/doParallel")
3107 (synopsis "Foreach parallel adaptor for the 'parallel' package")
3109 "This package provides a parallel backend for the @code{%dopar%} function
3110 using the parallel package.")
3111 (license license:gpl2+)))
3113 (define-public r-domc
3120 (uri (cran-uri "doMC" version))
3123 "1cn9gxavhvjswip8pwvkpi7q6wpzdllcsdjabga8akf55nggqxr9"))))
3124 (properties `((upstream-name . "doMC")))
3125 (build-system r-build-system)
3127 `(("r-foreach" ,r-foreach)
3128 ("r-iterators" ,r-iterators)))
3129 (home-page "https://cran.r-project.org/web/packages/doMC")
3130 (synopsis "Foreach parallel adaptor for the 'parallel' package")
3132 "This package provides a parallel backend for the @code{%dopar%} function
3133 using the multicore functionality of the parallel package.")
3134 (license license:gpl2+)))
3142 (uri (cran-uri "DT" version))
3145 "1db35mi4m4q3kha4vhvh693bv04y7h9pdawhsx8f234qjvz7783r"))))
3147 `((upstream-name . "DT")))
3148 (build-system r-build-system)
3150 `(("r-crosstalk" ,r-crosstalk)
3151 ("r-htmltools" ,r-htmltools)
3152 ("r-htmlwidgets" ,r-htmlwidgets)
3153 ("r-jsonlite" ,r-jsonlite)
3154 ("r-magrittr" ,r-magrittr)
3155 ("r-promises" ,r-promises)))
3157 `(("r-knitr" ,r-knitr)))
3158 (home-page "https://rstudio.github.io/DT")
3159 (synopsis "R wrapper of the DataTables JavaScript library")
3161 "This package allows for data objects in R to be rendered as HTML tables
3162 using the JavaScript library @code{DataTables} (typically via R Markdown or
3163 Shiny). The @code{DataTables} library has been included in this R package.")
3164 ;; The DT package as a whole is distributed under GPLv3. The DT package
3165 ;; inludes other software components under different licenses:
3167 ;; * Expat: jQuery, jquery.highlight.js, DataTables
3168 ;; * ASL2.0: selectize.js
3169 ;; * WTFPL: noUiSlider
3170 (license (list license:gpl3
3175 (define-public r-base64enc
3177 (name "r-base64enc")
3181 (uri (cran-uri "base64enc" version))
3184 "13b89fhg1nx7zds82a0biz847ixphg9byf5zl2cw9kab6s56v1bd"))))
3185 (build-system r-build-system)
3186 (home-page "https://www.rforge.net/base64enc")
3187 (synopsis "Tools for Base64 encoding")
3189 "This package provides tools for handling Base64 encoding. It is more
3190 flexible than the orphaned \"base64\" package.")
3191 (license license:gpl2+)))
3193 (define-public r-irlba
3200 (uri (cran-uri "irlba" version))
3203 "1h7mzrqdjc41814cf6c93sbyl7nxwvsf3x8apl9rhmydgdlk7qkf"))))
3204 (build-system r-build-system)
3206 `(("r-matrix" ,r-matrix)))
3207 (home-page "https://cran.r-project.org/web/packages/irlba")
3208 (synopsis "Methods for eigendecomposition of large matrices")
3210 "This package provides fast and memory efficient methods for truncated
3211 singular and eigenvalue decompositions, as well as for principal component
3212 analysis of large sparse or dense matrices.")
3213 (license (list license:gpl2+ license:gpl3+))))
3215 (define-public r-glmnet
3222 (uri (cran-uri "glmnet" version))
3224 (base32 "0b3nnfzp8dxcdkvxr0yvy6d58yk3xg4kz1wqa42bxqppbakmd2gl"))))
3225 (build-system r-build-system)
3227 `(("gfortran" ,gfortran)))
3229 `(("r-foreach" ,r-foreach)
3230 ("r-matrix" ,r-matrix)
3231 ("r-shape" ,r-shape)))
3232 (home-page "https://www.jstatsoft.org/article/view/v033i01")
3233 (synopsis "Lasso and elastic-net regularized generalized linear models")
3235 "The glmnet package provides efficient procedures for fitting the entire
3236 lasso or elastic-net regularization path for linear and Poisson regression, as
3237 well as logistic, multinomial, Cox, multiple-response Gaussian and grouped
3238 multinomial models. The algorithm uses cyclical coordinate descent in a
3239 path-wise fashion.")
3240 (license license:gpl2+)))
3242 (define-public r-pkgmaker
3249 (uri (cran-uri "pkgmaker" version))
3252 "0r0ga20dy25v9y5gjbds4y6kaa5a7qknh503qdkzllcpzbibh0hp"))))
3253 (build-system r-build-system)
3255 `(("r-assertthat" ,r-assertthat)
3256 ("r-bibtex" ,r-bibtex)
3257 ("r-codetools" ,r-codetools)
3258 ("r-digest" ,r-digest)
3259 ("r-magrittr" ,r-magrittr)
3260 ("r-registry" ,r-registry)
3261 ("r-stringi" ,r-stringi)
3262 ("r-stringr" ,r-stringr)
3263 ("r-withr" ,r-withr)
3264 ("r-xtable" ,r-xtable)))
3265 (home-page "https://renozao.github.io/pkgmaker")
3266 (synopsis "Package development utilities")
3268 "This package provides some low-level utilities to use for R package
3269 development. It currently provides managers for multiple package specific
3270 options and registries, vignette, unit test and bibtex related utilities.")
3271 (license license:gpl2+)))
3273 (define-public r-registry
3280 (uri (cran-uri "registry" version))
3283 "1k3j6dx350awamr0dwwgkhfs46vsnj4nf08iw5byq0x7n3nkdsnz"))))
3284 (build-system r-build-system)
3285 (home-page "https://cran.r-project.org/web/packages/registry")
3286 (synopsis "Infrastructure for R package registries")
3288 "This package provides a generic infrastructure for creating and using R
3289 package registries.")
3290 (license license:gpl2+)))
3292 (define-public r-rngtools
3299 (uri (cran-uri "rngtools" version))
3302 "0xgmg3qb6insc157as47mcm9sdjdpy9jirh7w06bxb7pfcxqfx42"))))
3303 (build-system r-build-system)
3305 `(("r-digest" ,r-digest)))
3306 (home-page "https://renozao.github.io/rngtools")
3307 (synopsis "Utility functions for working with random number generators")
3309 "This package contains a set of functions for working with Random Number
3310 Generators (RNGs). In particular, it defines a generic S4 framework for
3311 getting/setting the current RNG, or RNG data that are embedded into objects
3312 for reproducibility. Notably, convenient default methods greatly facilitate
3313 the way current RNG settings can be changed.")
3314 (license license:gpl3+)))
3316 (define-public r-rtsne
3323 (uri (cran-uri "Rtsne" version))
3326 "0v17vxizrs1msay24xl2bckfajr2c82wpqj07lyssbrq197nwdsn"))))
3327 (properties `((upstream-name . "Rtsne")))
3328 (build-system r-build-system)
3330 `(("r-rcpp" ,r-rcpp)))
3331 (home-page "https://github.com/jkrijthe/Rtsne")
3332 (synopsis "T-distributed stochastic neighbor embedding")
3334 "This package provides an R wrapper around the fast T-distributed
3335 Stochastic Neighbor Embedding using a Barnes-Hut implementation.")
3336 ;; The declared license for this package is BSD-3, but it also includes
3337 ;; code licensed under BSD-4.
3338 (license (list license:bsd-3 license:bsd-4))))
3340 (define-public r-e1071
3347 (uri (cran-uri "e1071" version))
3350 "0pf2pjb590z0jikgv1037xcp7dq06mg3dzmyffjw6gk7dd9blbdv"))))
3351 (build-system r-build-system)
3353 `(("r-class" ,r-class)))
3354 (home-page "https://cran.r-project.org/web/packages/e1071")
3355 (synopsis "Miscellaneous functions for probability theory")
3357 "This package provides functions for latent class analysis, short time
3358 Fourier transform, fuzzy clustering, support vector machines, shortest path
3359 computation, bagged clustering, naive Bayes classifier, and more.")
3360 (license license:gpl2+)))
3362 (define-public r-bigmemory-sri
3364 (name "r-bigmemory-sri")
3369 (uri (cran-uri "bigmemory.sri" version))
3371 (base32 "0mg14ilwdkd64q2ri9jdwnk7mp55dqim7xfifrs65sdsv1934h2m"))))
3373 `((upstream-name . "bigmemory.sri")))
3374 (build-system r-build-system)
3375 (home-page "https://cran.r-project.org/web/packages/bigmemory.sri")
3376 (synopsis "Shared resource interface for the bigmemory package")
3377 (description "This package provides a shared resource interface for the
3378 bigmemory and synchronicity packages.")
3379 ;; Users can choose either LGPLv3 or ASL2.0.
3380 (license (list license:lgpl3 license:asl2.0))))
3382 (define-public r-synchronicity
3384 (name "r-synchronicity")
3389 (uri (cran-uri "synchronicity" version))
3392 "1kgsk64aifjm3mfj102y3va7x1abypq2zi0cqbnjhl8fqyzp69hx"))))
3393 (build-system r-build-system)
3396 ("r-bigmemory-sri" ,r-bigmemory-sri)
3398 ("r-uuid" ,r-uuid)))
3399 (home-page "http://www.bigmemory.org")
3400 (synopsis "Boost mutex functionality in R")
3401 (description "This package provides support for synchronization
3402 via mutexes and may eventually support interprocess communication and
3404 ;; Users can choose either LGPLv3 or ASL2.0.
3405 (license (list license:lgpl3 license:asl2.0))))
3407 (define-public r-bigmemory
3409 (name "r-bigmemory")
3414 (uri (cran-uri "bigmemory" version))
3417 "03pg8mxdc7q0249visjmc8bc3xmwxsfg3i2n6higicj4cfz7zihq"))))
3418 (build-system r-build-system)
3422 ("r-bigmemory-sri" ,r-bigmemory-sri)))
3423 (home-page "http://www.bigmemory.org")
3424 (synopsis "Manage large matrices with shared memory or memory-mapped files")
3425 (description "This package provides methods to create, store, access, and
3426 manipulate large matrices. Matrices are allocated to shared memory and may use
3427 memory-mapped files.")
3428 ;; Users can choose either LGPLv3 or ASL2.0.
3429 (license (list license:lgpl3 license:asl2.0))))
3431 (define-public r-r-methodss3
3433 (name "r-r-methodss3")
3437 (uri (cran-uri "R.methodsS3" version))
3440 "19c5870v7b59fs6xk58bh3rfkmhfralmgsax86zzpdmz47pga1g0"))))
3441 (properties `((upstream-name . "R.methodsS3")))
3442 (build-system r-build-system)
3443 (home-page "https://cran.r-project.org/web/packages/R.methodsS3")
3444 (synopsis "S3 methods simplified")
3446 "This package provides methods that simplify the setup of S3 generic
3447 functions and S3 methods. Major effort has been made in making definition of
3448 methods as simple as possible with a minimum of maintenance for package
3449 developers. For example, generic functions are created automatically, if
3450 missing, and naming conflict are automatically solved, if possible. The
3451 method @code{setMethodS3()} is a good start for those who in the future may
3452 want to migrate to S4.")
3453 (license license:lgpl2.1+)))
3455 (define-public r-r-oo
3461 (uri (cran-uri "R.oo" version))
3464 "189fb7mmyzwg6nn8rza8iip7fbyws7i2vkmzy672x9mhvgilq4pm"))))
3465 (properties `((upstream-name . "R.oo")))
3466 (build-system r-build-system)
3468 `(("r-r-methodss3" ,r-r-methodss3)))
3469 (home-page "https://github.com/HenrikBengtsson/R.oo")
3470 (synopsis "R object-oriented programming with or without references")
3472 "This package provides methods and classes for object-oriented
3473 programming in R with or without references. Large effort has been made on
3474 making definition of methods as simple as possible with a minimum of
3475 maintenance for package developers.")
3476 (license license:lgpl2.1+)))
3478 (define-public r-r-utils
3484 (uri (cran-uri "R.utils" version))
3487 "1krj1ny7y43lpm2q8c7swxfdc3ngy2j8knzv71f8bfsgh673nsxc"))))
3488 (properties `((upstream-name . "R.utils")))
3489 (build-system r-build-system)
3491 `(("r-r-methodss3" ,r-r-methodss3)
3492 ("r-r-oo" ,r-r-oo)))
3493 (home-page "https://github.com/HenrikBengtsson/R.utils")
3494 (synopsis "Various programming utilities")
3496 "This package provides utility functions useful when programming and
3497 developing R packages.")
3498 (license license:lgpl2.1+)))
3500 (define-public r-r-cache
3506 (uri (cran-uri "R.cache" version))
3509 "1n8n5ihkryrbxv630dwhz4r048nyv676qd3i9f5z5fa04hvlxbqq"))))
3510 (properties `((upstream-name . "R.cache")))
3511 (build-system r-build-system)
3513 `(("r-digest" ,r-digest)
3514 ("r-r-methodss3" ,r-r-methodss3)
3516 ("r-r-utils" ,r-r-utils)))
3517 (home-page "https://github.com/HenrikBengtsson/R.cache")
3518 (synopsis "Light-weight caching of objects and results")
3520 "This package provides methods for caching or memoization of objects and
3521 results. With this package, any R object can be cached in a key-value storage
3522 where the key can be an arbitrary set of R objects. The cache memory is
3523 persistent (on the file system).")
3524 (license license:lgpl2.1+)))
3526 (define-public r-r-rsp
3532 (uri (cran-uri "R.rsp" version))
3535 "128zqyvbq9hm9gy86jzhj609lkfw57vr24mdxgh46ncmx66ag4gj"))))
3536 (properties `((upstream-name . "R.rsp")))
3537 (build-system r-build-system)
3539 `(("r-digest" ,r-digest)
3540 ("r-r-cache" ,r-r-cache)
3541 ("r-r-methodss3" ,r-r-methodss3)
3543 ("r-r-utils" ,r-r-utils)))
3544 (home-page "https://github.com/HenrikBengtsson/R.rsp")
3545 (synopsis "Dynamic generation of scientific reports")
3547 "The RSP markup language provides a powerful markup for controlling the
3548 content and output of LaTeX, HTML, Markdown, AsciiDoc, Sweave and knitr
3549 documents (and more), e.g. @code{Today's date is <%=Sys.Date()%>}. Contrary
3550 to many other literate programming languages, with RSP it is straightforward
3551 to loop over mixtures of code and text sections, e.g. in month-by-month
3552 summaries. RSP has also several preprocessing directives for incorporating
3553 static and dynamic contents of external files (local or online) among other
3554 things. RSP is ideal for self-contained scientific reports and R package
3556 (license license:lgpl2.1+)))
3558 (define-public r-mvtnorm
3564 (uri (cran-uri "mvtnorm" version))
3567 "0pfb6qk4yb6xaya8i1wvx6dnc3jj4s2g94sq2kzv4p8zn4pf24l1"))))
3568 (build-system r-build-system)
3570 `(("gfortran" ,gfortran)))
3571 (home-page "http://mvtnorm.R-forge.R-project.org")
3572 (synopsis "Package for multivariate normal and t-distributions")
3573 (description "This package can compute multivariate normal and
3574 t-probabilities, quantiles, random deviates and densities.")
3575 (license license:gpl2)))
3577 (define-public r-matrixstats
3579 (name "r-matrixstats")
3583 (uri (cran-uri "matrixStats" version))
3586 "09qgfv9x32x6ncgf19iy7yjp26fwy6p5wm8spc2xzfc0qhylmqrr"))))
3587 (properties `((upstream-name . "matrixStats")))
3588 (build-system r-build-system)
3590 `(("r-r-rsp" ,r-r-rsp))) ;used to build vignettes
3591 (home-page "https://github.com/HenrikBengtsson/matrixStats")
3592 (synopsis "Methods applying to vectors and matrix rows and columns")
3594 "This package provides methods operating on rows and columns of matrices,
3595 e.g. @code{rowMedians()}, @code{rowRanks()}, and @code{rowSds()}. There are
3596 also some vector-based methods, e.g. @code{binMeans()}, @code{madDiff()} and
3597 @code{weightedMedians()}. All methods have been optimized for speed and
3599 (license license:artistic2.0)))
3601 (define-public r-viridis
3607 (uri (cran-uri "viridis" version))
3610 "060rf1jn29dq53y3nhb0hykvcap6rqsk04rq544ypiiqb18ngwnx"))))
3611 (build-system r-build-system)
3613 `(("r-ggplot2" ,r-ggplot2)
3614 ("r-gridextra" ,r-gridextra)
3615 ("r-viridislite" ,r-viridislite)))
3617 `(("r-knitr" ,r-knitr))) ; for vignettes
3618 (home-page "https://github.com/sjmgarnier/viridis")
3619 (synopsis "Matplotlib default color map")
3621 "This package is a port of the new @url{matplotlib,
3622 http://matplotlib.org/} color maps (@code{viridis}--the default--,
3623 @code{magma}, @code{plasma}, and @code{inferno}) to R. These color maps are
3624 designed in such a way that they will analytically be perfectly
3625 perceptually-uniform, both in regular form and also when converted to
3626 black-and-white. They are also designed to be perceived by readers with the
3627 most common form of color blindness.")
3628 (license license:x11)))
3630 (define-public r-viridislite
3632 (name "r-viridislite")
3637 (uri (cran-uri "viridisLite" version))
3640 "1by2l05f0yabwvv64lhnv7bbhx0w683s3wr9j2xda920ghpa23kq"))))
3641 (properties `((upstream-name . "viridisLite")))
3642 (build-system r-build-system)
3643 (home-page "https://github.com/sjmgarnier/viridisLite")
3644 (synopsis "Default color maps from matplotlib")
3646 "This package is a port of the new @code{matplotlib} color maps
3647 (@code{viridis}, @code{magma}, @code{plasma} and @code{inferno}) to R.
3648 matplotlib is a popular plotting library for Python. These color maps are
3649 designed in such a way that they will analytically be perfectly
3650 perceptually-uniform, both in regular form and also when converted to
3651 black-and-white. They are also designed to be perceived by readers with the
3652 most common form of color blindness. This is the @code{lite} version of the
3653 more complete @code{viridis} package.")
3654 (license license:expat)))
3656 (define-public r-tidyselect
3658 (name "r-tidyselect")
3663 (uri (cran-uri "tidyselect" version))
3666 "1bwwsljkg1bxh7xnqxv7n0n1s9y8x407i6lsv826vy1ss1k1fxpy"))))
3667 (build-system r-build-system)
3669 `(("r-ellipsis" ,r-ellipsis)
3671 ("r-purrr" ,r-purrr)
3672 ("r-rlang" ,r-rlang)
3673 ("r-vctrs" ,r-vctrs)))
3674 (home-page "https://cran.r-project.org/web/packages/tidyselect")
3675 (synopsis "Select from a set of strings")
3677 "This package provides a backend for the selecting functions of the
3678 tidyverse. It makes it easy to implement select-like functions in your own
3679 packages in a way that is consistent with other tidyverse interfaces for
3681 (license license:gpl3)))
3683 (define-public r-tidyr
3690 (uri (cran-uri "tidyr" version))
3693 "0safj8bcf8libwr0jx4059bmarngvhfddrcv8k5iw39m9lpxs0r4"))))
3694 (build-system r-build-system)
3696 `(("r-dplyr" ,r-dplyr)
3697 ("r-ellipsis" ,r-ellipsis)
3698 ("r-magrittr" ,r-magrittr)
3700 ("r-lifecycle" ,r-lifecycle)
3701 ("r-purrr" ,r-purrr)
3702 ("r-rlang" ,r-rlang)
3703 ("r-tidyselect" ,r-tidyselect)
3705 ("r-stringi" ,r-stringi)
3706 ("r-tibble" ,r-tibble)
3707 ("r-vctrs" ,r-vctrs)))
3708 (home-page "https://github.com/hadley/tidyr")
3709 (synopsis "Tidy data with `spread()` and `gather()` functions")
3711 "tidyr is a reframing of the reshape2 package designed to accompany the
3712 tidy data framework, and to work hand-in-hand with magrittr and dplyr to build
3713 a solid pipeline for data analysis. It is designed specifically for tidying
3714 data, not the general reshaping that reshape2 does, or the general aggregation
3715 that reshape did. In particular, built-in methods only work for data frames,
3716 and tidyr provides no margins or aggregation.")
3717 (license license:expat)))
3719 (define-public r-hexbin
3726 (uri (cran-uri "hexbin" version))
3729 "1ry6jm3lqz3mj0s5rzbs6mpkz2hxpnvbw8c1vwc4pj7b173r5l22"))))
3730 (build-system r-build-system)
3732 `(("r-lattice" ,r-lattice)))
3734 `(("gfortran" ,gfortran)
3735 ("r-knitr" ,r-knitr))) ; for vignettes
3736 (home-page "https://github.com/edzer/hexbin")
3737 (synopsis "Hexagonal binning routines")
3739 "This package provides binning and plotting functions for hexagonal bins.
3740 It uses and relies on grid graphics and formal (S4) classes and methods.")
3741 (license license:gpl2+)))
3743 (define-public r-purrr
3750 (uri (cran-uri "purrr" version))
3753 "17lyys7dxjrwsfkq7a7hw65iy3qn3pp1sn70srdy64jf8adahc8g"))))
3754 (build-system r-build-system)
3756 `(("r-magrittr" ,r-magrittr)
3757 ("r-rlang" ,r-rlang)))
3758 (home-page "https://github.com/hadley/purrr")
3759 (synopsis "Functional programming tools")
3761 "This package completes R's functional programming tools with missing
3762 features present in other programming languages.")
3763 (license license:gpl3+)))
3765 (define-public r-plotly
3771 (uri (cran-uri "plotly" version))
3774 "1f0x83a2s7200iqi6gpngijks06fcvcbm6701d5r5rxpb8rawppl"))))
3775 (build-system r-build-system)
3777 `(("r-base64enc" ,r-base64enc)
3778 ("r-crosstalk" ,r-crosstalk)
3779 ("r-digest" ,r-digest)
3780 ("r-data-table" ,r-data-table)
3781 ("r-dplyr" ,r-dplyr)
3782 ("r-ggplot2" ,r-ggplot2)
3783 ("r-hexbin" ,r-hexbin)
3784 ("r-htmltools" ,r-htmltools)
3785 ("r-htmlwidgets" ,r-htmlwidgets)
3787 ("r-jsonlite" ,r-jsonlite)
3788 ("r-lazyeval" ,r-lazyeval)
3789 ("r-magrittr" ,r-magrittr)
3790 ("r-promises" ,r-promises)
3791 ("r-purrr" ,r-purrr)
3792 ("r-rcolorbrewer" ,r-rcolorbrewer)
3793 ("r-rlang" ,r-rlang)
3794 ("r-scales" ,r-scales)
3795 ("r-tibble" ,r-tibble)
3796 ("r-tidyr" ,r-tidyr)
3797 ("r-viridislite" ,r-viridislite)))
3798 (home-page "https://plot.ly/r")
3799 (synopsis "Create interactive web graphics")
3801 "This package enables the translation of ggplot2 graphs to an interactive
3802 web-based version and/or the creation of custom web-based visualizations
3803 directly from R. Once uploaded to a plotly account, plotly graphs (and the
3804 data behind them) can be viewed and modified in a web browser.")
3805 (license license:x11)))
3807 (define-public r-biased-urn
3809 (name "r-biased-urn")
3814 (uri (cran-uri "BiasedUrn" version))
3817 "13i2lgfnjhlbbm2yxfc2l5hswqw6x03pwba5csjmirv8kpjw4xr3"))))
3818 (properties `((upstream-name . "BiasedUrn")))
3819 (build-system r-build-system)
3820 (home-page "http://www.agner.org/random/")
3821 (synopsis "Biased urn model distributions")
3823 "This package provides statistical models of biased sampling in the form
3824 of univariate and multivariate noncentral hypergeometric distributions,
3825 including Wallenius' noncentral hypergeometric distribution and Fisher's
3826 noncentral hypergeometric distribution (also called extended hypergeometric
3828 (license license:gpl3+)))
3830 (define-public r-rematch
3837 (uri (cran-uri "rematch" version))
3840 "0y3mshvpvz9csmq8hk8jbabx4nxlv5sckvfzvm6920ndg34xw2d4"))))
3841 (build-system r-build-system)
3842 (home-page "https://github.com/MangoTheCat/rematch")
3843 (synopsis "Match regular expressions with a nicer API")
3845 "This package provides a small wrapper on @code{regexpr} to extract the
3846 matches and captured groups from the match of a regular expression to a
3848 (license license:expat)))
3850 (define-public r-cellranger
3852 (name "r-cellranger")
3857 (uri (cran-uri "cellranger" version))
3860 "16fgi3annn34c3cxi0pxf62mmmmxi21hp0zzlv7bkfsjqy4g4f2x"))))
3861 (build-system r-build-system)
3863 `(("r-rematch" ,r-rematch)
3864 ("r-tibble" ,r-tibble)))
3865 (home-page "https://github.com/rsheets/cellranger")
3866 (synopsis "Translate spreadsheet cell ranges to rows and columns")
3868 "This package provides helper functions to work with spreadsheets and the
3869 @code{A1:D10} style of cell range specification.")
3870 (license license:expat)))
3872 (define-public r-googlesheets
3874 (name "r-googlesheets")
3879 (uri (cran-uri "googlesheets" version))
3882 "11q07nxys72wkxx9mawmjyf20gvwvrb7h3gpa73h6lgh2vgrwnv8"))))
3883 (build-system r-build-system)
3885 `(("r-cellranger" ,r-cellranger)
3886 ("r-dplyr" ,r-dplyr)
3888 ("r-jsonlite" ,r-jsonlite)
3889 ("r-purrr" ,r-purrr)
3890 ("r-readr" ,r-readr)
3891 ("r-stringr" ,r-stringr)
3892 ("r-tibble" ,r-tibble)
3893 ("r-tidyr" ,r-tidyr)
3894 ("r-xml2" ,r-xml2)))
3895 (home-page "https://github.com/jennybc/googlesheets")
3896 (synopsis "Manage Google spreadsheets from R")
3897 (description "This package provides tools to interact with Google Sheets
3899 (license license:expat)))
3901 (define-public r-spams
3904 (version "2.6-2017-03-22")
3908 ;; Use the ‘Latest version’ link for a stable URI across releases.
3909 (uri (string-append "https://gforge.inria.fr/frs/download.php/"
3910 "latestfile/4531/spams-R-v" version ".tar.gz"))
3913 "13z2293jixf1r9g8dyy856xrhvpjr2ln2n9smn6644126r9hmhkx"))))
3914 (build-system r-build-system)
3917 (modify-phases %standard-phases
3918 (add-after 'unpack 'chdir
3919 (lambda _ (chdir "spams") #t))
3920 ;; Don't tune for the building machine.
3921 (add-after 'chdir 'no-mtune
3923 (substitute* "src/Makevars"
3924 (("-mtune=native") ""))
3927 `(("r-lattice" ,r-lattice)
3928 ("r-matrix" ,r-matrix)))
3929 (home-page "https://spams-devel.gforge.inria.fr")
3930 (synopsis "Toolbox for solving sparse estimation problems")
3931 (description "SPAMS (SPArse Modeling Software) is an optimization toolbox
3932 for solving various sparse estimation problems. It includes tools for the
3936 @item Dictionary learning and matrix factorization (NMF, sparse @dfn{principle
3937 component analysis} (PCA), ...)
3938 @item Solving sparse decomposition problems with LARS, coordinate descent,
3939 OMP, SOMP, proximal methods
3940 @item Solving structured sparse decomposition problems (l1/l2, l1/linf, sparse
3941 group lasso, tree-structured regularization, structured sparsity with
3942 overlapping groups,...).
3944 (license license:gpl3+)))
3946 (define-public r-base64
3953 (uri (cran-uri "base64" version))
3956 "1labh0ycdm2xcjssj8bhnyjvbk44mcdsi0rb2p8rfqa428mrq9cf"))))
3957 (build-system r-build-system)
3959 `(("r-openssl" ,r-openssl)))
3960 (home-page "https://cran.r-project.org/web/packages/base64")
3961 (synopsis "Base64 encoder and decoder")
3963 "This package is a compatibility wrapper to replace the orphaned package
3964 by Romain Francois. New applications should use the openssl or base64enc
3966 (license license:expat)))
3968 (define-public r-hmisc
3975 (uri (cran-uri "Hmisc" version))
3977 (base32 "1ivfamwghd2z408fkhs7jy5zl3q0z1a2la16yi8js872br6cyvpi"))))
3978 (properties `((upstream-name . "Hmisc")))
3979 (build-system r-build-system)
3981 `(("gfortran" ,gfortran)))
3983 `(("r-acepack" ,r-acepack)
3984 ("r-base64enc" ,r-base64enc)
3985 ("r-cluster" ,r-cluster)
3986 ("r-data-table" ,r-data-table)
3987 ("r-foreign" ,r-foreign)
3988 ("r-formula" ,r-formula)
3989 ("r-ggplot2" ,r-ggplot2)
3990 ("r-gridextra" ,r-gridextra)
3991 ("r-gtable" ,r-gtable)
3992 ("r-lattice" ,r-lattice)
3993 ("r-latticeextra" ,r-latticeextra)
3994 ("r-htmltable" ,r-htmltable)
3995 ("r-htmltools" ,r-htmltools)
3997 ("r-rpart" ,r-rpart)
3998 ("r-survival" ,r-survival)
3999 ("r-viridis" ,r-viridis)))
4000 (home-page "http://biostat.mc.vanderbilt.edu/Hmisc")
4001 (synopsis "Miscellaneous data analysis and graphics functions")
4003 "This package contains many functions useful for data analysis,
4004 high-level graphics, utility operations, functions for computing sample size
4005 and power, importing and annotating datasets, imputing missing values,
4006 advanced table making, variable clustering, character string manipulation,
4007 conversion of R objects to LaTeX code, and recoding variables.")
4008 (license license:gpl2+)))
4010 (define-public r-runit
4017 (uri (cran-uri "RUnit" version))
4020 "1wc1gwb7yw7phf8b0gkig6c23klya3ax11c6i4s0f049k42r78r3"))))
4021 (properties `((upstream-name . "RUnit")))
4022 (build-system r-build-system)
4023 (home-page "https://cran.r-project.org/web/packages/RUnit")
4024 (synopsis "R unit test framework")
4026 "This package provides R functions implementing a standard unit testing
4027 framework, with additional code inspection and report generation tools.")
4028 (license license:gpl2+)))
4030 (define-public r-dynamictreecut
4032 (name "r-dynamictreecut")
4037 (uri (cran-uri "dynamicTreeCut" version))
4040 "1fadbql7g5r2vvlkr89nlrjxwp4yx4xrdqmv077qvmnx9vv0f4w3"))))
4041 (properties `((upstream-name . "dynamicTreeCut")))
4042 (build-system r-build-system)
4044 "http://www.genetics.ucla.edu/labs/horvath/CoexpressionNetwork/BranchCutting/")
4045 (synopsis "Detect clusters in hierarchical clustering dendrograms")
4047 "This package contains methods for the detection of clusters in
4048 hierarchical clustering dendrograms.")
4049 (license license:gpl2+)))
4051 (define-public r-preprocesscore
4053 (name "r-preprocesscore")
4058 (uri (bioconductor-uri "preprocessCore" version))
4061 "0zrb9hx60vppkg0priczdb301nhq5f0dj8lkc8rcc4xrqqr915qm"))))
4063 `((upstream-name . "preprocessCore")))
4064 (build-system r-build-system)
4065 (home-page "https://github.com/bmbolstad/preprocessCore")
4066 (synopsis "Collection of pre-processing functions")
4068 "This package provides a library of core pre-processing and normalization
4070 (license license:lgpl2.0+)))
4072 (define-public r-fastcluster
4074 (name "r-fastcluster")
4079 (uri (cran-uri "fastcluster" version))
4082 "01a2xnhhvv1swd4g8p4lzyn7ww7kg49jlnzc7kfz60jqjzpisrpk"))))
4083 (build-system r-build-system)
4084 (home-page "http://danifold.net/fastcluster.html")
4085 (synopsis "Fast hierarchical clustering routines")
4087 "This package implements fast hierarchical, agglomerative clustering
4088 routines. Part of the functionality is designed as drop-in replacement for
4089 existing routines: @code{linkage()} in the SciPy package
4090 @code{scipy.cluster.hierarchy}, @code{hclust()} in R's @code{stats} package,
4091 and the @code{flashClust} package. It provides the same functionality with
4092 the benefit of a much faster implementation. Moreover, there are
4093 memory-saving routines for clustering of vector data, which go beyond what the
4094 existing packages provide.")
4095 (license license:bsd-2)))
4097 (define-public r-sfsmisc
4104 (uri (cran-uri "sfsmisc" version))
4107 "04fvjdab6vyyghyqy0abxvfbyr1myz6yib7ibwiyjw9yf7fjrcjp"))))
4108 (build-system r-build-system)
4109 (home-page "https://cran.r-project.org/web/packages/sfsmisc")
4110 (synopsis "Utilities from \"Seminar fuer Statistik\" ETH Zurich")
4112 "This package provides useful utilities from Seminar fuer Statistik ETH
4113 Zurich, including many that are related to graphics.")
4114 (license license:gpl2+)))
4116 (define-public r-gtools
4123 (uri (cran-uri "gtools" version))
4126 "1pnwy412wvhhvnnx8qg6s9hrgcnsfhnfcpf2560ipipk845acfsh"))))
4127 (build-system r-build-system)
4130 (modify-phases %standard-phases
4131 (add-after 'unpack 'make-deterministic
4133 (substitute* "R/checkReverseDependencies.R"
4134 (("tempdir\\(\\)") "\"/tmp\""))
4136 (home-page "https://cran.r-project.org/web/packages/gtools")
4137 (synopsis "Various R programming tools")
4139 "This package contains a collection of various functions to assist in R
4140 programming, such as tools to assist in developing, updating, and maintaining
4141 R and R packages, calculating the logit and inverse logit transformations,
4142 tests for whether a value is missing, empty or contains only @code{NA} and
4143 @code{NULL} values, and many more.")
4144 (license license:gpl2)))
4146 (define-public r-gdata
4153 (uri (cran-uri "gdata" version))
4156 "0zwdj7lscgxr8r62ii8hbdh4mb7sa9w4f5nv32zzrxdvymcpya2b"))))
4157 (build-system r-build-system)
4161 `(("r-gtools" ,r-gtools)))
4162 (home-page "https://cran.r-project.org/web/packages/gdata")
4163 (synopsis "Various R programming tools for data manipulation")
4165 "This package provides various R programming tools for data manipulation,
4169 @item medical unit conversions
4170 @item combining objects
4171 @item character vector operations
4172 @item factor manipulation
4173 @item obtaining information about R objects
4174 @item manipulating MS-Excel formatted files
4175 @item generating fixed-width format files
4176 @item extricating components of date and time objects
4177 @item operations on columns of data frames
4178 @item matrix operations
4179 @item operations on vectors and data frames
4180 @item value of last evaluated expression
4181 @item wrapper for @code{sample} that ensures consistent behavior for
4182 both scalar and vector arguments
4184 (license license:gpl2+)))
4186 (define-public r-gplots
4193 (uri (cran-uri "gplots" version))
4196 "0hs6mk48i9yd43rg9wfjc2nxsjjwrnpifxqvxkv8ah18kvpd6xnp"))))
4197 (build-system r-build-system)
4199 `(("r-catools" ,r-catools)
4200 ("r-gdata" ,r-gdata)
4201 ("r-gtools" ,r-gtools)
4202 ("r-kernsmooth" ,r-kernsmooth)))
4203 (home-page "https://cran.r-project.org/web/packages/gplots")
4204 (synopsis "Various R programming tools for plotting data")
4206 "This package provides various R programming tools for plotting data,
4210 @item calculating and plotting locally smoothed summary function
4211 @item enhanced versions of standard plots
4212 @item manipulating colors
4213 @item calculating and plotting two-dimensional data summaries
4214 @item enhanced regression diagnostic plots
4215 @item formula-enabled interface to @code{stats::lowess} function
4216 @item displaying textual data in plots
4218 @item plotting \"Venn\" diagrams
4219 @item displaying Open-Office style plots
4220 @item plotting multiple data on same region, with separate axes
4221 @item plotting means and confidence intervals
4222 @item spacing points in an x-y plot so they don't overlap
4224 (license license:gpl2+)))
4226 (define-public r-rocr
4233 (uri (cran-uri "ROCR" version))
4236 "1jay8cm7lgq56i967vm5c2hgaxqkphfpip0gn941li3yhh7p3vz7"))))
4237 (properties `((upstream-name . "ROCR")))
4238 (build-system r-build-system)
4240 `(("r-gplots" ,r-gplots)))
4241 (home-page "https://rocr.bioinf.mpi-sb.mpg.de/")
4242 (synopsis "Visualizing the performance of scoring classifiers")
4244 "ROCR is a flexible tool for creating cutoff-parameterized 2D performance
4245 curves by freely combining two from over 25 performance measures (new
4246 performance measures can be added using a standard interface). Curves from
4247 different cross-validation or bootstrapping runs can be averaged by different
4248 methods, and standard deviations, standard errors or box plots can be used to
4249 visualize the variability across the runs. The parameterization can be
4250 visualized by printing cutoff values at the corresponding curve positions, or
4251 by coloring the curve according to cutoff. All components of a performance
4252 plot can be quickly adjusted using a flexible parameter dispatching
4254 (license license:gpl2+)))
4256 (define-public r-zoo
4262 (uri (cran-uri "zoo" version))
4265 "1w4542zs53bm261g95086a60576v334g1jrhnbgdqni4izf2s1wy"))))
4266 (build-system r-build-system)
4268 `(("r-lattice" ,r-lattice)))
4269 (home-page "http://zoo.R-Forge.R-project.org/")
4270 (synopsis "S3 infrastructure for regular and irregular time series")
4271 (description "This package contains an S3 class with methods for totally
4272 ordered indexed observations. It is particularly aimed at irregular time
4273 series of numeric vectors/matrices and factors.")
4274 (license license:gpl2+)))
4276 (define-public r-ztable
4282 (uri (cran-uri "ztable" version))
4285 "0g7khk5ifsdh9p31wlwh2l5mn1hzxzpv6qcn1wh34vsfjdmijjwy"))))
4286 (build-system r-build-system)
4288 `(("r-flextable" ,r-flextable)
4289 ("r-magrittr" ,r-magrittr)
4290 ("r-moonbook" ,r-moonbook)
4291 ("r-officer" ,r-officer)
4292 ("r-rcolorbrewer" ,r-rcolorbrewer)
4293 ("r-scales" ,r-scales)
4294 ("r-stringr" ,r-stringr)))
4295 (home-page "https://cran.r-project.org/web/packages/ztable")
4296 (synopsis "Zebra-striped tables in LaTeX and HTML formats for R")
4298 "This package provides functions to make zebra-striped tables (tables
4299 with alternating row colors) in LaTeX and HTML formats easily from
4300 @code{data.frame}, @code{matrix}, @code{lm}, @code{aov}, @code{anova},
4301 @code{glm}, @code{coxph}, @code{nls}, @code{fitdistr}, @code{mytable} and
4302 @code{cbind.mytable} objects.")
4303 (license license:gpl2+)))
4305 (define-public r-vipor
4311 (uri (cran-uri "vipor" version))
4314 "112gc0d7f8iavgf56pnzfxb7hy75yhd0zlyjzshdcfbnqcd2a6bx"))))
4315 (build-system r-build-system)
4316 (home-page "https://cran.r-project.org/web/packages/vipor")
4317 (synopsis "Plot categorical data using noise and density estimates")
4319 "This package provides tools to generate a violin point plot, a
4320 combination of a violin/histogram plot and a scatter plot by offsetting points
4321 within a category based on their density using quasirandom noise.")
4322 (license license:gpl2+)))
4324 (define-public r-beeswarm
4330 (uri (cran-uri "beeswarm" version))
4333 "0hy89bwv7jixlg91li1fywa77916am2whqp1m1fx1khd45g44581"))))
4334 (build-system r-build-system)
4335 (home-page "https://www.cbs.dtu.dk/~eklund/beeswarm/")
4336 (synopsis "Implementation of bee swarm plots")
4338 "This package provides an implementation of bee swarm plots. The bee
4339 swarm plot is a one-dimensional scatter plot like stripchart, but with
4340 closely-packed, non-overlapping points.")
4341 (license license:artistic2.0)))
4343 (define-public r-sourcetools
4345 (name "r-sourcetools")
4350 (uri (cran-uri "sourcetools" version))
4353 "1jnjir0q2dj724f1mjm6p5h77yzyx6xcqy9r2g7gmcxkxw349627"))))
4354 (build-system r-build-system)
4355 (home-page "https://cran.r-project.org/web/packages/sourcetools")
4356 (synopsis "Tools for reading, tokenizing and parsing R code")
4358 "The sourcetools package provides both an R and C++ interface for the
4359 tokenization of R code, and helpers for interacting with the tokenized
4360 representation of R code.")
4361 (license license:expat)))
4363 (define-public r-ggbeeswarm
4365 (name "r-ggbeeswarm")
4369 (uri (cran-uri "ggbeeswarm" version))
4372 "0crk29p5vi1r3a988kms4y7r0iqwgwzsikgvh18r9wbzyr98bb5v"))))
4373 (build-system r-build-system)
4375 `(("r-beeswarm" ,r-beeswarm)
4376 ("r-ggplot2" ,r-ggplot2)
4377 ("r-vipor" ,r-vipor)))
4378 (home-page "https://github.com/eclarke/ggbeeswarm")
4379 (synopsis "Categorical scatter (violin point) plots")
4381 "This package provides two methods of plotting categorical scatter plots
4382 such that the arrangement of points within a category reflects the density of
4383 data at that region, and avoids over-plotting.")
4384 (license license:gpl2+)))
4386 (define-public r-ggthemes
4392 (uri (cran-uri "ggthemes" version))
4395 "0rrkzfggc1nlda1w1lbqdycx6nawxbkac1szhvkwrqlzh6agxcsv"))))
4396 (build-system r-build-system)
4398 `(("r-ggplot2" ,r-ggplot2)
4399 ("r-purrr" ,r-purrr)
4400 ("r-scales" ,r-scales)
4401 ("r-stringr" ,r-stringr)
4402 ("r-tibble" ,r-tibble)))
4403 (home-page "https://cran.rstudio.com/web/packages/ggthemes")
4404 (synopsis "Extra themes, scales and geoms for @code{ggplot2}")
4405 (description "This package provides extra themes and scales for
4406 @code{ggplot2} that replicate the look of plots by Edward Tufte and
4407 Stephen Few in Fivethirtyeight, The Economist, Stata, Excel, and The
4408 Wall Street Journal, among others. This package also provides
4409 @code{geoms} for Tufte's box plot and range frame.")
4410 (license license:gpl2)))
4412 (define-public r-statmod
4418 (uri (cran-uri "statmod" version))
4421 "0yklg64aw5y8kfq5piafnrj1v3jv563iwzzl75g3kllrw23c508s"))))
4422 (build-system r-build-system)
4423 (home-page "https://cran.r-project.org/web/packages/statmod")
4425 `(("gfortran" ,gfortran)))
4426 (synopsis "Statistical modeling")
4428 "This package provides a collection of algorithms and functions to aid
4429 statistical modeling. It includes growth curve comparisons, limiting dilution
4430 analysis (aka ELDA), mixed linear models, heteroscedastic regression,
4431 inverse-Gaussian probability calculations, Gauss quadrature and a secure
4432 convergence algorithm for nonlinear models. It also includes advanced
4433 generalized linear model functions that implement secure convergence,
4434 dispersion modeling and Tweedie power-law families.")
4435 ;; Statmod is distributed under either license
4436 (license (list license:gpl2 license:gpl3))))
4438 (define-public r-rann
4444 (uri (cran-uri "RANN" version))
4447 "10kid40w9w7vkz2hpcfkdpxr4afxzms5dzvfwr0sl5xynzgw76dj"))))
4449 `((upstream-name . "RANN")))
4450 (build-system r-build-system)
4451 (home-page "https://github.com/jefferis/RANN")
4452 (synopsis "Fast nearest neighbour search")
4454 "This package finds the k nearest neighbours for every point in a given
4455 dataset in O(N log N) time using Arya and Mount's ANN library. Provides
4456 approximate, exact searches, fixed radius searches, bd and kb trees.")
4457 (license license:gpl3+)))
4459 (define-public r-fivethirtyeight
4461 (name "r-fivethirtyeight")
4466 (uri (string-append "https://mran.microsoft.com/src/contrib/"
4467 "fivethirtyeight_" version ".tar.gz"))
4470 "0fcc8rq745nsghp27dk0lgih90y4zx8hrzcvsn6ih786yv7qxhvl"))))
4471 (build-system r-build-system)
4473 `(("r-knitr" ,r-knitr)
4474 ("r-rmarkdown" ,r-rmarkdown)
4475 ("r-dplyr" ,r-dplyr)
4476 ("r-readr" ,r-readr)
4477 ("r-ggplot2" ,r-ggplot2)
4478 ("r-magrittr" ,r-magrittr)
4479 ("r-stringr" ,r-stringr)))
4480 (home-page "https://mran.microsoft.com/package/fivethirtyeight/")
4481 (synopsis "Data and code behind the stories at FiveThirtyEight")
4482 (description "This R package provides access to the code and data sets
4483 published by the statistics blog FiveThirtyEight.")
4484 (license license:expat)))
4486 (define-public r-compquadform
4488 (name "r-compquadform")
4493 (uri (cran-uri "CompQuadForm" version))
4496 "1i30hrqdk64q17vsn918c3q79brchgx2wzh1gbsgbn0dh1ncabq4"))))
4497 (properties `((upstream-name . "CompQuadForm")))
4498 (build-system r-build-system)
4499 (home-page "https://cran.r-project.org/web/packages/CompQuadForm")
4500 (synopsis "Distribution function of quadratic forms in normal variables")
4502 "This package provides functions to compute the distribution function of
4503 quadratic forms in normal variables using Imhof's method, Davies's algorithm,
4504 Farebrother's algorithm or Liu et al.'s algorithm.")
4505 (license license:gpl2+)))
4507 (define-public r-cowplot
4514 (uri (cran-uri "cowplot" version))
4517 "19cqdhgfyr1wj0fz0c5ly8f0aiy9sfgzq6lzb78hkx0hdp2agybh"))))
4518 (build-system r-build-system)
4520 `(("r-ggplot2" ,r-ggplot2)
4521 ("r-gtable" ,r-gtable)
4522 ("r-rlang" ,r-rlang)
4523 ("r-scales" ,r-scales)))
4524 (home-page "https://github.com/wilkelab/cowplot")
4525 (synopsis "Streamlined plot theme and plot annotations for ggplot2")
4527 "This package provides some helpful extensions and modifications to the
4528 ggplot2 package to combine multiple ggplot2 plots into one and label them with
4529 letters, as is often required for scientific publications.")
4530 (license license:gpl2)))
4532 (define-public r-mixtools
4539 (uri (cran-uri "mixtools" version))
4542 "08whic8hmmzi55b7azwj11l2x5r9s5qbyrv7s9jr08156vqkw0zg"))))
4543 (build-system r-build-system)
4545 `(("r-mass" ,r-mass)
4546 ("r-kernlab" ,r-kernlab)
4547 ("r-segmented" ,r-segmented)
4548 ("r-survival" ,r-survival)))
4549 (home-page "https://cran.r-project.org/web/packages/mixtools")
4550 (synopsis "Tools for analyzing finite mixture models")
4552 "This package provides a collection of R functions for analyzing finite
4554 (license license:gpl2+)))
4556 (define-public r-lars
4563 (uri (cran-uri "lars" version))
4566 "0blj44wqrx6lmym1m9v6wkz8zxzbjax2zl6swgdczci0ixb5nx34"))))
4567 (build-system r-build-system)
4569 `(("gfortran" ,gfortran)))
4570 (home-page "https://web.stanford.edu/~hastie/Papers/LARS/")
4571 (synopsis "Least angle regression software")
4573 "Least Angle Regression (\"LAR\") is a model selection algorithm; a
4574 useful and less greedy version of traditional forward selection methods. A
4575 simple modification of the LAR algorithm implements Tibshirani's Lasso; the
4576 Lasso modification of LARS calculates the entire Lasso path of coefficients
4577 for a given problem at the cost of a single least squares fit. Another LARS
4578 modification efficiently implements epsilon Forward Stagewise linear
4580 (license license:gpl2)))
4582 (define-public r-fastica
4589 (uri (cran-uri "fastICA" version))
4592 "1zpijqcipm0aa3rxj0mys06lskqy4dbppjpxr1aby0j16y9ka8ij"))))
4593 (properties `((upstream-name . "fastICA")))
4594 (build-system r-build-system)
4595 (home-page "https://cran.r-project.org/web/packages/fastICA")
4596 (synopsis "FastICA algorithms to perform ICA and projection pursuit")
4598 "This package provides an implementation of the FastICA algorithm to
4599 perform @dfn{independent component analysis} (ICA) and projection pursuit.")
4601 (license license:gpl3+)))
4603 (define-public r-randomforest
4605 (name "r-randomforest")
4610 (uri (cran-uri "randomForest" version))
4613 "0kbmm0l42fc2d1rdq0l7k09d34kd87q4lx651ffsic4y84h8kf7l"))))
4614 (properties `((upstream-name . "randomForest")))
4615 (build-system r-build-system)
4616 (home-page "https://www.stat.berkeley.edu/~breiman/RandomForests/")
4618 `(("gfortran" ,gfortran)))
4619 (synopsis "Breiman and Cutler's random forests for classification and regression")
4621 "This package provides the Breiman and Cutler's random forests algorithm, based on a
4622 forest of trees using random inputs, for classification and regression.")
4623 (license license:gpl2+)))
4625 (define-public r-diptest
4632 (uri (cran-uri "diptest" version))
4635 "06xnc5gv1284ll0addxnxb6ljz6fn8dbyrp5vchyz6551h800aa6"))))
4636 (build-system r-build-system)
4637 (home-page "https://cran.r-project.org/web/packages/diptest")
4638 (synopsis "Hartigan's dip test statistic for unimodality")
4640 "This package computes Hartigan's dip test statistic for unimodality,
4641 multimodality and provides a test with simulation based p-values, where the
4642 original public code has been corrected.")
4643 (license license:gpl2+)))
4645 (define-public r-modeltools
4647 (name "r-modeltools")
4652 (uri (cran-uri "modeltools" version))
4655 "1vqh69256h344sbj5affm0kmc77dakrxp6442xfdnfd0y5d8sgkb"))))
4656 (build-system r-build-system)
4657 (home-page "https://cran.r-project.org/web/packages/modeltools")
4658 (synopsis "Tools and classes for statistical models")
4660 "This package provides a collection of tools to deal with statistical
4661 models. The functionality is experimental and the user interface is likely
4662 to change in the future.")
4663 (license license:gpl2)))
4665 (define-public r-flexmix
4672 (uri (cran-uri "flexmix" version))
4675 "0hrz2axp2c9548b1r0bmrl57219nn030qndb83a8garkzq5lqi5s"))))
4676 (build-system r-build-system)
4678 `(("r-lattice" ,r-lattice)
4679 ("r-modeltools" ,r-modeltools)
4680 ("r-nnet" ,r-nnet)))
4681 (home-page "https://cran.r-project.org/web/packages/flexmix")
4682 (synopsis "Flexible mixture modeling")
4684 "This package implements a general framework for finite mixtures of
4685 regression models using the EM algorithm. FlexMix provides the E-step and
4686 all data handling, while the M-step can be supplied by the user to easily
4687 define new models. Existing drivers implement mixtures of standard linear
4688 models, generalized linear models and model-based clustering.")
4689 (license license:gpl2+)))
4691 (define-public r-mclust
4698 (uri (cran-uri "mclust" version))
4701 "1z46qask09x3xpv0wzvhn09218vwyrip4f5jrhnx96khpwvczzyl"))))
4702 (build-system r-build-system)
4704 `(("gfortran" ,gfortran)
4705 ("r-knitr" ,r-knitr)))
4706 (home-page "https://www.stat.washington.edu/mclust/")
4707 (synopsis "Gaussian mixture modelling for model-based clustering etc.")
4709 "This package provides Gaussian finite mixture models fitted via EM
4710 algorithm for model-based clustering, classification, and density estimation,
4711 including Bayesian regularization, dimension reduction for visualisation,
4712 and resampling-based inference.")
4713 (license license:gpl2+)))
4715 (define-public r-prabclus
4722 (uri (cran-uri "prabclus" version))
4725 "0hg4d7y1w18jpgvw10z8833bbbcnlkwiasx0wh6iwa2pnnybq8gl"))))
4726 (build-system r-build-system)
4728 `(("r-mass" ,r-mass)
4729 ("r-mclust" ,r-mclust)))
4730 (home-page "https://cran.r-project.org/web/packages/prabclus")
4731 (synopsis "Parametric bootstrap tests for spatial neighborhood clustering")
4733 "This package provides distance-based parametric bootstrap tests for
4734 clustering with spatial neighborhood information. It implements some distance
4735 measures, clustering of presence-absence, abundance and multilocus genetical
4736 data for species delimitation, nearest neighbor based noise detection.")
4737 (license license:gpl2+)))
4739 (define-public r-deoptimr
4746 (uri (cran-uri "DEoptimR" version))
4749 "1vz546hyjyhly70z62h5n3mn62b8llhhmim8ffp9y6jnnb0i2sc4"))))
4750 (properties `((upstream-name . "DEoptimR")))
4751 (build-system r-build-system)
4752 (home-page "https://cran.r-project.org/web/packages/DEoptimR")
4753 (synopsis "Differential evolution optimization in pure R")
4755 "This package provides a differential evolution (DE) stochastic
4756 algorithms for global optimization of problems with and without constraints.
4757 The aim is to curate a collection of its state-of-the-art variants that (1) do
4758 not sacrifice simplicity of design, (2) are essentially tuning-free, and (3)
4759 can be efficiently implemented directly in the R language.")
4760 (license license:gpl2+)))
4762 (define-public r-robustbase
4764 (name "r-robustbase")
4769 (uri (cran-uri "robustbase" version))
4772 "1cr478xi4n9jwsdpbq182a7ig47rpb413q28dz6d1am08sk6657a"))))
4773 (build-system r-build-system)
4775 `(("gfortran" ,gfortran)))
4777 `(("r-deoptimr" ,r-deoptimr)))
4778 (home-page "http://robustbase.r-forge.r-project.org/")
4779 (synopsis "Basic robust statistics")
4781 "This package analyzes data with robust methods such as
4782 regression methodology including model selections and multivariate statistics.")
4783 (license license:gpl2+)))
4785 (define-public r-pcapp
4792 (uri (cran-uri "pcaPP" version))
4795 "1z2kdf9gfp965xbcd4rg6vf20d1bl443na0qjkpq7gmzpaq6cifa"))))
4796 (properties `((upstream-name . "pcaPP")))
4797 (build-system r-build-system)
4799 `(("r-mvtnorm" ,r-mvtnorm)))
4800 (home-page "https://cran.r-project.org/web/packages/pcaPP")
4801 (synopsis "Robust PCA by projection pursuit")
4803 "This package provides functions for robust @dfn{principal component
4804 analysis} (PCA) by projection pursuit.")
4805 (license license:gpl3+)))
4807 (define-public r-rrcov
4814 (uri (cran-uri "rrcov" version))
4817 "0m62k58nabw7hjz1qyyf9a0d6lvcz5vcvpksjnq93zcfra9inr57"))))
4818 (build-system r-build-system)
4820 `(("r-lattice" ,r-lattice)
4821 ("r-mvtnorm" ,r-mvtnorm)
4822 ("r-pcapp" ,r-pcapp)
4823 ("r-robustbase" ,r-robustbase)))
4825 `(("gfortran" ,gfortran)))
4826 (home-page "https://cran.r-project.org/web/packages/rrcov")
4827 (synopsis "Scalable robust estimators with high breakdown Point")
4829 "This package provides an implementation of robust location and scatter
4830 estimation and robust multivariate analysis with high breakdown point.")
4831 (license license:gpl2+)))
4833 (define-public r-fit-models
4835 (name "r-fit-models")
4840 (uri (cran-uri "fit.models" version))
4843 "0vjbzmx0ambm6yzidb4vbgmhclwzwv2iz2cwl54ccdkvx4cx3fck"))))
4844 (properties `((upstream-name . "fit.models")))
4845 (build-system r-build-system)
4847 `(("r-lattice" ,r-lattice)))
4848 (home-page "https://cran.r-project.org/web/packages/fit.models")
4849 (synopsis "Compare fitted models")
4851 "The @code{fit.models} function and its associated methods (coefficients, print,
4852 summary, plot, etc.) were originally provided in the @code{robust} package to
4853 compare robustly and classically fitted model objects. The aim of the
4854 @code{fit.models} package is to separate this fitted model object comparison
4855 functionality from the robust package and to extend it to support fitting
4856 methods (e.g., classical, robust, Bayesian, regularized, etc.) more
4858 ;; Any version of the GPL
4859 (license (list license:gpl2+ license:gpl3+))))
4861 (define-public r-robust
4868 (uri (cran-uri "robust" version))
4871 "1ks5scp8bnicl9j1r8yrmz668fjs6ifdmi540zw6d2ck500bbw42"))))
4872 (build-system r-build-system)
4874 `(("r-fit-models" ,r-fit-models)
4875 ("r-lattice" ,r-lattice)
4877 ("r-robustbase" ,r-robustbase)
4878 ("r-rrcov" ,r-rrcov)))
4880 `(("gfortran" ,gfortran)))
4881 (home-page "https://cran.r-project.org/web/packages/robust")
4882 (synopsis "Port of the S+ \"Robust Library\"")
4884 "This package is a port of the S+ \"Robust Library\". It provides
4885 methods for robust statistics, notably for robust regression and robust
4886 multivariate analysis.")
4887 (license license:gpl2)))
4889 (define-public r-trimcluster
4891 (name "r-trimcluster")
4896 (uri (cran-uri "trimcluster" version))
4899 "12siv8yx8dcavsz8jk96lwscbj257ar8jpaxksl2zb06987g4fcj"))))
4900 (build-system r-build-system)
4901 (home-page "https://cran.r-project.org/web/packages/trimcluster")
4902 (synopsis "Cluster analysis with trimming")
4904 "The trimmed k-means clustering method by Cuesta-Albertos, Gordaliza and
4905 Matran (1997). This optimizes the k-means criterion under trimming a portion
4908 (license (list license:gpl2+ license:gpl3+))))
4910 (define-public r-fpc
4917 (uri (cran-uri "fpc" version))
4920 "10504hzivbn89ip0cd5bcxd36ivbgin1lw1xhyh3xfckcm25v1a5"))))
4921 (build-system r-build-system)
4923 `(("r-class" ,r-class)
4924 ("r-cluster" ,r-cluster)
4925 ("r-diptest" ,r-diptest)
4926 ("r-flexmix" ,r-flexmix)
4927 ("r-kernlab" ,r-kernlab)
4929 ("r-mclust" ,r-mclust)
4930 ("r-prabclus" ,r-prabclus)
4931 ("r-robustbase" ,r-robustbase)))
4932 (home-page "https://cran.r-project.org/web/packages/fpc")
4933 (synopsis "Flexible procedures for clustering")
4935 "This package provides various methods for clustering and cluster validation.
4936 For example, it provides fixed point clustering, linear regression clustering,
4937 clustering by merging Gaussian mixture components, as well as symmetric and
4938 asymmetric discriminant projections for visualisation of the separation of
4940 (license license:gpl2+)))
4942 (define-public r-vgam
4949 (uri (cran-uri "VGAM" version))
4951 (base32 "0kyan3a4ys2xbg9kf167cyf1gk7g963id62cjm2ij4i7y4wi61zq"))))
4952 (properties `((upstream-name . "VGAM")))
4953 (build-system r-build-system)
4955 `(("gfortran" ,gfortran)))
4956 (home-page "https://www.stat.auckland.ac.nz/~yee/VGAM")
4957 (synopsis "Vector generalized linear and additive models")
4959 "This package is an implementation of about 6 major classes of statistical
4960 regression models. Currently only fixed-effects models are implemented, i.e.,
4961 no random-effects models. Many (150+) models and distributions are estimated
4962 by maximum likelihood estimation (MLE) or penalized MLE, using Fisher scoring.
4963 VGLMs can be loosely thought of as multivariate generalised linear models.")
4964 (license license:gpl2+)))
4966 (define-public r-pbapply
4973 (uri (cran-uri "pbapply" version))
4976 "1xmk4p006v8gij26rs6kp5prjyf2n32nqjxiyp8a6kvgyc4z46dc"))))
4977 (build-system r-build-system)
4978 (home-page "https://github.com/psolymos/pbapply")
4979 (synopsis "Adding progress bar to apply functions")
4981 "This lightweight package that adds progress bar to vectorized R
4982 functions apply. The implementation can easily be added to functions where
4983 showing the progress is useful e.g. bootstrap.")
4984 (license license:gpl2)))
4986 (define-public r-minqa
4993 (uri (cran-uri "minqa" version))
4996 "036drja6xz7awja9iwb76x91415p26fb0jmg7y7v0p65m6j978fg"))))
4997 (build-system r-build-system)
4999 `(("r-rcpp" ,r-rcpp)))
5001 `(("gfortran" ,gfortran)))
5002 (home-page "http://optimizer.r-forge.r-project.org")
5003 (synopsis "Derivative-free optimization algorithms by quadratic approximation")
5005 "This package provides a derivative-free optimization by quadratic approximation
5006 based on an interface to Fortran implementations by M. J. D. Powell.")
5007 (license license:gpl2)))
5009 (define-public r-rcppeigen
5011 (name "r-rcppeigen")
5012 (version "0.3.3.7.0")
5016 (uri (cran-uri "RcppEigen" version))
5019 "1b78qcjim0n9klgkr82n794d6bj9r9f33g0kcsszsns2hir65sk2"))))
5020 (properties `((upstream-name . "RcppEigen")))
5021 (build-system r-build-system)
5023 `(("r-rcpp" ,r-rcpp)
5024 ("r-matrix" ,r-matrix)))
5025 (home-page "http://eigen.tuxfamily.org")
5026 (synopsis "Rcpp integration for the Eigen templated linear algebra library")
5028 "This package provides an integration of Eigen in R using a C++ template
5029 library for linear algebra: matrices, vectors, numerical solvers and related algorithms.
5030 It supports dense and sparse matrices on integer, floating point and complex numbers,
5031 decompositions of such matrices, and solutions of linear systems.")
5032 (license license:gpl2+)))
5034 (define-public r-modelmetrics
5036 (name "r-modelmetrics")
5041 (uri (cran-uri "ModelMetrics" version))
5044 "0mrlsw4c5y1vdsqynxr2dcvmhh5h37pnd71jw5a5djpbda9g21jy"))))
5045 (properties `((upstream-name . "ModelMetrics")))
5046 (build-system r-build-system)
5048 `(("r-rcpp" ,r-rcpp)
5049 ("r-data-table" ,r-data-table)))
5050 (home-page "https://cran.r-project.org/web/packages/ModelMetrics")
5051 (synopsis "Rapid calculation of model metrics")
5053 "Written in C++ using @code{Rcpp}, this package provides a collection of
5054 metrics for evaluating models.")
5055 (license license:gpl2+)))
5057 (define-public r-matrixmodels
5059 (name "r-matrixmodels")
5064 (uri (cran-uri "MatrixModels" version))
5067 "0cyfvhci2p1vr2x52ymkyqqs63x1qchn856dh2j94yb93r08x1zy"))))
5068 (properties `((upstream-name . "MatrixModels")))
5069 (build-system r-build-system)
5071 `(("r-matrix" ,r-matrix)))
5072 (home-page "https://cran.r-project.org/web/packages/MatrixModels")
5073 (synopsis "Modelling with sparse and dense matrices")
5075 "This package models with sparse and dense matrix matrices,
5076 using modular prediction and response module classes.")
5077 (license license:gpl2+)))
5079 (define-public r-quantreg
5086 (uri (cran-uri "quantreg" version))
5088 (base32 "1zjc8p95kb0ypxa6nxp0lkdq8armkjmmhf8484m25n5f14a59qfb"))))
5089 (build-system r-build-system)
5091 `(("gfortran" ,gfortran)))
5093 `(("r-matrix" ,r-matrix)
5094 ("r-matrixmodels" ,r-matrixmodels)
5095 ("r-sparsem" ,r-sparsem)))
5096 (home-page "https://www.r-project.org")
5097 (synopsis "Quantile regression")
5099 "This package provides an estimation and inference methods for models
5100 of conditional quantiles: linear and nonlinear parametric and non-parametric
5101 models for conditional quantiles of a univariate response and several methods
5102 for handling censored survival data. Portfolio selection methods based on
5103 expected shortfall risk are also included.")
5104 (license license:gpl2+)))
5106 (define-public r-nloptr
5113 (uri (cran-uri "nloptr" version))
5116 "1bhh2v14phzndjhiq7yw9vych6vzn5yy3vk9q35zcp3jhjjbwdyh"))))
5117 (build-system r-build-system)
5119 `(("r-knitr" ,r-knitr) ; for building vignettes
5120 ("pkg-config" ,pkg-config)
5121 ("gfortran" ,gfortran)))
5123 `(("nlopt" ,nlopt)))
5124 (home-page "https://cran.r-project.org/web/packages/nloptr")
5125 (synopsis "R interface to NLopt")
5127 "This package is interface to NLopt, a library for nonlinear
5128 optimization. NLopt is a library for nonlinear optimization, providing a
5129 common interface for a number of different free optimization routines
5130 available online as well as original implementations of various other
5132 (license license:lgpl3)))
5134 (define-public r-lme4
5141 (uri (cran-uri "lme4" version))
5144 "0qh29kqli0l3naylgb6jha6jllx4nwryr3hv9yk37blgyyql5mcr"))))
5145 (build-system r-build-system)
5147 `(("r-boot" ,r-boot)
5148 ("r-lattice" ,r-lattice)
5150 ("r-matrix" ,r-matrix)
5151 ("r-minqa" ,r-minqa)
5152 ("r-nloptr" ,r-nloptr)
5155 ("r-rcppeigen" ,r-rcppeigen)
5156 ("r-statmod" ,r-statmod)))
5158 `(("r-knitr" ,r-knitr)))
5159 (home-page "https://cran.r-project.org/web/packages/lme4")
5160 (synopsis "Linear mixed-effects models using eigen and S4")
5162 "This package provides fit linear and generalized linear mixed-effects
5163 models. The models and their components are represented using S4 classes and
5164 methods. The core computational algorithms are implemented using the Eigen
5165 C++ library for numerical linear algebra and RcppEigen glue.")
5166 (license license:gpl2+)))
5168 (define-public r-pbkrtest
5175 (uri (cran-uri "pbkrtest" version))
5178 "0s5xhhrhv5i9680lw6af9lj2x4jc3fygmzzk0jjpxnb8g4b3p1jz"))))
5179 (build-system r-build-system)
5181 `(("r-lme4" ,r-lme4)
5182 ("r-magrittr" ,r-magrittr)
5184 ("r-matrix" ,r-matrix)))
5185 (home-page "http://people.math.aau.dk/~sorenh/software/pbkrtest/")
5186 (synopsis "Methods for linear mixed model comparison")
5188 "This package implements a parametric bootstrap test and a Kenward Roger
5189 modification of F-tests for linear mixed effects models and a parametric
5190 bootstrap test for generalized linear mixed models.")
5191 (license license:gpl2+)))
5193 (define-public r-cardata
5200 (uri (cran-uri "carData" version))
5202 (base32 "0cg2yxzn0pdjqykr60my1fzpfkqac21fll5hv3m9w5c9sayq8swq"))))
5203 (properties `((upstream-name . "carData")))
5204 (build-system r-build-system)
5205 (home-page "https://r-forge.r-project.org/projects/car/")
5206 (synopsis "Data Sets for the book Companion to Applied Regression")
5208 "This package provides datasets to accompany J. Fox and S. Weisberg, An R
5209 Companion to Applied Regression, Third Edition, Sage.")
5210 (license license:gpl2+)))
5212 (define-public r-car
5219 (uri (cran-uri "car" version))
5221 (base32 "11sfk1l41j27mrfy16g7b02c570n3gy9icvpcrfjh1biykqa565d"))))
5222 (build-system r-build-system)
5224 `(("r-abind" ,r-abind)
5225 ("r-cardata" ,r-cardata)
5227 ("r-maptools" ,r-maptools)
5232 ("r-pbkrtest" ,r-pbkrtest)
5233 ("r-quantreg" ,r-quantreg)
5236 `(("r-knitr" ,r-knitr)))
5237 (home-page "https://r-forge.r-project.org/projects/car/")
5238 (synopsis "Companion to applied regression")
5240 "This package provides functions and datasets from book Companion
5241 to Applied regression, Second Edition, Sage, 2011.")
5242 (license license:gpl2+)))
5244 (define-public r-rcppprogress
5246 (name "r-rcppprogress")
5251 (uri (cran-uri "RcppProgress" version))
5254 "0j2b37gwjpgmrnr00srdzm751hzlpsjb54ph63xxmcdfnwhlnqmi"))))
5255 (properties `((upstream-name . "RcppProgress")))
5256 (build-system r-build-system)
5257 (home-page "https://github.com/kforner/rcpp_progress")
5258 (synopsis "Interruptible progress bar for C++ in R packages")
5260 "This package displays a progress bar in the R console for long running
5261 computations taking place in C++ code, and support for interrupting those computations
5262 even in multithreaded code, typically using OpenMP.")
5263 (license license:gpl3+)))
5265 (define-public r-mnormt
5272 (uri (cran-uri "mnormt" version))
5275 "0k8y08gj6z525yvc7y3dl2kzgnafbj3i7lvpamypsmqxf74zql99"))))
5276 (build-system r-build-system)
5278 `(("gfortran" ,gfortran)))
5279 (home-page "http://azzalini.stat.unipd.it/SW/Pkg-mnormt")
5280 (synopsis "Multivariate normal and \"t\" distributions")
5282 "This package provides functions for computing the density and the
5283 distribution function of multivariate normal and \"t\" random variables, and
5284 for generating random vectors sampled from these distributions. Probabilities
5285 are computed via non-Monte Carlo methods.")
5286 (license license:gpl2+)))
5288 (define-public r-numderiv
5291 (version "2016.8-1.1")
5295 (uri (cran-uri "numDeriv" version))
5298 "0idk02pqkziik932bd8k72d1q775g1is3m4bc861pcxfz6gx3i6q"))))
5299 (properties `((upstream-name . "numDeriv")))
5300 (build-system r-build-system)
5301 (home-page "https://cran.r-project.org/web/packages/numDeriv")
5302 (synopsis "Accurate numerical derivatives")
5304 "This package provides methods for calculating accurate numerical
5305 first and second order derivatives.")
5306 (license license:gpl2)))
5315 (uri (cran-uri "sn" version))
5318 "0snri2k8qslb7478c5jz4a5xxmmb1ipmp8x1jizi8mhj2cjic1w0"))))
5319 (build-system r-build-system)
5321 `(("r-mnormt" ,r-mnormt)
5322 ("r-numderiv" ,r-numderiv)
5323 ("r-quantreg" ,r-quantreg)))
5324 (home-page "http://azzalini.stat.unipd.it/SN")
5325 (synopsis "The skew-normal and skew-t distributions")
5327 "This package provides functionalities to build and manipulate
5328 probability distributions of the skew-normal family and some related
5329 ones, notably the skew-t family, and provides related statistical
5330 methods for data fitting and diagnostics, in the univariate and the
5331 multivariate case.")
5332 (license license:gpl2+)))
5334 (define-public r-tclust
5341 (uri (cran-uri "tclust" version))
5344 "17md6l9v9dl9b72l84df01b52h2xiynbcjm437mv9mzcr09fc2sb"))))
5345 (build-system r-build-system)
5346 ;; These are all suggested packages, not build dependencies.
5348 `(("r-cluster" ,r-cluster)
5349 ("r-mclust" ,r-mclust)
5350 ("r-mvtnorm" ,r-mvtnorm)
5352 (home-page "https://cran.r-project.org/web/packages/tclust")
5353 (synopsis "Robust trimmed clustering")
5355 "This package implements different robust clustering
5356 algorithms (@code{tclust}) based on trimming and including some graphical
5357 diagnostic tools (@code{ctlcurves} and @code{DiscrFact}).")
5358 (license license:gpl3)))
5360 (define-public r-ranger
5367 (uri (cran-uri "ranger" version))
5370 "1vr5akgh388iivrxi0g4pl2npq9dc4cim3ljk4kjf637q058wc7w"))))
5371 (build-system r-build-system)
5373 `(("r-rcpp" ,r-rcpp)
5374 ("r-matrix" ,r-matrix)
5375 ("r-rcppeigen" ,r-rcppeigen)))
5376 (home-page "https://github.com/imbs-hl/ranger")
5377 (synopsis "Fast implementation of random forests")
5379 "This package provides a fast implementation of Random Forests,
5380 particularly suited for high dimensional data. Ensembles of classification,
5381 regression, survival and probability prediction trees are supported. Data from
5382 genome-wide association studies can be analyzed efficiently.")
5383 (license license:gpl3)))
5385 (define-public r-tsne
5392 (uri (cran-uri "tsne" version))
5395 "0s8cv2pndkddq62rzlgzgfdjp1vjv5hz5i5957sllnb97vbzbzb6"))))
5396 (build-system r-build-system)
5397 (home-page "https://github.com/jdonaldson/rtsne/")
5398 (synopsis "t-Distributed Stochastic Neighbor Embedding for R")
5400 "This package provides a pure R implementation of the t-SNE algorithm.")
5401 (license license:gpl2+)))
5403 (define-public r-cairo
5410 (uri (cran-uri "Cairo" version))
5413 "02v29am4fac3fyq6y1w6r89zwbqqkxjsxrafcwb5s124ikxyl22f"))))
5414 (properties `((upstream-name . "Cairo")))
5415 (build-system r-build-system)
5421 `(("pkg-config" ,pkg-config)))
5422 (home-page "https://www.rforge.net/Cairo/")
5423 (synopsis "R graphics device using Cairo graphics library")
5425 "This package provides a Cairo graphics device that can be use to
5426 create high-quality vector (PDF, PostScript and SVG) and bitmap
5427 output (PNG,JPEG,TIFF), and high-quality rendering in displays (X11
5428 and Win32). Since it uses the same back-end for all output, copying
5429 across formats is WYSIWYG. Files are created without the dependence
5430 on X11 or other external programs. This device supports alpha
5431 channel (semi-transparent drawing) and resulting images can contain
5432 transparent and semi-transparent regions. It is ideal for use in
5433 server environments (file output) and as a replacement for other
5434 devices that don't have Cairo's capabilities such as alpha support or
5435 anti-aliasing. Backends are modular such that any subset of backends
5437 (license license:gpl2)))
5439 (define-public r-lubridate
5441 (name "r-lubridate")
5446 (uri (cran-uri "lubridate" version))
5449 "0g2m9dyhgds4shdrk76w7rqdl9msam4rii2qrhz12gipzhi9k89x"))))
5450 (build-system r-build-system)
5452 `(("r-generics" ,r-generics)
5453 ("r-rcpp" ,r-rcpp)))
5455 `(("r-knitr" ,r-knitr)))
5456 (home-page "https://cran.r-project.org/web/packages/lubridate/")
5457 (synopsis "Make dealing with dates a little easier")
5459 "This package provides functions to work with date-times and time-spans:
5460 fast and user friendly parsing of date-time data, extraction and updating of
5461 components of a date-time (years, months, days, hours, minutes, and seconds),
5462 algebraic manipulation on date-time and time-span objects. The @code{lubridate}
5463 package has a consistent and memorable syntax that makes working with dates
5465 (license license:gpl2)))
5467 (define-public r-fdrtool
5474 (uri (cran-uri "fdrtool" version))
5477 "1h46frlk7d9f4qx0bg6p55nrm9wwwz2sv6d1nz7061wdfsm69yb5"))))
5478 (build-system r-build-system)
5479 (home-page "http://strimmerlab.org/software/fdrtool/")
5480 (synopsis "Estimation of false discovery rates and higher criticism")
5482 "This package provides tools to estimate tail area-based false discovery
5483 rates as well as local false discovery rates for a variety of null
5484 models (p-values, z-scores, correlation coefficients, t-scores). The
5485 proportion of null values and the parameters of the null distribution are
5486 adaptively estimated from the data. In addition, the package contains
5487 functions for non-parametric density estimation (Grenander estimator), for
5488 monotone regression (isotonic regression and antitonic regression with
5489 weights), for computing the @dfn{greatest convex minorant} (GCM) and the
5490 @dfn{least concave majorant} (LCM), for the half-normal and correlation
5491 distributions, and for computing empirical @dfn{higher criticism} (HC) scores
5492 and the corresponding decision threshold.")
5493 (license license:gpl3+)))
5495 (define-public r-forcats
5502 (uri (cran-uri "forcats" version))
5505 "1i4hblsjgwkrcwgvgsb5yj33pw1hwdj3lr9dvxymkv1kjdw0x5lg"))))
5506 (build-system r-build-system)
5508 `(("r-ellipsis" ,r-ellipsis)
5509 ("r-magrittr" ,r-magrittr)
5510 ("r-tibble" ,r-tibble)
5511 ("r-rlang" ,r-rlang)))
5512 (home-page "https://forcats.tidyverse.org")
5513 (synopsis "Tools for working with factors")
5514 (description "This package provides helpers for reordering factor
5515 levels (including moving specified levels to front, ordering by first
5516 appearance, reversing, and randomly shuffling), and tools for modifying factor
5517 levels (including collapsing rare levels into other, \"anonymizing\", and
5518 manually \"recoding\").")
5519 (license license:gpl3)))
5521 (define-public r-tgstat
5522 (let ((changeset "4f8e60c03598f49aff6f5beeab40f2b995377e9f")
5526 (version (string-append "1.0.2-" revision "." (string-take changeset 7)))
5531 (url "https://bitbucket.org/tanaylab/tgstat")
5532 (changeset changeset)))
5533 (file-name (string-append name "-" version "-checkout"))
5536 "0ilkkyximy77zbncm91kdfqbxf0qyndg16pd3q3p6a3xc9qcmxvn"))))
5537 (build-system r-build-system)
5540 (modify-phases %standard-phases
5541 (add-after 'unpack 'fix-isnan
5543 (substitute* "src/tgstat.h"
5544 (("#define isnan ::isnan")
5545 "#define isnan std::isnan"))
5548 `(("r-rcpp" ,r-rcpp)))
5549 (home-page "https://bitbucket.org/tanaylab/tgstat/")
5550 (synopsis "Tanay's group statistical utilities")
5552 "The goal of tgstat is to provide fast and efficient statistical
5554 (license license:gpl2))))
5556 (define-public r-tgconfig
5557 (let ((changeset "1e02c7614713bd0866c46f0c679a058f8c6d627e")
5561 (version (string-append "0.0.0.9000-" revision "." (string-take changeset 7)))
5566 (url "https://bitbucket.org/tanaylab/tgconfig")
5567 (changeset changeset)))
5568 (file-name (string-append name "-" version "-checkout"))
5571 "0xy6c7s7mn1yx191154bwbv1bl424bnvc80syqpl1vdl28ba46rj"))))
5572 (build-system r-build-system)
5574 `(("r-yaml" ,r-yaml)))
5575 (home-page "https://bitbucket.org/tanaylab/tgconfig/")
5576 (synopsis "Infrastructure for managing package parameters")
5578 "The goal of tgconfig is to provide infrastructure for managing package
5580 (license license:gpl3))))
5582 (define-public r-directlabels
5584 (name "r-directlabels")
5585 (version "2020.1.31")
5589 (uri (cran-uri "directlabels" version))
5592 "08s1gnwp4bn8xahwjaq0f1qzhwh2dvybzhq3z7xyzn8cnyzmis6c"))))
5593 (build-system r-build-system)
5595 `(("r-quadprog" ,r-quadprog)))
5596 (home-page "http://directlabels.r-forge.r-project.org/")
5597 (synopsis "Direct labels for multicolor plots")
5599 "This package provides an extensible framework for automatically placing
5600 direct labels onto multicolor plots. Label positions are described using
5601 positioning methods that can be re-used across several different plots. There
5602 are heuristics for examining @code{trellis} and @code{ggplot} objects and
5603 inferring an appropriate positioning method.")
5604 (license license:gpl3)))
5606 (define-public r-catterplots
5607 (let ((commit "ae17cd5e49ddda4ecfe0eba8a4c21df8c88e72c4")
5610 (name "r-catterplots")
5611 (version (git-version "0" revision commit))
5615 (url "https://github.com/Gibbsdavidl/CatterPlots.git")
5617 (file-name (git-file-name name version))
5620 "0qa8liylffpxgdg8xcgjar5dsvczqhn3akd4w35113hnyg1m4xyg"))))
5621 (build-system r-build-system)
5623 `(("r-png" ,r-png)))
5624 (home-page "https://github.com/Gibbsdavidl/CatterPlots")
5625 (synopsis "Scatter plots with cat shaped points")
5626 (description "Did you ever wish you could make scatter plots with cat
5627 shaped points? Now you can!")
5628 (license license:asl2.0))))
5630 (define-public r-colorout
5638 (url "https://github.com/jalvesaq/colorout.git")
5639 (commit (string-append "v" version))))
5640 (file-name (git-file-name name version))
5642 (base32 "1rsx69wjpa73c6x2hacvvvbzdzxn7wg06gizf97kasjdlb7azmp3"))))
5643 (build-system r-build-system)
5644 (home-page "https://github.com/jalvesaq/colorout")
5645 (synopsis "Colorize output in the R REPL")
5646 (description "@code{colorout} is an R package that colorizes R output when
5647 running in terminal emulator.
5649 R STDOUT is parsed and numbers, negative numbers, dates in the standard
5650 format, strings, and R constants are identified and wrapped by special ANSI
5651 scape codes that are interpreted by terminal emulators as commands to colorize
5652 the output. R STDERR is also parsed to identify the expressions warning and
5653 error and their translations to many languages. If these expressions are
5654 found, the output is colorized accordingly; otherwise, it is colorized as
5655 STDERROR (blue, by default).
5657 You can customize the colors according to your taste, guided by the color
5658 table made by the command @code{show256Colors()}. You can also set the colors
5659 to any arbitrary string. In this case, it is up to you to set valid values.")
5660 (license license:gpl3+)))
5662 (define-public python-rpy2
5663 ;; We need to take this changeset instead of the RELEASE_3_0_4 tag, because
5664 ;; it fixes a regression when using ggplot 3.2.0.
5665 (let ((changeset "19868a8")
5668 (name "python-rpy2")
5669 (version (git-version "3.0.4" revision changeset))
5674 (url "https://bitbucket.org/rpy2/rpy2")
5675 (changeset changeset)))
5676 (file-name (git-file-name name version))
5679 "1bb0wslcbj3wjvyk3jb9yyzdi6adfqh5vfgcvn22dyzxzbhcs8kk"))))
5680 (build-system python-build-system)
5682 '(#:modules ((ice-9 ftw)
5686 (guix build python-build-system))
5688 (modify-phases %standard-phases
5690 (lambda* (#:key outputs inputs #:allow-other-keys)
5691 (let ((cwd (getcwd)))
5693 (setenv "PYTHONPATH"
5694 (string-append cwd "/build/"
5695 (find (cut string-prefix? "lib" <>)
5696 (scandir (string-append cwd "/build")))
5698 (getenv "PYTHONPATH"))))
5699 (invoke "pytest" "-v" "rpy/tests/"))))))
5701 `(("python-cffi" ,python-cffi)
5702 ("python-six" ,python-six)
5703 ("python-jinja2" ,python-jinja2)
5704 ("python-numpy" ,python-numpy)
5705 ("python-pandas" ,python-pandas)
5706 ("python-pytz" ,python-pytz)
5707 ("python-ipython" ,python-ipython)
5708 ("python-tzlocal" ,python-tzlocal)))
5710 `(("readline" ,readline)
5713 ("r-minimal" ,r-minimal)
5714 ("r-survival" ,r-survival)
5715 ("r-ggplot2" ,r-ggplot2)
5716 ("r-rsqlite" ,r-rsqlite)
5717 ("r-dplyr" ,r-dplyr)
5718 ("r-dbplyr" ,r-dbplyr)
5719 ("python-numpy" ,python-numpy)))
5722 ("python-pytest" ,python-pytest)))
5723 (home-page "https://rpy2.bitbucket.io/")
5724 (synopsis "Python interface to the R language")
5725 (description "rpy2 is a redesign and rewrite of rpy. It is providing a
5726 low-level interface to R from Python, a proposed high-level interface,
5727 including wrappers to graphical libraries, as well as R-like structures and
5729 ;; Any of these licenses can be picked for the R interface. The whole
5730 ;; project is released under GPLv2+ according to the license declaration
5732 (license (list license:mpl2.0 license:gpl2+ license:lgpl2.1+)))))
5734 (define-public java-jdistlib
5736 (name "java-jdistlib")
5740 (uri (string-append "mirror://sourceforge/jdistlib/jdistlib-"
5741 version "-src.jar"))
5744 "1pkj8aahw9ydr1isbaqrkd05nvq98ik5jwwhf3yf3rky3z869v11"))))
5745 (build-system ant-build-system)
5747 `(#:jar-name "jdistlib.jar"
5749 #:tests? #f ; no dedicated test directory
5751 (modify-phases %standard-phases
5752 (add-after 'unpack 'fix-broken-encoding
5754 (with-fluids ((%default-port-encoding "ISO-8859-1"))
5755 (substitute* "src/jdistlib/Beta.java"
5756 (("Scheff.+-Tukey") "Scheffe-Tukey")))
5759 `(("java-jtransforms" ,java-jtransforms)))
5761 `(("java-junit" ,java-junit)))
5762 (home-page "http://jdistlib.sourceforge.net/")
5763 (synopsis "Java library of statistical distributions")
5764 (description "JDistlib is the Java Statistical Distribution Library, a
5765 Java package that provides routines for various statistical distributions.")
5766 ;; The files that were translated from R code are under GPLv2+; some files
5767 ;; are under the GPLv3, which is a mistake. The author confirmed in an
5768 ;; email that this whole project should be under GPLv2+.
5769 (license license:gpl2+)))
5771 (define-public emacs-ess
5777 (uri (string-append "https://github.com/emacs-ess/ESS/archive/v"
5781 "0cbilbsiwvcyf6d5y24mymp57m3ana5dkzab3knfs83w4a3a4c5c"))
5782 (file-name (string-append name "-" version ".tar.gz"))
5783 (modules '((guix build utils)))
5786 ;; Stop ESS from trying to bundle an external julia-mode.el.
5787 (substitute* "lisp/Makefile"
5788 (("^\tjulia-mode.elc\\\\\n") "")
5789 (("^dist: all julia-mode.el")
5791 ;; No need to build docs in so many formats. Also, skipping
5792 ;; pdf lets us not pull in texlive.
5793 (substitute* "doc/Makefile"
5794 (("all : info text html pdf")
5796 (("install: install-info install-other-docs")
5797 "install: install-info"))
5798 ;; Test fails upstream
5799 (substitute* "test/ess-r-tests.el"
5800 (("ert-deftest ess-r-namespaced-eval-no-srcref-in-errors ()")
5801 "ert-deftest ess-r-namespaced-eval-no-srcref-in-errors () :expected-result :failed"))
5803 (build-system gnu-build-system)
5805 (let ((base-directory "/share/emacs/site-lisp"))
5806 `(#:make-flags (list (string-append "PREFIX=" %output)
5807 (string-append "ETCDIR=" %output "/"
5808 ,base-directory "/etc")
5809 (string-append "LISPDIR=" %output "/"
5812 (modify-phases %standard-phases
5814 (add-before 'build 'more-shebang-patching
5815 (lambda* (#:key inputs #:allow-other-keys)
5816 (substitute* "Makeconf"
5817 (("SHELL = /bin/sh")
5818 (string-append "SHELL = " (which "sh"))))
5822 (invoke "make" "test")))))))
5824 `(("emacs" ,emacs-minimal)
5825 ("r-minimal" ,r-minimal)))
5828 ("texinfo" ,texinfo)))
5830 `(("emacs-julia-mode" ,emacs-julia-mode)))
5831 (home-page "https://ess.r-project.org/")
5832 (synopsis "Emacs mode for statistical analysis programs")
5833 (description "Emacs Speaks Statistics (ESS) is an add-on package for GNU
5834 Emacs. It is designed to support editing of scripts and interaction with
5835 various statistical analysis programs such as R, Julia, and JAGS.")
5836 (license license:gpl2+)))