gnu: webkitgtk: Update to 2.28.2.
[jackhill/guix/guix.git] / gnu / packages / statistics.scm
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>
14 ;;;
15 ;;; This file is part of GNU Guix.
16 ;;;
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.
21 ;;;
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.
26 ;;;
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/>.
29
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))
85
86
87 (define-public pspp
88 (package
89 (name "pspp")
90 (version "1.2.0")
91 (source
92 (origin
93 (method url-fetch)
94 (uri (string-append "mirror://gnu/pspp/pspp-"
95 version ".tar.gz"))
96 (sha256
97 (base32
98 "07pp27zycrb5x927jwaj9r3q7hy915jh51xs85zxby6gfiwl63m5"))))
99 (build-system gnu-build-system)
100 (inputs
101 `(("cairo" ,cairo)
102 ("gettext" ,gettext-minimal)
103 ("gsl" ,gsl)
104 ("libxml2" ,libxml2)
105 ("pango" ,pango)
106 ("readline" ,readline)
107 ("gtk" ,gtk+)
108 ("gtksourceview" ,gtksourceview)
109 ("spread-sheet-widget" ,spread-sheet-widget)
110 ("zlib" ,zlib)))
111 (native-inputs
112 `(("autoconf" ,autoconf) ;for tests
113 ("glib" ,glib "bin") ;for glib-genmarshal
114 ("perl" ,perl)
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")
120 (description
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+)))
128
129 (define-public jags
130 (package
131 (name "jags")
132 (version "4.3.0")
133 (source (origin
134 (method url-fetch)
135 (uri (string-append "mirror://sourceforge/mcmc-jags/JAGS/"
136 (version-major version) ".x/Source/"
137 "JAGS-" version ".tar.gz"))
138 (sha256
139 (base32
140 "1z3icccg2ic56vmhyrpinlsvpq7kcaflk1731rgpvz9bk1bxvica"))))
141 (build-system gnu-build-system)
142 (home-page "http://mcmc-jags.sourceforge.net/")
143 (native-inputs
144 `(("gfortran" ,gfortran)
145 ("lapack" ,lapack)))
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:
150
151 @enumerate
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.
156 @end enumerate\n")
157 (license license:gpl2)))
158
159 (define-public libxls
160 (package
161 (name "libxls")
162 (version "1.5.2")
163 (source
164 (origin
165 (method url-fetch)
166 (uri (string-append "https://github.com/libxls/libxls/releases/download/"
167 "v" version "/libxls-" version ".tar.gz"))
168 (sha256
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")
173 (description
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.
176
177 This package also provides @command{xls2csv} to export Excel files to CSV.")
178 (license license:bsd-2)))
179
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.
183 (define r-with-tests
184 (package
185 (name "r-with-tests")
186 (version "3.6.3")
187 (source (origin
188 (method url-fetch)
189 (uri (string-append "mirror://cran/src/base/R-"
190 (version-major version) "/R-"
191 version ".tar.gz"))
192 (sha256
193 (base32
194 "13xaxwfbzj0bd6rn2n27z0n04lb93mcyq991w4vdbbg8v282jc49"))))
195 (build-system gnu-build-system)
196 (arguments
197 `(#:disallowed-references (,tzdata-for-tests)
198 #:make-flags
199 (list (string-append "LDFLAGS=-Wl,-rpath="
200 (assoc-ref %outputs "out")
201 "/lib/R/lib")
202 ;; This affects the embedded timestamp of only the core packages.
203 "PKG_BUILT_STAMP=1970-01-01")
204 #:phases
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"))
212 #t))
213 (add-before 'configure 'patch-uname
214 (lambda* (#:key inputs #:allow-other-keys)
215 (let ((uname-bin (string-append (assoc-ref inputs "coreutils")
216 "/bin/uname")))
217 (substitute* "src/scripts/R.sh.in"
218 (("uname") uname-bin)))
219 #t))
220 (add-after 'unpack 'build-reproducibly
221 (lambda _
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)"))
227
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\")"))
233
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")))
239
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.
244
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")))
253
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')\"")))
259
260 (substitute* "src/library/Recommended/Makefile.in"
261 (("INSTALL_OPTS =" m)
262 (string-append m " --built-timestamp=1970-01-01" m)))
263
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"))))
271 #t))
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")
282 (setenv "TZDIR"
283 (string-append (assoc-ref inputs "tzdata")
284 "/share/zoneinfo"))
285 #t))
286 (add-after 'build 'make-info
287 (lambda _ (invoke "make" "info")))
288 (add-after 'build 'install-info
289 (lambda _ (invoke "make" "install-info"))))
290 #:configure-flags
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
293 ;; package.
294 "--with-cairo"
295 "--with-blas=-lopenblas"
296 "--with-libpng"
297 "--with-jpeglib"
298 "--with-libtiff"
299 "--with-ICU"
300 "--with-tcltk"
301 ,(string-append "--with-tcl-config="
302 (assoc-ref %build-inputs "tcl")
303 "/lib/tclConfig.sh")
304 ,(string-append "--with-tk-config="
305 (assoc-ref %build-inputs "tk")
306 "/lib/tkConfig.sh")
307 "--enable-R-shlib"
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.
317
318 ;; As the JDK is a rather large input with only very limited effects on R,
319 ;; we decided to drop it.
320 (native-inputs
321 `(("bzip2" ,bzip2)
322 ("perl" ,perl)
323 ("pkg-config" ,pkg-config)
324 ("texinfo" ,texinfo) ; for building HTML manuals
325 ("texlive" ,(texlive-union (list texlive-fonts-ec
326 texlive-amsfonts
327 texlive-latex-base
328 texlive-latex-fancyvrb
329 texlive-latex-graphics
330 texlive-latex-hyperref
331 texlive-latex-oberdiek
332 texlive-latex-tools
333 texlive-latex-upquote
334 texlive-latex-url)))
335 ("tzdata" ,tzdata-for-tests)
336 ("xz" ,xz)))
337 (inputs
338 `(;; We need not only cairo here, but pango to ensure that tests for the
339 ;; "cairo" bitmapType plotting backend succeed.
340 ("pango" ,pango)
341 ("coreutils" ,coreutils)
342 ("curl" ,curl)
343 ("openblas" ,openblas)
344 ("gfortran" ,gfortran)
345 ("icu4c" ,icu4c)
346 ("libjpeg" ,libjpeg)
347 ("libpng" ,libpng)
348 ("libtiff" ,libtiff)
349 ("libxt" ,libxt)
350 ("pcre" ,pcre)
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)
355 ("tcl" ,tcl)
356 ("tk" ,tk)
357 ("which" ,which)
358 ("zlib" ,zlib)))
359 (native-search-paths
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")
365 (description
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+)))
373
374 (define-public r-minimal
375 (package (inherit r-with-tests)
376 (name "r-minimal")
377 (arguments
378 `(#:tests? #f
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
384 ;; instead.
385 `(cons "--without-recommended-packages" ,flags)))))))
386
387 (define-public rmath-standalone
388 (package (inherit r-minimal)
389 (name "rmath-standalone")
390 (arguments
391 '(#:phases
392 (modify-phases %standard-phases
393 (add-after 'configure 'chdir
394 (lambda _ (chdir "src/nmath/standalone/") #t)))))
395 (synopsis "Standalone R math library")
396 (description
397 "This package provides the R math library as an independent package.")))
398
399 (define-public r-boot
400 (package
401 (name "r-boot")
402 (version "1.3-24")
403 (source
404 (origin
405 (method url-fetch)
406 (uri (cran-uri "boot" version))
407 (sha256
408 (base32
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")
413 (description
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"))))
419
420 (define-public r-mass
421 (package
422 (name "r-mass")
423 (version "7.3-51.5")
424 (source
425 (origin
426 (method url-fetch)
427 (uri (cran-uri "MASS" version))
428 (sha256
429 (base32
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")
435 (description
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))))
440
441 (define-public r-class
442 (package
443 (name "r-class")
444 (version "7.3-16")
445 (source
446 (origin
447 (method url-fetch)
448 (uri (cran-uri "class" version))
449 (sha256
450 (base32
451 "1jpdgj0lsi60q0mqbhfw809w8d66whix27y6wpdzll6775g3j3ll"))))
452 (build-system r-build-system)
453 (propagated-inputs
454 `(("r-mass" ,r-mass)))
455 (home-page "http://www.stats.ox.ac.uk/pub/MASS4/")
456 (synopsis "R functions for classification")
457 (description
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))))
462
463 (define-public r-cluster
464 (package
465 (name "r-cluster")
466 (version "2.1.0")
467 (source
468 (origin
469 (method url-fetch)
470 (uri (cran-uri "cluster" version))
471 (sha256
472 (base32
473 "055af3yz2biqbsbwm4arwr1yqnj4gicpzv2i6dbfl5pnz2z5byga"))))
474 (build-system r-build-system)
475 (native-inputs
476 `(("gfortran" ,gfortran)))
477 (home-page "https://cran.r-project.org/web/packages/cluster")
478 (synopsis "Methods for cluster analysis")
479 (description
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+)))
484
485 (define-public r-codetools
486 (package
487 (name "r-codetools")
488 (version "0.2-16")
489 (source
490 (origin
491 (method url-fetch)
492 (uri (cran-uri "codetools" version))
493 (sha256
494 (base32
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+))))
503
504 (define-public r-foreign
505 (package
506 (name "r-foreign")
507 (version "0.8-76")
508 (source
509 (origin
510 (method url-fetch)
511 (uri (cran-uri "foreign" version))
512 (sha256
513 (base32
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")
518 (description
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+)))
523
524 (define-public r-kernsmooth
525 (package
526 (name "r-kernsmooth")
527 (version "2.23-16")
528 (source
529 (origin
530 (method url-fetch)
531 (uri (cran-uri "KernSmooth" version))
532 (sha256
533 (base32
534 "1acrkbdn3a74y4dndkcdl1njnpfqz7gk3bsz03g8lfj8l7z53hmq"))))
535 (properties `((upstream-name . "KernSmooth")))
536 (build-system r-build-system)
537 (native-inputs
538 `(("gfortran" ,gfortran)))
539 (home-page "https://cran.r-project.org/web/packages/KernSmooth")
540 (synopsis "Functions for kernel smoothing")
541 (description
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"))))
547
548 (define-public r-lattice
549 (package
550 (name "r-lattice")
551 (version "0.20-41")
552 (source (origin
553 (method url-fetch)
554 (uri (cran-uri "lattice" version))
555 (sha256
556 (base32
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")
561 (description
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+)))
567
568 (define-public r-matrix
569 (package
570 (name "r-matrix")
571 (version "1.2-18")
572 (source
573 (origin
574 (method url-fetch)
575 (uri (cran-uri "Matrix" version))
576 (sha256
577 (base32
578 "06b1rc1vq65b271f2wpzhqkvhng8hwwnvjflzxkng50i52603zzp"))))
579 (properties `((upstream-name . "Matrix")))
580 (build-system r-build-system)
581 (propagated-inputs
582 `(("r-lattice" ,r-lattice)))
583 (home-page "http://Matrix.R-forge.R-project.org/")
584 (synopsis "Sparse and dense matrix classes and methods")
585 (description
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+)))
589
590 (define-public r-nlme
591 (package
592 (name "r-nlme")
593 (version "3.1-147")
594 (source
595 (origin
596 (method url-fetch)
597 (uri (cran-uri "nlme" version))
598 (sha256
599 (base32 "1rqc3wy3lmy0wczsvsn8yszzsxhppfwg4iznb1j6ki2qawpdij7g"))))
600 (build-system r-build-system)
601 (propagated-inputs
602 `(("r-lattice" ,r-lattice)))
603 (native-inputs
604 `(("gfortran" ,gfortran)))
605 (home-page "https://cran.r-project.org/web/packages/nlme")
606 (synopsis "Linear and nonlinear mixed effects models")
607 (description
608 "This package provides tools to fit and compare Gaussian linear and
609 nonlinear mixed-effects models.")
610 (license license:gpl2+)))
611
612 (define-public r-mgcv
613 (package
614 (name "r-mgcv")
615 (version "1.8-31")
616 (source
617 (origin
618 (method url-fetch)
619 (uri (cran-uri "mgcv" version))
620 (sha256
621 (base32 "1if34mqsn9r7g0l82lxvvx0wjhi9paqdymyd73nschxcl1if8vbk"))))
622 (build-system r-build-system)
623 (propagated-inputs
624 `(("r-matrix" ,r-matrix)
625 ("r-nlme" ,r-nlme)))
626 (home-page "https://cran.r-project.org/web/packages/mgcv")
627 (synopsis "Mixed generalised additive model computation")
628 (description
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+)))
634
635 (define-public r-nnet
636 (package
637 (name "r-nnet")
638 (version "7.3-13")
639 (source
640 (origin
641 (method url-fetch)
642 (uri (cran-uri "nnet" version))
643 (sha256
644 (base32
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")
649 (description
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+))))
653
654 (define-public r-rpart
655 (package
656 (name "r-rpart")
657 (version "4.1-15")
658 (source
659 (origin
660 (method url-fetch)
661 (uri (cran-uri "rpart" version))
662 (sha256
663 (base32
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")
668 (description
669 "This package provides recursive partitioning functions for
670 classification, regression and survival trees.")
671 (license (list license:gpl2+ license:gpl3+))))
672
673 (define-public r-spatial
674 (package
675 (name "r-spatial")
676 (version "7.3-11")
677 (source
678 (origin
679 (method url-fetch)
680 (uri (cran-uri "spatial" version))
681 (sha256
682 (base32
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")
687 (description
688 "This package provides functions for kriging and point pattern
689 analysis.")
690 ;; Either version may be picked.
691 (license (list license:gpl2 license:gpl3))))
692
693 (define-public r-survival
694 (package
695 (name "r-survival")
696 (version "3.1-12")
697 (source
698 (origin
699 (method url-fetch)
700 (uri (cran-uri "survival" version))
701 (sha256
702 (base32
703 "07zj3gpwncw89hbiwjb6ih9axv5zwdqnbgz9yw9xzws6nrpdcbmn"))))
704 (build-system r-build-system)
705 (propagated-inputs
706 `(("r-matrix" ,r-matrix)))
707 (home-page "https://github.com/therneau/survival")
708 (synopsis "Survival analysis")
709 (description
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+)))
714
715 (define-public r
716 (package (inherit r-minimal)
717 (name "r")
718 (source #f)
719 (build-system trivial-build-system)
720 (arguments '(#:builder (begin (mkdir %output) #t)))
721 (propagated-inputs
722 `(("r-minimal" ,r-minimal)
723 ("r-boot" ,r-boot)
724 ("r-class" ,r-class)
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)
730 ("r-mass" ,r-mass)
731 ("r-matrix" ,r-matrix)
732 ("r-mgcv" ,r-mgcv)
733 ("r-nlme" ,r-nlme)
734 ("r-nnet" ,r-nnet)
735 ("r-rpart" ,r-rpart)
736 ("r-spatial" ,r-spatial)
737 ("r-survival" ,r-survival)))))
738
739 (define-public r-bit
740 (package
741 (name "r-bit")
742 (version "1.1-15.2")
743 (source
744 (origin
745 (method url-fetch)
746 (uri (cran-uri "bit" version))
747 (sha256
748 (base32
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")
753 (description
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)))
759
760 (define-public r-bit64
761 (package
762 (name "r-bit64")
763 (version "0.9-7")
764 (source
765 (origin
766 (method url-fetch)
767 (uri (cran-uri "bit64" version))
768 (sha256
769 (base32
770 "07znvz9vp1nz1y5ljng4qyskvm943cdbmy996s67560ijxzsm6kv"))))
771 (build-system r-build-system)
772 (propagated-inputs
773 `(("r-bit" ,r-bit)))
774 (home-page "http://ff.r-forge.r-project.org/")
775 (synopsis "S3 class for vectors of 64 bit integers")
776 (description
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
783 caching.")
784 (license license:gpl2)))
785
786 (define-public r-dichromat
787 (package
788 (name "r-dichromat")
789 (version "2.0-0")
790 (source
791 (origin
792 (method url-fetch)
793 (uri (cran-uri "dichromat" version))
794 (sha256
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")
799 (description
800 "Dichromat collapses red-green or green-blue distinctions to simulate the
801 effects of different types of color-blindness.")
802 (license license:gpl2+)))
803
804 (define-public r-digest
805 (package
806 (name "r-digest")
807 (version "0.6.25")
808 (source
809 (origin
810 (method url-fetch)
811 (uri (cran-uri "digest" version))
812 (sha256
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.
817 (arguments
818 `(#:tests? #f
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")
822 (description
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.
828
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+)))
833
834 (define-public r-estimability
835 (package
836 (name "r-estimability")
837 (version "1.3")
838 (source (origin
839 (method url-fetch)
840 (uri (cran-uri "estimability" version))
841 (sha256
842 (base32
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+)))
851
852 (define-public r-labeling
853 (package
854 (name "r-labeling")
855 (version "0.3")
856 (source
857 (origin
858 (method url-fetch)
859 (uri (cran-uri "labeling" version))
860 (sha256
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
866 algorithms.")
867 (license license:expat)))
868
869 (define-public r-magrittr
870 (package
871 (name "r-magrittr")
872 (version "1.5")
873 (source
874 (origin
875 (method url-fetch)
876 (uri (cran-uri "magrittr" version))
877 (sha256
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")
882 (description
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)))
889
890 (define-public r-munsell
891 (package
892 (name "r-munsell")
893 (version "0.5.0")
894 (source
895 (origin
896 (method url-fetch)
897 (uri (cran-uri "munsell" version))
898 (sha256
899 (base32 "16g1fzisbpqb15yh3pqf3iia4csppva5dnv1z88x9dg263xskwyh"))))
900 (build-system r-build-system)
901 (propagated-inputs
902 `(("r-colorspace" ,r-colorspace)))
903 (home-page "https://cran.r-project.org/web/packages/munsell")
904 (synopsis "Munsell colour system")
905 (description
906 "The Munsell package contains Functions for exploring and using the
907 Munsell colour system.")
908 (license license:expat)))
909
910 (define-public r-permute
911 (package
912 (name "r-permute")
913 (version "0.9-5")
914 (source
915 (origin
916 (method url-fetch)
917 (uri (cran-uri "permute" version))
918 (sha256
919 (base32
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")
926 (description
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+)))
932
933 (define-public r-plyr
934 (package
935 (name "r-plyr")
936 (version "1.8.6")
937 (source
938 (origin
939 (method url-fetch)
940 (uri (cran-uri "plyr" version))
941 (sha256
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")
947 (description
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)))
954
955 (define-public r-proto
956 (package
957 (name "r-proto")
958 (version "1.0.0")
959 (source
960 (origin
961 (method url-fetch)
962 (uri (cran-uri "proto" version))
963 (sha256
964 (base32 "1l843p8vckjckdhgv37ngv47fga5jzy0n00pmipvp05nnaixk54j"))))
965 (build-system r-build-system)
966 (home-page "https://github.com/hadley/proto")
967 (synopsis "Prototype object-based programming")
968 (description
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+)))
972
973 (define-public r-rcolorbrewer
974 (package
975 (name "r-rcolorbrewer")
976 (version "1.1-2")
977 (source
978 (origin
979 (method url-fetch)
980 (uri (cran-uri "RColorBrewer" version))
981 (sha256
982 (base32 "1pfcl8z1pnsssfaaz9dvdckyfnnc6rcq56dhislbf571hhg7isgk"))))
983 (build-system r-build-system)
984 (home-page "https://cran.r-project.org/web/packages/RColorBrewer")
985 (synopsis "ColorBrewer palettes")
986 (description
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)))
991
992 (define-public r-sendmailr
993 (package
994 (name "r-sendmailr")
995 (version "1.2-1")
996 (source
997 (origin
998 (method url-fetch)
999 (uri (cran-uri "sendmailR" version))
1000 (sha256
1001 (base32
1002 "0z7ipywnzgkhfvl4zb2fjwl1xq7b5wib296vn9c9qgbndj6b1zh4"))))
1003 (properties `((upstream-name . "sendmailR")))
1004 (build-system r-build-system)
1005 (propagated-inputs
1006 `(("r-base64enc" ,r-base64enc)))
1007 (home-page
1008 "https://cran.r-project.org/web/packages/sendmailR")
1009 (synopsis "Send email using R")
1010 (description
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+)))
1014
1015 (define-public r-stringi
1016 (package
1017 (name "r-stringi")
1018 (version "1.4.6")
1019 (source
1020 (origin
1021 (method url-fetch)
1022 (uri (cran-uri "stringi" version))
1023 (sha256
1024 (base32
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")
1031 (description
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)))
1040
1041 (define-public r-stringr
1042 (package
1043 (name "r-stringr")
1044 (version "1.4.0")
1045 (source
1046 (origin
1047 (method url-fetch)
1048 (uri (cran-uri "stringr" version))
1049 (sha256
1050 (base32 "1p9ip7p87gbbg4s6d3d392svvzz2b5dqdq2c8ilgvn4s78nlsq47"))))
1051 (build-system r-build-system)
1052 (propagated-inputs
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")
1058 (description
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+)))
1065
1066 (define-public r-reshape2
1067 (package
1068 (name "r-reshape2")
1069 (version "1.4.4")
1070 (source
1071 (origin
1072 (method url-fetch)
1073 (uri (cran-uri "reshape2" version))
1074 (sha256
1075 (base32 "1n0jrajpvc8hjkh9z4g8bwq63qy5vy5cgl2pzjardyih4ngcz3fq"))))
1076 (build-system r-build-system)
1077 (propagated-inputs
1078 `(("r-plyr" ,r-plyr)
1079 ("r-rcpp" ,r-rcpp)
1080 ("r-stringr" ,r-stringr)))
1081 (home-page "https://github.com/hadley/reshape")
1082 (synopsis "Flexibly reshape data: a reboot of the \"reshape\" package")
1083 (description
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)))
1087
1088 (define-public r-ggplot2
1089 (package
1090 (name "r-ggplot2")
1091 (version "3.3.0")
1092 (source
1093 (origin
1094 (method url-fetch)
1095 (uri (cran-uri "ggplot2" version))
1096 (sha256
1097 (base32 "0j21am605kqqzlwhm45kaj0m2irnmy2vz0j7kzi9f0qdzrv3q3ij"))))
1098 (build-system r-build-system)
1099 (propagated-inputs
1100 `(("r-digest" ,r-digest)
1101 ("r-glue" ,r-glue)
1102 ("r-gtable" ,r-gtable)
1103 ("r-isoband" ,r-isoband)
1104 ("r-mass" ,r-mass)
1105 ("r-mgcv" ,r-mgcv)
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")
1113 (description
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+)))
1121
1122 (define-public r-ggdendro
1123 (package
1124 (name "r-ggdendro")
1125 (version "0.1-20")
1126 (source (origin
1127 (method url-fetch)
1128 (uri (cran-uri "ggdendro" version))
1129 (sha256
1130 (base32
1131 "1zzq1hxd0d1qa5hrzwfkdw6fzscpcafbwbpkrb62dm559y8awp0j"))))
1132 (build-system r-build-system)
1133 (propagated-inputs
1134 `(("r-ggplot2" ,r-ggplot2)
1135 ("r-mass" ,r-mass)
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+)))
1147
1148 (define-public r-gdtools
1149 (package
1150 (name "r-gdtools")
1151 (version "0.2.2")
1152 (source
1153 (origin
1154 (method url-fetch)
1155 (uri (cran-uri "gdtools" version))
1156 (sha256
1157 (base32
1158 "08njzin0c6biw62j5w30r9j85vr1m2cg4hmv5d76nym860yrlqjf"))))
1159 (build-system r-build-system)
1160 (native-inputs
1161 `(("pkg-config" ,pkg-config)))
1162 (inputs
1163 `(("cairo" ,cairo)
1164 ("freetype2" ,freetype)
1165 ("zlib" ,zlib)))
1166 (propagated-inputs
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")
1171 (description
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)))
1175
1176 (define-public r-svglite
1177 (package
1178 (name "r-svglite")
1179 (version "1.2.3")
1180 (source
1181 (origin
1182 (method url-fetch)
1183 (uri (cran-uri "svglite" version))
1184 (sha256
1185 (base32
1186 "1zivykbi1pxdxhrkc1if1ihdn5p27j0nai2q0abca1dwry3wg2yl"))))
1187 (build-system r-build-system)
1188 (propagated-inputs
1189 `(("r-bh" ,r-bh)
1190 ("r-gdtools" ,r-gdtools)
1191 ("r-rcpp" ,r-rcpp)))
1192 (home-page "https://github.com/hadley/svglite")
1193 (synopsis "SVG graphics device")
1194 (description
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+)))
1200
1201 (define-public r-assertthat
1202 (package
1203 (name "r-assertthat")
1204 (version "0.2.1")
1205 (source (origin
1206 (method url-fetch)
1207 (uri (cran-uri "assertthat" version))
1208 (sha256
1209 (base32
1210 "17wy5bdfzg73sg2clisg1k3zyn1adkj59x56m5nwia2k8z67zkw5"))))
1211 (build-system r-build-system)
1212 (home-page "https://github.com/hadley/assertthat")
1213 (synopsis "Easy pre and post assertions")
1214 (description
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
1218 wrong.")
1219 (license license:gpl3+)))
1220
1221 (define-public r-lazyeval
1222 (package
1223 (name "r-lazyeval")
1224 (version "0.2.2")
1225 (source (origin
1226 (method url-fetch)
1227 (uri (cran-uri "lazyeval" version))
1228 (sha256
1229 (base32
1230 "1m10i059csrcqkcn59a8wspn784alxsq3symzhn24mhhl894346n"))))
1231 (build-system r-build-system)
1232 (home-page "https://github.com/hadley/lazyeval")
1233 (synopsis "Lazy (non-standard) evaluation in R")
1234 (description
1235 "This package provides the tools necessary to do non-standard
1236 evaluation (NSE) in R.")
1237 (license license:gpl3+)))
1238
1239 (define-public r-dbi
1240 (package
1241 (name "r-dbi")
1242 (version "1.1.0")
1243 (source (origin
1244 (method url-fetch)
1245 (uri (cran-uri "DBI" version))
1246 (sha256
1247 (base32
1248 "1r03j9rdcxb9bhxk40dkmy10ikz4yzsxhy3f9k9ix3x577xbfvd9"))))
1249 (build-system r-build-system)
1250 (home-page "https://github.com/rstats-db/DBI")
1251 (synopsis "R database interface")
1252 (description
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+)))
1258
1259 (define-public r-bh
1260 (package
1261 (name "r-bh")
1262 (version "1.72.0-3")
1263 (source (origin
1264 (method url-fetch)
1265 (uri (cran-uri "BH" version))
1266 (sha256
1267 (base32
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")
1272 (description
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)))
1276
1277 (define-public r-evaluate
1278 (package
1279 (name "r-evaluate")
1280 (version "0.14")
1281 (source (origin
1282 (method url-fetch)
1283 (uri (cran-uri "evaluate" version))
1284 (sha256
1285 (base32
1286 "0a2y7j534gbgixkwj9r1z76l2vssw4g1hznzbpclc076wkdqpj58"))))
1287 (build-system r-build-system)
1288 (home-page "https://github.com/hadley/evaluate")
1289 (synopsis "Parsing and evaluation tools for R")
1290 (description
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+)))
1296
1297 (define-public r-formatr
1298 (package
1299 (name "r-formatr")
1300 (version "1.7")
1301 (source (origin
1302 (method url-fetch)
1303 (uri (cran-uri "formatR" version))
1304 (sha256
1305 (base32
1306 "1nsxbrx31k3y6yql30qkrvdfyznlia2qfvwv95mfiy7m7wdn4rm3"))))
1307 (build-system r-build-system)
1308 (home-page "https://yihui.org/formatr/")
1309 (synopsis "Format R code automatically")
1310 (description
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+)))
1316
1317 (define-public r-highr
1318 (package
1319 (name "r-highr")
1320 (version "0.8")
1321 (source (origin
1322 (method url-fetch)
1323 (uri (cran-uri "highr" version))
1324 (sha256
1325 (base32
1326 "0my6idnhmmgs4q1vs40y2lh56yij2p59mpwvm53wjs2zk6x1zl2b"))))
1327 (build-system r-build-system)
1328 (home-page "https://github.com/yihui/highr")
1329 (synopsis "Syntax highlighting for R source code")
1330 (description
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+)))
1335
1336 (define-public r-mime
1337 (package
1338 (name "r-mime")
1339 (version "0.9")
1340 (source (origin
1341 (method url-fetch)
1342 (uri (cran-uri "mime" version))
1343 (sha256
1344 (base32
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")
1349 (description
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)))
1353
1354 (define-public r-markdown
1355 (package
1356 (name "r-markdown")
1357 (version "1.1")
1358 (source (origin
1359 (method url-fetch)
1360 (uri (cran-uri "markdown" version))
1361 (sha256
1362 (base32
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
1368 ;; package.
1369 (arguments `(#:tests? #f))
1370 (propagated-inputs
1371 `(("r-mime" ,r-mime)
1372 ("r-xfun" ,r-xfun)))
1373 (home-page "https://github.com/rstudio/markdown")
1374 (synopsis "Markdown rendering for R")
1375 (description
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)))
1380
1381 (define-public r-yaml
1382 (package
1383 (name "r-yaml")
1384 (version "2.2.1")
1385 (source (origin
1386 (method url-fetch)
1387 (uri (cran-uri "yaml" version))
1388 (sha256
1389 (base32
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")
1394 (description
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)))
1398
1399 (define-public r-knitr
1400 (package
1401 (name "r-knitr")
1402 (version "1.28")
1403 (source (origin
1404 (method url-fetch)
1405 (uri (cran-uri "knitr" version))
1406 (sha256
1407 (base32
1408 "0ai382fmpz25qrhdgchs3vph2cdvyd73xyryg4jby5fp67d03vh5"))))
1409 (build-system r-build-system)
1410 (propagated-inputs
1411 `(("r-evaluate" ,r-evaluate)
1412 ("r-highr" ,r-highr)
1413 ("r-markdown" ,r-markdown)
1414 ("r-stringr" ,r-stringr)
1415 ("r-xfun" ,r-xfun)
1416 ("r-yaml" ,r-yaml)))
1417 (home-page "https://yihui.org/knitr/")
1418 (synopsis "General-purpose package for dynamic report generation in R")
1419 (description
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+
1424 ;; here.
1425 (license license:gpl2+)))
1426
1427 (define-public r-knitrbootstrap
1428 (package
1429 (name "r-knitrbootstrap")
1430 (version "1.0.2")
1431 (source
1432 (origin
1433 (method url-fetch)
1434 (uri (cran-uri "knitrBootstrap" version))
1435 (sha256
1436 (base32
1437 "1aj60j7f0gcs120fdrnfbnb7vk7lfn1phil0mghg6a5zldz4cqs3"))))
1438 (properties `((upstream-name . "knitrBootstrap")))
1439 (build-system r-build-system)
1440 (propagated-inputs
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")
1446 (description
1447 "This package provides a framework to create Bootstrap 3 HTML reports
1448 from knitr Rmarkdown.")
1449 (license license:expat)))
1450
1451 (define-public r-microbenchmark
1452 (package
1453 (name "r-microbenchmark")
1454 (version "1.4-7")
1455 (source (origin
1456 (method url-fetch)
1457 (uri (cran-uri "microbenchmark" version))
1458 (sha256
1459 (base32
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")
1464 (description
1465 "This package provides infrastructure to accurately measure and compare
1466 the execution time of R expressions.")
1467 (license license:bsd-2)))
1468
1469 (define-public r-pryr
1470 (package
1471 (name "r-pryr")
1472 (version "0.1.4")
1473 (source (origin
1474 (method url-fetch)
1475 (uri (cran-uri "pryr" version))
1476 (sha256
1477 (base32
1478 "06vj5xl9x37kbd3l5bw7sbgfdnp37spvrjrn976rxi04clqk966k"))))
1479 (build-system r-build-system)
1480 (propagated-inputs
1481 `(("r-stringr" ,r-stringr)
1482 ("r-codetools" ,r-codetools)))
1483 (native-inputs
1484 `(("r-rcpp" ,r-rcpp)))
1485 (home-page "https://github.com/hadley/pryr")
1486 (synopsis "Tools for computing on the R language")
1487 (description
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)))
1491
1492 (define-public r-memoise
1493 (package
1494 (name "r-memoise")
1495 (version "1.1.0")
1496 (source (origin
1497 (method url-fetch)
1498 (uri (cran-uri "memoise" version))
1499 (sha256
1500 (base32
1501 "034qfc2xlh30x1q2vya239w34a3ir3y2fwnx2agbgbi6592zjxmj"))))
1502 (build-system r-build-system)
1503 (propagated-inputs
1504 `(("r-digest" ,r-digest)))
1505 (home-page "https://github.com/hadley/memoise")
1506 (synopsis "Memoise functions for R")
1507 (description
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)))
1511
1512 (define-public r-crayon
1513 (package
1514 (name "r-crayon")
1515 (version "1.3.4")
1516 (source (origin
1517 (method url-fetch)
1518 (uri (cran-uri "crayon" version))
1519 (sha256
1520 (base32
1521 "0s7s6vc3ww8pzanpjisym4jjvwcc5pi2qg8srx7jqlz9j3wrnvpw"))))
1522 (build-system r-build-system)
1523 (propagated-inputs
1524 `(("r-memoise" ,r-memoise)))
1525 (home-page "https://github.com/gaborcsardi/crayon")
1526 (synopsis "Colored terminal output for R")
1527 (description
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)))
1534
1535 (define-public r-praise
1536 (package
1537 (name "r-praise")
1538 (version "1.0.0")
1539 (source
1540 (origin
1541 (method url-fetch)
1542 (uri (cran-uri "praise" version))
1543 (sha256
1544 (base32
1545 "1gfyypnvmih97p2r0php9qa39grzqpsdbq5g0fdsbpq5zms5w0sw"))))
1546 (build-system r-build-system)
1547 (home-page "https://github.com/gaborcsardi/praise")
1548 (synopsis "Functions to praise users")
1549 (description
1550 "This package provides template functions to assist in building friendly
1551 R packages that praise their users.")
1552 (license license:expat)))
1553
1554 (define-public r-testthat
1555 (package
1556 (name "r-testthat")
1557 (version "2.3.2")
1558 (source (origin
1559 (method url-fetch)
1560 (uri (cran-uri "testthat" version))
1561 (sha256
1562 (base32
1563 "0v70v2fs0f2ir962z9csbjlj8snrq9mbjfyhhb9dhz3zy26qs9hs"))))
1564 (build-system r-build-system)
1565 (propagated-inputs
1566 `(("r-cli" ,r-cli)
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)
1574 ("r-r6" ,r-r6)
1575 ("r-rlang" ,r-rlang)
1576 ("r-withr" ,r-withr)))
1577 (home-page "https://github.com/hadley/testthat")
1578 (synopsis "Unit testing for R")
1579 (description
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)))
1583
1584 (define-public r-r6
1585 (package
1586 (name "r-r6")
1587 (version "2.4.1")
1588 (source (origin
1589 (method url-fetch)
1590 (uri (cran-uri "R6" version))
1591 (sha256
1592 (base32
1593 "0gma5z41mx02ka9h96xdyf3p6i1rx0izczrzj26c4mbnh9jgvc16"))))
1594 (build-system r-build-system)
1595 (home-page "https://github.com/wch/R6/")
1596 (synopsis "Classes with reference semantics in R")
1597 (description
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)))
1605
1606 (define-public r-rlang
1607 (package
1608 (name "r-rlang")
1609 (version "0.4.5")
1610 (source (origin
1611 (method url-fetch)
1612 (uri (cran-uri "rlang" version))
1613 (sha256
1614 (base32
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)))
1623
1624 (define-public r-tibble
1625 (package
1626 (name "r-tibble")
1627 (version "3.0.0")
1628 (source
1629 (origin
1630 (method url-fetch)
1631 (uri (cran-uri "tibble" version))
1632 (sha256
1633 (base32
1634 "0s84h8ls5qwixbs1n5safr3xqmg3p0llzdrd9sp4vs2572mwzqzi"))))
1635 (build-system r-build-system)
1636 (propagated-inputs
1637 `(("r-cli" ,r-cli)
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)))
1647 (native-inputs
1648 `(("r-knitr" ,r-knitr)))
1649 (home-page "https://github.com/hadley/tibble")
1650 (synopsis "Simple data frames")
1651 (description
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)))
1655
1656 (define-public r-dplyr
1657 (package
1658 (name "r-dplyr")
1659 (version "0.8.5")
1660 (source (origin
1661 (method url-fetch)
1662 (uri (cran-uri "dplyr" version))
1663 (sha256
1664 (base32
1665 "0602b4a9nffxx67q57csqp87nkrv33nn9wlaw1458yys9fzx6l2p"))))
1666 (build-system r-build-system)
1667 (propagated-inputs
1668 `(("r-assertthat" ,r-assertthat)
1669 ("r-bh" ,r-bh)
1670 ("r-ellipsis" ,r-ellipsis)
1671 ("r-glue" ,r-glue)
1672 ("r-magrittr" ,r-magrittr)
1673 ("r-pkgconfig" ,r-pkgconfig)
1674 ("r-plogr" ,r-plogr)
1675 ("r-r6" ,r-r6)
1676 ("r-rcpp" ,r-rcpp)
1677 ("r-rlang" ,r-rlang)
1678 ("r-tibble" ,r-tibble)
1679 ("r-tidyselect" ,r-tidyselect)))
1680 (native-inputs
1681 `(("r-knitr" ,r-knitr)))
1682 (home-page "https://github.com/hadley/dplyr")
1683 (synopsis "Tools for working with data frames in R")
1684 (description
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
1691 database.")
1692 (license license:expat)))
1693
1694 (define-public r-dbplyr
1695 (package
1696 (name "r-dbplyr")
1697 (version "1.4.2")
1698 (source
1699 (origin
1700 (method url-fetch)
1701 (uri (cran-uri "dbplyr" version))
1702 (sha256
1703 (base32
1704 "1q2dflr88s5a1amzfld3087q422vf70052qn84zyd8895kdg10xp"))))
1705 (build-system r-build-system)
1706 (propagated-inputs
1707 `(("r-assertthat" ,r-assertthat)
1708 ("r-dbi" ,r-dbi)
1709 ("r-dplyr" ,r-dplyr)
1710 ("r-glue" ,r-glue)
1711 ("r-purrr" ,r-purrr)
1712 ("r-r6" ,r-r6)
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")
1718 (description
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)))
1724
1725 (define-public r-acepack
1726 (package
1727 (name "r-acepack")
1728 (version "1.4.1")
1729 (source
1730 (origin
1731 (method url-fetch)
1732 (uri (cran-uri "acepack" version))
1733 (sha256
1734 (base32
1735 "1f98rpfjmhd92rdc3j004plyfpjailz6j0ycysbac0kgj83haxc2"))))
1736 (build-system r-build-system)
1737 (inputs
1738 `(("gfortran" ,gfortran)))
1739 (home-page "https://cran.r-project.org/web/packages/acepack")
1740 (synopsis "Functions for regression transformations")
1741 (description
1742 "This package provides ACE and AVAS methods for choosing regression
1743 transformations.")
1744 (license license:expat)))
1745
1746 (define-public r-formula
1747 (package
1748 (name "r-formula")
1749 (version "1.2-3")
1750 (source
1751 (origin
1752 (method url-fetch)
1753 (uri (cran-uri "Formula" version))
1754 (sha256
1755 (base32
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")
1761 (description
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
1765 side.")
1766 (license (list license:gpl2+ license:gpl3+))))
1767
1768 (define-public r-locfit
1769 (package
1770 (name "r-locfit")
1771 (version "1.5-9.4")
1772 (source
1773 (origin
1774 (method url-fetch)
1775 (uri (cran-uri "locfit" version))
1776 (sha256
1777 (base32
1778 "1vcw16qww4v4547w0gfvhqg60l051bsdlxa6zfcgcj9xbxf6dlyr"))))
1779 (build-system r-build-system)
1780 (propagated-inputs
1781 `(("r-lattice" ,r-lattice)))
1782 (home-page "https://cran.r-project.org/web/packages/locfit")
1783 (synopsis "Local regression, likelihood and density estimation")
1784 (description
1785 "This package provides functions used for local regression, likelihood
1786 and density estimation.")
1787 (license (list license:gpl2+ license:gpl3+))))
1788
1789 (define-public r-chron
1790 (package
1791 (name "r-chron")
1792 (version "2.3-55")
1793 (source (origin
1794 (method url-fetch)
1795 (uri (cran-uri "chron" version))
1796 (sha256
1797 (base32
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")
1802 (description
1803 "This package provides chronological R objects which can handle dates and
1804 times.")
1805 (license license:gpl2)))
1806
1807 (define-public r-data-table
1808 (package
1809 (name "r-data-table")
1810 (version "1.12.8")
1811 (source (origin
1812 (method url-fetch)
1813 (uri (cran-uri "data.table" version))
1814 (sha256
1815 (base32
1816 "1p7rf4v3ysflpgcmy9krkwmcy7z22wb08xm443649waz6lx5z9yk"))))
1817 (build-system r-build-system)
1818 (inputs
1819 `(("zlib" ,zlib)))
1820 (native-inputs
1821 `(("pkg-config" ,pkg-config)))
1822 (home-page "https://github.com/Rdatatable/data.table/wiki")
1823 (synopsis "Enhanced version of data.frame R object")
1824 (description
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+)))
1830
1831 (define-public r-xtable
1832 (package
1833 (name "r-xtable")
1834 (version "1.8-4")
1835 (source
1836 (origin
1837 (method url-fetch)
1838 (uri (cran-uri "xtable" version))
1839 (sha256
1840 (base32
1841 "077xfm0gphvhsay75amd9v90zk57kjgrrlgih04fyrbqqblc1gjs"))))
1842 (build-system r-build-system)
1843 (native-inputs
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")
1847 (description
1848 "This package provides tools to export R data as LaTeX and HTML tables.")
1849 (license license:gpl2+)))
1850
1851 (define-public python-patsy
1852 (package
1853 (name "python-patsy")
1854 (version "0.5.1")
1855 (source (origin
1856 (method url-fetch)
1857 (uri (pypi-uri "patsy" version))
1858 (sha256
1859 (base32
1860 "149rbrdzwns0ay88caf1zsm1r53v1q5np1mrb36na50y432cw5gi"))))
1861 (build-system python-build-system)
1862 (arguments
1863 `(#:phases
1864 (modify-phases %standard-phases
1865 (replace 'check
1866 (lambda _ (invoke "nosetests" "-v"))))))
1867 (propagated-inputs
1868 `(("python-numpy" ,python-numpy)
1869 ("python-scipy" ,python-scipy)
1870 ("python-six" ,python-six)))
1871 (native-inputs
1872 `(("python-nose" ,python-nose)))
1873 (home-page "https://github.com/pydata/patsy")
1874 (synopsis "Describe statistical models and build design matrices")
1875 (description
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))))
1882
1883 (define-public python2-patsy
1884 (package-with-python2 python-patsy))
1885
1886 (define-public python-statsmodels
1887 (package
1888 (name "python-statsmodels")
1889 (version "0.11.1")
1890 (source
1891 (origin
1892 (method url-fetch)
1893 (uri (pypi-uri "statsmodels" version))
1894 (sha256
1895 (base32
1896 "1w6mf8b86vizi2895j11szqryr2v1ckjig3wp9fv94aslfh3zpjv"))))
1897 (build-system python-build-system)
1898 (arguments
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.
1902 #:tests? #f
1903 #:phases
1904 (modify-phases %standard-phases
1905 (add-after 'unpack 'set-matplotlib-backend-to-agg
1906 (lambda _
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');"
1914 line)))
1915 #t)))))
1916 (propagated-inputs
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)))
1922 (native-inputs
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")
1928 (description
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)))
1933
1934 (define-public python2-statsmodels
1935 (let ((stats (package-with-python2 python-statsmodels)))
1936 (package (inherit stats)
1937 (propagated-inputs
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))))))
1944
1945 (define-public r-coda
1946 (package
1947 (name "r-coda")
1948 (version "0.19-3")
1949 (source (origin
1950 (method url-fetch)
1951 (uri (cran-uri "coda" version))
1952 (sha256
1953 (base32
1954 "1mn50bshky968gn4nf6vnkaa768fnvm1xmhkms7szwdw9341zpyk"))))
1955 (build-system r-build-system)
1956 (propagated-inputs
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
1963 chain.")
1964 (license license:gpl2+)))
1965
1966 (define-public r-ade4
1967 (package
1968 (name "r-ade4")
1969 (version "1.7-15")
1970 (source
1971 (origin
1972 (method url-fetch)
1973 (uri (cran-uri "ade4" version))
1974 (sha256
1975 (base32
1976 "1xpxznlqm8wb4d5z2dcrl0wi3jjciq2hr5rcx2b5aaipiiyzm1ij"))))
1977 (build-system r-build-system)
1978 (propagated-inputs
1979 `(("r-mass" ,r-mass)
1980 ("r-pixmap" ,r-pixmap)
1981 ("r-sp" ,r-sp)))
1982 (home-page "http://pbil.univ-lyon1.fr/ADE-4")
1983 (synopsis "Multivariate data analysis and graphical display")
1984 (description
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+)))
1988
1989 (define-public r-xml2
1990 (package
1991 (name "r-xml2")
1992 (version "1.3.1")
1993 (source
1994 (origin
1995 (method url-fetch)
1996 (uri (cran-uri "xml2" version))
1997 (sha256
1998 (base32
1999 "0r7rxp922785dcryghbb3wxqgdav7mafwnmxjqfx8zaj3v1q2j3z"))))
2000 (build-system r-build-system)
2001 (inputs
2002 `(("libxml2" ,libxml2)
2003 ("zlib" ,zlib)))
2004 (native-inputs
2005 `(("pkg-config" ,pkg-config)
2006 ("r-knitr" ,r-knitr)))
2007 (home-page "https://github.com/hadley/xml2")
2008 (synopsis "Parse XML with R")
2009 (description
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+)))
2013
2014 (define-public r-multitaper
2015 (package
2016 (name "r-multitaper")
2017 (version "1.0-14")
2018 (source
2019 (origin
2020 (method url-fetch)
2021 (uri (cran-uri "multitaper" version))
2022 (sha256
2023 (base32
2024 "04wd9bbhyx7697pfy0fpj02v1csr48hkpqj62h9p8a6w84ji4k68"))))
2025 (build-system r-build-system)
2026 (native-inputs
2027 `(("gfortran" ,gfortran)))
2028 (home-page "https://github.com/wesleyburr/multitaper/")
2029 (synopsis "Multitaper spectral analysis tools")
2030 (description
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+)))
2039
2040 (define-public r-rversions
2041 (package
2042 (name "r-rversions")
2043 (version "2.0.1")
2044 (source (origin
2045 (method url-fetch)
2046 (uri (cran-uri "rversions" version))
2047 (sha256
2048 (base32
2049 "1ic6sxnyya24d5xsxjg3fba73fhya9fhs0kaf66yha6nwxj1zv2i"))))
2050 (build-system r-build-system)
2051 (propagated-inputs
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'")
2056 (description
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)))
2061
2062 (define-public r-whisker
2063 (package
2064 (name "r-whisker")
2065 (version "0.4")
2066 (source (origin
2067 (method url-fetch)
2068 (uri (cran-uri "whisker" version))
2069 (sha256
2070 (base32
2071 "1a7vz0dk95xfjvi38wbpw8vmf5qn3g8p490msz2rw0piwidmk1ks"))))
2072 (build-system r-build-system)
2073 (home-page "https://github.com/edwindj/whisker")
2074 (synopsis "Logicless mustache templating for R")
2075 (description
2076 "This package provides logicless templating, with a syntax that is not
2077 limited to R.")
2078 (license license:gpl3+)))
2079
2080 (define-public r-backports
2081 (package
2082 (name "r-backports")
2083 (version "1.1.6")
2084 (source
2085 (origin
2086 (method url-fetch)
2087 (uri (cran-uri "backports" version))
2088 (sha256
2089 (base32
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")
2094 (description
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
2100 R version.")
2101 (license license:gpl2+)))
2102
2103 (define-public r-checkmate
2104 (package
2105 (name "r-checkmate")
2106 (version "2.0.0")
2107 (source
2108 (origin
2109 (method url-fetch)
2110 (uri (cran-uri "checkmate" version))
2111 (sha256
2112 (base32
2113 "193gkifr9spp0x0rwnjq1spdhjkfkh4mv27iklskcj604075phhd"))))
2114 (build-system r-build-system)
2115 (propagated-inputs
2116 `(("r-backports" ,r-backports)))
2117 (home-page "https://github.com/mllg/checkmate")
2118 (synopsis "Fast and versatile argument checks")
2119 (description
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)))
2124
2125 (define-public r-bbmisc
2126 (package
2127 (name "r-bbmisc")
2128 (version "1.11")
2129 (source
2130 (origin
2131 (method url-fetch)
2132 (uri (cran-uri "BBmisc" version))
2133 (sha256
2134 (base32
2135 "1lh1n4bvxzivb5rbz69mvd8xdgr3gr2bnqd68a39sd1530l8r90y"))))
2136 (properties `((upstream-name . "BBmisc")))
2137 (build-system r-build-system)
2138 (propagated-inputs
2139 `(("r-checkmate" ,r-checkmate)))
2140 (home-page "https://github.com/berndbischl/BBmisc")
2141 (synopsis "Miscellaneous functions for R package development")
2142 (description
2143 "This package provides miscellaneous helper functions for the development
2144 of R packages.")
2145 (license license:bsd-3)))
2146
2147 (define-public r-fail
2148 (package
2149 (name "r-fail")
2150 (version "1.3")
2151 (source
2152 (origin
2153 (method url-fetch)
2154 (uri (cran-uri "fail" version))
2155 (sha256
2156 (base32
2157 "0vfm6kmpmgsamda5p0sl771kbnsscan31l2chzssyw93kwmams7d"))))
2158 (build-system r-build-system)
2159 (propagated-inputs
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)")
2164 (description
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)))
2168
2169 (define-public r-batchjobs
2170 (package
2171 (name "r-batchjobs")
2172 (version "1.8")
2173 (source
2174 (origin
2175 (method url-fetch)
2176 (uri (cran-uri "BatchJobs" version))
2177 (sha256
2178 (base32
2179 "1zz4sspj596pijxlz321g0jy2rg9ki83j6fihbwisjwr66p2vk1m"))))
2180 (properties `((upstream-name . "BatchJobs")))
2181 (build-system r-build-system)
2182 (propagated-inputs
2183 `(("r-backports" ,r-backports)
2184 ("r-bbmisc" ,r-bbmisc)
2185 ("r-brew" ,r-brew)
2186 ("r-checkmate" ,r-checkmate)
2187 ("r-data-table" ,r-data-table)
2188 ("r-dbi" ,r-dbi)
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")
2195 (description
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)))
2200
2201 (define-public r-brew
2202 (package
2203 (name "r-brew")
2204 (version "1.0-6")
2205 (source (origin
2206 (method url-fetch)
2207 (uri (cran-uri "brew" version))
2208 (sha256
2209 (base32
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")
2214 (description
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+)))
2219
2220 (define-public r-desc
2221 (package
2222 (name "r-desc")
2223 (version "1.2.0")
2224 (source
2225 (origin
2226 (method url-fetch)
2227 (uri (cran-uri "desc" version))
2228 (sha256
2229 (base32
2230 "1s6s13fk6sxwcj8wzkwxl9vr33153xx11p5wi9avqx3rzkabavz6"))))
2231 (build-system r-build-system)
2232 (propagated-inputs
2233 `(("r-assertthat" ,r-assertthat)
2234 ("r-crayon" ,r-crayon)
2235 ("r-r6" ,r-r6)
2236 ("r-rprojroot" ,r-rprojroot)))
2237 (home-page "https://github.com/r-pkgs/desc")
2238 (synopsis "Manipulate DESCRIPTION Files")
2239 (description
2240 "This package provides tools to read, write, create, and manipulate
2241 DESCRIPTION files. It is intended for packages that create or manipulate
2242 other packages.")
2243 (license license:expat)))
2244
2245 (define-public r-commonmark
2246 (package
2247 (name "r-commonmark")
2248 (version "1.7")
2249 (source
2250 (origin
2251 (method url-fetch)
2252 (uri (cran-uri "commonmark" version))
2253 (sha256
2254 (base32
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")
2259 (description
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)))
2267
2268 (define-public r-roxygen2
2269 (package
2270 (name "r-roxygen2")
2271 (version "7.1.0")
2272 (source (origin
2273 (method url-fetch)
2274 (uri (cran-uri "roxygen2" version))
2275 (sha256
2276 (base32
2277 "00s1wzx5960k8pzgpz4kikjf4k061hyhnd278y65q6n0wzv3d6vy"))))
2278 (build-system r-build-system)
2279 (propagated-inputs
2280 `(("r-brew" ,r-brew)
2281 ("r-commonmark" ,r-commonmark)
2282 ("r-desc" ,r-desc)
2283 ("r-digest" ,r-digest)
2284 ("r-knitr" ,r-knitr)
2285 ("r-pkgload" ,r-pkgload)
2286 ("r-purrr" ,r-purrr)
2287 ("r-r6" ,r-r6)
2288 ("r-rcpp" ,r-rcpp)
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")
2295 (description
2296 "Roxygen2 is a Doxygen-like in-source documentation system for Rd,
2297 collation, and NAMESPACE files.")
2298 (license license:gpl2+)))
2299
2300 (define-public r-openssl
2301 (package
2302 (name "r-openssl")
2303 (version "1.4.1")
2304 (source
2305 (origin
2306 (method url-fetch)
2307 (uri (cran-uri "openssl" version))
2308 (sha256
2309 (base32
2310 "1ihz2qi33lhngl19xdanq0pbmfaacy63794mg8ll7z2lab3yryzp"))))
2311 (build-system r-build-system)
2312 (inputs
2313 `(("libressl" ,libressl)))
2314 (native-inputs
2315 `(("pkg-config" ,pkg-config)))
2316 (propagated-inputs
2317 `(("r-askpass" ,r-askpass)))
2318 (home-page "https://github.com/jeroenooms/openssl")
2319 (synopsis "Toolkit for encryption, signatures and certificates")
2320 (description
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
2330 integers.")
2331 (license license:expat)))
2332
2333 (define-public r-httr
2334 (package
2335 (name "r-httr")
2336 (version "1.4.1")
2337 (source (origin
2338 (method url-fetch)
2339 (uri (cran-uri "httr" version))
2340 (sha256
2341 (base32
2342 "0mp1il13q6n49n2hv1p2p8x6avjan6dr5az19ql4hb78pc3pwp37"))))
2343 (build-system r-build-system)
2344 (propagated-inputs
2345 `(("r-curl" ,r-curl)
2346 ("r-jsonlite" ,r-jsonlite)
2347 ("r-openssl" ,r-openssl)
2348 ("r-mime" ,r-mime)
2349 ("r-r6" ,r-r6)))
2350 (home-page "https://github.com/hadley/httr")
2351 (synopsis "Tools for working with URLs and HTTP")
2352 (description
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)))
2358
2359 (define-public r-git2r
2360 (package
2361 (name "r-git2r")
2362 (version "0.26.1")
2363 (source (origin
2364 (method url-fetch)
2365 (uri (cran-uri "git2r" version))
2366 (sha256
2367 (base32
2368 "0dbl845sahv2i641ncaf06w06djravwc5wknp9syzx0ad8l0kmhk"))))
2369 (build-system r-build-system)
2370 (inputs
2371 `(("libgit2" ,libgit2)
2372 ("zlib" ,zlib)))
2373 (native-inputs
2374 `(("pkg-config" ,pkg-config)))
2375 (home-page "https://github.com/ropensci/git2r")
2376 (synopsis "Access Git repositories with R")
2377 (description
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)))
2382
2383 (define-public r-rstudioapi
2384 (package
2385 (name "r-rstudioapi")
2386 (version "0.11")
2387 (source (origin
2388 (method url-fetch)
2389 (uri (cran-uri "rstudioapi" version))
2390 (sha256
2391 (base32
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")
2396 (description
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)))
2400
2401 (define-public r-devtools
2402 (package
2403 (name "r-devtools")
2404 (version "2.3.0")
2405 (source (origin
2406 (method url-fetch)
2407 (uri (cran-uri "devtools" version))
2408 (sha256
2409 (base32
2410 "1l6w765q180bg5mmdq5k2ymf6apz7ldhnknzf6ynfp1kf70pbhsg"))))
2411 (build-system r-build-system)
2412 (propagated-inputs
2413 `(("r-callr" ,r-callr)
2414 ("r-cli" ,r-cli)
2415 ("r-covr" ,r-covr)
2416 ("r-crayon" ,r-crayon)
2417 ("r-desc" ,r-desc)
2418 ("r-digest" ,r-digest)
2419 ("r-dt" ,r-dt)
2420 ("r-ellipsis" ,r-ellipsis)
2421 ("r-glue" ,r-glue)
2422 ("r-git2r" ,r-git2r)
2423 ("r-httr" ,r-httr)
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)))
2438 (native-inputs
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+)))
2445
2446 (define-public r-withr
2447 (package
2448 (name "r-withr")
2449 (version "2.1.2")
2450 (source (origin
2451 (method url-fetch)
2452 (uri (cran-uri "withr" version))
2453 (sha256
2454 (base32
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")
2459 (description
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+)))
2464
2465 (define-public r-hms
2466 (package
2467 (name "r-hms")
2468 (version "0.5.3")
2469 (source
2470 (origin
2471 (method url-fetch)
2472 (uri (cran-uri "hms" version))
2473 (sha256
2474 (base32
2475 "1baki0qw5ijgiflvsdvqj3apg4yanf12vx14kwbqdzk5rz46fasf"))))
2476 (build-system r-build-system)
2477 (propagated-inputs
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")
2483 (description
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+)))
2487
2488 (define-public r-readr
2489 (package
2490 (name "r-readr")
2491 (version "1.3.1")
2492 (source (origin
2493 (method url-fetch)
2494 (uri (cran-uri "readr" version))
2495 (sha256
2496 (base32
2497 "1wz496rw0ah433p755n3xac8gh7yzid4xgdjzd1a7wmpkgilvy9k"))))
2498 (build-system r-build-system)
2499 (propagated-inputs
2500 `(("r-clipr" ,r-clipr)
2501 ("r-crayon" ,r-crayon)
2502 ("r-rcpp" ,r-rcpp)
2503 ("r-hms" ,r-hms)
2504 ("r-tibble" ,r-tibble)
2505 ("r-r6" ,r-r6)
2506 ("r-bh" ,r-bh)))
2507 (home-page "https://github.com/hadley/readr")
2508 (synopsis "Read tabular data")
2509 (description
2510 "This package provides functions to read flat or tabular text files from
2511 disk (or a connection).")
2512 (license license:gpl2+)))
2513
2514 (define-public r-plotrix
2515 (package
2516 (name "r-plotrix")
2517 (version "3.7-7")
2518 (source (origin
2519 (method url-fetch)
2520 (uri (cran-uri "plotrix" version))
2521 (sha256
2522 (base32
2523 "1x92mmyfry127zzr6cmcj6kjsc4zhxrrdlr0jcxn3bb0hpdfps54"))))
2524 (build-system r-build-system)
2525 (home-page "https://cran.r-project.org/web/packages/plotrix")
2526 (synopsis "Various plotting functions")
2527 (description
2528 "This package provides lots of plotting, various labeling, axis and color
2529 scaling functions for R.")
2530 (license license:gpl2+)))
2531
2532 (define-public r-gridbase
2533 (package
2534 (name "r-gridbase")
2535 (version "0.4-7")
2536 (source (origin
2537 (method url-fetch)
2538 (uri (cran-uri "gridBase" version))
2539 (sha256
2540 (base32
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")
2545 (description
2546 "This package provides an integration of base and grid graphics for R.")
2547 (license license:gpl2+)))
2548
2549 (define-public r-latticeextra
2550 (package
2551 (name "r-latticeextra")
2552 (version "0.6-29")
2553 (source
2554 (origin
2555 (method url-fetch)
2556 (uri (cran-uri "latticeExtra" version))
2557 (sha256
2558 (base32
2559 "04fzwcqs594rk5qp98yilh3kdh3sw4xf8wld5rp94ggpaqfw7bbc"))))
2560 (properties `((upstream-name . "latticeExtra")))
2561 (build-system r-build-system)
2562 (propagated-inputs
2563 `(("r-jpeg" ,r-jpeg)
2564 ("r-lattice" ,r-lattice)
2565 ("r-png" ,r-png)
2566 ("r-rcolorbrewer" ,r-rcolorbrewer)))
2567 (home-page "http://latticeextra.r-forge.r-project.org/")
2568 (synopsis "Extra graphical utilities based on lattice")
2569 (description
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+)))
2574
2575 (define-public r-rcpparmadillo
2576 (package
2577 (name "r-rcpparmadillo")
2578 (version "0.9.860.2.0")
2579 (source (origin
2580 (method url-fetch)
2581 (uri (cran-uri "RcppArmadillo" version))
2582 (sha256
2583 (base32
2584 "1rg9ak0zbv8d9cyj10jq52nrcbk1pvfz28kbkhpx79mpjhrl7pb5"))))
2585 (properties `((upstream-name . "RcppArmadillo")))
2586 (build-system r-build-system)
2587 (propagated-inputs
2588 `(("r-rcpp" ,r-rcpp)))
2589 (home-page "https://github.com/RcppCore/RcppArmadillo")
2590 (synopsis "Rcpp integration for the Armadillo linear algebra library")
2591 (description
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+)))
2602
2603 (define-public r-bitops
2604 (package
2605 (name "r-bitops")
2606 (version "1.0-6")
2607 (source (origin
2608 (method url-fetch)
2609 (uri (cran-uri "bitops" version))
2610 (sha256
2611 (base32
2612 "176nr5wpnkavn5z0yy9f7d47l37ndnn2w3gv854xav8nnybi6wwv"))))
2613 (build-system r-build-system)
2614 (home-page "https://cran.r-project.org/web/packages/bitops")
2615 (synopsis "Bitwise operations")
2616 (description
2617 "This package provides functions for bitwise operations on integer
2618 vectors.")
2619 (license license:gpl2+)))
2620
2621 (define-public r-catools
2622 (package
2623 (name "r-catools")
2624 (version "1.18.0")
2625 (source (origin
2626 (method url-fetch)
2627 (uri (cran-uri "caTools" version))
2628 (sha256
2629 (base32
2630 "0y1kgyiy322yhb0phzwvf2zgjz9awp13lhzhk9v1ddg88656jhq3"))))
2631 (properties `((upstream-name . "caTools")))
2632 (build-system r-build-system)
2633 (propagated-inputs
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")
2637 (description
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+)))
2643
2644 (define-public r-rprojroot
2645 (package
2646 (name "r-rprojroot")
2647 (version "1.3-2")
2648 (source
2649 (origin
2650 (method url-fetch)
2651 (uri (cran-uri "rprojroot" version))
2652 (sha256
2653 (base32
2654 "12r3fdxmi2pmwn6ic3rhg0b20ll5z420m0d8fziv1n21961namnz"))))
2655 (build-system r-build-system)
2656 (propagated-inputs
2657 `(("r-backports" ,r-backports)))
2658 (home-page "https://github.com/krlmlr/rprojroot")
2659 (synopsis "Finding files in project subdirectories")
2660 (description
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)))
2666
2667 (define-public r-rmarkdown
2668 (package
2669 (name "r-rmarkdown")
2670 (version "2.1")
2671 (source
2672 (origin
2673 (method url-fetch)
2674 (uri (cran-uri "rmarkdown" version))
2675 (sha256
2676 (base32 "0pa5xs0vzwn9vsgysjqbks9v5lbqphxh5agciskllibc40hhwigg"))))
2677 (properties `((upstream-name . "rmarkdown")))
2678 (build-system r-build-system)
2679 (propagated-inputs
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)
2685 ("r-mime" ,r-mime)
2686 ("r-stringr" ,r-stringr)
2687 ("r-tinytex" ,r-tinytex)
2688 ("r-xfun" ,r-xfun)
2689 ("r-yaml" ,r-yaml)
2690 ("ghc-pandoc" ,ghc-pandoc)))
2691 (home-page "https://rmarkdown.rstudio.com")
2692 (synopsis "Convert R Markdown documents into a variety of formats")
2693 (description
2694 "This package provides tools to convert R Markdown documents into a
2695 variety of formats.")
2696 (license license:gpl3+)))
2697
2698 (define-public r-gtable
2699 (package
2700 (name "r-gtable")
2701 (version "0.3.0")
2702 (source (origin
2703 (method url-fetch)
2704 (uri (cran-uri "gtable" version))
2705 (sha256
2706 (base32
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")
2712 (description
2713 "Gtable is a collection of tools to make it easier to work with
2714 \"tables\" of grobs.")
2715 (license license:gpl2+)))
2716
2717 (define-public r-gridextra
2718 (package
2719 (name "r-gridextra")
2720 (version "2.3")
2721 (source (origin
2722 (method url-fetch)
2723 (uri (cran-uri "gridExtra" version))
2724 (sha256
2725 (base32
2726 "0fwfk3cdwxxim7nd55pn7m31bcaqj48y06j7an2k1v1pybk0rdl1"))))
2727 (properties `((upstream-name . "gridExtra")))
2728 (build-system r-build-system)
2729 (propagated-inputs
2730 `(("r-gtable" ,r-gtable)))
2731 (native-inputs
2732 `(("r-knitr" ,r-knitr))) ;for building vignettes
2733 (home-page "https://github.com/baptiste/gridextra")
2734 (synopsis "Miscellaneous functions for \"Grid\" graphics")
2735 (description
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,
2738 and draw tables.")
2739 (license license:gpl2+)))
2740
2741 (define-public r-pkgconfig
2742 (package
2743 (name "r-pkgconfig")
2744 (version "2.0.3")
2745 (source (origin
2746 (method url-fetch)
2747 (uri (cran-uri "pkgconfig" version))
2748 (sha256
2749 (base32
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)))
2758
2759 (define-public r-blob
2760 (package
2761 (name "r-blob")
2762 (version "1.2.1")
2763 (source (origin
2764 (method url-fetch)
2765 (uri (cran-uri "blob" version))
2766 (sha256
2767 (base32
2768 "1slb5mvxfyi92i8ifx2qa31hp57inilwhq1g9lzvgha6jrxbqm7g"))))
2769 (build-system r-build-system)
2770 (propagated-inputs
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+)))
2780
2781 (define-public r-rsqlite
2782 (package
2783 (name "r-rsqlite")
2784 (version "2.2.0")
2785 (source (origin
2786 (method url-fetch)
2787 (uri (cran-uri "RSQLite" version))
2788 (sha256
2789 (base32
2790 "1m38sj8rwbf3p2lhqabcp7c7djk7s9ng37cz39yxk706v9pi4380"))))
2791 (properties `((upstream-name . "RSQLite")))
2792 (build-system r-build-system)
2793 (propagated-inputs
2794 `(("r-dbi" ,r-dbi)
2795 ("r-bh" ,r-bh)
2796 ("r-memoise" ,r-memoise)
2797 ("r-plogr" ,r-plogr)
2798 ("r-rcpp" ,r-rcpp)
2799 ("r-bit64" ,r-bit64)
2800 ("r-blob" ,r-blob)
2801 ("r-pkgconfig" ,r-pkgconfig)))
2802 (home-page "https://github.com/rstats-db/RSQLite")
2803 (synopsis "SQLite interface for R")
2804 (description
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+)))
2809
2810 (define-public r-rcurl
2811 (package
2812 (name "r-rcurl")
2813 (version "1.95-0.1.2")
2814 (source (origin
2815 (method url-fetch)
2816 (uri (string-append "https://www.bioconductor.org/packages/"
2817 "release/extra/src/"
2818 "contrib/RCurl_" version ".tar.gz"))
2819 (sha256
2820 (base32
2821 "0l7qi45jxlf898n0jazabnam1yyczvqfdknd00bdirhhiplpd1sc"))))
2822 (properties `((upstream-name . "RCurl")))
2823 (build-system r-build-system)
2824 (arguments
2825 `(#:phases
2826 (modify-phases %standard-phases
2827 (add-after 'unpack 'respect-CURL_CA_BUNDLE
2828 (lambda _
2829 (substitute* "R/options.S"
2830 (("\\.els = rev\\(merge\\(list\\(\\.\\.\\.\\), \\.opts\\)\\)" m)
2831 (string-append "\
2832 certs = Sys.getenv(\"CURL_CA_BUNDLE\")
2833 if (certs != \"\") { .opts = merge.list(.opts, list(cainfo=certs)) }
2834 " m)))
2835 #t)))))
2836 (inputs
2837 `(("libcurl" ,curl)))
2838 (propagated-inputs
2839 `(("r-bitops" ,r-bitops)))
2840 (home-page "http://www.omegahat.org/RCurl")
2841 (synopsis "General network client interface for R")
2842 (description
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)))
2852
2853 (define-public r-xml
2854 (package
2855 (name "r-xml")
2856 (version "3.99-0.3")
2857 (source (origin
2858 (method url-fetch)
2859 (uri (cran-uri "XML" version))
2860 (sha256
2861 (base32
2862 "0lzpqwajs5xaqdna50vl24qkp9xvh00zypjjzy6kgdzk11isgdw1"))))
2863 (properties
2864 `((upstream-name . "XML")))
2865 (build-system r-build-system)
2866 (inputs
2867 `(("libxml2" ,libxml2)
2868 ("zlib" ,zlib)))
2869 (native-inputs
2870 `(("pkg-config" ,pkg-config)))
2871 (home-page "http://www.omegahat.org/RSXML")
2872 (synopsis "Tools for parsing and generating XML within R")
2873 (description
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)))
2878
2879 (define-public r-xnomial
2880 (package
2881 (name "r-xnomial")
2882 (version "1.0.4")
2883 (source
2884 (origin (method url-fetch)
2885 (uri (cran-uri "XNomial" version))
2886 (sha256
2887 (base32
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")
2893 (description
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+))))
2906
2907 (define-public r-lambda-r
2908 (package
2909 (name "r-lambda-r")
2910 (version "1.2.4")
2911 (source (origin
2912 (method url-fetch)
2913 (uri (cran-uri "lambda.r" version))
2914 (sha256
2915 (base32
2916 "1mh1g0gsd58gng0hb29vww2yqb2jfs07kba5kxnnqck5j3izwlnj"))))
2917 (properties `((upstream-name . "lambda.r")))
2918 (build-system r-build-system)
2919 (propagated-inputs
2920 `(("r-formatr" ,r-formatr)))
2921 (home-page "https://cran.r-project.org/web/packages/lambda.r")
2922 (synopsis "Functional programming extension for R")
2923 (description
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
2927 safety.")
2928 (license license:lgpl3+)))
2929
2930 (define-public r-futile-options
2931 (package
2932 (name "r-futile-options")
2933 (version "1.0.1")
2934 (source (origin
2935 (method url-fetch)
2936 (uri (cran-uri "futile.options" version))
2937 (sha256
2938 (base32
2939 "0w15agpi88y3qkv6fl72zy2pzyplzgvnj41a4ixhg64mw1sck73s"))))
2940 (properties
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")
2945 (description
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+)))
2951
2952 (define-public r-futile-logger
2953 (package
2954 (name "r-futile-logger")
2955 (version "1.4.3")
2956 (source (origin
2957 (method url-fetch)
2958 (uri (cran-uri "futile.logger" version))
2959 (sha256
2960 (base32
2961 "1r3nayk0z9n1svbf8640vw90dal5q07nkn0gv4bnva3pbzb352sy"))))
2962 (properties `((upstream-name . "futile.logger")))
2963 (build-system r-build-system)
2964 (propagated-inputs
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")
2969 (description
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}
2973 statements.")
2974 (license license:lgpl3+)))
2975
2976 (define-public r-segmented
2977 (package
2978 (name "r-segmented")
2979 (version "1.1-0")
2980 (source
2981 (origin
2982 (method url-fetch)
2983 (uri (cran-uri "segmented" version))
2984 (sha256
2985 (base32
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")
2990 (description
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+))))
2995
2996 (define-public r-snow
2997 (package
2998 (name "r-snow")
2999 (version "0.4-3")
3000 (source (origin
3001 (method url-fetch)
3002 (uri (cran-uri "snow" version))
3003 (sha256
3004 (base32
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")
3009 (description
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+))))
3016
3017 (define-public r-sparsem
3018 (package
3019 (name "r-sparsem")
3020 (version "1.78")
3021 (source (origin
3022 (method url-fetch)
3023 (uri (cran-uri "SparseM" version))
3024 (sha256
3025 (base32
3026 "0cmlm0lps3daalvp5jzjnjfys388hgkyc8yw0g5r2351h749xdyn"))))
3027 (properties
3028 `((upstream-name . "SparseM")))
3029 (native-inputs
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")
3034 (description
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+)))
3039
3040 (define-public r-iterators
3041 (package
3042 (name "r-iterators")
3043 (version "1.0.12")
3044 (source
3045 (origin
3046 (method url-fetch)
3047 (uri (cran-uri "iterators" version))
3048 (sha256
3049 (base32
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")
3054 (description
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
3057 data.")
3058 (license license:asl2.0)))
3059
3060 (define-public r-foreach
3061 (package
3062 (name "r-foreach")
3063 (version "1.5.0")
3064 (source
3065 (origin
3066 (method url-fetch)
3067 (uri (cran-uri "foreach" version))
3068 (sha256
3069 (base32
3070 "0584nv49x8d8m1cak5drb54sxs3y594gd521kjsdwk4c849sgy8s"))))
3071 (build-system r-build-system)
3072 (propagated-inputs
3073 `(("r-codetools" ,r-codetools)
3074 ("r-iterators" ,r-iterators)))
3075 (native-inputs
3076 `(("r-knitr" ,r-knitr)))
3077 (home-page "https://cran.r-project.org/web/packages/foreach")
3078 (synopsis "Foreach looping construct for R")
3079 (description
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
3087 parallel.")
3088 (license license:asl2.0)))
3089
3090 (define-public r-doparallel
3091 (package
3092 (name "r-doparallel")
3093 (version "1.0.15")
3094 (source
3095 (origin
3096 (method url-fetch)
3097 (uri (cran-uri "doParallel" version))
3098 (sha256
3099 (base32
3100 "0vnqbha3gig3awbfvsfx3ni5jir398md1n7xmsb8jihnjsk7xbbi"))))
3101 (properties `((upstream-name . "doParallel")))
3102 (build-system r-build-system)
3103 (propagated-inputs
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")
3108 (description
3109 "This package provides a parallel backend for the @code{%dopar%} function
3110 using the parallel package.")
3111 (license license:gpl2+)))
3112
3113 (define-public r-domc
3114 (package
3115 (name "r-domc")
3116 (version "1.3.6")
3117 (source
3118 (origin
3119 (method url-fetch)
3120 (uri (cran-uri "doMC" version))
3121 (sha256
3122 (base32
3123 "1cn9gxavhvjswip8pwvkpi7q6wpzdllcsdjabga8akf55nggqxr9"))))
3124 (properties `((upstream-name . "doMC")))
3125 (build-system r-build-system)
3126 (propagated-inputs
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")
3131 (description
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+)))
3135
3136 (define-public r-dt
3137 (package
3138 (name "r-dt")
3139 (version "0.13")
3140 (source (origin
3141 (method url-fetch)
3142 (uri (cran-uri "DT" version))
3143 (sha256
3144 (base32
3145 "1db35mi4m4q3kha4vhvh693bv04y7h9pdawhsx8f234qjvz7783r"))))
3146 (properties
3147 `((upstream-name . "DT")))
3148 (build-system r-build-system)
3149 (propagated-inputs
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)))
3156 (native-inputs
3157 `(("r-knitr" ,r-knitr)))
3158 (home-page "https://rstudio.github.io/DT")
3159 (synopsis "R wrapper of the DataTables JavaScript library")
3160 (description
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:
3166 ;;
3167 ;; * Expat: jQuery, jquery.highlight.js, DataTables
3168 ;; * ASL2.0: selectize.js
3169 ;; * WTFPL: noUiSlider
3170 (license (list license:gpl3
3171 license:expat
3172 license:asl2.0
3173 license:wtfpl2))))
3174
3175 (define-public r-base64enc
3176 (package
3177 (name "r-base64enc")
3178 (version "0.1-3")
3179 (source (origin
3180 (method url-fetch)
3181 (uri (cran-uri "base64enc" version))
3182 (sha256
3183 (base32
3184 "13b89fhg1nx7zds82a0biz847ixphg9byf5zl2cw9kab6s56v1bd"))))
3185 (build-system r-build-system)
3186 (home-page "https://www.rforge.net/base64enc")
3187 (synopsis "Tools for Base64 encoding")
3188 (description
3189 "This package provides tools for handling Base64 encoding. It is more
3190 flexible than the orphaned \"base64\" package.")
3191 (license license:gpl2+)))
3192
3193 (define-public r-irlba
3194 (package
3195 (name "r-irlba")
3196 (version "2.3.3")
3197 (source
3198 (origin
3199 (method url-fetch)
3200 (uri (cran-uri "irlba" version))
3201 (sha256
3202 (base32
3203 "1h7mzrqdjc41814cf6c93sbyl7nxwvsf3x8apl9rhmydgdlk7qkf"))))
3204 (build-system r-build-system)
3205 (propagated-inputs
3206 `(("r-matrix" ,r-matrix)))
3207 (home-page "https://cran.r-project.org/web/packages/irlba")
3208 (synopsis "Methods for eigendecomposition of large matrices")
3209 (description
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+))))
3214
3215 (define-public r-glmnet
3216 (package
3217 (name "r-glmnet")
3218 (version "3.0-2")
3219 (source
3220 (origin
3221 (method url-fetch)
3222 (uri (cran-uri "glmnet" version))
3223 (sha256
3224 (base32 "0b3nnfzp8dxcdkvxr0yvy6d58yk3xg4kz1wqa42bxqppbakmd2gl"))))
3225 (build-system r-build-system)
3226 (native-inputs
3227 `(("gfortran" ,gfortran)))
3228 (propagated-inputs
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")
3234 (description
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+)))
3241
3242 (define-public r-pkgmaker
3243 (package
3244 (name "r-pkgmaker")
3245 (version "0.31.1")
3246 (source
3247 (origin
3248 (method url-fetch)
3249 (uri (cran-uri "pkgmaker" version))
3250 (sha256
3251 (base32
3252 "0r0ga20dy25v9y5gjbds4y6kaa5a7qknh503qdkzllcpzbibh0hp"))))
3253 (build-system r-build-system)
3254 (propagated-inputs
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")
3267 (description
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+)))
3272
3273 (define-public r-registry
3274 (package
3275 (name "r-registry")
3276 (version "0.5-1")
3277 (source
3278 (origin
3279 (method url-fetch)
3280 (uri (cran-uri "registry" version))
3281 (sha256
3282 (base32
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")
3287 (description
3288 "This package provides a generic infrastructure for creating and using R
3289 package registries.")
3290 (license license:gpl2+)))
3291
3292 (define-public r-rngtools
3293 (package
3294 (name "r-rngtools")
3295 (version "1.5")
3296 (source
3297 (origin
3298 (method url-fetch)
3299 (uri (cran-uri "rngtools" version))
3300 (sha256
3301 (base32
3302 "0xgmg3qb6insc157as47mcm9sdjdpy9jirh7w06bxb7pfcxqfx42"))))
3303 (build-system r-build-system)
3304 (propagated-inputs
3305 `(("r-digest" ,r-digest)))
3306 (home-page "https://renozao.github.io/rngtools")
3307 (synopsis "Utility functions for working with random number generators")
3308 (description
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+)))
3315
3316 (define-public r-rtsne
3317 (package
3318 (name "r-rtsne")
3319 (version "0.15")
3320 (source
3321 (origin
3322 (method url-fetch)
3323 (uri (cran-uri "Rtsne" version))
3324 (sha256
3325 (base32
3326 "0v17vxizrs1msay24xl2bckfajr2c82wpqj07lyssbrq197nwdsn"))))
3327 (properties `((upstream-name . "Rtsne")))
3328 (build-system r-build-system)
3329 (propagated-inputs
3330 `(("r-rcpp" ,r-rcpp)))
3331 (home-page "https://github.com/jkrijthe/Rtsne")
3332 (synopsis "T-distributed stochastic neighbor embedding")
3333 (description
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))))
3339
3340 (define-public r-e1071
3341 (package
3342 (name "r-e1071")
3343 (version "1.7-3")
3344 (source
3345 (origin
3346 (method url-fetch)
3347 (uri (cran-uri "e1071" version))
3348 (sha256
3349 (base32
3350 "0pf2pjb590z0jikgv1037xcp7dq06mg3dzmyffjw6gk7dd9blbdv"))))
3351 (build-system r-build-system)
3352 (propagated-inputs
3353 `(("r-class" ,r-class)))
3354 (home-page "https://cran.r-project.org/web/packages/e1071")
3355 (synopsis "Miscellaneous functions for probability theory")
3356 (description
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+)))
3361
3362 (define-public r-bigmemory-sri
3363 (package
3364 (name "r-bigmemory-sri")
3365 (version "0.1.3")
3366 (source
3367 (origin
3368 (method url-fetch)
3369 (uri (cran-uri "bigmemory.sri" version))
3370 (sha256
3371 (base32 "0mg14ilwdkd64q2ri9jdwnk7mp55dqim7xfifrs65sdsv1934h2m"))))
3372 (properties
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))))
3381
3382 (define-public r-synchronicity
3383 (package
3384 (name "r-synchronicity")
3385 (version "1.3.5")
3386 (source
3387 (origin
3388 (method url-fetch)
3389 (uri (cran-uri "synchronicity" version))
3390 (sha256
3391 (base32
3392 "1kgsk64aifjm3mfj102y3va7x1abypq2zi0cqbnjhl8fqyzp69hx"))))
3393 (build-system r-build-system)
3394 (propagated-inputs
3395 `(("r-bh" ,r-bh)
3396 ("r-bigmemory-sri" ,r-bigmemory-sri)
3397 ("r-rcpp" ,r-rcpp)
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
3403 message passing.")
3404 ;; Users can choose either LGPLv3 or ASL2.0.
3405 (license (list license:lgpl3 license:asl2.0))))
3406
3407 (define-public r-bigmemory
3408 (package
3409 (name "r-bigmemory")
3410 (version "4.5.36")
3411 (source
3412 (origin
3413 (method url-fetch)
3414 (uri (cran-uri "bigmemory" version))
3415 (sha256
3416 (base32
3417 "03pg8mxdc7q0249visjmc8bc3xmwxsfg3i2n6higicj4cfz7zihq"))))
3418 (build-system r-build-system)
3419 (propagated-inputs
3420 `(("r-bh" ,r-bh)
3421 ("r-rcpp" ,r-rcpp)
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))))
3430
3431 (define-public r-r-methodss3
3432 (package
3433 (name "r-r-methodss3")
3434 (version "1.8.0")
3435 (source (origin
3436 (method url-fetch)
3437 (uri (cran-uri "R.methodsS3" version))
3438 (sha256
3439 (base32
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")
3445 (description
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+)))
3454
3455 (define-public r-r-oo
3456 (package
3457 (name "r-r-oo")
3458 (version "1.23.0")
3459 (source (origin
3460 (method url-fetch)
3461 (uri (cran-uri "R.oo" version))
3462 (sha256
3463 (base32
3464 "189fb7mmyzwg6nn8rza8iip7fbyws7i2vkmzy672x9mhvgilq4pm"))))
3465 (properties `((upstream-name . "R.oo")))
3466 (build-system r-build-system)
3467 (propagated-inputs
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")
3471 (description
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+)))
3477
3478 (define-public r-r-utils
3479 (package
3480 (name "r-r-utils")
3481 (version "2.9.2")
3482 (source (origin
3483 (method url-fetch)
3484 (uri (cran-uri "R.utils" version))
3485 (sha256
3486 (base32
3487 "1krj1ny7y43lpm2q8c7swxfdc3ngy2j8knzv71f8bfsgh673nsxc"))))
3488 (properties `((upstream-name . "R.utils")))
3489 (build-system r-build-system)
3490 (propagated-inputs
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")
3495 (description
3496 "This package provides utility functions useful when programming and
3497 developing R packages.")
3498 (license license:lgpl2.1+)))
3499
3500 (define-public r-r-cache
3501 (package
3502 (name "r-r-cache")
3503 (version "0.14.0")
3504 (source (origin
3505 (method url-fetch)
3506 (uri (cran-uri "R.cache" version))
3507 (sha256
3508 (base32
3509 "1n8n5ihkryrbxv630dwhz4r048nyv676qd3i9f5z5fa04hvlxbqq"))))
3510 (properties `((upstream-name . "R.cache")))
3511 (build-system r-build-system)
3512 (propagated-inputs
3513 `(("r-digest" ,r-digest)
3514 ("r-r-methodss3" ,r-r-methodss3)
3515 ("r-r-oo" ,r-r-oo)
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")
3519 (description
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+)))
3525
3526 (define-public r-r-rsp
3527 (package
3528 (name "r-r-rsp")
3529 (version "0.43.2")
3530 (source (origin
3531 (method url-fetch)
3532 (uri (cran-uri "R.rsp" version))
3533 (sha256
3534 (base32
3535 "128zqyvbq9hm9gy86jzhj609lkfw57vr24mdxgh46ncmx66ag4gj"))))
3536 (properties `((upstream-name . "R.rsp")))
3537 (build-system r-build-system)
3538 (propagated-inputs
3539 `(("r-digest" ,r-digest)
3540 ("r-r-cache" ,r-r-cache)
3541 ("r-r-methodss3" ,r-r-methodss3)
3542 ("r-r-oo" ,r-r-oo)
3543 ("r-r-utils" ,r-r-utils)))
3544 (home-page "https://github.com/HenrikBengtsson/R.rsp")
3545 (synopsis "Dynamic generation of scientific reports")
3546 (description
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
3555 vignettes.")
3556 (license license:lgpl2.1+)))
3557
3558 (define-public r-mvtnorm
3559 (package
3560 (name "r-mvtnorm")
3561 (version "1.1-0")
3562 (source (origin
3563 (method url-fetch)
3564 (uri (cran-uri "mvtnorm" version))
3565 (sha256
3566 (base32
3567 "0pfb6qk4yb6xaya8i1wvx6dnc3jj4s2g94sq2kzv4p8zn4pf24l1"))))
3568 (build-system r-build-system)
3569 (native-inputs
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)))
3576
3577 (define-public r-matrixstats
3578 (package
3579 (name "r-matrixstats")
3580 (version "0.56.0")
3581 (source (origin
3582 (method url-fetch)
3583 (uri (cran-uri "matrixStats" version))
3584 (sha256
3585 (base32
3586 "09qgfv9x32x6ncgf19iy7yjp26fwy6p5wm8spc2xzfc0qhylmqrr"))))
3587 (properties `((upstream-name . "matrixStats")))
3588 (build-system r-build-system)
3589 (native-inputs
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")
3593 (description
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
3598 memory usage.")
3599 (license license:artistic2.0)))
3600
3601 (define-public r-viridis
3602 (package
3603 (name "r-viridis")
3604 (version "0.5.1")
3605 (source (origin
3606 (method url-fetch)
3607 (uri (cran-uri "viridis" version))
3608 (sha256
3609 (base32
3610 "060rf1jn29dq53y3nhb0hykvcap6rqsk04rq544ypiiqb18ngwnx"))))
3611 (build-system r-build-system)
3612 (propagated-inputs
3613 `(("r-ggplot2" ,r-ggplot2)
3614 ("r-gridextra" ,r-gridextra)
3615 ("r-viridislite" ,r-viridislite)))
3616 (native-inputs
3617 `(("r-knitr" ,r-knitr))) ; for vignettes
3618 (home-page "https://github.com/sjmgarnier/viridis")
3619 (synopsis "Matplotlib default color map")
3620 (description
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)))
3629
3630 (define-public r-viridislite
3631 (package
3632 (name "r-viridislite")
3633 (version "0.3.0")
3634 (source
3635 (origin
3636 (method url-fetch)
3637 (uri (cran-uri "viridisLite" version))
3638 (sha256
3639 (base32
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")
3645 (description
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)))
3655
3656 (define-public r-tidyselect
3657 (package
3658 (name "r-tidyselect")
3659 (version "1.0.0")
3660 (source
3661 (origin
3662 (method url-fetch)
3663 (uri (cran-uri "tidyselect" version))
3664 (sha256
3665 (base32
3666 "1bwwsljkg1bxh7xnqxv7n0n1s9y8x407i6lsv826vy1ss1k1fxpy"))))
3667 (build-system r-build-system)
3668 (propagated-inputs
3669 `(("r-ellipsis" ,r-ellipsis)
3670 ("r-glue" ,r-glue)
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")
3676 (description
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
3680 selection.")
3681 (license license:gpl3)))
3682
3683 (define-public r-tidyr
3684 (package
3685 (name "r-tidyr")
3686 (version "1.0.2")
3687 (source
3688 (origin
3689 (method url-fetch)
3690 (uri (cran-uri "tidyr" version))
3691 (sha256
3692 (base32
3693 "0safj8bcf8libwr0jx4059bmarngvhfddrcv8k5iw39m9lpxs0r4"))))
3694 (build-system r-build-system)
3695 (propagated-inputs
3696 `(("r-dplyr" ,r-dplyr)
3697 ("r-ellipsis" ,r-ellipsis)
3698 ("r-magrittr" ,r-magrittr)
3699 ("r-glue" ,r-glue)
3700 ("r-lifecycle" ,r-lifecycle)
3701 ("r-purrr" ,r-purrr)
3702 ("r-rlang" ,r-rlang)
3703 ("r-tidyselect" ,r-tidyselect)
3704 ("r-rcpp" ,r-rcpp)
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")
3710 (description
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)))
3718
3719 (define-public r-hexbin
3720 (package
3721 (name "r-hexbin")
3722 (version "1.28.1")
3723 (source
3724 (origin
3725 (method url-fetch)
3726 (uri (cran-uri "hexbin" version))
3727 (sha256
3728 (base32
3729 "1ry6jm3lqz3mj0s5rzbs6mpkz2hxpnvbw8c1vwc4pj7b173r5l22"))))
3730 (build-system r-build-system)
3731 (propagated-inputs
3732 `(("r-lattice" ,r-lattice)))
3733 (native-inputs
3734 `(("gfortran" ,gfortran)
3735 ("r-knitr" ,r-knitr))) ; for vignettes
3736 (home-page "https://github.com/edzer/hexbin")
3737 (synopsis "Hexagonal binning routines")
3738 (description
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+)))
3742
3743 (define-public r-purrr
3744 (package
3745 (name "r-purrr")
3746 (version "0.3.3")
3747 (source
3748 (origin
3749 (method url-fetch)
3750 (uri (cran-uri "purrr" version))
3751 (sha256
3752 (base32
3753 "17lyys7dxjrwsfkq7a7hw65iy3qn3pp1sn70srdy64jf8adahc8g"))))
3754 (build-system r-build-system)
3755 (propagated-inputs
3756 `(("r-magrittr" ,r-magrittr)
3757 ("r-rlang" ,r-rlang)))
3758 (home-page "https://github.com/hadley/purrr")
3759 (synopsis "Functional programming tools")
3760 (description
3761 "This package completes R's functional programming tools with missing
3762 features present in other programming languages.")
3763 (license license:gpl3+)))
3764
3765 (define-public r-plotly
3766 (package
3767 (name "r-plotly")
3768 (version "4.9.2.1")
3769 (source (origin
3770 (method url-fetch)
3771 (uri (cran-uri "plotly" version))
3772 (sha256
3773 (base32
3774 "1f0x83a2s7200iqi6gpngijks06fcvcbm6701d5r5rxpb8rawppl"))))
3775 (build-system r-build-system)
3776 (propagated-inputs
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)
3786 ("r-httr" ,r-httr)
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")
3800 (description
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)))
3806
3807 (define-public r-biased-urn
3808 (package
3809 (name "r-biased-urn")
3810 (version "1.07")
3811 (source
3812 (origin
3813 (method url-fetch)
3814 (uri (cran-uri "BiasedUrn" version))
3815 (sha256
3816 (base32
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")
3822 (description
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
3827 distribution).")
3828 (license license:gpl3+)))
3829
3830 (define-public r-rematch
3831 (package
3832 (name "r-rematch")
3833 (version "1.0.1")
3834 (source
3835 (origin
3836 (method url-fetch)
3837 (uri (cran-uri "rematch" version))
3838 (sha256
3839 (base32
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")
3844 (description
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
3847 character vector.")
3848 (license license:expat)))
3849
3850 (define-public r-cellranger
3851 (package
3852 (name "r-cellranger")
3853 (version "1.1.0")
3854 (source
3855 (origin
3856 (method url-fetch)
3857 (uri (cran-uri "cellranger" version))
3858 (sha256
3859 (base32
3860 "16fgi3annn34c3cxi0pxf62mmmmxi21hp0zzlv7bkfsjqy4g4f2x"))))
3861 (build-system r-build-system)
3862 (propagated-inputs
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")
3867 (description
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)))
3871
3872 (define-public r-googlesheets
3873 (package
3874 (name "r-googlesheets")
3875 (version "0.3.0")
3876 (source
3877 (origin
3878 (method url-fetch)
3879 (uri (cran-uri "googlesheets" version))
3880 (sha256
3881 (base32
3882 "11q07nxys72wkxx9mawmjyf20gvwvrb7h3gpa73h6lgh2vgrwnv8"))))
3883 (build-system r-build-system)
3884 (propagated-inputs
3885 `(("r-cellranger" ,r-cellranger)
3886 ("r-dplyr" ,r-dplyr)
3887 ("r-httr" ,r-httr)
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
3898 from within R.")
3899 (license license:expat)))
3900
3901 (define-public r-spams
3902 (package
3903 (name "r-spams")
3904 (version "2.6-2017-03-22")
3905 (source
3906 (origin
3907 (method url-fetch)
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"))
3911 (sha256
3912 (base32
3913 "13z2293jixf1r9g8dyy856xrhvpjr2ln2n9smn6644126r9hmhkx"))))
3914 (build-system r-build-system)
3915 (arguments
3916 `(#:phases
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
3922 (lambda _
3923 (substitute* "src/Makevars"
3924 (("-mtune=native") ""))
3925 #t)))))
3926 (propagated-inputs
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
3933 following problems:
3934
3935 @enumerate
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,...).
3943 @end enumerate\n")
3944 (license license:gpl3+)))
3945
3946 (define-public r-base64
3947 (package
3948 (name "r-base64")
3949 (version "2.0")
3950 (source
3951 (origin
3952 (method url-fetch)
3953 (uri (cran-uri "base64" version))
3954 (sha256
3955 (base32
3956 "1labh0ycdm2xcjssj8bhnyjvbk44mcdsi0rb2p8rfqa428mrq9cf"))))
3957 (build-system r-build-system)
3958 (propagated-inputs
3959 `(("r-openssl" ,r-openssl)))
3960 (home-page "https://cran.r-project.org/web/packages/base64")
3961 (synopsis "Base64 encoder and decoder")
3962 (description
3963 "This package is a compatibility wrapper to replace the orphaned package
3964 by Romain Francois. New applications should use the openssl or base64enc
3965 package instead.")
3966 (license license:expat)))
3967
3968 (define-public r-hmisc
3969 (package
3970 (name "r-hmisc")
3971 (version "4.4-0")
3972 (source
3973 (origin
3974 (method url-fetch)
3975 (uri (cran-uri "Hmisc" version))
3976 (sha256
3977 (base32 "1ivfamwghd2z408fkhs7jy5zl3q0z1a2la16yi8js872br6cyvpi"))))
3978 (properties `((upstream-name . "Hmisc")))
3979 (build-system r-build-system)
3980 (native-inputs
3981 `(("gfortran" ,gfortran)))
3982 (propagated-inputs
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)
3996 ("r-nnet" ,r-nnet)
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")
4002 (description
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+)))
4009
4010 (define-public r-runit
4011 (package
4012 (name "r-runit")
4013 (version "0.4.32")
4014 (source
4015 (origin
4016 (method url-fetch)
4017 (uri (cran-uri "RUnit" version))
4018 (sha256
4019 (base32
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")
4025 (description
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+)))
4029
4030 (define-public r-dynamictreecut
4031 (package
4032 (name "r-dynamictreecut")
4033 (version "1.63-1")
4034 (source
4035 (origin
4036 (method url-fetch)
4037 (uri (cran-uri "dynamicTreeCut" version))
4038 (sha256
4039 (base32
4040 "1fadbql7g5r2vvlkr89nlrjxwp4yx4xrdqmv077qvmnx9vv0f4w3"))))
4041 (properties `((upstream-name . "dynamicTreeCut")))
4042 (build-system r-build-system)
4043 (home-page
4044 "http://www.genetics.ucla.edu/labs/horvath/CoexpressionNetwork/BranchCutting/")
4045 (synopsis "Detect clusters in hierarchical clustering dendrograms")
4046 (description
4047 "This package contains methods for the detection of clusters in
4048 hierarchical clustering dendrograms.")
4049 (license license:gpl2+)))
4050
4051 (define-public r-preprocesscore
4052 (package
4053 (name "r-preprocesscore")
4054 (version "1.48.0")
4055 (source
4056 (origin
4057 (method url-fetch)
4058 (uri (bioconductor-uri "preprocessCore" version))
4059 (sha256
4060 (base32
4061 "0zrb9hx60vppkg0priczdb301nhq5f0dj8lkc8rcc4xrqqr915qm"))))
4062 (properties
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")
4067 (description
4068 "This package provides a library of core pre-processing and normalization
4069 routines.")
4070 (license license:lgpl2.0+)))
4071
4072 (define-public r-fastcluster
4073 (package
4074 (name "r-fastcluster")
4075 (version "1.1.25")
4076 (source
4077 (origin
4078 (method url-fetch)
4079 (uri (cran-uri "fastcluster" version))
4080 (sha256
4081 (base32
4082 "01a2xnhhvv1swd4g8p4lzyn7ww7kg49jlnzc7kfz60jqjzpisrpk"))))
4083 (build-system r-build-system)
4084 (home-page "http://danifold.net/fastcluster.html")
4085 (synopsis "Fast hierarchical clustering routines")
4086 (description
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)))
4096
4097 (define-public r-sfsmisc
4098 (package
4099 (name "r-sfsmisc")
4100 (version "1.1-6")
4101 (source
4102 (origin
4103 (method url-fetch)
4104 (uri (cran-uri "sfsmisc" version))
4105 (sha256
4106 (base32
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")
4111 (description
4112 "This package provides useful utilities from Seminar fuer Statistik ETH
4113 Zurich, including many that are related to graphics.")
4114 (license license:gpl2+)))
4115
4116 (define-public r-gtools
4117 (package
4118 (name "r-gtools")
4119 (version "3.8.2")
4120 (source
4121 (origin
4122 (method url-fetch)
4123 (uri (cran-uri "gtools" version))
4124 (sha256
4125 (base32
4126 "1pnwy412wvhhvnnx8qg6s9hrgcnsfhnfcpf2560ipipk845acfsh"))))
4127 (build-system r-build-system)
4128 (arguments
4129 `(#:phases
4130 (modify-phases %standard-phases
4131 (add-after 'unpack 'make-deterministic
4132 (lambda _
4133 (substitute* "R/checkReverseDependencies.R"
4134 (("tempdir\\(\\)") "\"/tmp\""))
4135 #t)))))
4136 (home-page "https://cran.r-project.org/web/packages/gtools")
4137 (synopsis "Various R programming tools")
4138 (description
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)))
4145
4146 (define-public r-gdata
4147 (package
4148 (name "r-gdata")
4149 (version "2.18.0")
4150 (source
4151 (origin
4152 (method url-fetch)
4153 (uri (cran-uri "gdata" version))
4154 (sha256
4155 (base32
4156 "0zwdj7lscgxr8r62ii8hbdh4mb7sa9w4f5nv32zzrxdvymcpya2b"))))
4157 (build-system r-build-system)
4158 (inputs
4159 `(("perl" ,perl)))
4160 (propagated-inputs
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")
4164 (description
4165 "This package provides various R programming tools for data manipulation,
4166 including:
4167
4168 @itemize
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
4183 @end itemize\n")
4184 (license license:gpl2+)))
4185
4186 (define-public r-gplots
4187 (package
4188 (name "r-gplots")
4189 (version "3.0.3")
4190 (source
4191 (origin
4192 (method url-fetch)
4193 (uri (cran-uri "gplots" version))
4194 (sha256
4195 (base32
4196 "0hs6mk48i9yd43rg9wfjc2nxsjjwrnpifxqvxkv8ah18kvpd6xnp"))))
4197 (build-system r-build-system)
4198 (propagated-inputs
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")
4205 (description
4206 "This package provides various R programming tools for plotting data,
4207 including:
4208
4209 @itemize
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
4217 @item balloon 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
4223 @end itemize\n")
4224 (license license:gpl2+)))
4225
4226 (define-public r-rocr
4227 (package
4228 (name "r-rocr")
4229 (version "1.0-7")
4230 (source
4231 (origin
4232 (method url-fetch)
4233 (uri (cran-uri "ROCR" version))
4234 (sha256
4235 (base32
4236 "1jay8cm7lgq56i967vm5c2hgaxqkphfpip0gn941li3yhh7p3vz7"))))
4237 (properties `((upstream-name . "ROCR")))
4238 (build-system r-build-system)
4239 (propagated-inputs
4240 `(("r-gplots" ,r-gplots)))
4241 (home-page "https://rocr.bioinf.mpi-sb.mpg.de/")
4242 (synopsis "Visualizing the performance of scoring classifiers")
4243 (description
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
4253 mechanism.")
4254 (license license:gpl2+)))
4255
4256 (define-public r-zoo
4257 (package
4258 (name "r-zoo")
4259 (version "1.8-7")
4260 (source (origin
4261 (method url-fetch)
4262 (uri (cran-uri "zoo" version))
4263 (sha256
4264 (base32
4265 "1w4542zs53bm261g95086a60576v334g1jrhnbgdqni4izf2s1wy"))))
4266 (build-system r-build-system)
4267 (propagated-inputs
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+)))
4275
4276 (define-public r-ztable
4277 (package
4278 (name "r-ztable")
4279 (version "0.2.0")
4280 (source (origin
4281 (method url-fetch)
4282 (uri (cran-uri "ztable" version))
4283 (sha256
4284 (base32
4285 "0g7khk5ifsdh9p31wlwh2l5mn1hzxzpv6qcn1wh34vsfjdmijjwy"))))
4286 (build-system r-build-system)
4287 (propagated-inputs
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")
4297 (description
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+)))
4304
4305 (define-public r-vipor
4306 (package
4307 (name "r-vipor")
4308 (version "0.4.5")
4309 (source (origin
4310 (method url-fetch)
4311 (uri (cran-uri "vipor" version))
4312 (sha256
4313 (base32
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")
4318 (description
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+)))
4323
4324 (define-public r-beeswarm
4325 (package
4326 (name "r-beeswarm")
4327 (version "0.2.3")
4328 (source (origin
4329 (method url-fetch)
4330 (uri (cran-uri "beeswarm" version))
4331 (sha256
4332 (base32
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")
4337 (description
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)))
4342
4343 (define-public r-sourcetools
4344 (package
4345 (name "r-sourcetools")
4346 (version "0.1.7")
4347 (source
4348 (origin
4349 (method url-fetch)
4350 (uri (cran-uri "sourcetools" version))
4351 (sha256
4352 (base32
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")
4357 (description
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)))
4362
4363 (define-public r-ggbeeswarm
4364 (package
4365 (name "r-ggbeeswarm")
4366 (version "0.6.0")
4367 (source (origin
4368 (method url-fetch)
4369 (uri (cran-uri "ggbeeswarm" version))
4370 (sha256
4371 (base32
4372 "0crk29p5vi1r3a988kms4y7r0iqwgwzsikgvh18r9wbzyr98bb5v"))))
4373 (build-system r-build-system)
4374 (propagated-inputs
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")
4380 (description
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+)))
4385
4386 (define-public r-ggthemes
4387 (package
4388 (name "r-ggthemes")
4389 (version "4.2.0")
4390 (source (origin
4391 (method url-fetch)
4392 (uri (cran-uri "ggthemes" version))
4393 (sha256
4394 (base32
4395 "0rrkzfggc1nlda1w1lbqdycx6nawxbkac1szhvkwrqlzh6agxcsv"))))
4396 (build-system r-build-system)
4397 (propagated-inputs
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)))
4411
4412 (define-public r-statmod
4413 (package
4414 (name "r-statmod")
4415 (version "1.4.34")
4416 (source (origin
4417 (method url-fetch)
4418 (uri (cran-uri "statmod" version))
4419 (sha256
4420 (base32
4421 "0yklg64aw5y8kfq5piafnrj1v3jv563iwzzl75g3kllrw23c508s"))))
4422 (build-system r-build-system)
4423 (home-page "https://cran.r-project.org/web/packages/statmod")
4424 (native-inputs
4425 `(("gfortran" ,gfortran)))
4426 (synopsis "Statistical modeling")
4427 (description
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))))
4437
4438 (define-public r-rann
4439 (package
4440 (name "r-rann")
4441 (version "2.6.1")
4442 (source (origin
4443 (method url-fetch)
4444 (uri (cran-uri "RANN" version))
4445 (sha256
4446 (base32
4447 "10kid40w9w7vkz2hpcfkdpxr4afxzms5dzvfwr0sl5xynzgw76dj"))))
4448 (properties
4449 `((upstream-name . "RANN")))
4450 (build-system r-build-system)
4451 (home-page "https://github.com/jefferis/RANN")
4452 (synopsis "Fast nearest neighbour search")
4453 (description
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+)))
4458
4459 (define-public r-fivethirtyeight
4460 (package
4461 (name "r-fivethirtyeight")
4462 (version "0.1.0")
4463 (source
4464 (origin
4465 (method url-fetch)
4466 (uri (string-append "https://mran.microsoft.com/src/contrib/"
4467 "fivethirtyeight_" version ".tar.gz"))
4468 (sha256
4469 (base32
4470 "0fcc8rq745nsghp27dk0lgih90y4zx8hrzcvsn6ih786yv7qxhvl"))))
4471 (build-system r-build-system)
4472 (propagated-inputs
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)))
4485
4486 (define-public r-compquadform
4487 (package
4488 (name "r-compquadform")
4489 (version "1.4.3")
4490 (source
4491 (origin
4492 (method url-fetch)
4493 (uri (cran-uri "CompQuadForm" version))
4494 (sha256
4495 (base32
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")
4501 (description
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+)))
4506
4507 (define-public r-cowplot
4508 (package
4509 (name "r-cowplot")
4510 (version "1.0.0")
4511 (source
4512 (origin
4513 (method url-fetch)
4514 (uri (cran-uri "cowplot" version))
4515 (sha256
4516 (base32
4517 "19cqdhgfyr1wj0fz0c5ly8f0aiy9sfgzq6lzb78hkx0hdp2agybh"))))
4518 (build-system r-build-system)
4519 (propagated-inputs
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")
4526 (description
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)))
4531
4532 (define-public r-mixtools
4533 (package
4534 (name "r-mixtools")
4535 (version "1.2.0")
4536 (source
4537 (origin
4538 (method url-fetch)
4539 (uri (cran-uri "mixtools" version))
4540 (sha256
4541 (base32
4542 "08whic8hmmzi55b7azwj11l2x5r9s5qbyrv7s9jr08156vqkw0zg"))))
4543 (build-system r-build-system)
4544 (propagated-inputs
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")
4551 (description
4552 "This package provides a collection of R functions for analyzing finite
4553 mixture models.")
4554 (license license:gpl2+)))
4555
4556 (define-public r-lars
4557 (package
4558 (name "r-lars")
4559 (version "1.2")
4560 (source
4561 (origin
4562 (method url-fetch)
4563 (uri (cran-uri "lars" version))
4564 (sha256
4565 (base32
4566 "0blj44wqrx6lmym1m9v6wkz8zxzbjax2zl6swgdczci0ixb5nx34"))))
4567 (build-system r-build-system)
4568 (inputs
4569 `(("gfortran" ,gfortran)))
4570 (home-page "https://web.stanford.edu/~hastie/Papers/LARS/")
4571 (synopsis "Least angle regression software")
4572 (description
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
4579 regression.")
4580 (license license:gpl2)))
4581
4582 (define-public r-fastica
4583 (package
4584 (name "r-fastica")
4585 (version "1.2-2")
4586 (source
4587 (origin
4588 (method url-fetch)
4589 (uri (cran-uri "fastICA" version))
4590 (sha256
4591 (base32
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")
4597 (description
4598 "This package provides an implementation of the FastICA algorithm to
4599 perform @dfn{independent component analysis} (ICA) and projection pursuit.")
4600 ;; Any GPL version.
4601 (license license:gpl3+)))
4602
4603 (define-public r-randomforest
4604 (package
4605 (name "r-randomforest")
4606 (version "4.6-14")
4607 (source
4608 (origin
4609 (method url-fetch)
4610 (uri (cran-uri "randomForest" version))
4611 (sha256
4612 (base32
4613 "0kbmm0l42fc2d1rdq0l7k09d34kd87q4lx651ffsic4y84h8kf7l"))))
4614 (properties `((upstream-name . "randomForest")))
4615 (build-system r-build-system)
4616 (home-page "https://www.stat.berkeley.edu/~breiman/RandomForests/")
4617 (native-inputs
4618 `(("gfortran" ,gfortran)))
4619 (synopsis "Breiman and Cutler's random forests for classification and regression")
4620 (description
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+)))
4624
4625 (define-public r-diptest
4626 (package
4627 (name "r-diptest")
4628 (version "0.75-7")
4629 (source
4630 (origin
4631 (method url-fetch)
4632 (uri (cran-uri "diptest" version))
4633 (sha256
4634 (base32
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")
4639 (description
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+)))
4644
4645 (define-public r-modeltools
4646 (package
4647 (name "r-modeltools")
4648 (version "0.2-23")
4649 (source
4650 (origin
4651 (method url-fetch)
4652 (uri (cran-uri "modeltools" version))
4653 (sha256
4654 (base32
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")
4659 (description
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)))
4664
4665 (define-public r-flexmix
4666 (package
4667 (name "r-flexmix")
4668 (version "2.3-15")
4669 (source
4670 (origin
4671 (method url-fetch)
4672 (uri (cran-uri "flexmix" version))
4673 (sha256
4674 (base32
4675 "0hrz2axp2c9548b1r0bmrl57219nn030qndb83a8garkzq5lqi5s"))))
4676 (build-system r-build-system)
4677 (propagated-inputs
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")
4683 (description
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+)))
4690
4691 (define-public r-mclust
4692 (package
4693 (name "r-mclust")
4694 (version "5.4.6")
4695 (source
4696 (origin
4697 (method url-fetch)
4698 (uri (cran-uri "mclust" version))
4699 (sha256
4700 (base32
4701 "1z46qask09x3xpv0wzvhn09218vwyrip4f5jrhnx96khpwvczzyl"))))
4702 (build-system r-build-system)
4703 (native-inputs
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.")
4708 (description
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+)))
4714
4715 (define-public r-prabclus
4716 (package
4717 (name "r-prabclus")
4718 (version "2.3-2")
4719 (source
4720 (origin
4721 (method url-fetch)
4722 (uri (cran-uri "prabclus" version))
4723 (sha256
4724 (base32
4725 "0hg4d7y1w18jpgvw10z8833bbbcnlkwiasx0wh6iwa2pnnybq8gl"))))
4726 (build-system r-build-system)
4727 (propagated-inputs
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")
4732 (description
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+)))
4738
4739 (define-public r-deoptimr
4740 (package
4741 (name "r-deoptimr")
4742 (version "1.0-8")
4743 (source
4744 (origin
4745 (method url-fetch)
4746 (uri (cran-uri "DEoptimR" version))
4747 (sha256
4748 (base32
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")
4754 (description
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+)))
4761
4762 (define-public r-robustbase
4763 (package
4764 (name "r-robustbase")
4765 (version "0.93-6")
4766 (source
4767 (origin
4768 (method url-fetch)
4769 (uri (cran-uri "robustbase" version))
4770 (sha256
4771 (base32
4772 "1cr478xi4n9jwsdpbq182a7ig47rpb413q28dz6d1am08sk6657a"))))
4773 (build-system r-build-system)
4774 (native-inputs
4775 `(("gfortran" ,gfortran)))
4776 (propagated-inputs
4777 `(("r-deoptimr" ,r-deoptimr)))
4778 (home-page "http://robustbase.r-forge.r-project.org/")
4779 (synopsis "Basic robust statistics")
4780 (description
4781 "This package analyzes data with robust methods such as
4782 regression methodology including model selections and multivariate statistics.")
4783 (license license:gpl2+)))
4784
4785 (define-public r-pcapp
4786 (package
4787 (name "r-pcapp")
4788 (version "1.9-73")
4789 (source
4790 (origin
4791 (method url-fetch)
4792 (uri (cran-uri "pcaPP" version))
4793 (sha256
4794 (base32
4795 "1z2kdf9gfp965xbcd4rg6vf20d1bl443na0qjkpq7gmzpaq6cifa"))))
4796 (properties `((upstream-name . "pcaPP")))
4797 (build-system r-build-system)
4798 (propagated-inputs
4799 `(("r-mvtnorm" ,r-mvtnorm)))
4800 (home-page "https://cran.r-project.org/web/packages/pcaPP")
4801 (synopsis "Robust PCA by projection pursuit")
4802 (description
4803 "This package provides functions for robust @dfn{principal component
4804 analysis} (PCA) by projection pursuit.")
4805 (license license:gpl3+)))
4806
4807 (define-public r-rrcov
4808 (package
4809 (name "r-rrcov")
4810 (version "1.5-2")
4811 (source
4812 (origin
4813 (method url-fetch)
4814 (uri (cran-uri "rrcov" version))
4815 (sha256
4816 (base32
4817 "0m62k58nabw7hjz1qyyf9a0d6lvcz5vcvpksjnq93zcfra9inr57"))))
4818 (build-system r-build-system)
4819 (propagated-inputs
4820 `(("r-lattice" ,r-lattice)
4821 ("r-mvtnorm" ,r-mvtnorm)
4822 ("r-pcapp" ,r-pcapp)
4823 ("r-robustbase" ,r-robustbase)))
4824 (native-inputs
4825 `(("gfortran" ,gfortran)))
4826 (home-page "https://cran.r-project.org/web/packages/rrcov")
4827 (synopsis "Scalable robust estimators with high breakdown Point")
4828 (description
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+)))
4832
4833 (define-public r-fit-models
4834 (package
4835 (name "r-fit-models")
4836 (version "0.5-14")
4837 (source
4838 (origin
4839 (method url-fetch)
4840 (uri (cran-uri "fit.models" version))
4841 (sha256
4842 (base32
4843 "0vjbzmx0ambm6yzidb4vbgmhclwzwv2iz2cwl54ccdkvx4cx3fck"))))
4844 (properties `((upstream-name . "fit.models")))
4845 (build-system r-build-system)
4846 (propagated-inputs
4847 `(("r-lattice" ,r-lattice)))
4848 (home-page "https://cran.r-project.org/web/packages/fit.models")
4849 (synopsis "Compare fitted models")
4850 (description
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
4857 generally.")
4858 ;; Any version of the GPL
4859 (license (list license:gpl2+ license:gpl3+))))
4860
4861 (define-public r-robust
4862 (package
4863 (name "r-robust")
4864 (version "0.5-0.0")
4865 (source
4866 (origin
4867 (method url-fetch)
4868 (uri (cran-uri "robust" version))
4869 (sha256
4870 (base32
4871 "1ks5scp8bnicl9j1r8yrmz668fjs6ifdmi540zw6d2ck500bbw42"))))
4872 (build-system r-build-system)
4873 (propagated-inputs
4874 `(("r-fit-models" ,r-fit-models)
4875 ("r-lattice" ,r-lattice)
4876 ("r-mass" ,r-mass)
4877 ("r-robustbase" ,r-robustbase)
4878 ("r-rrcov" ,r-rrcov)))
4879 (native-inputs
4880 `(("gfortran" ,gfortran)))
4881 (home-page "https://cran.r-project.org/web/packages/robust")
4882 (synopsis "Port of the S+ \"Robust Library\"")
4883 (description
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)))
4888
4889 (define-public r-trimcluster
4890 (package
4891 (name "r-trimcluster")
4892 (version "0.1-5")
4893 (source
4894 (origin
4895 (method url-fetch)
4896 (uri (cran-uri "trimcluster" version))
4897 (sha256
4898 (base32
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")
4903 (description
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
4906 of the points.")
4907 ;; Any GPL version
4908 (license (list license:gpl2+ license:gpl3+))))
4909
4910 (define-public r-fpc
4911 (package
4912 (name "r-fpc")
4913 (version "2.2-5")
4914 (source
4915 (origin
4916 (method url-fetch)
4917 (uri (cran-uri "fpc" version))
4918 (sha256
4919 (base32
4920 "10504hzivbn89ip0cd5bcxd36ivbgin1lw1xhyh3xfckcm25v1a5"))))
4921 (build-system r-build-system)
4922 (propagated-inputs
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)
4928 ("r-mass" ,r-mass)
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")
4934 (description
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
4939 groupings.")
4940 (license license:gpl2+)))
4941
4942 (define-public r-vgam
4943 (package
4944 (name "r-vgam")
4945 (version "1.1-2")
4946 (source
4947 (origin
4948 (method url-fetch)
4949 (uri (cran-uri "VGAM" version))
4950 (sha256
4951 (base32 "0kyan3a4ys2xbg9kf167cyf1gk7g963id62cjm2ij4i7y4wi61zq"))))
4952 (properties `((upstream-name . "VGAM")))
4953 (build-system r-build-system)
4954 (inputs
4955 `(("gfortran" ,gfortran)))
4956 (home-page "https://www.stat.auckland.ac.nz/~yee/VGAM")
4957 (synopsis "Vector generalized linear and additive models")
4958 (description
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+)))
4965
4966 (define-public r-pbapply
4967 (package
4968 (name "r-pbapply")
4969 (version "1.4-2")
4970 (source
4971 (origin
4972 (method url-fetch)
4973 (uri (cran-uri "pbapply" version))
4974 (sha256
4975 (base32
4976 "1xmk4p006v8gij26rs6kp5prjyf2n32nqjxiyp8a6kvgyc4z46dc"))))
4977 (build-system r-build-system)
4978 (home-page "https://github.com/psolymos/pbapply")
4979 (synopsis "Adding progress bar to apply functions")
4980 (description
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)))
4985
4986 (define-public r-minqa
4987 (package
4988 (name "r-minqa")
4989 (version "1.2.4")
4990 (source
4991 (origin
4992 (method url-fetch)
4993 (uri (cran-uri "minqa" version))
4994 (sha256
4995 (base32
4996 "036drja6xz7awja9iwb76x91415p26fb0jmg7y7v0p65m6j978fg"))))
4997 (build-system r-build-system)
4998 (propagated-inputs
4999 `(("r-rcpp" ,r-rcpp)))
5000 (inputs
5001 `(("gfortran" ,gfortran)))
5002 (home-page "http://optimizer.r-forge.r-project.org")
5003 (synopsis "Derivative-free optimization algorithms by quadratic approximation")
5004 (description
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)))
5008
5009 (define-public r-rcppeigen
5010 (package
5011 (name "r-rcppeigen")
5012 (version "0.3.3.7.0")
5013 (source
5014 (origin
5015 (method url-fetch)
5016 (uri (cran-uri "RcppEigen" version))
5017 (sha256
5018 (base32
5019 "1b78qcjim0n9klgkr82n794d6bj9r9f33g0kcsszsns2hir65sk2"))))
5020 (properties `((upstream-name . "RcppEigen")))
5021 (build-system r-build-system)
5022 (propagated-inputs
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")
5027 (description
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+)))
5033
5034 (define-public r-modelmetrics
5035 (package
5036 (name "r-modelmetrics")
5037 (version "1.2.2.2")
5038 (source
5039 (origin
5040 (method url-fetch)
5041 (uri (cran-uri "ModelMetrics" version))
5042 (sha256
5043 (base32
5044 "0mrlsw4c5y1vdsqynxr2dcvmhh5h37pnd71jw5a5djpbda9g21jy"))))
5045 (properties `((upstream-name . "ModelMetrics")))
5046 (build-system r-build-system)
5047 (propagated-inputs
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")
5052 (description
5053 "Written in C++ using @code{Rcpp}, this package provides a collection of
5054 metrics for evaluating models.")
5055 (license license:gpl2+)))
5056
5057 (define-public r-matrixmodels
5058 (package
5059 (name "r-matrixmodels")
5060 (version "0.4-1")
5061 (source
5062 (origin
5063 (method url-fetch)
5064 (uri (cran-uri "MatrixModels" version))
5065 (sha256
5066 (base32
5067 "0cyfvhci2p1vr2x52ymkyqqs63x1qchn856dh2j94yb93r08x1zy"))))
5068 (properties `((upstream-name . "MatrixModels")))
5069 (build-system r-build-system)
5070 (propagated-inputs
5071 `(("r-matrix" ,r-matrix)))
5072 (home-page "https://cran.r-project.org/web/packages/MatrixModels")
5073 (synopsis "Modelling with sparse and dense matrices")
5074 (description
5075 "This package models with sparse and dense matrix matrices,
5076 using modular prediction and response module classes.")
5077 (license license:gpl2+)))
5078
5079 (define-public r-quantreg
5080 (package
5081 (name "r-quantreg")
5082 (version "5.55")
5083 (source
5084 (origin
5085 (method url-fetch)
5086 (uri (cran-uri "quantreg" version))
5087 (sha256
5088 (base32 "1zjc8p95kb0ypxa6nxp0lkdq8armkjmmhf8484m25n5f14a59qfb"))))
5089 (build-system r-build-system)
5090 (native-inputs
5091 `(("gfortran" ,gfortran)))
5092 (propagated-inputs
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")
5098 (description
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+)))
5105
5106 (define-public r-nloptr
5107 (package
5108 (name "r-nloptr")
5109 (version "1.2.2.1")
5110 (source
5111 (origin
5112 (method url-fetch)
5113 (uri (cran-uri "nloptr" version))
5114 (sha256
5115 (base32
5116 "1bhh2v14phzndjhiq7yw9vych6vzn5yy3vk9q35zcp3jhjjbwdyh"))))
5117 (build-system r-build-system)
5118 (native-inputs
5119 `(("r-knitr" ,r-knitr) ; for building vignettes
5120 ("pkg-config" ,pkg-config)
5121 ("gfortran" ,gfortran)))
5122 (inputs
5123 `(("nlopt" ,nlopt)))
5124 (home-page "https://cran.r-project.org/web/packages/nloptr")
5125 (synopsis "R interface to NLopt")
5126 (description
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
5131 algorithms.")
5132 (license license:lgpl3)))
5133
5134 (define-public r-lme4
5135 (package
5136 (name "r-lme4")
5137 (version "1.1-23")
5138 (source
5139 (origin
5140 (method url-fetch)
5141 (uri (cran-uri "lme4" version))
5142 (sha256
5143 (base32
5144 "0qh29kqli0l3naylgb6jha6jllx4nwryr3hv9yk37blgyyql5mcr"))))
5145 (build-system r-build-system)
5146 (propagated-inputs
5147 `(("r-boot" ,r-boot)
5148 ("r-lattice" ,r-lattice)
5149 ("r-mass" ,r-mass)
5150 ("r-matrix" ,r-matrix)
5151 ("r-minqa" ,r-minqa)
5152 ("r-nloptr" ,r-nloptr)
5153 ("r-nlme" ,r-nlme)
5154 ("r-rcpp" ,r-rcpp)
5155 ("r-rcppeigen" ,r-rcppeigen)
5156 ("r-statmod" ,r-statmod)))
5157 (native-inputs
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")
5161 (description
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+)))
5167
5168 (define-public r-pbkrtest
5169 (package
5170 (name "r-pbkrtest")
5171 (version "0.4-8.6")
5172 (source
5173 (origin
5174 (method url-fetch)
5175 (uri (cran-uri "pbkrtest" version))
5176 (sha256
5177 (base32
5178 "0s5xhhrhv5i9680lw6af9lj2x4jc3fygmzzk0jjpxnb8g4b3p1jz"))))
5179 (build-system r-build-system)
5180 (propagated-inputs
5181 `(("r-lme4" ,r-lme4)
5182 ("r-magrittr" ,r-magrittr)
5183 ("r-mass" ,r-mass)
5184 ("r-matrix" ,r-matrix)))
5185 (home-page "http://people.math.aau.dk/~sorenh/software/pbkrtest/")
5186 (synopsis "Methods for linear mixed model comparison")
5187 (description
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+)))
5192
5193 (define-public r-cardata
5194 (package
5195 (name "r-cardata")
5196 (version "3.0-3")
5197 (source
5198 (origin
5199 (method url-fetch)
5200 (uri (cran-uri "carData" version))
5201 (sha256
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")
5207 (description
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+)))
5211
5212 (define-public r-car
5213 (package
5214 (name "r-car")
5215 (version "3.0-7")
5216 (source
5217 (origin
5218 (method url-fetch)
5219 (uri (cran-uri "car" version))
5220 (sha256
5221 (base32 "11sfk1l41j27mrfy16g7b02c570n3gy9icvpcrfjh1biykqa565d"))))
5222 (build-system r-build-system)
5223 (propagated-inputs
5224 `(("r-abind" ,r-abind)
5225 ("r-cardata" ,r-cardata)
5226 ("r-lme4" ,r-lme4)
5227 ("r-maptools" ,r-maptools)
5228 ("r-mass" ,r-mass)
5229 ("r-mgcv" ,r-mgcv)
5230 ("r-nlme" ,r-nlme)
5231 ("r-nnet" ,r-nnet)
5232 ("r-pbkrtest" ,r-pbkrtest)
5233 ("r-quantreg" ,r-quantreg)
5234 ("r-rio" ,r-rio)))
5235 (native-inputs
5236 `(("r-knitr" ,r-knitr)))
5237 (home-page "https://r-forge.r-project.org/projects/car/")
5238 (synopsis "Companion to applied regression")
5239 (description
5240 "This package provides functions and datasets from book Companion
5241 to Applied regression, Second Edition, Sage, 2011.")
5242 (license license:gpl2+)))
5243
5244 (define-public r-rcppprogress
5245 (package
5246 (name "r-rcppprogress")
5247 (version "0.4.2")
5248 (source
5249 (origin
5250 (method url-fetch)
5251 (uri (cran-uri "RcppProgress" version))
5252 (sha256
5253 (base32
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")
5259 (description
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+)))
5264
5265 (define-public r-mnormt
5266 (package
5267 (name "r-mnormt")
5268 (version "1.5-6")
5269 (source
5270 (origin
5271 (method url-fetch)
5272 (uri (cran-uri "mnormt" version))
5273 (sha256
5274 (base32
5275 "0k8y08gj6z525yvc7y3dl2kzgnafbj3i7lvpamypsmqxf74zql99"))))
5276 (build-system r-build-system)
5277 (native-inputs
5278 `(("gfortran" ,gfortran)))
5279 (home-page "http://azzalini.stat.unipd.it/SW/Pkg-mnormt")
5280 (synopsis "Multivariate normal and \"t\" distributions")
5281 (description
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+)))
5287
5288 (define-public r-numderiv
5289 (package
5290 (name "r-numderiv")
5291 (version "2016.8-1.1")
5292 (source
5293 (origin
5294 (method url-fetch)
5295 (uri (cran-uri "numDeriv" version))
5296 (sha256
5297 (base32
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")
5303 (description
5304 "This package provides methods for calculating accurate numerical
5305 first and second order derivatives.")
5306 (license license:gpl2)))
5307
5308 (define-public r-sn
5309 (package
5310 (name "r-sn")
5311 (version "1.6-1")
5312 (source
5313 (origin
5314 (method url-fetch)
5315 (uri (cran-uri "sn" version))
5316 (sha256
5317 (base32
5318 "0snri2k8qslb7478c5jz4a5xxmmb1ipmp8x1jizi8mhj2cjic1w0"))))
5319 (build-system r-build-system)
5320 (propagated-inputs
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")
5326 (description
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+)))
5333
5334 (define-public r-tclust
5335 (package
5336 (name "r-tclust")
5337 (version "1.4-1")
5338 (source
5339 (origin
5340 (method url-fetch)
5341 (uri (cran-uri "tclust" version))
5342 (sha256
5343 (base32
5344 "17md6l9v9dl9b72l84df01b52h2xiynbcjm437mv9mzcr09fc2sb"))))
5345 (build-system r-build-system)
5346 ;; These are all suggested packages, not build dependencies.
5347 (propagated-inputs
5348 `(("r-cluster" ,r-cluster)
5349 ("r-mclust" ,r-mclust)
5350 ("r-mvtnorm" ,r-mvtnorm)
5351 ("r-sn" ,r-sn)))
5352 (home-page "https://cran.r-project.org/web/packages/tclust")
5353 (synopsis "Robust trimmed clustering")
5354 (description
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)))
5359
5360 (define-public r-ranger
5361 (package
5362 (name "r-ranger")
5363 (version "0.12.1")
5364 (source
5365 (origin
5366 (method url-fetch)
5367 (uri (cran-uri "ranger" version))
5368 (sha256
5369 (base32
5370 "1vr5akgh388iivrxi0g4pl2npq9dc4cim3ljk4kjf637q058wc7w"))))
5371 (build-system r-build-system)
5372 (propagated-inputs
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")
5378 (description
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)))
5384
5385 (define-public r-tsne
5386 (package
5387 (name "r-tsne")
5388 (version "0.1-3")
5389 (source
5390 (origin
5391 (method url-fetch)
5392 (uri (cran-uri "tsne" version))
5393 (sha256
5394 (base32
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")
5399 (description
5400 "This package provides a pure R implementation of the t-SNE algorithm.")
5401 (license license:gpl2+)))
5402
5403 (define-public r-cairo
5404 (package
5405 (name "r-cairo")
5406 (version "1.5-12")
5407 (source
5408 (origin
5409 (method url-fetch)
5410 (uri (cran-uri "Cairo" version))
5411 (sha256
5412 (base32
5413 "02v29am4fac3fyq6y1w6r89zwbqqkxjsxrafcwb5s124ikxyl22f"))))
5414 (properties `((upstream-name . "Cairo")))
5415 (build-system r-build-system)
5416 (inputs
5417 `(("cairo" ,cairo)
5418 ("libxt" ,libxt)
5419 ("zlib" ,zlib)))
5420 (native-inputs
5421 `(("pkg-config" ,pkg-config)))
5422 (home-page "https://www.rforge.net/Cairo/")
5423 (synopsis "R graphics device using Cairo graphics library")
5424 (description
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
5436 is supported.")
5437 (license license:gpl2)))
5438
5439 (define-public r-lubridate
5440 (package
5441 (name "r-lubridate")
5442 (version "1.7.8")
5443 (source
5444 (origin
5445 (method url-fetch)
5446 (uri (cran-uri "lubridate" version))
5447 (sha256
5448 (base32
5449 "0g2m9dyhgds4shdrk76w7rqdl9msam4rii2qrhz12gipzhi9k89x"))))
5450 (build-system r-build-system)
5451 (propagated-inputs
5452 `(("r-generics" ,r-generics)
5453 ("r-rcpp" ,r-rcpp)))
5454 (native-inputs
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")
5458 (description
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
5464 easy and fun.")
5465 (license license:gpl2)))
5466
5467 (define-public r-fdrtool
5468 (package
5469 (name "r-fdrtool")
5470 (version "1.2.15")
5471 (source
5472 (origin
5473 (method url-fetch)
5474 (uri (cran-uri "fdrtool" version))
5475 (sha256
5476 (base32
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")
5481 (description
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+)))
5494
5495 (define-public r-forcats
5496 (package
5497 (name "r-forcats")
5498 (version "0.5.0")
5499 (source
5500 (origin
5501 (method url-fetch)
5502 (uri (cran-uri "forcats" version))
5503 (sha256
5504 (base32
5505 "1i4hblsjgwkrcwgvgsb5yj33pw1hwdj3lr9dvxymkv1kjdw0x5lg"))))
5506 (build-system r-build-system)
5507 (propagated-inputs
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)))
5520
5521 (define-public r-tgstat
5522 (let ((changeset "4f8e60c03598f49aff6f5beeab40f2b995377e9f")
5523 (revision "1"))
5524 (package
5525 (name "r-tgstat")
5526 (version (string-append "1.0.2-" revision "." (string-take changeset 7)))
5527 (source
5528 (origin
5529 (method hg-fetch)
5530 (uri (hg-reference
5531 (url "https://bitbucket.org/tanaylab/tgstat")
5532 (changeset changeset)))
5533 (file-name (string-append name "-" version "-checkout"))
5534 (sha256
5535 (base32
5536 "0ilkkyximy77zbncm91kdfqbxf0qyndg16pd3q3p6a3xc9qcmxvn"))))
5537 (build-system r-build-system)
5538 (arguments
5539 `(#:phases
5540 (modify-phases %standard-phases
5541 (add-after 'unpack 'fix-isnan
5542 (lambda _
5543 (substitute* "src/tgstat.h"
5544 (("#define isnan ::isnan")
5545 "#define isnan std::isnan"))
5546 #t)))))
5547 (propagated-inputs
5548 `(("r-rcpp" ,r-rcpp)))
5549 (home-page "https://bitbucket.org/tanaylab/tgstat/")
5550 (synopsis "Tanay's group statistical utilities")
5551 (description
5552 "The goal of tgstat is to provide fast and efficient statistical
5553 tools.")
5554 (license license:gpl2))))
5555
5556 (define-public r-tgconfig
5557 (let ((changeset "1e02c7614713bd0866c46f0c679a058f8c6d627e")
5558 (revision "1"))
5559 (package
5560 (name "r-tgconfig")
5561 (version (string-append "0.0.0.9000-" revision "." (string-take changeset 7)))
5562 (source
5563 (origin
5564 (method hg-fetch)
5565 (uri (hg-reference
5566 (url "https://bitbucket.org/tanaylab/tgconfig")
5567 (changeset changeset)))
5568 (file-name (string-append name "-" version "-checkout"))
5569 (sha256
5570 (base32
5571 "0xy6c7s7mn1yx191154bwbv1bl424bnvc80syqpl1vdl28ba46rj"))))
5572 (build-system r-build-system)
5573 (propagated-inputs
5574 `(("r-yaml" ,r-yaml)))
5575 (home-page "https://bitbucket.org/tanaylab/tgconfig/")
5576 (synopsis "Infrastructure for managing package parameters")
5577 (description
5578 "The goal of tgconfig is to provide infrastructure for managing package
5579 parameters.")
5580 (license license:gpl3))))
5581
5582 (define-public r-directlabels
5583 (package
5584 (name "r-directlabels")
5585 (version "2020.1.31")
5586 (source
5587 (origin
5588 (method url-fetch)
5589 (uri (cran-uri "directlabels" version))
5590 (sha256
5591 (base32
5592 "08s1gnwp4bn8xahwjaq0f1qzhwh2dvybzhq3z7xyzn8cnyzmis6c"))))
5593 (build-system r-build-system)
5594 (propagated-inputs
5595 `(("r-quadprog" ,r-quadprog)))
5596 (home-page "http://directlabels.r-forge.r-project.org/")
5597 (synopsis "Direct labels for multicolor plots")
5598 (description
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)))
5605
5606 (define-public r-catterplots
5607 (let ((commit "ae17cd5e49ddda4ecfe0eba8a4c21df8c88e72c4")
5608 (revision "3"))
5609 (package
5610 (name "r-catterplots")
5611 (version (git-version "0" revision commit))
5612 (source (origin
5613 (method git-fetch)
5614 (uri (git-reference
5615 (url "https://github.com/Gibbsdavidl/CatterPlots.git")
5616 (commit commit)))
5617 (file-name (git-file-name name version))
5618 (sha256
5619 (base32
5620 "0qa8liylffpxgdg8xcgjar5dsvczqhn3akd4w35113hnyg1m4xyg"))))
5621 (build-system r-build-system)
5622 (propagated-inputs
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))))
5629
5630 (define-public r-colorout
5631 (package
5632 (name "r-colorout")
5633 (version "1.2-2")
5634 (source
5635 (origin
5636 (method git-fetch)
5637 (uri (git-reference
5638 (url "https://github.com/jalvesaq/colorout.git")
5639 (commit (string-append "v" version))))
5640 (file-name (git-file-name name version))
5641 (sha256
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.
5648
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).
5656
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+)))
5661
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")
5666 (revision "1"))
5667 (package
5668 (name "python-rpy2")
5669 (version (git-version "3.0.4" revision changeset))
5670 (source
5671 (origin
5672 (method hg-fetch)
5673 (uri (hg-reference
5674 (url "https://bitbucket.org/rpy2/rpy2")
5675 (changeset changeset)))
5676 (file-name (git-file-name name version))
5677 (sha256
5678 (base32
5679 "1bb0wslcbj3wjvyk3jb9yyzdi6adfqh5vfgcvn22dyzxzbhcs8kk"))))
5680 (build-system python-build-system)
5681 (arguments
5682 '(#:modules ((ice-9 ftw)
5683 (srfi srfi-1)
5684 (srfi srfi-26)
5685 (guix build utils)
5686 (guix build python-build-system))
5687 #:phases
5688 (modify-phases %standard-phases
5689 (replace 'check
5690 (lambda* (#:key outputs inputs #:allow-other-keys)
5691 (let ((cwd (getcwd)))
5692 (setenv "TZ" "UTC")
5693 (setenv "PYTHONPATH"
5694 (string-append cwd "/build/"
5695 (find (cut string-prefix? "lib" <>)
5696 (scandir (string-append cwd "/build")))
5697 ":"
5698 (getenv "PYTHONPATH"))))
5699 (invoke "pytest" "-v" "rpy/tests/"))))))
5700 (propagated-inputs
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)))
5709 (inputs
5710 `(("readline" ,readline)
5711 ("icu4c" ,icu4c)
5712 ("pcre" ,pcre)
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)))
5720 (native-inputs
5721 `(("zlib" ,zlib)
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
5728 functions.")
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
5731 ;; in "setup.py".
5732 (license (list license:mpl2.0 license:gpl2+ license:lgpl2.1+)))))
5733
5734 (define-public java-jdistlib
5735 (package
5736 (name "java-jdistlib")
5737 (version "0.4.5")
5738 (source (origin
5739 (method url-fetch)
5740 (uri (string-append "mirror://sourceforge/jdistlib/jdistlib-"
5741 version "-src.jar"))
5742 (sha256
5743 (base32
5744 "1pkj8aahw9ydr1isbaqrkd05nvq98ik5jwwhf3yf3rky3z869v11"))))
5745 (build-system ant-build-system)
5746 (arguments
5747 `(#:jar-name "jdistlib.jar"
5748 #:jdk ,icedtea-8
5749 #:tests? #f ; no dedicated test directory
5750 #:phases
5751 (modify-phases %standard-phases
5752 (add-after 'unpack 'fix-broken-encoding
5753 (lambda _
5754 (with-fluids ((%default-port-encoding "ISO-8859-1"))
5755 (substitute* "src/jdistlib/Beta.java"
5756 (("Scheff.+-Tukey") "Scheffe-Tukey")))
5757 #t)))))
5758 (propagated-inputs
5759 `(("java-jtransforms" ,java-jtransforms)))
5760 (native-inputs
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+)))
5770
5771 (define-public emacs-ess
5772 (package
5773 (name "emacs-ess")
5774 (version "17.11")
5775 (source (origin
5776 (method url-fetch)
5777 (uri (string-append "https://github.com/emacs-ess/ESS/archive/v"
5778 version ".tar.gz"))
5779 (sha256
5780 (base32
5781 "0cbilbsiwvcyf6d5y24mymp57m3ana5dkzab3knfs83w4a3a4c5c"))
5782 (file-name (string-append name "-" version ".tar.gz"))
5783 (modules '((guix build utils)))
5784 (snippet
5785 '(begin
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")
5790 "dist: all"))
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")
5795 "all : info")
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"))
5802 #t))))
5803 (build-system gnu-build-system)
5804 (arguments
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 "/"
5810 ,base-directory))
5811 #:phases
5812 (modify-phases %standard-phases
5813 (delete 'configure)
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"))))
5819 #t))
5820 (replace 'check
5821 (lambda _
5822 (invoke "make" "test")))))))
5823 (inputs
5824 `(("emacs" ,emacs-minimal)
5825 ("r-minimal" ,r-minimal)))
5826 (native-inputs
5827 `(("perl" ,perl)
5828 ("texinfo" ,texinfo)))
5829 (propagated-inputs
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+)))