gnu: r-digest: Update to 0.6.23.
[jackhill/guix/guix.git] / gnu / packages / statistics.scm
1 ;;; GNU Guix --- Functional package management for GNU
2 ;;; Copyright © 2015, 2016, 2017, 2018, 2019 Ricardo Wurmus <rekado@elephly.net>
3 ;;; Copyright © 2015 Vicente Vera Parra <vicentemvp@gmail.com>
4 ;;; Copyright © 2016 Andreas Enge <andreas@enge.fr>
5 ;;; Copyright © 2016, 2017, 2019 Efraim Flashner <efraim@flashner.co.il>
6 ;;; Copyright © 2016 Pjotr Prins <pjotr.guix@thebird.nl>
7 ;;; Copyright © 2016 Roel Janssen <roel@gnu.org>
8 ;;; Copyright © 2016 Ben Woodcroft <donttrustben@gmail.com>
9 ;;; Copyright © 2016, 2017 Raoul Bonnal <ilpuccio.febo@gmail.com>
10 ;;; Copyright © 2017 Kyle Meyer <kyle@kyleam.com>
11 ;;; Copyright © 2017, 2018, 2019 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-xyz)
70 #:use-module (gnu packages readline)
71 #:use-module (gnu packages sphinx)
72 #:use-module (gnu packages ssh)
73 #:use-module (gnu packages tcl)
74 #:use-module (gnu packages tex)
75 #:use-module (gnu packages texinfo)
76 #:use-module (gnu packages time)
77 #:use-module (gnu packages tls)
78 #:use-module (gnu packages base)
79 #:use-module (gnu packages version-control)
80 #:use-module (gnu packages web)
81 #:use-module (gnu packages xml)
82 #:use-module (gnu packages xorg)
83 #:use-module (srfi srfi-1))
84
85
86 (define-public pspp
87 (package
88 (name "pspp")
89 (version "1.2.0")
90 (source
91 (origin
92 (method url-fetch)
93 (uri (string-append "mirror://gnu/pspp/pspp-"
94 version ".tar.gz"))
95 (sha256
96 (base32
97 "07pp27zycrb5x927jwaj9r3q7hy915jh51xs85zxby6gfiwl63m5"))))
98 (build-system gnu-build-system)
99 (inputs
100 `(("cairo" ,cairo)
101 ("gettext" ,gettext-minimal)
102 ("gsl" ,gsl)
103 ("libxml2" ,libxml2)
104 ("pango" ,pango)
105 ("readline" ,readline)
106 ("gtk" ,gtk+)
107 ("gtksourceview" ,gtksourceview)
108 ("spread-sheet-widget" ,spread-sheet-widget)
109 ("zlib" ,zlib)))
110 (native-inputs
111 `(("autoconf" ,autoconf) ;for tests
112 ("glib" ,glib "bin") ;for glib-genmarshal
113 ("perl" ,perl)
114 ("pkg-config" ,pkg-config)
115 ("python" ,python-2) ;for tests
116 ("texinfo" ,texinfo)))
117 (home-page "https://www.gnu.org/software/pspp/")
118 (synopsis "Statistical analysis")
119 (description
120 "GNU PSPP is a statistical analysis program. It can perform
121 descriptive statistics, T-tests, linear regression and non-parametric tests.
122 It features both a graphical interface as well as command-line input. PSPP
123 is designed to interoperate with Gnumeric, LibreOffice and OpenOffice. Data
124 can be imported from spreadsheets, text files and database sources and it can
125 be output in text, PostScript, PDF or HTML.")
126 (license license:gpl3+)))
127
128 (define-public jags
129 (package
130 (name "jags")
131 (version "4.3.0")
132 (source (origin
133 (method url-fetch)
134 (uri (string-append "mirror://sourceforge/mcmc-jags/JAGS/"
135 (version-major version) ".x/Source/"
136 "JAGS-" version ".tar.gz"))
137 (sha256
138 (base32
139 "1z3icccg2ic56vmhyrpinlsvpq7kcaflk1731rgpvz9bk1bxvica"))))
140 (build-system gnu-build-system)
141 (home-page "http://mcmc-jags.sourceforge.net/")
142 (native-inputs
143 `(("gfortran" ,gfortran)
144 ("lapack" ,lapack)))
145 (synopsis "Gibbs sampler")
146 (description "JAGS is Just Another Gibbs Sampler. It is a program for
147 analysis of Bayesian hierarchical models using Markov Chain Monte Carlo (MCMC)
148 simulation not wholly unlike BUGS. JAGS was written with three aims in mind:
149
150 @enumerate
151 @item To have a cross-platform engine for the BUGS language;
152 @item To be extensible, allowing users to write their own functions,
153 distributions and samplers;
154 @item To be a platform for experimentation with ideas in Bayesian modelling.
155 @end enumerate\n")
156 (license license:gpl2)))
157
158 (define-public libxls
159 (package
160 (name "libxls")
161 (version "1.5.1")
162 (source
163 (origin
164 (method url-fetch)
165 (uri (string-append "https://github.com/libxls/libxls/releases/download/"
166 "v" version "/libxls-" version ".tar.gz"))
167 (sha256
168 (base32 "0dam8qgbc5ykzaxmrjhpmfm8lnlcdk6cbpzyaya91qwwa80qbj1v"))))
169 (build-system gnu-build-system)
170 (home-page "https://github.com/libxls/libxls")
171 (synopsis "Read binary (.xls) Excel spreadsheet files")
172 (description
173 "libxls is a C library to read .xls spreadsheet files in the binary OLE
174 BIFF8 format as created by Excel 97 and later versions. It cannot write them.
175
176 This package also provides @command{xls2csv} to export Excel files to CSV.")
177 (license license:bsd-2)))
178
179 ;; Update this package together with the set of recommended packages: r-boot,
180 ;; r-class, r-cluster, r-codetools, r-foreign, r-kernsmooth, r-lattice,
181 ;; r-mass, r-matrix, r-mgcv, r-nlme, r-nnet, r-rpart, r-spatial, r-survival.
182 (define r-with-tests
183 (package
184 (name "r-with-tests")
185 (version "3.6.1")
186 (source (origin
187 (method url-fetch)
188 (uri (string-append "mirror://cran/src/base/R-"
189 (version-major version) "/R-"
190 version ".tar.gz"))
191 (sha256
192 (base32
193 "128kifbq0w25y8aq77w289ddax5i5w2djcfsqgffrb3i7syrxajv"))))
194 (build-system gnu-build-system)
195 (arguments
196 `(#:disallowed-references (,tzdata-for-tests)
197 #:make-flags
198 (list (string-append "LDFLAGS=-Wl,-rpath="
199 (assoc-ref %outputs "out")
200 "/lib/R/lib")
201 ;; This affects the embedded timestamp of only the core packages.
202 "PKG_BUILT_STAMP=1970-01-01")
203 #:phases
204 (modify-phases %standard-phases
205 (add-before 'configure 'do-not-compress-serialized-files
206 (lambda* (#:key inputs #:allow-other-keys)
207 ;; This ensures that Guix can detect embedded store references;
208 ;; see bug #28157 for details.
209 (substitute* "src/library/base/makebasedb.R"
210 (("compress = TRUE") "compress = FALSE"))
211 #t))
212 (add-before 'configure 'patch-uname
213 (lambda* (#:key inputs #:allow-other-keys)
214 (let ((uname-bin (string-append (assoc-ref inputs "coreutils")
215 "/bin/uname")))
216 (substitute* "src/scripts/R.sh.in"
217 (("uname") uname-bin)))
218 #t))
219 (add-after 'unpack 'build-reproducibly
220 (lambda _
221 ;; The documentation contains time stamps to demonstrate
222 ;; documentation generation in different phases.
223 (substitute* "src/library/tools/man/Rd2HTML.Rd"
224 (("\\\\%Y-\\\\%m-\\\\%d at \\\\%H:\\\\%M:\\\\%S")
225 "(removed for reproducibility)"))
226
227 ;; Remove timestamp from tracing environment. This fixes
228 ;; reproducibility of "methods.rd{b,x}".
229 (substitute* "src/library/methods/R/trace.R"
230 (("dateCreated = Sys.time\\(\\)")
231 "dateCreated = as.POSIXct(\"1970-1-1 00:00:00\", tz = \"UTC\")"))
232
233 ;; Ensure that gzipped files are reproducible.
234 (substitute* '("src/library/grDevices/Makefile.in"
235 "doc/manual/Makefile.in")
236 (("R_GZIPCMD\\)" line)
237 (string-append line " -n")))
238
239 ;; The "srcfile" procedure in "src/library/base/R/srcfile.R"
240 ;; queries the mtime of a given file and records it in an object.
241 ;; This is acceptable at runtime to detect stale source files,
242 ;; but it destroys reproducibility at build time.
243
244 ;; Similarly, the "srcfilecopy" procedure records the current
245 ;; time. We change both of them to respect SOURCE_DATE_EPOCH.
246 (substitute* "src/library/base/R/srcfile.R"
247 (("timestamp <- (timestamp.*|file.mtime.*)" _ time)
248 (string-append "timestamp <- \
249 as.POSIXct(if (\"\" != Sys.getenv(\"SOURCE_DATE_EPOCH\")) {\
250 as.numeric(Sys.getenv(\"SOURCE_DATE_EPOCH\"))\
251 } else { " time "}, origin=\"1970-01-01\")\n")))
252
253 ;; This library is installed using "install_package_description",
254 ;; so we need to pass the "builtStamp" argument.
255 (substitute* "src/library/tools/Makefile.in"
256 (("(install_package_description\\(.*\"')\\)\"" line prefix)
257 (string-append prefix ", builtStamp='1970-01-01')\"")))
258
259 (substitute* "src/library/Recommended/Makefile.in"
260 (("INSTALL_OPTS =" m)
261 (string-append m " --built-timestamp=1970-01-01" m)))
262
263 ;; R bundles an older version of help2man, which does not respect
264 ;; SOURCE_DATE_EPOCH. We cannot just use the latest help2man,
265 ;; because that breaks a test.
266 (with-fluids ((%default-port-encoding "ISO-8859-1"))
267 (substitute* "tools/help2man.pl"
268 (("my \\$date = strftime \"%B %Y\", localtime" line)
269 (string-append line " 1"))))
270 #t))
271 (add-before 'configure 'set-default-pager
272 ;; Set default pager to "cat", because otherwise it is "false",
273 ;; making "help()" print nothing at all.
274 (lambda _ (setenv "PAGER" "cat") #t))
275 (add-before 'check 'set-timezone
276 ;; Some tests require the timezone to be set. However, the
277 ;; timezone may not just be "UTC", or else a brittle regression
278 ;; test in reg-tests-1d will fail.
279 (lambda* (#:key inputs #:allow-other-keys)
280 (setenv "TZ" "UTC+1")
281 (setenv "TZDIR"
282 (string-append (assoc-ref inputs "tzdata")
283 "/share/zoneinfo"))
284 #t))
285 (add-after 'build 'make-info
286 (lambda _ (invoke "make" "info")))
287 (add-after 'build 'install-info
288 (lambda _ (invoke "make" "install-info"))))
289 #:configure-flags
290 `(;; We build the recommended packages here, because they are needed in
291 ;; order to run the test suite. We disable them in the r-minimal
292 ;; package.
293 "--with-cairo"
294 "--with-blas=-lopenblas"
295 "--with-libpng"
296 "--with-jpeglib"
297 "--with-libtiff"
298 "--with-ICU"
299 "--with-tcltk"
300 ,(string-append "--with-tcl-config="
301 (assoc-ref %build-inputs "tcl")
302 "/lib/tclConfig.sh")
303 ,(string-append "--with-tk-config="
304 (assoc-ref %build-inputs "tk")
305 "/lib/tkConfig.sh")
306 "--enable-R-shlib"
307 "--enable-BLAS-shlib"
308 "--with-system-tre")))
309 ;; R has some support for Java. When the JDK is available at configure
310 ;; time environment variables pointing to the JDK will be recorded under
311 ;; $R_HOME/etc and ./tools/getsp.java will be compiled which is used by "R
312 ;; CMD javareconf". "R CMD javareconf" appears to only be used to update
313 ;; the recorded environment variables in $R_HOME/etc. Refer to
314 ;; https://cran.r-project.org/doc/manuals/r-release/R-admin.html#Java-support
315 ;; for additional information.
316
317 ;; As the JDK is a rather large input with only very limited effects on R,
318 ;; we decided to drop it.
319 (native-inputs
320 `(("bzip2" ,bzip2)
321 ("perl" ,perl)
322 ("pkg-config" ,pkg-config)
323 ("texinfo" ,texinfo) ; for building HTML manuals
324 ("texlive" ,(texlive-union (list texlive-fonts-ec
325 texlive-amsfonts
326 texlive-latex-base
327 texlive-latex-fancyvrb
328 texlive-latex-graphics
329 texlive-latex-hyperref
330 texlive-latex-oberdiek
331 texlive-latex-tools
332 texlive-latex-upquote
333 texlive-latex-url)))
334 ("tzdata" ,tzdata-for-tests)
335 ("xz" ,xz)))
336 (inputs
337 `(;; We need not only cairo here, but pango to ensure that tests for the
338 ;; "cairo" bitmapType plotting backend succeed.
339 ("pango" ,pango)
340 ("coreutils" ,coreutils)
341 ("curl" ,curl)
342 ("openblas" ,openblas)
343 ("gfortran" ,gfortran)
344 ("icu4c" ,icu4c)
345 ("libjpeg" ,libjpeg)
346 ("libpng" ,libpng)
347 ("libtiff" ,libtiff)
348 ("libxt" ,libxt)
349 ("pcre" ,pcre)
350 ("readline" ,readline)
351 ;; This avoids a reference to the ungraftable static bash. R uses the
352 ;; detected shell for the "system" procedure.
353 ("bash" ,bash-minimal)
354 ("tcl" ,tcl)
355 ("tk" ,tk)
356 ("which" ,which)
357 ("zlib" ,zlib)))
358 (native-search-paths
359 (list (search-path-specification
360 (variable "R_LIBS_SITE")
361 (files (list "site-library/")))))
362 (home-page "https://www.r-project.org/")
363 (synopsis "Environment for statistical computing and graphics")
364 (description
365 "R is a language and environment for statistical computing and graphics.
366 It provides a variety of statistical techniques, such as linear and nonlinear
367 modeling, classical statistical tests, time-series analysis, classification
368 and clustering. It also provides robust support for producing
369 publication-quality data plots. A large amount of 3rd-party packages are
370 available, greatly increasing its breadth and scope.")
371 (license license:gpl3+)))
372
373 (define-public r-minimal
374 (package (inherit r-with-tests)
375 (name "r-minimal")
376 (arguments
377 `(#:tests? #f
378 ,@(substitute-keyword-arguments (package-arguments r-with-tests)
379 ((#:configure-flags flags)
380 ;; Do not build the recommended packages. The build system creates
381 ;; random temporary directories and embeds their names in some
382 ;; package files. We build these packages with the r-build-system
383 ;; instead.
384 `(cons "--without-recommended-packages" ,flags)))))))
385
386 (define-public rmath-standalone
387 (package (inherit r-minimal)
388 (name "rmath-standalone")
389 (arguments
390 '(#:phases
391 (modify-phases %standard-phases
392 (add-after 'configure 'chdir
393 (lambda _ (chdir "src/nmath/standalone/") #t)))))
394 (synopsis "Standalone R math library")
395 (description
396 "This package provides the R math library as an independent package.")))
397
398 (define-public r-boot
399 (package
400 (name "r-boot")
401 (version "1.3-23")
402 (source
403 (origin
404 (method url-fetch)
405 (uri (cran-uri "boot" version))
406 (sha256
407 (base32
408 "0bx07zbb5nfz2xfgnzbspg7r5vxz4bjdz1ry4d1vk434vlcrxj1h"))))
409 (build-system r-build-system)
410 (home-page "https://cran.r-project.org/web/packages/boot")
411 (synopsis "Bootstrap functions for R")
412 (description
413 "This package provides functions and datasets for bootstrapping from the
414 book \"Bootstrap Methods and Their Application\" by A.C. Davison and
415 D.V. Hinkley (1997, CUP), originally written by Angelo Canty for S.")
416 ;; Unlimited distribution
417 (license (license:non-copyleft "file://R/bootfuns.q"))))
418
419 (define-public r-mass
420 (package
421 (name "r-mass")
422 (version "7.3-51.4")
423 (source
424 (origin
425 (method url-fetch)
426 (uri (cran-uri "MASS" version))
427 (sha256
428 (base32
429 "0x1ckf51y851g0kvbhsgdxb26vfpmbw3xdbcnh3ck7fjm13da4cr"))))
430 (properties `((upstream-name . "MASS")))
431 (build-system r-build-system)
432 (home-page "http://www.stats.ox.ac.uk/pub/MASS4/")
433 (synopsis "Support functions and datasets for Venables and Ripley's MASS")
434 (description
435 "This package provides functions and datasets for the book \"Modern
436 Applied Statistics with S\" (4th edition, 2002) by Venables and Ripley.")
437 ;; Either version may be picked.
438 (license (list license:gpl2 license:gpl3))))
439
440 (define-public r-class
441 (package
442 (name "r-class")
443 (version "7.3-15")
444 (source
445 (origin
446 (method url-fetch)
447 (uri (cran-uri "class" version))
448 (sha256
449 (base32
450 "1x1hqz8xyhbpq4krsh02glqnlzcch25agkmn4a3da9n723b37gzn"))))
451 (build-system r-build-system)
452 (propagated-inputs
453 `(("r-mass" ,r-mass)))
454 (home-page "http://www.stats.ox.ac.uk/pub/MASS4/")
455 (synopsis "R functions for classification")
456 (description
457 "This package provides various functions for classification, including
458 k-nearest neighbour, Learning Vector Quantization and Self-Organizing Maps.")
459 ;; Either of the two versions can be picked.
460 (license (list license:gpl2 license:gpl3))))
461
462 (define-public r-cluster
463 (package
464 (name "r-cluster")
465 (version "2.1.0")
466 (source
467 (origin
468 (method url-fetch)
469 (uri (cran-uri "cluster" version))
470 (sha256
471 (base32
472 "055af3yz2biqbsbwm4arwr1yqnj4gicpzv2i6dbfl5pnz2z5byga"))))
473 (build-system r-build-system)
474 (native-inputs
475 `(("gfortran" ,gfortran)))
476 (home-page "https://cran.r-project.org/web/packages/cluster")
477 (synopsis "Methods for cluster analysis")
478 (description
479 "This package provides methods for cluster analysis. It is a much
480 extended version of the original from Peter Rousseeuw, Anja Struyf and Mia
481 Hubert, based on Kaufman and Rousseeuw (1990) \"Finding Groups in Data\".")
482 (license license:gpl2+)))
483
484 (define-public r-codetools
485 (package
486 (name "r-codetools")
487 (version "0.2-16")
488 (source
489 (origin
490 (method url-fetch)
491 (uri (cran-uri "codetools" version))
492 (sha256
493 (base32
494 "00bmhzqprqfn3w6ghx7sakai6s7il8gbksfiawj8in5mbhbncypn"))))
495 (build-system r-build-system)
496 (home-page "https://cran.r-project.org/web/packages/codetools")
497 (synopsis "Code analysis tools for R")
498 (description "This package provides code analysis tools for R to check R
499 code for possible problems.")
500 ;; Any version of the GPL.
501 (license (list license:gpl2+ license:gpl3+))))
502
503 (define-public r-foreign
504 (package
505 (name "r-foreign")
506 (version "0.8-72")
507 (source
508 (origin
509 (method url-fetch)
510 (uri (cran-uri "foreign" version))
511 (sha256
512 (base32
513 "124c9229is44p2rv7xyh2q86nsfi7vzyyh5n3c5ihziqrp4ig723"))))
514 (build-system r-build-system)
515 (home-page "https://cran.r-project.org/web/packages/foreign")
516 (synopsis "Read data stored by other statistics software")
517 (description
518 "This package provides functions for reading and writing data stored by
519 some versions of Epi Info, Minitab, S, SAS, SPSS, Stata, Systat and Weka and
520 for reading and writing some dBase files.")
521 (license license:gpl2+)))
522
523 (define-public r-kernsmooth
524 (package
525 (name "r-kernsmooth")
526 (version "2.23-16")
527 (source
528 (origin
529 (method url-fetch)
530 (uri (cran-uri "KernSmooth" version))
531 (sha256
532 (base32
533 "1acrkbdn3a74y4dndkcdl1njnpfqz7gk3bsz03g8lfj8l7z53hmq"))))
534 (properties `((upstream-name . "KernSmooth")))
535 (build-system r-build-system)
536 (native-inputs
537 `(("gfortran" ,gfortran)))
538 (home-page "https://cran.r-project.org/web/packages/KernSmooth")
539 (synopsis "Functions for kernel smoothing")
540 (description
541 "This package provides functions for kernel smoothing (and density
542 estimation) corresponding to the book: Wand, M.P. and Jones, M.C. (1995)
543 \"Kernel Smoothing\".")
544 ;; Unlimited use and distribution
545 (license (license:non-copyleft "file://LICENCE.note"))))
546
547 (define-public r-lattice
548 (package
549 (name "r-lattice")
550 (version "0.20-38")
551 (source (origin
552 (method url-fetch)
553 (uri (cran-uri "lattice" version))
554 (sha256
555 (base32
556 "0b8abkz7syscq883mrgv63pkwaqkcpwfx8rgbqy9vgfva0z5xszx"))))
557 (build-system r-build-system)
558 (home-page "http://lattice.r-forge.r-project.org/")
559 (synopsis "High-level data visualization system")
560 (description
561 "The lattice package provides a powerful and elegant high-level data
562 visualization system inspired by Trellis graphics, with an emphasis on
563 multivariate data. Lattice is sufficient for typical graphics needs, and is
564 also flexible enough to handle most nonstandard requirements.")
565 (license license:gpl2+)))
566
567 (define-public r-matrix
568 (package
569 (name "r-matrix")
570 (version "1.2-17")
571 (source
572 (origin
573 (method url-fetch)
574 (uri (cran-uri "Matrix" version))
575 (sha256
576 (base32
577 "1k1zf92ycqr7fz44w7bp1p354ww7jg0wm23ybb8dzmbg37qfchyv"))))
578 (properties `((upstream-name . "Matrix")))
579 (build-system r-build-system)
580 (propagated-inputs
581 `(("r-lattice" ,r-lattice)))
582 (home-page "http://Matrix.R-forge.R-project.org/")
583 (synopsis "Sparse and dense matrix classes and methods")
584 (description
585 "This package provides classes and methods for dense and sparse matrices
586 and operations on them using LAPACK and SuiteSparse.")
587 (license license:gpl2+)))
588
589 (define-public r-nlme
590 (package
591 (name "r-nlme")
592 (version "3.1-142")
593 (source
594 (origin
595 (method url-fetch)
596 (uri (cran-uri "nlme" version))
597 (sha256
598 (base32 "0figfb1i22hfkkhzpprmpp723s01r43x725a1ab0pc9gsxqg90nx"))))
599 (build-system r-build-system)
600 (propagated-inputs
601 `(("r-lattice" ,r-lattice)))
602 (native-inputs
603 `(("gfortran" ,gfortran)))
604 (home-page "https://cran.r-project.org/web/packages/nlme")
605 (synopsis "Linear and nonlinear mixed effects models")
606 (description
607 "This package provides tools to fit and compare Gaussian linear and
608 nonlinear mixed-effects models.")
609 (license license:gpl2+)))
610
611 (define-public r-mgcv
612 (package
613 (name "r-mgcv")
614 (version "1.8-31")
615 (source
616 (origin
617 (method url-fetch)
618 (uri (cran-uri "mgcv" version))
619 (sha256
620 (base32 "1if34mqsn9r7g0l82lxvvx0wjhi9paqdymyd73nschxcl1if8vbk"))))
621 (build-system r-build-system)
622 (propagated-inputs
623 `(("r-matrix" ,r-matrix)
624 ("r-nlme" ,r-nlme)))
625 (home-page "https://cran.r-project.org/web/packages/mgcv")
626 (synopsis "Mixed generalised additive model computation")
627 (description
628 "GAMs, GAMMs and other generalized ridge regression with multiple smoothing
629 parameter estimation by GCV, REML or UBRE/AIC. The library includes a
630 @code{gam()} function, a wide variety of smoothers, JAGS support and
631 distributions beyond the exponential family.")
632 (license license:gpl2+)))
633
634 (define-public r-nnet
635 (package
636 (name "r-nnet")
637 (version "7.3-12")
638 (source
639 (origin
640 (method url-fetch)
641 (uri (cran-uri "nnet" version))
642 (sha256
643 (base32
644 "17amqnw9dpap2w8ivx53hxha2xrm0drwfnj32li0xk41hlz548r7"))))
645 (build-system r-build-system)
646 (home-page "http://www.stats.ox.ac.uk/pub/MASS4/")
647 (synopsis "Feed-forward neural networks and multinomial log-linear models")
648 (description
649 "This package provides functions for feed-forward neural networks with a
650 single hidden layer, and for multinomial log-linear models.")
651 (license (list license:gpl2+ license:gpl3+))))
652
653 (define-public r-rpart
654 (package
655 (name "r-rpart")
656 (version "4.1-15")
657 (source
658 (origin
659 (method url-fetch)
660 (uri (cran-uri "rpart" version))
661 (sha256
662 (base32
663 "0p5frya963ppn476p5dxs2mnarsalksr6gw9zzmjsn8ikq7bx3ib"))))
664 (build-system r-build-system)
665 (home-page "https://cran.r-project.org/web/packages/rpart")
666 (synopsis "Recursive partitioning and regression trees")
667 (description
668 "This package provides recursive partitioning functions for
669 classification, regression and survival trees.")
670 (license (list license:gpl2+ license:gpl3+))))
671
672 (define-public r-spatial
673 (package
674 (name "r-spatial")
675 (version "7.3-11")
676 (source
677 (origin
678 (method url-fetch)
679 (uri (cran-uri "spatial" version))
680 (sha256
681 (base32
682 "04aw8j533sn63ybyrf4hyhrqm4058vfcb7yhjy07kq92mk94hi32"))))
683 (build-system r-build-system)
684 (home-page "http://www.stats.ox.ac.uk/pub/MASS4/")
685 (synopsis "Functions for kriging and point pattern analysis")
686 (description
687 "This package provides functions for kriging and point pattern
688 analysis.")
689 ;; Either version may be picked.
690 (license (list license:gpl2 license:gpl3))))
691
692 (define-public r-survival
693 (package
694 (name "r-survival")
695 (version "3.1-7")
696 (source
697 (origin
698 (method url-fetch)
699 (uri (cran-uri "survival" version))
700 (sha256
701 (base32
702 "1ij77bgfcjx29xkx5bck0sv4ybglpcmzzv9ilkinj8fqhhclbs8p"))))
703 (build-system r-build-system)
704 (propagated-inputs
705 `(("r-matrix" ,r-matrix)))
706 (home-page "https://github.com/therneau/survival")
707 (synopsis "Survival analysis")
708 (description
709 "This package contains the core survival analysis routines, including
710 definition of Surv objects, Kaplan-Meier and Aalen-Johansen (multi-state)
711 curves, Cox models, and parametric accelerated failure time models.")
712 (license license:lgpl2.0+)))
713
714 (define-public r
715 (package (inherit r-minimal)
716 (name "r")
717 (source #f)
718 (build-system trivial-build-system)
719 (arguments '(#:builder (begin (mkdir %output) #t)))
720 (propagated-inputs
721 `(("r-minimal" ,r-minimal)
722 ("r-boot" ,r-boot)
723 ("r-class" ,r-class)
724 ("r-cluster" ,r-cluster)
725 ("r-codetools" ,r-codetools)
726 ("r-foreign" ,r-foreign)
727 ("r-kernsmooth" ,r-kernsmooth)
728 ("r-lattice" ,r-lattice)
729 ("r-mass" ,r-mass)
730 ("r-matrix" ,r-matrix)
731 ("r-mgcv" ,r-mgcv)
732 ("r-nlme" ,r-nlme)
733 ("r-nnet" ,r-nnet)
734 ("r-rpart" ,r-rpart)
735 ("r-spatial" ,r-spatial)
736 ("r-survival" ,r-survival)))))
737
738 (define-public r-bit
739 (package
740 (name "r-bit")
741 (version "1.1-14")
742 (source
743 (origin
744 (method url-fetch)
745 (uri (cran-uri "bit" version))
746 (sha256
747 (base32
748 "0m7jrqzpa1pk8ixcl814x06jf96nlvvr16x6did6cfk4zghsrfjw"))))
749 (build-system r-build-system)
750 (home-page "http://ff.r-forge.r-project.org")
751 (synopsis "Class for vectors of 1-bit booleans")
752 (description
753 "This package provides bitmapped vectors of booleans (no @code{NA}s),
754 coercion from and to logicals, integers and integer subscripts, fast boolean
755 operators and fast summary statistics. With @code{bit} class vectors of true
756 binary booleans, @code{TRUE} and @code{FALSE} can be stored with 1 bit only.")
757 (license license:gpl2)))
758
759 (define-public r-bit64
760 (package
761 (name "r-bit64")
762 (version "0.9-7")
763 (source
764 (origin
765 (method url-fetch)
766 (uri (cran-uri "bit64" version))
767 (sha256
768 (base32
769 "07znvz9vp1nz1y5ljng4qyskvm943cdbmy996s67560ijxzsm6kv"))))
770 (build-system r-build-system)
771 (propagated-inputs
772 `(("r-bit" ,r-bit)))
773 (home-page "http://ff.r-forge.r-project.org/")
774 (synopsis "S3 class for vectors of 64 bit integers")
775 (description
776 "The bit64 package provides serializable S3 atomic 64 bit (signed)
777 integers that can be used in vectors, matrices, arrays and @code{data.frames}.
778 Methods are available for coercion from and to logicals, integers, doubles,
779 characters and factors as well as many elementwise and summary functions.
780 Many fast algorithmic operations such as @code{match} and @code{order} support
781 interactive data exploration and manipulation and optionally leverage
782 caching.")
783 (license license:gpl2)))
784
785 (define-public r-dichromat
786 (package
787 (name "r-dichromat")
788 (version "2.0-0")
789 (source
790 (origin
791 (method url-fetch)
792 (uri (cran-uri "dichromat" version))
793 (sha256
794 (base32 "1l8db1nk29ccqg3mkbafvfiw0775iq4gapysf88xq2zp6spiw59i"))))
795 (build-system r-build-system)
796 (home-page "https://cran.r-project.org/web/packages/dichromat")
797 (synopsis "Color schemes for dichromats")
798 (description
799 "Dichromat collapses red-green or green-blue distinctions to simulate the
800 effects of different types of color-blindness.")
801 (license license:gpl2+)))
802
803 (define-public r-digest
804 (package
805 (name "r-digest")
806 (version "0.6.23")
807 (source
808 (origin
809 (method url-fetch)
810 (uri (cran-uri "digest" version))
811 (sha256
812 (base32 "18h5s8vkdcz2vhpsx6g3ig00zalrihr03skn95zw3lr2y56pafmp"))))
813 (build-system r-build-system)
814 ;; Vignettes require r-knitr, which requires r-digest, so we have to
815 ;; disable them and the tests.
816 (arguments
817 `(#:tests? #f
818 #:configure-flags (list "--no-build-vignettes")))
819 (home-page "http://dirk.eddelbuettel.com/code/digest.html")
820 (synopsis "Create cryptographic hash digests of R objects")
821 (description
822 "This package contains an implementation of a function @code{digest()} for
823 the creation of hash digests of arbitrary R objects (using the md5, sha-1,
824 sha-256, crc32, xxhash and murmurhash algorithms) permitting easy comparison
825 of R language objects, as well as a function @code{hmac()} to create hash-based
826 message authentication code.
827
828 Please note that this package is not meant to be deployed for cryptographic
829 purposes for which more comprehensive (and widely tested) libraries such as
830 OpenSSL should be used.")
831 (license license:gpl2+)))
832
833 (define-public r-estimability
834 (package
835 (name "r-estimability")
836 (version "1.3")
837 (source (origin
838 (method url-fetch)
839 (uri (cran-uri "estimability" version))
840 (sha256
841 (base32
842 "0cifdaa71spkcxl4db4z884jrya865sg3dhcv4isd8fnzg2pjcd3"))))
843 (build-system r-build-system)
844 (home-page "https://cran.r-project.org/web/packages/estimability")
845 (synopsis "Tools for assessing estimability of linear predictions")
846 (description "Provides tools for determining estimability of linear
847 functions of regression coefficients, and @code{epredict} methods that handle
848 non-estimable cases correctly.")
849 (license license:gpl2+)))
850
851 (define-public r-labeling
852 (package
853 (name "r-labeling")
854 (version "0.3")
855 (source
856 (origin
857 (method url-fetch)
858 (uri (cran-uri "labeling" version))
859 (sha256
860 (base32 "13sk7zrrrzry6ky1bp8mmnzcl9jhvkig8j4id9nny7z993mnk00d"))))
861 (build-system r-build-system)
862 (home-page "https://cran.r-project.org/web/packages/labeling")
863 (synopsis "Axis labeling algorithms")
864 (description "The labeling package provides a range of axis labeling
865 algorithms.")
866 (license license:expat)))
867
868 (define-public r-magrittr
869 (package
870 (name "r-magrittr")
871 (version "1.5")
872 (source
873 (origin
874 (method url-fetch)
875 (uri (cran-uri "magrittr" version))
876 (sha256
877 (base32 "1s1ar6rag8m277qcqmdp02gn4awn9bdj9ax0r8s32i59mm1mki05"))))
878 (build-system r-build-system)
879 (home-page "https://cran.r-project.org/web/packages/magrittr/index.html")
880 (synopsis "A forward-pipe operator for R")
881 (description
882 "Magrittr provides a mechanism for chaining commands with a new
883 forward-pipe operator, %>%. This operator will forward a value, or the result
884 of an expression, into the next function call/expression. There is flexible
885 support for the type of right-hand side expressions. For more information,
886 see package vignette. To quote Rene Magritte, \"Ceci n'est pas un pipe.\"")
887 (license license:expat)))
888
889 (define-public r-munsell
890 (package
891 (name "r-munsell")
892 (version "0.5.0")
893 (source
894 (origin
895 (method url-fetch)
896 (uri (cran-uri "munsell" version))
897 (sha256
898 (base32 "16g1fzisbpqb15yh3pqf3iia4csppva5dnv1z88x9dg263xskwyh"))))
899 (build-system r-build-system)
900 (propagated-inputs
901 `(("r-colorspace" ,r-colorspace)))
902 (home-page "https://cran.r-project.org/web/packages/munsell")
903 (synopsis "Munsell colour system")
904 (description
905 "The Munsell package contains Functions for exploring and using the
906 Munsell colour system.")
907 (license license:expat)))
908
909 (define-public r-permute
910 (package
911 (name "r-permute")
912 (version "0.9-5")
913 (source
914 (origin
915 (method url-fetch)
916 (uri (cran-uri "permute" version))
917 (sha256
918 (base32
919 "0ra8p5mf2590azrkas8z2ry7mif77xqxd29n4zgyi5vll225726j"))))
920 (build-system r-build-system)
921 ;; Tests do not run correctly, but running them properly would entail a
922 ;; circular dependency with vegan.
923 (home-page "https://github.com/gavinsimpson/permute")
924 (synopsis "Functions for Generating Restricted Permutations of Data")
925 (description
926 "This package provides a set of restricted permutation designs for freely
927 exchangeable, line transects (time series), spatial grid designs and permutation
928 of blocks (groups of samples). @code{permute} also allows split-plot designs,
929 in which the whole-plots or split-plots or both can be freely exchangeable.")
930 (license license:gpl2+)))
931
932 (define-public r-plyr
933 (package
934 (name "r-plyr")
935 (version "1.8.4")
936 (source
937 (origin
938 (method url-fetch)
939 (uri (cran-uri "plyr" version))
940 (sha256
941 (base32 "1igar5pcjqh0jyxv0z3jah8rz617vfa86vw0r5c7c031b7bj5db0"))))
942 (build-system r-build-system)
943 (native-inputs `(("r-rcpp" ,r-rcpp)))
944 (home-page "http://had.co.nz/plyr")
945 (synopsis "Tools for Splitting, Applying and Combining Data")
946 (description
947 "Plyr is a set of tools that solves a common set of problems: you need to
948 break a big problem down into manageable pieces, operate on each piece and
949 then put all the pieces back together. For example, you might want to fit a
950 model to each spatial location or time point in your study, summarise data by
951 panels or collapse high-dimensional arrays to simpler summary statistics.")
952 (license license:expat)))
953
954 (define-public r-proto
955 (package
956 (name "r-proto")
957 (version "1.0.0")
958 (source
959 (origin
960 (method url-fetch)
961 (uri (cran-uri "proto" version))
962 (sha256
963 (base32 "1l843p8vckjckdhgv37ngv47fga5jzy0n00pmipvp05nnaixk54j"))))
964 (build-system r-build-system)
965 (home-page "https://github.com/hadley/proto")
966 (synopsis "Prototype object-based programming")
967 (description
968 "Proto is an object oriented system using object-based, also called
969 prototype-based, rather than class-based object oriented ideas.")
970 (license license:gpl2+)))
971
972 (define-public r-rcolorbrewer
973 (package
974 (name "r-rcolorbrewer")
975 (version "1.1-2")
976 (source
977 (origin
978 (method url-fetch)
979 (uri (cran-uri "RColorBrewer" version))
980 (sha256
981 (base32 "1pfcl8z1pnsssfaaz9dvdckyfnnc6rcq56dhislbf571hhg7isgk"))))
982 (build-system r-build-system)
983 (home-page "https://cran.r-project.org/web/packages/RColorBrewer")
984 (synopsis "ColorBrewer palettes")
985 (description
986 "This package provides color schemes for maps (and other graphics)
987 designed by Cynthia Brewer as described at http://colorbrewer2.org")
988 ;; Includes code licensed under bsd-4
989 (license license:asl2.0)))
990
991 (define-public r-sendmailr
992 (package
993 (name "r-sendmailr")
994 (version "1.2-1")
995 (source
996 (origin
997 (method url-fetch)
998 (uri (cran-uri "sendmailR" version))
999 (sha256
1000 (base32
1001 "0z7ipywnzgkhfvl4zb2fjwl1xq7b5wib296vn9c9qgbndj6b1zh4"))))
1002 (properties `((upstream-name . "sendmailR")))
1003 (build-system r-build-system)
1004 (propagated-inputs
1005 `(("r-base64enc" ,r-base64enc)))
1006 (home-page
1007 "https://cran.r-project.org/web/packages/sendmailR")
1008 (synopsis "Send email using R")
1009 (description
1010 "This package contains a simple SMTP client which provides a portable
1011 solution for sending email, including attachments, from within R.")
1012 (license license:gpl2+)))
1013
1014 (define-public r-stringi
1015 (package
1016 (name "r-stringi")
1017 (version "1.4.3")
1018 (source
1019 (origin
1020 (method url-fetch)
1021 (uri (cran-uri "stringi" version))
1022 (sha256
1023 (base32
1024 "1vbr6g9p1iyzdj7wfw6afyizvnd1a2srfvkl72pq23vhdcwwpkhk"))))
1025 (build-system r-build-system)
1026 (inputs `(("icu4c" ,icu4c)))
1027 (native-inputs `(("pkg-config" ,pkg-config)))
1028 (home-page "http://stringi.rexamine.com/")
1029 (synopsis "Character string processing facilities")
1030 (description
1031 "This package allows for fast, correct, consistent, portable, as well as
1032 convenient character string/text processing in every locale and any native
1033 encoding. Owing to the use of the ICU library, the package provides R users
1034 with platform-independent functions known to Java, Perl, Python, PHP, and Ruby
1035 programmers. Among available features there are: pattern searching
1036 (e.g. via regular expressions), random string generation, string collation,
1037 transliteration, concatenation, date-time formatting and parsing, etc.")
1038 (license license:bsd-3)))
1039
1040 (define-public r-stringr
1041 (package
1042 (name "r-stringr")
1043 (version "1.4.0")
1044 (source
1045 (origin
1046 (method url-fetch)
1047 (uri (cran-uri "stringr" version))
1048 (sha256
1049 (base32 "1p9ip7p87gbbg4s6d3d392svvzz2b5dqdq2c8ilgvn4s78nlsq47"))))
1050 (build-system r-build-system)
1051 (propagated-inputs
1052 `(("r-glue" ,r-glue)
1053 ("r-magrittr" ,r-magrittr)
1054 ("r-stringi" ,r-stringi)))
1055 (home-page "https://github.com/hadley/stringr")
1056 (synopsis "Simple, consistent wrappers for common string operations")
1057 (description
1058 "Stringr is a consistent, simple and easy to use set of wrappers around
1059 the fantastic @code{stringi} package. All function and argument names (and
1060 positions) are consistent, all functions deal with \"NA\"'s and zero length
1061 vectors in the same way, and the output from one function is easy to feed into
1062 the input of another.")
1063 (license license:gpl2+)))
1064
1065 (define-public r-reshape2
1066 (package
1067 (name "r-reshape2")
1068 (version "1.4.3")
1069 (source
1070 (origin
1071 (method url-fetch)
1072 (uri (cran-uri "reshape2" version))
1073 (sha256
1074 (base32 "03ki5ka1dj208fc0dclbm0b4xp9d769pah2j9cs34l776p4r9zwa"))))
1075 (build-system r-build-system)
1076 (propagated-inputs
1077 `(("r-plyr" ,r-plyr)
1078 ("r-rcpp" ,r-rcpp)
1079 ("r-stringr" ,r-stringr)))
1080 (home-page "https://github.com/hadley/reshape")
1081 (synopsis "Flexibly reshape data: a reboot of the \"reshape\" package")
1082 (description
1083 "Reshape2 is an R library to flexibly restructure and aggregate data
1084 using just two functions: melt and dcast (or acast).")
1085 (license license:expat)))
1086
1087 (define-public r-ggplot2
1088 (package
1089 (name "r-ggplot2")
1090 (version "3.2.1")
1091 (source
1092 (origin
1093 (method url-fetch)
1094 (uri (cran-uri "ggplot2" version))
1095 (sha256
1096 (base32 "0mjswqiqcwm0aqxll16bx2kwa6c9km3aql87bdj4347n1ali94g3"))))
1097 (build-system r-build-system)
1098 (propagated-inputs
1099 `(("r-digest" ,r-digest)
1100 ("r-gtable" ,r-gtable)
1101 ("r-lazyeval" ,r-lazyeval)
1102 ("r-mass" ,r-mass)
1103 ("r-mgcv" ,r-mgcv)
1104 ("r-tibble" ,r-tibble)
1105 ("r-reshape2" ,r-reshape2)
1106 ("r-rlang" ,r-rlang)
1107 ("r-scales" ,r-scales)
1108 ("r-svglite" ,r-svglite) ; Needed for 'ggsave'
1109 ("r-viridislite" ,r-viridislite)
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.1")
1152 (source
1153 (origin
1154 (method url-fetch)
1155 (uri (cran-uri "gdtools" version))
1156 (sha256
1157 (base32
1158 "1aax50wyrs4336zpf247l8wmp4spab2n70msziy1ip4gbjn26wa1"))))
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.2")
1180 (source
1181 (origin
1182 (method url-fetch)
1183 (uri (cran-uri "svglite" version))
1184 (sha256
1185 (base32
1186 "1gwv51wqp6pgm2f9gavsiq65njs77fr49n8y6y9ax60k3a4vvg14"))))
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.0.0")
1243 (source (origin
1244 (method url-fetch)
1245 (uri (cran-uri "DBI" version))
1246 (sha256
1247 (base32
1248 "1x8wy2vg2gcgd9bww04qmf0dsn3kp0rfjd8q8j1r2x9zxccg25pz"))))
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.69.0-1")
1263 (source (origin
1264 (method url-fetch)
1265 (uri (cran-uri "BH" version))
1266 (sha256
1267 (base32
1268 "18mckfwxxv8m8rzaz03mg2h6vhaj7y131h6yasfg0s73nxj47zd0"))))
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 "http://yihui.name/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.7")
1340 (source (origin
1341 (method url-fetch)
1342 (uri (cran-uri "mime" version))
1343 (sha256
1344 (base32
1345 "12vpip67ajb90b8p96w43ir7mavrw2i61bwvpfnrlmlj9kj3w20i"))))
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.0")
1385 (source (origin
1386 (method url-fetch)
1387 (uri (cran-uri "yaml" version))
1388 (sha256
1389 (base32
1390 "0in562nd0i23cg91a8kdbqgim656fgscykwi0icsnq53xj3srg2m"))))
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.26")
1403 (source (origin
1404 (method url-fetch)
1405 (uri (cran-uri "knitr" version))
1406 (sha256
1407 (base32
1408 "08f3bdd5cnnbigybr9vmkhq12n64pbmn4layl3w5rwk8xi5kbnrq"))))
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 "http://yihui.name/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 allows to cache 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.0")
1558 (source (origin
1559 (method url-fetch)
1560 (uri (cran-uri "testthat" version))
1561 (sha256
1562 (base32
1563 "0qlajfgm3zjrmladwcm0xzw8zp2431zz2asa2w7lpg7zl6ymvz29"))))
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.1")
1610 (source (origin
1611 (method url-fetch)
1612 (uri (cran-uri "rlang" version))
1613 (sha256
1614 (base32
1615 "122hhc7pdri8wkjmk37y71m4h1gmdzaqcfdizfdjg1bhy935i10k"))))
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 "2.1.3")
1628 (source
1629 (origin
1630 (method url-fetch)
1631 (uri (cran-uri "tibble" version))
1632 (sha256
1633 (base32
1634 "06jfayiip8j8ibdhw3fvxn4n8aqbqhwanrszpzlsf92xdfgfm34s"))))
1635 (build-system r-build-system)
1636 (propagated-inputs
1637 `(("r-cli" ,r-cli)
1638 ("r-crayon" ,r-crayon)
1639 ("r-fansi" ,r-fansi)
1640 ("r-pkgconfig" ,r-pkgconfig)
1641 ("r-pillar" ,r-pillar)
1642 ("r-rlang" ,r-rlang)))
1643 (home-page "https://github.com/hadley/tibble")
1644 (synopsis "Simple data frames")
1645 (description
1646 "This package provides a @code{tbl_df} class that offers better checking
1647 and printing capabilities than traditional data frames.")
1648 (license license:expat)))
1649
1650 (define-public r-dplyr
1651 (package
1652 (name "r-dplyr")
1653 (version "0.8.3")
1654 (source (origin
1655 (method url-fetch)
1656 (uri (cran-uri "dplyr" version))
1657 (sha256
1658 (base32
1659 "032c89wa04g9rih9shyvwl3il0bsrv3xk489x6867sk9bb3amd38"))))
1660 (build-system r-build-system)
1661 (propagated-inputs
1662 `(("r-assertthat" ,r-assertthat)
1663 ("r-bh" ,r-bh)
1664 ("r-glue" ,r-glue)
1665 ("r-magrittr" ,r-magrittr)
1666 ("r-pkgconfig" ,r-pkgconfig)
1667 ("r-plogr" ,r-plogr)
1668 ("r-r6" ,r-r6)
1669 ("r-rcpp" ,r-rcpp)
1670 ("r-rlang" ,r-rlang)
1671 ("r-tibble" ,r-tibble)
1672 ("r-tidyselect" ,r-tidyselect)))
1673 (home-page "https://github.com/hadley/dplyr")
1674 (synopsis "Tools for working with data frames in R")
1675 (description
1676 "dplyr is the next iteration of plyr. It is focussed on tools for
1677 working with data frames. It has three main goals: 1) identify the most
1678 important data manipulation tools needed for data analysis and make them easy
1679 to use in R; 2) provide fast performance for in-memory data by writing key
1680 pieces of code in C++; 3) use the same code interface to work with data no
1681 matter where it is stored, whether in a data frame, a data table or
1682 database.")
1683 (license license:expat)))
1684
1685 (define-public r-dbplyr
1686 (package
1687 (name "r-dbplyr")
1688 (version "1.4.2")
1689 (source
1690 (origin
1691 (method url-fetch)
1692 (uri (cran-uri "dbplyr" version))
1693 (sha256
1694 (base32
1695 "1q2dflr88s5a1amzfld3087q422vf70052qn84zyd8895kdg10xp"))))
1696 (build-system r-build-system)
1697 (propagated-inputs
1698 `(("r-assertthat" ,r-assertthat)
1699 ("r-dbi" ,r-dbi)
1700 ("r-dplyr" ,r-dplyr)
1701 ("r-glue" ,r-glue)
1702 ("r-purrr" ,r-purrr)
1703 ("r-r6" ,r-r6)
1704 ("r-rlang" ,r-rlang)
1705 ("r-tibble" ,r-tibble)
1706 ("r-tidyselect" ,r-tidyselect)))
1707 (home-page "https://github.com/tidyverse/dbplyr")
1708 (synopsis "Dplyr back end for databases")
1709 (description
1710 "This package provides a dplyr back end for databases that allows you to
1711 work with remote database tables as if they are in-memory data frames. Basic
1712 features works with any database that has a @code{DBI} back end; more advanced
1713 features require SQL translation to be provided by the package author.")
1714 (license license:expat)))
1715
1716 (define-public r-acepack
1717 (package
1718 (name "r-acepack")
1719 (version "1.4.1")
1720 (source
1721 (origin
1722 (method url-fetch)
1723 (uri (cran-uri "acepack" version))
1724 (sha256
1725 (base32
1726 "1f98rpfjmhd92rdc3j004plyfpjailz6j0ycysbac0kgj83haxc2"))))
1727 (build-system r-build-system)
1728 (inputs
1729 `(("gfortran" ,gfortran)))
1730 (home-page "https://cran.r-project.org/web/packages/acepack")
1731 (synopsis "Functions for regression transformations")
1732 (description
1733 "This package provides ACE and AVAS methods for choosing regression
1734 transformations.")
1735 (license license:expat)))
1736
1737 (define-public r-formula
1738 (package
1739 (name "r-formula")
1740 (version "1.2-3")
1741 (source
1742 (origin
1743 (method url-fetch)
1744 (uri (cran-uri "Formula" version))
1745 (sha256
1746 (base32
1747 "0wiqh8rr9d5ciy80wj8f5fnmiiw0ywanvvnhkwd622dx42dk848l"))))
1748 (properties `((upstream-name . "Formula")))
1749 (build-system r-build-system)
1750 (home-page "https://cran.r-project.org/web/packages/Formula")
1751 (synopsis "Extended model formulas")
1752 (description
1753 "This package provides a new class @code{Formula}, which extends the base
1754 class @code{formula}. It supports extended formulas with multiple parts of
1755 regressors on the right-hand side and/or multiple responses on the left-hand
1756 side.")
1757 (license (list license:gpl2+ license:gpl3+))))
1758
1759 (define-public r-locfit
1760 (package
1761 (name "r-locfit")
1762 (version "1.5-9.1")
1763 (source
1764 (origin
1765 (method url-fetch)
1766 (uri (cran-uri "locfit" version))
1767 (sha256
1768 (base32
1769 "0lafrmq1q7x026m92h01hc9cjjiximqqi3v1g2hw7ai9vf7i897m"))))
1770 (build-system r-build-system)
1771 (propagated-inputs
1772 `(("r-lattice" ,r-lattice)))
1773 (home-page "https://cran.r-project.org/web/packages/locfit")
1774 (synopsis "Local regression, likelihood and density estimation")
1775 (description
1776 "This package provides functions used for local regression, likelihood
1777 and density estimation.")
1778 (license (list license:gpl2+ license:gpl3+))))
1779
1780 (define-public r-chron
1781 (package
1782 (name "r-chron")
1783 (version "2.3-54")
1784 (source (origin
1785 (method url-fetch)
1786 (uri (cran-uri "chron" version))
1787 (sha256
1788 (base32
1789 "0vc7dxqwx0jqzwszax6di3091npsxnhnbvr7sy7rlip0jqzarwqd"))))
1790 (build-system r-build-system)
1791 (home-page "https://cran.r-project.org/web/packages/chron")
1792 (synopsis "Chronological R objects which can handle dates and times")
1793 (description
1794 "This package provides chronological R objects which can handle dates and
1795 times.")
1796 (license license:gpl2)))
1797
1798 (define-public r-data-table
1799 (package
1800 (name "r-data-table")
1801 (version "1.12.6")
1802 (source (origin
1803 (method url-fetch)
1804 (uri (cran-uri "data.table" version))
1805 (sha256
1806 (base32
1807 "1kgbnm5gv7ax7qn8irpz7qsry2ci21axga8y7qpkidcqkxkkndn2"))))
1808 (build-system r-build-system)
1809 (inputs
1810 `(("zlib" ,zlib)))
1811 (native-inputs
1812 `(("pkg-config" ,pkg-config)))
1813 (home-page "https://github.com/Rdatatable/data.table/wiki")
1814 (synopsis "Enhanced version of data.frame R object")
1815 (description
1816 "The R package @code{data.table} is an extension of @code{data.frame}
1817 providing functions for fast aggregation of large data (e.g. 100GB in RAM),
1818 fast ordered joins, fast add/modify/delete of columns by group, column listing
1819 and fast file reading.")
1820 (license license:gpl3+)))
1821
1822 (define-public r-xtable
1823 (package
1824 (name "r-xtable")
1825 (version "1.8-4")
1826 (source
1827 (origin
1828 (method url-fetch)
1829 (uri (cran-uri "xtable" version))
1830 (sha256
1831 (base32
1832 "077xfm0gphvhsay75amd9v90zk57kjgrrlgih04fyrbqqblc1gjs"))))
1833 (build-system r-build-system)
1834 (native-inputs
1835 `(("r-knitr" ,r-knitr))) ; for vignettes
1836 (home-page "http://xtable.r-forge.r-project.org/")
1837 (synopsis "Export R tables to LaTeX or HTML")
1838 (description
1839 "This package provides tools to export R data as LaTeX and HTML tables.")
1840 (license license:gpl2+)))
1841
1842 (define-public python-patsy
1843 (package
1844 (name "python-patsy")
1845 (version "0.4.1")
1846 (source (origin
1847 (method url-fetch)
1848 (uri (pypi-uri "patsy" version ".zip"))
1849 (sha256
1850 (base32
1851 "1m6knyq8hbqlx242y4da02j0x86j4qggs1j7q186w3jv0j0c476w"))))
1852 (build-system python-build-system)
1853 (arguments
1854 `(#:phases
1855 (modify-phases %standard-phases
1856 (replace 'check
1857 (lambda _ (invoke "nosetests" "-v"))))))
1858 (propagated-inputs
1859 `(("python-numpy" ,python-numpy)
1860 ("python-scipy" ,python-scipy)
1861 ("python-six" ,python-six)))
1862 (native-inputs
1863 `(("python-nose" ,python-nose)
1864 ("unzip" ,unzip)))
1865 (home-page "https://github.com/pydata/patsy")
1866 (synopsis "Describe statistical models and build design matrices")
1867 (description
1868 "Patsy is a Python package for describing statistical models and for
1869 building design matrices.")
1870 ;; The majority of the code is distributed under BSD-2. The module
1871 ;; patsy.compat contains code derived from the Python standard library,
1872 ;; and is covered by the PSFL.
1873 (license (list license:bsd-2 license:psfl))))
1874
1875 (define-public python2-patsy
1876 (package-with-python2 python-patsy))
1877
1878 (define-public python-statsmodels
1879 (package
1880 (name "python-statsmodels")
1881 (version "0.9.0")
1882 (source
1883 (origin
1884 (method url-fetch)
1885 (uri (pypi-uri "statsmodels" version))
1886 (sha256
1887 (base32
1888 "0fxs8a7sp4d7jvqlm36yi45i2d28kjfvraf9q8i9jr1chhxgjqb4"))))
1889 (build-system python-build-system)
1890 (arguments
1891 `(;; The test suite is very large and rather brittle. Tests often fail
1892 ;; because of minor changes in dependencies that upstream hasn't fixed
1893 ;; in a new release.
1894 #:tests? #f
1895 #:phases
1896 (modify-phases %standard-phases
1897 (add-after 'unpack 'set-matplotlib-backend-to-agg
1898 (lambda _
1899 ;; Set the matplotlib backend to Agg to avoid problems using the
1900 ;; GTK backend without a display.
1901 (substitute* (append (find-files "statsmodels/graphics/tests" "\\.py")
1902 '("statsmodels/tsa/vector_ar/tests/test_var.py"
1903 "statsmodels/duration/tests/test_survfunc.py"))
1904 (("import matplotlib\\.pyplot as plt" line)
1905 (string-append "import matplotlib;matplotlib.use('Agg');"
1906 line)))
1907 #t)))))
1908 (propagated-inputs
1909 `(("python-numpy" ,python-numpy)
1910 ("python-scipy" ,python-scipy)
1911 ("python-pandas" ,python-pandas)
1912 ("python-patsy" ,python-patsy)
1913 ("python-matplotlib" ,python-matplotlib)))
1914 (native-inputs
1915 `(("python-cython" ,python-cython)
1916 ("python-nose" ,python-nose)
1917 ("python-sphinx" ,python-sphinx)))
1918 (home-page "http://statsmodels.sourceforge.net/")
1919 (synopsis "Statistical modeling and econometrics in Python")
1920 (description
1921 "Statsmodels is a Python package that provides a complement to scipy for
1922 statistical computations including descriptive statistics and estimation and
1923 inference for statistical models.")
1924 (license license:bsd-3)))
1925
1926 (define-public python2-statsmodels
1927 (let ((stats (package-with-python2 python-statsmodels)))
1928 (package (inherit stats)
1929 (propagated-inputs
1930 `(("python2-pytz" ,python2-pytz)
1931 ("python2-numpy" ,python2-numpy)
1932 ("python2-scipy" ,python2-scipy)
1933 ("python2-pandas" ,python2-pandas)
1934 ("python2-patsy" ,python2-patsy)
1935 ("python2-matplotlib" ,python2-matplotlib))))))
1936
1937 (define-public r-coda
1938 (package
1939 (name "r-coda")
1940 (version "0.19-3")
1941 (source (origin
1942 (method url-fetch)
1943 (uri (cran-uri "coda" version))
1944 (sha256
1945 (base32
1946 "1mn50bshky968gn4nf6vnkaa768fnvm1xmhkms7szwdw9341zpyk"))))
1947 (build-system r-build-system)
1948 (propagated-inputs
1949 `(("r-lattice" ,r-lattice)))
1950 (home-page "https://cran.r-project.org/web/packages/coda")
1951 (synopsis "This is a package for Output Analysis and Diagnostics for MCMC")
1952 (description "This package provides functions for summarizing and plotting
1953 the output from Markov Chain Monte Carlo (MCMC) simulations, as well as
1954 diagnostic tests of convergence to the equilibrium distribution of the Markov
1955 chain.")
1956 (license license:gpl2+)))
1957
1958 (define-public r-ade4
1959 (package
1960 (name "r-ade4")
1961 (version "1.7-13")
1962 (source
1963 (origin
1964 (method url-fetch)
1965 (uri (cran-uri "ade4" version))
1966 (sha256
1967 (base32
1968 "16z9jk4qj35ghsk4lwmq241dgc770y8a70dlmp9q4gz6d8ssgl7m"))))
1969 (build-system r-build-system)
1970 (propagated-inputs
1971 `(("r-mass" ,r-mass)))
1972 (home-page "http://pbil.univ-lyon1.fr/ADE-4")
1973 (synopsis "Multivariate data analysis and graphical display")
1974 (description
1975 "The ade4 package contains data analysis functions to analyze ecological
1976 and environmental data in the framework of Euclidean exploratory methods.")
1977 (license license:gpl2+)))
1978
1979 (define-public r-xml2
1980 (package
1981 (name "r-xml2")
1982 (version "1.2.2")
1983 (source
1984 (origin
1985 (method url-fetch)
1986 (uri (cran-uri "xml2" version))
1987 (sha256
1988 (base32
1989 "1x3q3a0xv8j0nx3hs4d3pfjm5g9nvaxmfrapba9f4nrkqi3z2l1h"))))
1990 (build-system r-build-system)
1991 (inputs
1992 `(("libxml2" ,libxml2)
1993 ("zlib" ,zlib)))
1994 (native-inputs
1995 `(("pkg-config" ,pkg-config)))
1996 (propagated-inputs
1997 `(("r-rcpp" ,r-rcpp)))
1998 (home-page "https://github.com/hadley/xml2")
1999 (synopsis "Parse XML with R")
2000 (description
2001 "This package provides a simple, consistent interface to working with XML
2002 files in R. It is built on top of the libxml2 C library.")
2003 (license license:gpl2+)))
2004
2005 (define-public r-multitaper
2006 (package
2007 (name "r-multitaper")
2008 (version "1.0-14")
2009 (source
2010 (origin
2011 (method url-fetch)
2012 (uri (cran-uri "multitaper" version))
2013 (sha256
2014 (base32
2015 "04wd9bbhyx7697pfy0fpj02v1csr48hkpqj62h9p8a6w84ji4k68"))))
2016 (build-system r-build-system)
2017 (native-inputs
2018 `(("gfortran" ,gfortran)))
2019 (home-page "https://github.com/wesleyburr/multitaper/")
2020 (synopsis "Multitaper spectral analysis tools")
2021 (description
2022 "This package implements multitaper spectral estimation
2023 techniques using prolate spheroidal sequences (Slepians) and sine
2024 tapers for time series analysis. It includes an adaptive weighted
2025 multitaper spectral estimate, a coherence estimate, Thomson's Harmonic
2026 F-test, and complex demodulation. The Slepians sequences are
2027 generated efficiently using a tridiagonal matrix solution, and
2028 jackknifed confidence intervals are available for most estimates.")
2029 (license license:gpl2+)))
2030
2031 (define-public r-rversions
2032 (package
2033 (name "r-rversions")
2034 (version "2.0.0")
2035 (source (origin
2036 (method url-fetch)
2037 (uri (cran-uri "rversions" version))
2038 (sha256
2039 (base32
2040 "0mkg9zrjxlbwqzijiysivrs523x48syqj30xdfp88clpkqfk435m"))))
2041 (build-system r-build-system)
2042 (propagated-inputs
2043 `(("r-curl" ,r-curl)
2044 ("r-xml2" ,r-xml2)))
2045 (home-page "https://github.com/metacran/rversions")
2046 (synopsis "Query R versions, including 'r-release' and 'r-oldrel'")
2047 (description
2048 "This package provides functions to query the main R repository to find
2049 the versions that @code{r-release} and @code{r-oldrel} refer to, and also all
2050 previous R versions and their release dates.")
2051 (license license:expat)))
2052
2053 (define-public r-whisker
2054 (package
2055 (name "r-whisker")
2056 (version "0.4")
2057 (source (origin
2058 (method url-fetch)
2059 (uri (cran-uri "whisker" version))
2060 (sha256
2061 (base32
2062 "1a7vz0dk95xfjvi38wbpw8vmf5qn3g8p490msz2rw0piwidmk1ks"))))
2063 (build-system r-build-system)
2064 (home-page "https://github.com/edwindj/whisker")
2065 (synopsis "Logicless mustache templating for R")
2066 (description
2067 "This package provides logicless templating, with a syntax that is not
2068 limited to R.")
2069 (license license:gpl3+)))
2070
2071 (define-public r-backports
2072 (package
2073 (name "r-backports")
2074 (version "1.1.5")
2075 (source
2076 (origin
2077 (method url-fetch)
2078 (uri (cran-uri "backports" version))
2079 (sha256
2080 (base32
2081 "0k19w68b2aihyj5mflw3732gkkzs78sssqdns960pdw3yfnkiv33"))))
2082 (build-system r-build-system)
2083 (home-page "https://cran.r-project.org/web/packages/backports")
2084 (synopsis "Reimplementations of functions introduced since R 3.0.0")
2085 (description
2086 "Provides implementations of functions which have been introduced in R
2087 since version 3.0.0. The backports are conditionally exported which results
2088 in R resolving the function names to the version shipped with R (if available)
2089 and uses the implemented backports as fallback. This way package developers
2090 can make use of the new functions without worrying about the minimum required
2091 R version.")
2092 (license license:gpl2+)))
2093
2094 (define-public r-checkmate
2095 (package
2096 (name "r-checkmate")
2097 (version "1.9.4")
2098 (source
2099 (origin
2100 (method url-fetch)
2101 (uri (cran-uri "checkmate" version))
2102 (sha256
2103 (base32
2104 "08ddpgs4mv5d5y4j054pm8drmxkn7yvhfpbghwxlizjpnxa5g8ps"))))
2105 (build-system r-build-system)
2106 (propagated-inputs
2107 `(("r-backports" ,r-backports)))
2108 (home-page "https://github.com/mllg/checkmate")
2109 (synopsis "Fast and versatile argument checks")
2110 (description
2111 "This package provides tests and assertions to perform frequent argument
2112 checks. A substantial part of the package was written in C to minimize any
2113 worries about execution time overhead.")
2114 (license license:bsd-3)))
2115
2116 (define-public r-bbmisc
2117 (package
2118 (name "r-bbmisc")
2119 (version "1.11")
2120 (source
2121 (origin
2122 (method url-fetch)
2123 (uri (cran-uri "BBmisc" version))
2124 (sha256
2125 (base32
2126 "1lh1n4bvxzivb5rbz69mvd8xdgr3gr2bnqd68a39sd1530l8r90y"))))
2127 (properties `((upstream-name . "BBmisc")))
2128 (build-system r-build-system)
2129 (propagated-inputs
2130 `(("r-checkmate" ,r-checkmate)))
2131 (home-page "https://github.com/berndbischl/BBmisc")
2132 (synopsis "Miscellaneous functions for R package development")
2133 (description
2134 "This package provides miscellaneous helper functions for the development
2135 of R packages.")
2136 (license license:bsd-3)))
2137
2138 (define-public r-fail
2139 (package
2140 (name "r-fail")
2141 (version "1.3")
2142 (source
2143 (origin
2144 (method url-fetch)
2145 (uri (cran-uri "fail" version))
2146 (sha256
2147 (base32
2148 "0vfm6kmpmgsamda5p0sl771kbnsscan31l2chzssyw93kwmams7d"))))
2149 (build-system r-build-system)
2150 (propagated-inputs
2151 `(("r-bbmisc" ,r-bbmisc)
2152 ("r-checkmate" ,r-checkmate)))
2153 (home-page "https://github.com/mllg/fail")
2154 (synopsis "File abstraction interface layer (FAIL)")
2155 (description
2156 "This package provides a more comfortable interface to work with R data
2157 or source files in a key-value fashion.")
2158 (license license:bsd-3)))
2159
2160 (define-public r-batchjobs
2161 (package
2162 (name "r-batchjobs")
2163 (version "1.8")
2164 (source
2165 (origin
2166 (method url-fetch)
2167 (uri (cran-uri "BatchJobs" version))
2168 (sha256
2169 (base32
2170 "1zz4sspj596pijxlz321g0jy2rg9ki83j6fihbwisjwr66p2vk1m"))))
2171 (properties `((upstream-name . "BatchJobs")))
2172 (build-system r-build-system)
2173 (propagated-inputs
2174 `(("r-backports" ,r-backports)
2175 ("r-bbmisc" ,r-bbmisc)
2176 ("r-brew" ,r-brew)
2177 ("r-checkmate" ,r-checkmate)
2178 ("r-data-table" ,r-data-table)
2179 ("r-dbi" ,r-dbi)
2180 ("r-digest" ,r-digest)
2181 ("r-rsqlite" ,r-rsqlite)
2182 ("r-sendmailr" ,r-sendmailr)
2183 ("r-stringi" ,r-stringi)))
2184 (home-page "https://github.com/tudo-r/BatchJobs")
2185 (synopsis "Batch computing with R")
2186 (description
2187 "This package provides @code{Map}, @code{Reduce} and @code{Filter}
2188 variants to generate jobs on batch computing systems like PBS/Torque, LSF,
2189 SLURM and Sun Grid Engine. Multicore and SSH systems are also supported.")
2190 (license license:bsd-2)))
2191
2192 (define-public r-brew
2193 (package
2194 (name "r-brew")
2195 (version "1.0-6")
2196 (source (origin
2197 (method url-fetch)
2198 (uri (cran-uri "brew" version))
2199 (sha256
2200 (base32
2201 "1vghazbcha8gvkwwcdagjvzx6yl8zm7kgr0i9wxr4jng06d1l3fp"))))
2202 (build-system r-build-system)
2203 (home-page "https://cran.r-project.org/web/packages/brew")
2204 (synopsis "Templating framework for report generation")
2205 (description
2206 "The brew package implements a templating framework for mixing text and R
2207 code for report generation. The template syntax is similar to PHP, Ruby's erb
2208 module, Java Server Pages, and Python's psp module.")
2209 (license license:gpl2+)))
2210
2211 (define-public r-desc
2212 (package
2213 (name "r-desc")
2214 (version "1.2.0")
2215 (source
2216 (origin
2217 (method url-fetch)
2218 (uri (cran-uri "desc" version))
2219 (sha256
2220 (base32
2221 "1s6s13fk6sxwcj8wzkwxl9vr33153xx11p5wi9avqx3rzkabavz6"))))
2222 (build-system r-build-system)
2223 (propagated-inputs
2224 `(("r-assertthat" ,r-assertthat)
2225 ("r-crayon" ,r-crayon)
2226 ("r-r6" ,r-r6)
2227 ("r-rprojroot" ,r-rprojroot)))
2228 (home-page "https://github.com/r-pkgs/desc")
2229 (synopsis "Manipulate DESCRIPTION Files")
2230 (description
2231 "This package provides tools to read, write, create, and manipulate
2232 DESCRIPTION files. It is intended for packages that create or manipulate
2233 other packages.")
2234 (license license:expat)))
2235
2236 (define-public r-commonmark
2237 (package
2238 (name "r-commonmark")
2239 (version "1.7")
2240 (source
2241 (origin
2242 (method url-fetch)
2243 (uri (cran-uri "commonmark" version))
2244 (sha256
2245 (base32
2246 "024iz1qp2kv6iz6y69ir0jk3qhjps86rhkzlcmhqsxx97rx7cjni"))))
2247 (build-system r-build-system)
2248 (home-page "https://cran.r-project.org/web/packages/commonmark")
2249 (synopsis "CommonMark and Github Markdown Rendering in R")
2250 (description
2251 "The CommonMark specification defines a rationalized version of markdown
2252 syntax. This package uses the @code{cmark} reference implementation for
2253 converting markdown text into various formats including HTML, LaTeX and groff
2254 man. In addition, it exposes the markdown parse tree in XML format. The latest
2255 version of this package also adds support for Github extensions including
2256 tables, autolinks and strikethrough text.")
2257 (license license:bsd-2)))
2258
2259 (define-public r-roxygen2
2260 (package
2261 (name "r-roxygen2")
2262 (version "7.0.1")
2263 (source (origin
2264 (method url-fetch)
2265 (uri (cran-uri "roxygen2" version))
2266 (sha256
2267 (base32
2268 "07v7f7may3vr80f4m1w1ll41qdahszycyx4c1yf8pw7asx73d77j"))))
2269 (build-system r-build-system)
2270 (propagated-inputs
2271 `(("r-brew" ,r-brew)
2272 ("r-commonmark" ,r-commonmark)
2273 ("r-desc" ,r-desc)
2274 ("r-digest" ,r-digest)
2275 ("r-pkgload" ,r-pkgload)
2276 ("r-purrr" ,r-purrr)
2277 ("r-r6" ,r-r6)
2278 ("r-rcpp" ,r-rcpp)
2279 ("r-rlang" ,r-rlang)
2280 ("r-stringi" ,r-stringi)
2281 ("r-stringr" ,r-stringr)
2282 ("r-xml2" ,r-xml2)))
2283 (native-inputs
2284 `(("r-knitr" ,r-knitr))) ; for vignettes
2285 (home-page "https://github.com/klutometis/roxygen")
2286 (synopsis "In-source documentation system for R")
2287 (description
2288 "Roxygen2 is a Doxygen-like in-source documentation system for Rd,
2289 collation, and NAMESPACE files.")
2290 (license license:gpl2+)))
2291
2292 (define-public r-openssl
2293 (package
2294 (name "r-openssl")
2295 (version "1.4.1")
2296 (source
2297 (origin
2298 (method url-fetch)
2299 (uri (cran-uri "openssl" version))
2300 (sha256
2301 (base32
2302 "1ihz2qi33lhngl19xdanq0pbmfaacy63794mg8ll7z2lab3yryzp"))))
2303 (build-system r-build-system)
2304 (inputs
2305 `(("libressl" ,libressl)))
2306 (native-inputs
2307 `(("pkg-config" ,pkg-config)))
2308 (propagated-inputs
2309 `(("r-askpass" ,r-askpass)))
2310 (home-page "https://github.com/jeroenooms/openssl")
2311 (synopsis "Toolkit for encryption, signatures and certificates")
2312 (description
2313 "This package provides R bindings to OpenSSL libssl and libcrypto, plus
2314 custom SSH pubkey parsers. It supports RSA, DSA and NIST curves P-256, P-384
2315 and P-521. Cryptographic signatures can either be created and verified
2316 manually or via x509 certificates. AES block cipher is used in CBC mode for
2317 symmetric encryption; RSA for asymmetric (public key) encryption. High-level
2318 envelope functions combine RSA and AES for encrypting arbitrary sized data.
2319 Other utilities include key generators, hash functions (md5, sha1, sha256,
2320 etc), base64 encoder, a secure random number generator, and @code{bignum} math
2321 methods for manually performing crypto calculations on large multibyte
2322 integers.")
2323 (license license:expat)))
2324
2325 (define-public r-httr
2326 (package
2327 (name "r-httr")
2328 (version "1.4.1")
2329 (source (origin
2330 (method url-fetch)
2331 (uri (cran-uri "httr" version))
2332 (sha256
2333 (base32
2334 "0mp1il13q6n49n2hv1p2p8x6avjan6dr5az19ql4hb78pc3pwp37"))))
2335 (build-system r-build-system)
2336 (propagated-inputs
2337 `(("r-curl" ,r-curl)
2338 ("r-jsonlite" ,r-jsonlite)
2339 ("r-openssl" ,r-openssl)
2340 ("r-mime" ,r-mime)
2341 ("r-r6" ,r-r6)))
2342 (home-page "https://github.com/hadley/httr")
2343 (synopsis "Tools for working with URLs and HTTP")
2344 (description
2345 "The aim of httr is to provide a wrapper for RCurl customised to the
2346 demands of modern web APIs. It provides useful tools for working with HTTP
2347 organised by HTTP verbs (@code{GET()}, @code{POST()}, etc). Configuration
2348 functions make it easy to control additional request components.")
2349 (license license:expat)))
2350
2351 (define-public r-git2r
2352 (package
2353 (name "r-git2r")
2354 (version "0.26.1")
2355 (source (origin
2356 (method url-fetch)
2357 (uri (cran-uri "git2r" version))
2358 (sha256
2359 (base32
2360 "0dbl845sahv2i641ncaf06w06djravwc5wknp9syzx0ad8l0kmhk"))))
2361 (build-system r-build-system)
2362 (inputs
2363 `(("libgit2" ,libgit2)
2364 ("zlib" ,zlib)))
2365 (native-inputs
2366 `(("pkg-config" ,pkg-config)))
2367 (home-page "https://github.com/ropensci/git2r")
2368 (synopsis "Access Git repositories with R")
2369 (description
2370 "This package provides an R interface to the libgit2 library, which is a
2371 pure C implementation of the Git core methods.")
2372 ;; GPLv2 only with linking exception.
2373 (license license:gpl2)))
2374
2375 (define-public r-rstudioapi
2376 (package
2377 (name "r-rstudioapi")
2378 (version "0.10")
2379 (source (origin
2380 (method url-fetch)
2381 (uri (cran-uri "rstudioapi" version))
2382 (sha256
2383 (base32
2384 "15mbw607ncdf53mgga76n3va5zzdcjqz14nb0jcn9axwccqamic0"))))
2385 (build-system r-build-system)
2386 (home-page "https://cran.r-project.org/web/packages/rstudioapi")
2387 (synopsis "Safely access the RStudio API")
2388 (description
2389 "This package provides functions to access the RStudio API and provide
2390 informative error messages when it's not available.")
2391 (license license:expat)))
2392
2393 (define-public r-devtools
2394 (package
2395 (name "r-devtools")
2396 (version "2.2.1")
2397 (source (origin
2398 (method url-fetch)
2399 (uri (cran-uri "devtools" version))
2400 (sha256
2401 (base32
2402 "0i2f549hxkn0j1x1avkhwy68c9r48v9284j7x9cak2q6dfsqz61f"))))
2403 (build-system r-build-system)
2404 (propagated-inputs
2405 `(("r-callr" ,r-callr)
2406 ("r-cli" ,r-cli)
2407 ("r-covr" ,r-covr)
2408 ("r-crayon" ,r-crayon)
2409 ("r-desc" ,r-desc)
2410 ("r-digest" ,r-digest)
2411 ("r-dt" ,r-dt)
2412 ("r-ellipsis" ,r-ellipsis)
2413 ("r-glue" ,r-glue)
2414 ("r-git2r" ,r-git2r)
2415 ("r-httr" ,r-httr)
2416 ("r-jsonlite" ,r-jsonlite)
2417 ("r-memoise" ,r-memoise)
2418 ("r-pkgbuild" ,r-pkgbuild)
2419 ("r-pkgload" ,r-pkgload)
2420 ("r-rcmdcheck" ,r-rcmdcheck)
2421 ("r-remotes" ,r-remotes)
2422 ("r-rlang" ,r-rlang)
2423 ("r-roxygen2" ,r-roxygen2)
2424 ("r-rstudioapi" ,r-rstudioapi)
2425 ("r-rversions" ,r-rversions)
2426 ("r-sessioninfo" ,r-sessioninfo)
2427 ("r-testthat" ,r-testthat)
2428 ("r-usethis" ,r-usethis)
2429 ("r-withr" ,r-withr)))
2430 (home-page "https://github.com/hadley/devtools")
2431 (synopsis "Tools to make developing R packages easier")
2432 (description "The devtools package is a collection of package development
2433 tools to simplify the devolpment of R packages.")
2434 (license license:gpl2+)))
2435
2436 (define-public r-withr
2437 (package
2438 (name "r-withr")
2439 (version "2.1.2")
2440 (source (origin
2441 (method url-fetch)
2442 (uri (cran-uri "withr" version))
2443 (sha256
2444 (base32
2445 "11j6zykklxnvp4xqsr6a2xib665i38m3khdspp887nwagmvnydj1"))))
2446 (build-system r-build-system)
2447 (home-page "https://github.com/jimhester/withr")
2448 (synopsis "Run code with temporarily modified global state")
2449 (description
2450 "This package provides a set of functions to run R code in an environment
2451 in which global state has been temporarily modified. Many of these functions
2452 were originally a part of the r-devtools package.")
2453 (license license:gpl2+)))
2454
2455 (define-public r-hms
2456 (package
2457 (name "r-hms")
2458 (version "0.5.2")
2459 (source
2460 (origin
2461 (method url-fetch)
2462 (uri (cran-uri "hms" version))
2463 (sha256
2464 (base32
2465 "0h24dsagn4kcr65arn73mpqapcg002kw4kyxfqyff95j6s6cjifl"))))
2466 (build-system r-build-system)
2467 (propagated-inputs
2468 `(("r-rlang" ,r-rlang)
2469 ("r-pkgconfig" ,r-pkgconfig)
2470 ("r-vctrs" ,r-vctrs)))
2471 (home-page "https://github.com/rstats-db/hms")
2472 (synopsis "Pretty time of day")
2473 (description
2474 "This package implements an S3 class for storing and formatting
2475 time-of-day values, based on the @code{difftime} class.")
2476 (license license:gpl3+)))
2477
2478 (define-public r-readr
2479 (package
2480 (name "r-readr")
2481 (version "1.3.1")
2482 (source (origin
2483 (method url-fetch)
2484 (uri (cran-uri "readr" version))
2485 (sha256
2486 (base32
2487 "1wz496rw0ah433p755n3xac8gh7yzid4xgdjzd1a7wmpkgilvy9k"))))
2488 (build-system r-build-system)
2489 (propagated-inputs
2490 `(("r-clipr" ,r-clipr)
2491 ("r-crayon" ,r-crayon)
2492 ("r-rcpp" ,r-rcpp)
2493 ("r-hms" ,r-hms)
2494 ("r-tibble" ,r-tibble)
2495 ("r-r6" ,r-r6)
2496 ("r-bh" ,r-bh)))
2497 (home-page "https://github.com/hadley/readr")
2498 (synopsis "Read tabular data")
2499 (description
2500 "This package provides functions to read flat or tabular text files from
2501 disk (or a connection).")
2502 (license license:gpl2+)))
2503
2504 (define-public r-plotrix
2505 (package
2506 (name "r-plotrix")
2507 (version "3.7-6")
2508 (source (origin
2509 (method url-fetch)
2510 (uri (cran-uri "plotrix" version))
2511 (sha256
2512 (base32
2513 "0ijfjlr7ls5hvfyzdmwab6bx0w3nvp0c8fgynj4355cj8mbzgmc3"))))
2514 (build-system r-build-system)
2515 (home-page "https://cran.r-project.org/web/packages/plotrix")
2516 (synopsis "Various plotting functions")
2517 (description
2518 "This package provides lots of plotting, various labeling, axis and color
2519 scaling functions for R.")
2520 (license license:gpl2+)))
2521
2522 (define-public r-gridbase
2523 (package
2524 (name "r-gridbase")
2525 (version "0.4-7")
2526 (source (origin
2527 (method url-fetch)
2528 (uri (cran-uri "gridBase" version))
2529 (sha256
2530 (base32
2531 "09jzw4rzwf2y5lcz7b16mb68pn0fqigv34ff7lr6w3yi9k91i1xy"))))
2532 (build-system r-build-system)
2533 (home-page "https://cran.r-project.org/web/packages/gridBase")
2534 (synopsis "Integration of base and grid graphics")
2535 (description
2536 "This package provides an integration of base and grid graphics for R.")
2537 (license license:gpl2+)))
2538
2539 (define-public r-latticeextra
2540 (package
2541 (name "r-latticeextra")
2542 (version "0.6-28")
2543 (source
2544 (origin
2545 (method url-fetch)
2546 (uri (cran-uri "latticeExtra" version))
2547 (sha256
2548 (base32
2549 "1hkyqsa7klk5glj9y1hg3rxr5qilqw8h0017zc4c3nps7lr9a1kq"))))
2550 (properties `((upstream-name . "latticeExtra")))
2551 (build-system r-build-system)
2552 (propagated-inputs
2553 `(("r-lattice" ,r-lattice)
2554 ("r-rcolorbrewer" ,r-rcolorbrewer)))
2555 (home-page "http://latticeextra.r-forge.r-project.org/")
2556 (synopsis "Extra graphical utilities based on lattice")
2557 (description
2558 "Building on the infrastructure provided by the lattice package, this
2559 package provides several new high-level graphics functions and methods, as
2560 well as additional utilities such as panel and axis annotation functions.")
2561 (license license:gpl2+)))
2562
2563 (define-public r-rcpparmadillo
2564 (package
2565 (name "r-rcpparmadillo")
2566 (version "0.9.800.1.0")
2567 (source (origin
2568 (method url-fetch)
2569 (uri (cran-uri "RcppArmadillo" version))
2570 (sha256
2571 (base32
2572 "1frg7y3fb571jf9dp1kkc75x0nxvw8j3qccsrm1brg5l1z2jmlaz"))))
2573 (properties `((upstream-name . "RcppArmadillo")))
2574 (build-system r-build-system)
2575 ;; All needed for vignettes
2576 (native-inputs
2577 `(("r-knitr" ,r-knitr)
2578 ("r-rmarkdown" ,r-rmarkdown)
2579 ("ghc-pandoc" ,ghc-pandoc)
2580 ("ghc-pandoc-citeproc" ,ghc-pandoc-citeproc)))
2581 (propagated-inputs
2582 `(("r-rcpp" ,r-rcpp)))
2583 (home-page "https://github.com/RcppCore/RcppArmadillo")
2584 (synopsis "Rcpp integration for the Armadillo linear algebra library")
2585 (description
2586 "Armadillo is a templated C++ linear algebra library that aims towards a
2587 good balance between speed and ease of use. Integer, floating point and
2588 complex numbers are supported, as well as a subset of trigonometric and
2589 statistics functions. Various matrix decompositions are provided through
2590 optional integration with LAPACK and ATLAS libraries. This package includes
2591 the header files from the templated Armadillo library.")
2592 ;; Armadillo is licensed under the MPL 2.0, while RcppArmadillo (the Rcpp
2593 ;; bindings to Armadillo) is licensed under the GNU GPL version 2 or
2594 ;; later, as is the rest of 'Rcpp'.
2595 (license license:gpl2+)))
2596
2597 (define-public r-bitops
2598 (package
2599 (name "r-bitops")
2600 (version "1.0-6")
2601 (source (origin
2602 (method url-fetch)
2603 (uri (cran-uri "bitops" version))
2604 (sha256
2605 (base32
2606 "176nr5wpnkavn5z0yy9f7d47l37ndnn2w3gv854xav8nnybi6wwv"))))
2607 (build-system r-build-system)
2608 (home-page "https://cran.r-project.org/web/packages/bitops")
2609 (synopsis "Bitwise operations")
2610 (description
2611 "This package provides functions for bitwise operations on integer
2612 vectors.")
2613 (license license:gpl2+)))
2614
2615 (define-public r-catools
2616 (package
2617 (name "r-catools")
2618 (version "1.17.1.2")
2619 (source (origin
2620 (method url-fetch)
2621 (uri (cran-uri "caTools" version))
2622 (sha256
2623 (base32
2624 "0svj31y7h8vimvliygmmbl7pk850qk80k1vn38mlcxsnmcpm9k39"))))
2625 (properties `((upstream-name . "caTools")))
2626 (build-system r-build-system)
2627 (propagated-inputs
2628 `(("r-bitops" ,r-bitops)))
2629 (home-page "https://cran.r-project.org/web/packages/caTools")
2630 (synopsis "Various tools including functions for moving window statistics")
2631 (description
2632 "This package contains several basic utility functions including:
2633 moving (rolling, running) window statistic functions, read/write for GIF and
2634 ENVI binary files, fast calculation of AUC, LogitBoost classifier, base64
2635 encoder/decoder, round-off-error-free sum and cumsum, etc.")
2636 (license license:gpl3+)))
2637
2638 (define-public r-rprojroot
2639 (package
2640 (name "r-rprojroot")
2641 (version "1.3-2")
2642 (source
2643 (origin
2644 (method url-fetch)
2645 (uri (cran-uri "rprojroot" version))
2646 (sha256
2647 (base32
2648 "12r3fdxmi2pmwn6ic3rhg0b20ll5z420m0d8fziv1n21961namnz"))))
2649 (build-system r-build-system)
2650 (propagated-inputs
2651 `(("r-backports" ,r-backports)))
2652 (home-page "https://github.com/krlmlr/rprojroot")
2653 (synopsis "Finding files in project subdirectories")
2654 (description
2655 "This package helps accessing files relative to a project root. It
2656 provides helpers for robust, reliable and flexible paths to files below a
2657 project root. The root of a project is defined as a directory that matches a
2658 certain criterion, e.g., it contains a certain regular file.")
2659 (license license:gpl3)))
2660
2661 (define-public r-rmarkdown
2662 (package
2663 (name "r-rmarkdown")
2664 (version "1.17")
2665 (source
2666 (origin
2667 (method url-fetch)
2668 (uri (cran-uri "rmarkdown" version))
2669 (sha256
2670 (base32 "18dj6nr1m79pv1pv9w2n0rhiidwqjb2w8w1rnpcwijwbz4i8d3k2"))))
2671 (properties `((upstream-name . "rmarkdown")))
2672 (build-system r-build-system)
2673 (propagated-inputs
2674 `(("r-base64enc" ,r-base64enc)
2675 ("r-evaluate" ,r-evaluate)
2676 ("r-htmltools" ,r-htmltools)
2677 ("r-jsonlite" ,r-jsonlite)
2678 ("r-knitr" ,r-knitr)
2679 ("r-mime" ,r-mime)
2680 ("r-stringr" ,r-stringr)
2681 ("r-tinytex" ,r-tinytex)
2682 ("r-xfun" ,r-xfun)
2683 ("r-yaml" ,r-yaml)
2684 ("ghc-pandoc" ,ghc-pandoc)))
2685 (home-page "https://rmarkdown.rstudio.com")
2686 (synopsis "Convert R Markdown documents into a variety of formats")
2687 (description
2688 "This package provides tools to convert R Markdown documents into a
2689 variety of formats.")
2690 (license license:gpl3+)))
2691
2692 (define-public r-gtable
2693 (package
2694 (name "r-gtable")
2695 (version "0.3.0")
2696 (source (origin
2697 (method url-fetch)
2698 (uri (cran-uri "gtable" version))
2699 (sha256
2700 (base32
2701 "1lyncxf2dqdjgw1071cn9c8zwzkz6sldnd5cgmicf70bc726qf7x"))))
2702 (properties `((upstream-name . "gtable")))
2703 (build-system r-build-system)
2704 (home-page "https://cran.r-project.org/web/packages/gtable")
2705 (synopsis "R library to arrange grobs in tables")
2706 (description
2707 "Gtable is a collection of tools to make it easier to work with
2708 \"tables\" of grobs.")
2709 (license license:gpl2+)))
2710
2711 (define-public r-gridextra
2712 (package
2713 (name "r-gridextra")
2714 (version "2.3")
2715 (source (origin
2716 (method url-fetch)
2717 (uri (cran-uri "gridExtra" version))
2718 (sha256
2719 (base32
2720 "0fwfk3cdwxxim7nd55pn7m31bcaqj48y06j7an2k1v1pybk0rdl1"))))
2721 (properties `((upstream-name . "gridExtra")))
2722 (build-system r-build-system)
2723 (propagated-inputs
2724 `(("r-gtable" ,r-gtable)))
2725 (native-inputs
2726 `(("r-knitr" ,r-knitr))) ;for building vignettes
2727 (home-page "https://github.com/baptiste/gridextra")
2728 (synopsis "Miscellaneous functions for \"Grid\" graphics")
2729 (description
2730 "This package provides a number of user-level functions to work with
2731 @code{grid} graphics, notably to arrange multiple grid-based plots on a page,
2732 and draw tables.")
2733 (license license:gpl2+)))
2734
2735 (define-public r-pkgconfig
2736 (package
2737 (name "r-pkgconfig")
2738 (version "2.0.3")
2739 (source (origin
2740 (method url-fetch)
2741 (uri (cran-uri "pkgconfig" version))
2742 (sha256
2743 (base32
2744 "0l1qph8zyi2sic3k2qcd7vlfl7rzfh1q7z7zvjkl5f7y1x2fy3rk"))))
2745 (build-system r-build-system)
2746 (home-page "https://github.com/gaborcsardi/pkgconfig")
2747 (synopsis "Private configuration for R packages")
2748 (description "This package provides the functionality to set configuration
2749 options on a per-package basis. Options set by a given package only apply to
2750 that package, other packages are unaffected.")
2751 (license license:expat)))
2752
2753 (define-public r-blob
2754 (package
2755 (name "r-blob")
2756 (version "1.2.0")
2757 (source (origin
2758 (method url-fetch)
2759 (uri (cran-uri "blob" version))
2760 (sha256
2761 (base32
2762 "08z071jzac4gasgfgab0y5g3ilfmlw08ln813wphxg07hsiczw8s"))))
2763 (build-system r-build-system)
2764 (propagated-inputs
2765 `(("r-prettyunits" ,r-prettyunits)
2766 ("r-rlang" ,r-rlang)
2767 ("r-vctrs" ,r-vctrs)))
2768 (home-page "https://github.com/hadley/blob")
2769 (synopsis "Simple S3 Class for representing vectors of binary data")
2770 (description "Raw vectors in R are useful for storing a single binary
2771 object. What if you want to put a vector of them in a data frame? The blob
2772 package provides the blob object, a list of raw vectors, suitable for use as
2773 a column in data frame.")
2774 (license license:gpl3+)))
2775
2776 (define-public r-rsqlite
2777 (package
2778 (name "r-rsqlite")
2779 (version "2.1.2")
2780 (source (origin
2781 (method url-fetch)
2782 (uri (cran-uri "RSQLite" version))
2783 (sha256
2784 (base32
2785 "1inrhap5cs0wry2jbw42fx9wwxb3qdzlpy0ba4f6a29bs8jx9nk6"))))
2786 (properties `((upstream-name . "RSQLite")))
2787 (build-system r-build-system)
2788 (propagated-inputs
2789 `(("r-dbi" ,r-dbi)
2790 ("r-bh" ,r-bh)
2791 ("r-memoise" ,r-memoise)
2792 ("r-plogr" ,r-plogr)
2793 ("r-rcpp" ,r-rcpp)
2794 ("r-bit64" ,r-bit64)
2795 ("r-blob" ,r-blob)
2796 ("r-pkgconfig" ,r-pkgconfig)))
2797 (home-page "https://github.com/rstats-db/RSQLite")
2798 (synopsis "SQLite interface for R")
2799 (description
2800 "This package embeds the SQLite database engine in R and provides an
2801 interface compliant with the DBI package. The source for the SQLite
2802 engine (version 3.8.8.2) is included.")
2803 (license license:lgpl2.0+)))
2804
2805 (define-public r-rcurl
2806 (package
2807 (name "r-rcurl")
2808 (version "1.95-0.1.2")
2809 (source (origin
2810 (method url-fetch)
2811 (uri (string-append "https://www.bioconductor.org/packages/"
2812 "release/extra/src/"
2813 "contrib/RCurl_" version ".tar.gz"))
2814 (sha256
2815 (base32
2816 "0l7qi45jxlf898n0jazabnam1yyczvqfdknd00bdirhhiplpd1sc"))))
2817 (properties `((upstream-name . "RCurl")))
2818 (build-system r-build-system)
2819 (arguments
2820 `(#:phases
2821 (modify-phases %standard-phases
2822 (add-after 'unpack 'respect-CURL_CA_BUNDLE
2823 (lambda _
2824 (substitute* "R/options.S"
2825 (("\\.els = rev\\(merge\\(list\\(\\.\\.\\.\\), \\.opts\\)\\)" m)
2826 (string-append "\
2827 certs = Sys.getenv(\"CURL_CA_BUNDLE\")
2828 if (certs != \"\") { .opts = merge.list(.opts, list(cainfo=certs)) }
2829 " m)))
2830 #t)))))
2831 (inputs
2832 `(("libcurl" ,curl)))
2833 (propagated-inputs
2834 `(("r-bitops" ,r-bitops)))
2835 (home-page "http://www.omegahat.org/RCurl")
2836 (synopsis "General network client interface for R")
2837 (description
2838 "The package allows one to compose general HTTP requests and provides
2839 convenient functions to fetch URIs, GET and POST forms, etc. and process the
2840 results returned by the Web server. This provides a great deal of control
2841 over the HTTP/FTP/... connection and the form of the request while providing a
2842 higher-level interface than is available just using R socket connections.
2843 Additionally, the underlying implementation is robust and extensive,
2844 supporting FTP/FTPS/TFTP (uploads and downloads), SSL/HTTPS, telnet, dict,
2845 ldap, and also supports cookies, redirects, authentication, etc.")
2846 (license license:bsd-3)))
2847
2848 (define-public r-xml
2849 (package
2850 (name "r-xml")
2851 (version "3.98-1.20")
2852 (source (origin
2853 (method url-fetch)
2854 (uri (cran-uri "XML" version))
2855 (sha256
2856 (base32
2857 "0n28m8iz1wfgixr7fjswl238c5w9kggsrw0c8hdzp859dqvqdbs6"))))
2858 (properties
2859 `((upstream-name . "XML")))
2860 (build-system r-build-system)
2861 (inputs
2862 `(("libxml2" ,libxml2)
2863 ("zlib" ,zlib)))
2864 (native-inputs
2865 `(("pkg-config" ,pkg-config)))
2866 (home-page "http://www.omegahat.org/RSXML")
2867 (synopsis "Tools for parsing and generating XML within R")
2868 (description
2869 "Many approaches for both reading and creating XML (and HTML)
2870 documents (including DTDs), both local and accessible via HTTP or FTP. Also
2871 offers access to an XPath \"interpreter\".")
2872 (license license:bsd-2)))
2873
2874 (define-public r-xnomial
2875 (package
2876 (name "r-xnomial")
2877 (version "1.0.4")
2878 (source
2879 (origin (method url-fetch)
2880 (uri (cran-uri "XNomial" version))
2881 (sha256
2882 (base32
2883 "1mwx302576rmsjllbq2clfxilm3hkyp5bw0wmwqbn0kgv5wpy8z6"))))
2884 (properties (quasiquote ((upstream-name . "XNomial"))))
2885 (build-system r-build-system)
2886 (home-page "https://cran.r-project.org/web/packages/XNomial")
2887 (synopsis "Goodness-of-Fit test for multinomial data")
2888 (description
2889 "This package provides an exact Goodness-of-Fit test for
2890 multinomial data with fixed probabilities. It can be used to
2891 determine whether a set of counts fits a given expected ratio. To see
2892 whether a set of observed counts fits an expectation, one can examine
2893 all possible outcomes with @code{xmulti()} or a random sample of them
2894 with @code{xmonte()} and find the probability of an observation
2895 deviating from the expectation by at least as much as the observed.
2896 As a measure of deviation from the expected, one can use the
2897 log-likelihood ratio, the multinomial probability, or the classic
2898 chi-square statistic. A histogram of the test statistic can also be
2899 plotted and compared with the asymptotic curve.")
2900 (license (list license:gpl2+ license:gpl3+))))
2901
2902 (define-public r-lambda-r
2903 (package
2904 (name "r-lambda-r")
2905 (version "1.2.4")
2906 (source (origin
2907 (method url-fetch)
2908 (uri (cran-uri "lambda.r" version))
2909 (sha256
2910 (base32
2911 "1mh1g0gsd58gng0hb29vww2yqb2jfs07kba5kxnnqck5j3izwlnj"))))
2912 (properties `((upstream-name . "lambda.r")))
2913 (build-system r-build-system)
2914 (propagated-inputs
2915 `(("r-formatr" ,r-formatr)))
2916 (home-page "https://cran.r-project.org/web/packages/lambda.r")
2917 (synopsis "Functional programming extension for R")
2918 (description
2919 "This package provides a language extension to efficiently write
2920 functional programs in R. Syntax extensions include multi-part function
2921 definitions, pattern matching, guard statements, built-in (optional) type
2922 safety.")
2923 (license license:lgpl3+)))
2924
2925 (define-public r-futile-options
2926 (package
2927 (name "r-futile-options")
2928 (version "1.0.1")
2929 (source (origin
2930 (method url-fetch)
2931 (uri (cran-uri "futile.options" version))
2932 (sha256
2933 (base32
2934 "0w15agpi88y3qkv6fl72zy2pzyplzgvnj41a4ixhg64mw1sck73s"))))
2935 (properties
2936 `((upstream-name . "futile.options")))
2937 (build-system r-build-system)
2938 (home-page "https://cran.r-project.org/web/packages/futile.options")
2939 (synopsis "Options management framework")
2940 (description
2941 "The futile.options subsystem provides an easy user-defined options
2942 management system that is properly scoped. This means that options created
2943 via @code{futile.options} are fully self-contained and will not collide with
2944 options defined in other packages.")
2945 (license license:lgpl3+)))
2946
2947 (define-public r-futile-logger
2948 (package
2949 (name "r-futile-logger")
2950 (version "1.4.3")
2951 (source (origin
2952 (method url-fetch)
2953 (uri (cran-uri "futile.logger" version))
2954 (sha256
2955 (base32
2956 "1r3nayk0z9n1svbf8640vw90dal5q07nkn0gv4bnva3pbzb352sy"))))
2957 (properties `((upstream-name . "futile.logger")))
2958 (build-system r-build-system)
2959 (propagated-inputs
2960 `(("r-futile-options" ,r-futile-options)
2961 ("r-lambda-r" ,r-lambda-r)))
2962 (home-page "https://cran.r-project.org/web/packages/futile.logger")
2963 (synopsis "Logging utility for R")
2964 (description
2965 "This package provides a simple yet powerful logging utility. Based
2966 loosely on log4j, futile.logger takes advantage of R idioms to make logging a
2967 convenient and easy to use replacement for @code{cat} and @code{print}
2968 statements.")
2969 (license license:lgpl3+)))
2970
2971 (define-public r-segmented
2972 (package
2973 (name "r-segmented")
2974 (version "1.0-0")
2975 (source
2976 (origin
2977 (method url-fetch)
2978 (uri (cran-uri "segmented" version))
2979 (sha256
2980 (base32
2981 "1igsfkffpa60zn6j45lhw1zgr5pz6rjknv2f3sylnx5l9fdwibgf"))))
2982 (build-system r-build-system)
2983 (home-page "https://cran.r-project.org/web/packages/segmented")
2984 (synopsis "Regression models with breakpoints estimation")
2985 (description
2986 "Given a regression model, segmented updates the model by adding one or
2987 more segmented (i.e., piecewise-linear) relationships. Several variables with
2988 multiple breakpoints are allowed.")
2989 (license (list license:gpl2+ license:gpl3+))))
2990
2991 (define-public r-snow
2992 (package
2993 (name "r-snow")
2994 (version "0.4-3")
2995 (source (origin
2996 (method url-fetch)
2997 (uri (cran-uri "snow" version))
2998 (sha256
2999 (base32
3000 "1n3n8pva9s34fvlw32yng0x416lmbv7q1fsd0ywa4kikmxym64l5"))))
3001 (build-system r-build-system)
3002 (home-page "https://cran.r-project.org/web/packages/snow")
3003 (synopsis "Support for simple parallel computing in R")
3004 (description
3005 "The snow package provides support for simple parallel computing on a
3006 network of workstations using R. A master R process calls @code{makeCluster}
3007 to start a cluster of worker processes; the master process then uses functions
3008 such as @code{clusterCall} and @code{clusterApply} to execute R code on the
3009 worker processes and collect and return the results on the master.")
3010 (license (list license:gpl2+ license:gpl3+))))
3011
3012 (define-public r-sparsem
3013 (package
3014 (name "r-sparsem")
3015 (version "1.77")
3016 (source (origin
3017 (method url-fetch)
3018 (uri (cran-uri "SparseM" version))
3019 (sha256
3020 (base32
3021 "0p6ljma2h12cq1xmy0cxb48ih8dhxxbnwkqzvx3cckxf2kprycm9"))))
3022 (properties
3023 `((upstream-name . "SparseM")))
3024 (inputs
3025 `(("gfortran" ,gfortran)))
3026 (build-system r-build-system)
3027 (home-page "http://www.econ.uiuc.edu/~roger/research/sparse/sparse.html")
3028 (synopsis "Sparse linear algebra")
3029 (description
3030 "This package provides some basic linear algebra functionality for sparse
3031 matrices. It includes Cholesky decomposition and backsolving as well as
3032 standard R subsetting and Kronecker products.")
3033 (license license:gpl2+)))
3034
3035 (define-public r-iterators
3036 (package
3037 (name "r-iterators")
3038 (version "1.0.12")
3039 (source
3040 (origin
3041 (method url-fetch)
3042 (uri (cran-uri "iterators" version))
3043 (sha256
3044 (base32
3045 "0jwzxaa3jm1xzgfv5pn0xqkk7rhm0xwvgn85w7xaw8xx1vb33gwn"))))
3046 (build-system r-build-system)
3047 (home-page "https://cran.r-project.org/web/packages/iterators")
3048 (synopsis "Iterator construct for R")
3049 (description
3050 "This package provides support for iterators, which allow a programmer to
3051 traverse through all the elements of a vector, list, or other collection of
3052 data.")
3053 (license license:asl2.0)))
3054
3055 (define-public r-foreach
3056 (package
3057 (name "r-foreach")
3058 (version "1.4.7")
3059 (source
3060 (origin
3061 (method url-fetch)
3062 (uri (cran-uri "foreach" version))
3063 (sha256
3064 (base32
3065 "0q7iyniw5iri4hl57bhil3r69s5wnaijzn0q0x4h3z42245jqqwm"))))
3066 (build-system r-build-system)
3067 (propagated-inputs
3068 `(("r-codetools" ,r-codetools)
3069 ("r-iterators" ,r-iterators)))
3070 (home-page "https://cran.r-project.org/web/packages/foreach")
3071 (synopsis "Foreach looping construct for R")
3072 (description
3073 "This package provides support for the @code{foreach} looping construct.
3074 @code{foreach} is an idiom that allows for iterating over elements in a
3075 collection, without the use of an explicit loop counter. This package in
3076 particular is intended to be used for its return value, rather than for its
3077 side effects. In that sense, it is similar to the standard @code{lapply}
3078 function, but doesn't require the evaluation of a function. Using
3079 @code{foreach} without side effects also facilitates executing the loop in
3080 parallel.")
3081 (license license:asl2.0)))
3082
3083 (define-public r-doparallel
3084 (package
3085 (name "r-doparallel")
3086 (version "1.0.15")
3087 (source
3088 (origin
3089 (method url-fetch)
3090 (uri (cran-uri "doParallel" version))
3091 (sha256
3092 (base32
3093 "0vnqbha3gig3awbfvsfx3ni5jir398md1n7xmsb8jihnjsk7xbbi"))))
3094 (properties `((upstream-name . "doParallel")))
3095 (build-system r-build-system)
3096 (propagated-inputs
3097 `(("r-foreach" ,r-foreach)
3098 ("r-iterators" ,r-iterators)))
3099 (home-page "https://cran.r-project.org/web/packages/doParallel")
3100 (synopsis "Foreach parallel adaptor for the 'parallel' package")
3101 (description
3102 "This package provides a parallel backend for the @code{%dopar%} function
3103 using the parallel package.")
3104 (license license:gpl2+)))
3105
3106 (define-public r-domc
3107 (package
3108 (name "r-domc")
3109 (version "1.3.6")
3110 (source
3111 (origin
3112 (method url-fetch)
3113 (uri (cran-uri "doMC" version))
3114 (sha256
3115 (base32
3116 "1cn9gxavhvjswip8pwvkpi7q6wpzdllcsdjabga8akf55nggqxr9"))))
3117 (properties `((upstream-name . "doMC")))
3118 (build-system r-build-system)
3119 (propagated-inputs
3120 `(("r-foreach" ,r-foreach)
3121 ("r-iterators" ,r-iterators)))
3122 (home-page "https://cran.r-project.org/web/packages/doMC")
3123 (synopsis "Foreach parallel adaptor for the 'parallel' package")
3124 (description
3125 "This package provides a parallel backend for the @code{%dopar%} function
3126 using the multicore functionality of the parallel package.")
3127 (license license:gpl2+)))
3128
3129 (define-public r-dt
3130 (package
3131 (name "r-dt")
3132 (version "0.10")
3133 (source (origin
3134 (method url-fetch)
3135 (uri (cran-uri "DT" version))
3136 (sha256
3137 (base32
3138 "0vwhn1mcwv0hkbxnppf6vip23iiib0szvp1h3prawlkvd74xziiw"))))
3139 (properties
3140 `((upstream-name . "DT")))
3141 (build-system r-build-system)
3142 (propagated-inputs
3143 `(("r-crosstalk" ,r-crosstalk)
3144 ("r-htmltools" ,r-htmltools)
3145 ("r-htmlwidgets" ,r-htmlwidgets)
3146 ("r-jsonlite" ,r-jsonlite)
3147 ("r-magrittr" ,r-magrittr)
3148 ("r-promises" ,r-promises)))
3149 (home-page "http://rstudio.github.io/DT")
3150 (synopsis "R wrapper of the DataTables JavaScript library")
3151 (description
3152 "This package allows for data objects in R to be rendered as HTML tables
3153 using the JavaScript library @code{DataTables} (typically via R Markdown or
3154 Shiny). The @code{DataTables} library has been included in this R package.")
3155 ;; The DT package as a whole is distributed under GPLv3. The DT package
3156 ;; inludes other software components under different licenses:
3157 ;;
3158 ;; * Expat: jQuery, jquery.highlight.js, DataTables
3159 ;; * ASL2.0: selectize.js
3160 ;; * WTFPL: noUiSlider
3161 (license (list license:gpl3
3162 license:expat
3163 license:asl2.0
3164 (license:non-copyleft "http://www.wtfpl.net/txt/copying/")))))
3165
3166 (define-public r-base64enc
3167 (package
3168 (name "r-base64enc")
3169 (version "0.1-3")
3170 (source (origin
3171 (method url-fetch)
3172 (uri (cran-uri "base64enc" version))
3173 (sha256
3174 (base32
3175 "13b89fhg1nx7zds82a0biz847ixphg9byf5zl2cw9kab6s56v1bd"))))
3176 (build-system r-build-system)
3177 (home-page "http://www.rforge.net/base64enc")
3178 (synopsis "Tools for Base64 encoding")
3179 (description
3180 "This package provides tools for handling Base64 encoding. It is more
3181 flexible than the orphaned \"base64\" package.")
3182 (license license:gpl2+)))
3183
3184 (define-public r-irlba
3185 (package
3186 (name "r-irlba")
3187 (version "2.3.3")
3188 (source
3189 (origin
3190 (method url-fetch)
3191 (uri (cran-uri "irlba" version))
3192 (sha256
3193 (base32
3194 "1h7mzrqdjc41814cf6c93sbyl7nxwvsf3x8apl9rhmydgdlk7qkf"))))
3195 (build-system r-build-system)
3196 (propagated-inputs
3197 `(("r-matrix" ,r-matrix)))
3198 (home-page "https://cran.r-project.org/web/packages/irlba")
3199 (synopsis "Methods for eigendecomposition of large matrices")
3200 (description
3201 "This package provides fast and memory efficient methods for truncated
3202 singular and eigenvalue decompositions, as well as for principal component
3203 analysis of large sparse or dense matrices.")
3204 (license (list license:gpl2+ license:gpl3+))))
3205
3206 (define-public r-glmnet
3207 (package
3208 (name "r-glmnet")
3209 (version "3.0-1")
3210 (source
3211 (origin
3212 (method url-fetch)
3213 (uri (cran-uri "glmnet" version))
3214 (sha256
3215 (base32 "04wa926mnss53p1fhx0mjgxnmwmmqls12sc0sy7w09kbmyqa3fq7"))))
3216 (build-system r-build-system)
3217 (native-inputs
3218 `(("gfortran" ,gfortran)))
3219 (propagated-inputs
3220 `(("r-foreach" ,r-foreach)
3221 ("r-matrix" ,r-matrix)
3222 ("r-shape" ,r-shape)))
3223 (home-page "http://www.jstatsoft.org/v33/i01")
3224 (synopsis "Lasso and elastic-net regularized generalized linear models")
3225 (description
3226 "The glmnet package provides efficient procedures for fitting the entire
3227 lasso or elastic-net regularization path for linear and Poisson regression, as
3228 well as logistic, multinomial, Cox, multiple-response Gaussian and grouped
3229 multinomial models. The algorithm uses cyclical coordinate descent in a
3230 path-wise fashion.")
3231 (license license:gpl2+)))
3232
3233 (define-public r-pkgmaker
3234 (package
3235 (name "r-pkgmaker")
3236 (version "0.27")
3237 (source
3238 (origin
3239 (method url-fetch)
3240 (uri (cran-uri "pkgmaker" version))
3241 (sha256
3242 (base32
3243 "0spcamjncj78kzjps2rw4v1a4494yazv6xvhn0vmdflnypc8k8hp"))))
3244 (build-system r-build-system)
3245 (propagated-inputs
3246 `(("r-bibtex" ,r-bibtex)
3247 ("r-codetools" ,r-codetools)
3248 ("r-digest" ,r-digest)
3249 ("r-magrittr" ,r-magrittr)
3250 ("r-registry" ,r-registry)
3251 ("r-stringi" ,r-stringi)
3252 ("r-stringr" ,r-stringr)
3253 ("r-withr" ,r-withr)
3254 ("r-xtable" ,r-xtable)))
3255 (home-page "https://renozao.github.io/pkgmaker")
3256 (synopsis "Package development utilities")
3257 (description
3258 "This package provides some low-level utilities to use for R package
3259 development. It currently provides managers for multiple package specific
3260 options and registries, vignette, unit test and bibtex related utilities.")
3261 (license license:gpl2+)))
3262
3263 (define-public r-registry
3264 (package
3265 (name "r-registry")
3266 (version "0.5-1")
3267 (source
3268 (origin
3269 (method url-fetch)
3270 (uri (cran-uri "registry" version))
3271 (sha256
3272 (base32
3273 "1k3j6dx350awamr0dwwgkhfs46vsnj4nf08iw5byq0x7n3nkdsnz"))))
3274 (build-system r-build-system)
3275 (home-page "https://cran.r-project.org/web/packages/registry")
3276 (synopsis "Infrastructure for R package registries")
3277 (description
3278 "This package provides a generic infrastructure for creating and using R
3279 package registries.")
3280 (license license:gpl2+)))
3281
3282 (define-public r-rngtools
3283 (package
3284 (name "r-rngtools")
3285 (version "1.4")
3286 (source
3287 (origin
3288 (method url-fetch)
3289 (uri (cran-uri "rngtools" version))
3290 (sha256
3291 (base32
3292 "1kivj594bn774lbn29ws2rmzy2km99sza0j3jqvhal6hwmk27a9s"))))
3293 (build-system r-build-system)
3294 (propagated-inputs
3295 `(("r-digest" ,r-digest)
3296 ("r-pkgmaker" ,r-pkgmaker)
3297 ("r-stringr" ,r-stringr)))
3298 (home-page "https://renozao.github.io/rngtools")
3299 (synopsis "Utility functions for working with random number generators")
3300 (description
3301 "This package contains a set of functions for working with Random Number
3302 Generators (RNGs). In particular, it defines a generic S4 framework for
3303 getting/setting the current RNG, or RNG data that are embedded into objects
3304 for reproducibility. Notably, convenient default methods greatly facilitate
3305 the way current RNG settings can be changed.")
3306 (license license:gpl3+)))
3307
3308 (define-public r-rtsne
3309 (package
3310 (name "r-rtsne")
3311 (version "0.15")
3312 (source
3313 (origin
3314 (method url-fetch)
3315 (uri (cran-uri "Rtsne" version))
3316 (sha256
3317 (base32
3318 "0v17vxizrs1msay24xl2bckfajr2c82wpqj07lyssbrq197nwdsn"))))
3319 (properties `((upstream-name . "Rtsne")))
3320 (build-system r-build-system)
3321 (propagated-inputs
3322 `(("r-rcpp" ,r-rcpp)))
3323 (home-page "https://github.com/jkrijthe/Rtsne")
3324 (synopsis "T-distributed stochastic neighbor embedding")
3325 (description
3326 "This package provides an R wrapper around the fast T-distributed
3327 Stochastic Neighbor Embedding using a Barnes-Hut implementation.")
3328 ;; The declared license for this package is BSD-3, but it also includes
3329 ;; code licensed under BSD-4.
3330 (license (list license:bsd-3 license:bsd-4))))
3331
3332 (define-public r-e1071
3333 (package
3334 (name "r-e1071")
3335 (version "1.7-2")
3336 (source
3337 (origin
3338 (method url-fetch)
3339 (uri (cran-uri "e1071" version))
3340 (sha256
3341 (base32
3342 "0lipj692rjjw8rrhqh2k9i5dh8y2sjrw9q53rwm32irhx2f2j73j"))))
3343 (build-system r-build-system)
3344 (propagated-inputs
3345 `(("r-class" ,r-class)))
3346 (home-page "https://cran.r-project.org/web/packages/e1071")
3347 (synopsis "Miscellaneous functions for probability theory")
3348 (description
3349 "This package provides functions for latent class analysis, short time
3350 Fourier transform, fuzzy clustering, support vector machines, shortest path
3351 computation, bagged clustering, naive Bayes classifier, and more.")
3352 (license license:gpl2+)))
3353
3354 (define-public r-bigmemory-sri
3355 (package
3356 (name "r-bigmemory-sri")
3357 (version "0.1.3")
3358 (source
3359 (origin
3360 (method url-fetch)
3361 (uri (cran-uri "bigmemory.sri" version))
3362 (sha256
3363 (base32 "0mg14ilwdkd64q2ri9jdwnk7mp55dqim7xfifrs65sdsv1934h2m"))))
3364 (properties
3365 `((upstream-name . "bigmemory.sri")))
3366 (build-system r-build-system)
3367 (home-page "https://cran.r-project.org/web/packages/bigmemory.sri")
3368 (synopsis "Shared resource interface for the bigmemory package")
3369 (description "This package provides a shared resource interface for the
3370 bigmemory and synchronicity packages.")
3371 ;; Users can choose either LGPLv3 or ASL2.0.
3372 (license (list license:lgpl3 license:asl2.0))))
3373
3374 (define-public r-synchronicity
3375 (package
3376 (name "r-synchronicity")
3377 (version "1.3.5")
3378 (source
3379 (origin
3380 (method url-fetch)
3381 (uri (cran-uri "synchronicity" version))
3382 (sha256
3383 (base32
3384 "1kgsk64aifjm3mfj102y3va7x1abypq2zi0cqbnjhl8fqyzp69hx"))))
3385 (build-system r-build-system)
3386 (propagated-inputs
3387 `(("r-bh" ,r-bh)
3388 ("r-bigmemory-sri" ,r-bigmemory-sri)
3389 ("r-rcpp" ,r-rcpp)
3390 ("r-uuid" ,r-uuid)))
3391 (home-page "http://www.bigmemory.org")
3392 (synopsis "Boost mutex functionality in R")
3393 (description "This package provides support for synchronization
3394 via mutexes and may eventually support interprocess communication and
3395 message passing.")
3396 ;; Users can choose either LGPLv3 or ASL2.0.
3397 (license (list license:lgpl3 license:asl2.0))))
3398
3399 (define-public r-bigmemory
3400 (package
3401 (name "r-bigmemory")
3402 (version "4.5.33")
3403 (source
3404 (origin
3405 (method url-fetch)
3406 (uri (cran-uri "bigmemory" version))
3407 (sha256
3408 (base32
3409 "0ycl9dzm3drpyas625h34rir5bnbjlncxlvawfsfmqwcbmwdjdvj"))))
3410 (build-system r-build-system)
3411 (propagated-inputs
3412 `(("r-bh" ,r-bh)
3413 ("r-rcpp" ,r-rcpp)
3414 ("r-bigmemory-sri" ,r-bigmemory-sri)))
3415 (home-page "http://www.bigmemory.org")
3416 (synopsis "Manage large matrices with shared memory or memory-mapped files")
3417 (description "This package provides methods to create, store, access, and
3418 manipulate large matrices. Matrices are allocated to shared memory and may use
3419 memory-mapped files.")
3420 ;; Users can choose either LGPLv3 or ASL2.0.
3421 (license (list license:lgpl3 license:asl2.0))))
3422
3423 (define-public r-nmf
3424 (package
3425 (name "r-nmf")
3426 (version "0.21.0")
3427 (source
3428 (origin
3429 (method url-fetch)
3430 (uri (cran-uri "NMF" version))
3431 (sha256
3432 (base32
3433 "1qq25n3k5sgh3srlshb3ic6q92s12c1ilqf5cd5anvq6cqfchc1v"))))
3434 (properties `((upstream-name . "NMF")))
3435 (build-system r-build-system)
3436 (propagated-inputs
3437 `(("r-cluster" ,r-cluster)
3438 ("r-bigmemory" ,r-bigmemory) ; suggested
3439 ("r-synchronicity" ,r-synchronicity) ; suggested
3440 ("r-colorspace" ,r-colorspace)
3441 ("r-digest" ,r-digest)
3442 ("r-doparallel" ,r-doparallel)
3443 ("r-foreach" ,r-foreach)
3444 ("r-ggplot2" ,r-ggplot2)
3445 ("r-gridbase" ,r-gridbase)
3446 ("r-pkgmaker" ,r-pkgmaker)
3447 ("r-rcolorbrewer" ,r-rcolorbrewer)
3448 ("r-registry" ,r-registry)
3449 ("r-reshape2" ,r-reshape2)
3450 ("r-rngtools" ,r-rngtools)
3451 ("r-stringr" ,r-stringr)))
3452 (home-page "http://renozao.github.io/NMF")
3453 (synopsis "Algorithms and framework for nonnegative matrix factorization")
3454 (description
3455 "This package provides a framework to perform Non-negative Matrix
3456 Factorization (NMF). The package implements a set of already published
3457 algorithms and seeding methods, and provides a framework to test, develop and
3458 plug new or custom algorithms. Most of the built-in algorithms have been
3459 optimized in C++, and the main interface function provides an easy way of
3460 performing parallel computations on multicore machines.")
3461 (license license:gpl2+)))
3462
3463 (define-public r-r-methodss3
3464 (package
3465 (name "r-r-methodss3")
3466 (version "1.7.1")
3467 (source (origin
3468 (method url-fetch)
3469 (uri (cran-uri "R.methodsS3" version))
3470 (sha256
3471 (base32
3472 "11z6v2i7jl647wxi9p5z66yvfnnqv6s7fxqmz7w2gkb6j8wl1f24"))))
3473 (properties `((upstream-name . "R.methodsS3")))
3474 (build-system r-build-system)
3475 (home-page "https://cran.r-project.org/web/packages/R.methodsS3")
3476 (synopsis "S3 methods simplified")
3477 (description
3478 "This package provides methods that simplify the setup of S3 generic
3479 functions and S3 methods. Major effort has been made in making definition of
3480 methods as simple as possible with a minimum of maintenance for package
3481 developers. For example, generic functions are created automatically, if
3482 missing, and naming conflict are automatically solved, if possible. The
3483 method @code{setMethodS3()} is a good start for those who in the future may
3484 want to migrate to S4.")
3485 (license license:lgpl2.1+)))
3486
3487 (define-public r-r-oo
3488 (package
3489 (name "r-r-oo")
3490 (version "1.23.0")
3491 (source (origin
3492 (method url-fetch)
3493 (uri (cran-uri "R.oo" version))
3494 (sha256
3495 (base32
3496 "189fb7mmyzwg6nn8rza8iip7fbyws7i2vkmzy672x9mhvgilq4pm"))))
3497 (properties `((upstream-name . "R.oo")))
3498 (build-system r-build-system)
3499 (propagated-inputs
3500 `(("r-r-methodss3" ,r-r-methodss3)))
3501 (home-page "https://github.com/HenrikBengtsson/R.oo")
3502 (synopsis "R object-oriented programming with or without references")
3503 (description
3504 "This package provides methods and classes for object-oriented
3505 programming in R with or without references. Large effort has been made on
3506 making definition of methods as simple as possible with a minimum of
3507 maintenance for package developers.")
3508 (license license:lgpl2.1+)))
3509
3510 (define-public r-r-utils
3511 (package
3512 (name "r-r-utils")
3513 (version "2.9.0")
3514 (source (origin
3515 (method url-fetch)
3516 (uri (cran-uri "R.utils" version))
3517 (sha256
3518 (base32
3519 "1w4zn2db15bggfnh64fbyi2z2sj47rcd4xn53b28dsnkamdcramj"))))
3520 (properties `((upstream-name . "R.utils")))
3521 (build-system r-build-system)
3522 (propagated-inputs
3523 `(("r-r-methodss3" ,r-r-methodss3)
3524 ("r-r-oo" ,r-r-oo)))
3525 (home-page "https://github.com/HenrikBengtsson/R.utils")
3526 (synopsis "Various programming utilities")
3527 (description
3528 "This package provides utility functions useful when programming and
3529 developing R packages.")
3530 (license license:lgpl2.1+)))
3531
3532 (define-public r-r-cache
3533 (package
3534 (name "r-r-cache")
3535 (version "0.13.0")
3536 (source (origin
3537 (method url-fetch)
3538 (uri (cran-uri "R.cache" version))
3539 (sha256
3540 (base32
3541 "1hf5cb7xvnca5zlh9245b5g62sgsaxwdhiv7x59yld37cydakm6k"))))
3542 (properties `((upstream-name . "R.cache")))
3543 (build-system r-build-system)
3544 (propagated-inputs
3545 `(("r-digest" ,r-digest)
3546 ("r-r-methodss3" ,r-r-methodss3)
3547 ("r-r-oo" ,r-r-oo)
3548 ("r-r-utils" ,r-r-utils)))
3549 (home-page "https://github.com/HenrikBengtsson/R.cache")
3550 (synopsis "Light-weight caching of objects and results")
3551 (description
3552 "This package provides methods for caching or memoization of objects and
3553 results. With this package, any R object can be cached in a key-value storage
3554 where the key can be an arbitrary set of R objects. The cache memory is
3555 persistent (on the file system).")
3556 (license license:lgpl2.1+)))
3557
3558 (define-public r-r-rsp
3559 (package
3560 (name "r-r-rsp")
3561 (version "0.43.2")
3562 (source (origin
3563 (method url-fetch)
3564 (uri (cran-uri "R.rsp" version))
3565 (sha256
3566 (base32
3567 "128zqyvbq9hm9gy86jzhj609lkfw57vr24mdxgh46ncmx66ag4gj"))))
3568 (properties `((upstream-name . "R.rsp")))
3569 (build-system r-build-system)
3570 (propagated-inputs
3571 `(("r-digest" ,r-digest)
3572 ("r-r-cache" ,r-r-cache)
3573 ("r-r-methodss3" ,r-r-methodss3)
3574 ("r-r-oo" ,r-r-oo)
3575 ("r-r-utils" ,r-r-utils)))
3576 (home-page "https://github.com/HenrikBengtsson/R.rsp")
3577 (synopsis "Dynamic generation of scientific reports")
3578 (description
3579 "The RSP markup language provides a powerful markup for controlling the
3580 content and output of LaTeX, HTML, Markdown, AsciiDoc, Sweave and knitr
3581 documents (and more), e.g. @code{Today's date is <%=Sys.Date()%>}. Contrary
3582 to many other literate programming languages, with RSP it is straightforward
3583 to loop over mixtures of code and text sections, e.g. in month-by-month
3584 summaries. RSP has also several preprocessing directives for incorporating
3585 static and dynamic contents of external files (local or online) among other
3586 things. RSP is ideal for self-contained scientific reports and R package
3587 vignettes.")
3588 (license license:lgpl2.1+)))
3589
3590 (define-public r-mvtnorm
3591 (package
3592 (name "r-mvtnorm")
3593 (version "1.0-11")
3594 (source (origin
3595 (method url-fetch)
3596 (uri (cran-uri "mvtnorm" version))
3597 (sha256
3598 (base32
3599 "0lkjph661blc1nwfzg9w48a60wvj6ffh4zjwlisvracsx4nn2883"))))
3600 (build-system r-build-system)
3601 (inputs
3602 `(("gfortran" ,gfortran)))
3603 (home-page "http://mvtnorm.R-forge.R-project.org")
3604 (synopsis "Package for multivariate normal and t-distributions")
3605 (description "This package can compute multivariate normal and
3606 t-probabilities, quantiles, random deviates and densities.")
3607 (license license:gpl2)))
3608
3609 (define-public r-matrixstats
3610 (package
3611 (name "r-matrixstats")
3612 (version "0.55.0")
3613 (source (origin
3614 (method url-fetch)
3615 (uri (cran-uri "matrixStats" version))
3616 (sha256
3617 (base32
3618 "06fvx0rlaz80k0lkqq2n7v0309xpz7h7ss0m9kgyikp4xs8bvmhn"))))
3619 (properties `((upstream-name . "matrixStats")))
3620 (build-system r-build-system)
3621 (native-inputs
3622 `(("r-r-rsp" ,r-r-rsp))) ;used to build vignettes
3623 (home-page "https://github.com/HenrikBengtsson/matrixStats")
3624 (synopsis "Methods applying to vectors and matrix rows and columns")
3625 (description
3626 "This package provides methods operating on rows and columns of matrices,
3627 e.g. @code{rowMedians()}, @code{rowRanks()}, and @code{rowSds()}. There are
3628 also some vector-based methods, e.g. @code{binMeans()}, @code{madDiff()} and
3629 @code{weightedMedians()}. All methods have been optimized for speed and
3630 memory usage.")
3631 (license license:artistic2.0)))
3632
3633 (define-public r-viridis
3634 (package
3635 (name "r-viridis")
3636 (version "0.5.1")
3637 (source (origin
3638 (method url-fetch)
3639 (uri (cran-uri "viridis" version))
3640 (sha256
3641 (base32
3642 "060rf1jn29dq53y3nhb0hykvcap6rqsk04rq544ypiiqb18ngwnx"))))
3643 (build-system r-build-system)
3644 (propagated-inputs
3645 `(("r-ggplot2" ,r-ggplot2)
3646 ("r-gridextra" ,r-gridextra)
3647 ("r-viridislite" ,r-viridislite)))
3648 (home-page "https://github.com/sjmgarnier/viridis")
3649 (synopsis "Matplotlib default color map")
3650 (description
3651 "This package is a port of the new @url{matplotlib,
3652 http://matplotlib.org/} color maps (@code{viridis}--the default--,
3653 @code{magma}, @code{plasma}, and @code{inferno}) to R. These color maps are
3654 designed in such a way that they will analytically be perfectly
3655 perceptually-uniform, both in regular form and also when converted to
3656 black-and-white. They are also designed to be perceived by readers with the
3657 most common form of color blindness.")
3658 (license license:x11)))
3659
3660 (define-public r-viridislite
3661 (package
3662 (name "r-viridislite")
3663 (version "0.3.0")
3664 (source
3665 (origin
3666 (method url-fetch)
3667 (uri (cran-uri "viridisLite" version))
3668 (sha256
3669 (base32
3670 "1by2l05f0yabwvv64lhnv7bbhx0w683s3wr9j2xda920ghpa23kq"))))
3671 (properties `((upstream-name . "viridisLite")))
3672 (build-system r-build-system)
3673 (home-page "https://github.com/sjmgarnier/viridisLite")
3674 (synopsis "Default color maps from matplotlib")
3675 (description
3676 "This package is a port of the new @code{matplotlib} color maps
3677 (@code{viridis}, @code{magma}, @code{plasma} and @code{inferno}) to R.
3678 matplotlib is a popular plotting library for Python. These color maps are
3679 designed in such a way that they will analytically be perfectly
3680 perceptually-uniform, both in regular form and also when converted to
3681 black-and-white. They are also designed to be perceived by readers with the
3682 most common form of color blindness. This is the @code{lite} version of the
3683 more complete @code{viridis} package.")
3684 (license license:expat)))
3685
3686 (define-public r-tidyselect
3687 (package
3688 (name "r-tidyselect")
3689 (version "0.2.5")
3690 (source
3691 (origin
3692 (method url-fetch)
3693 (uri (cran-uri "tidyselect" version))
3694 (sha256
3695 (base32
3696 "0x3cp36byhfjajikr1lwffjm85ayw3bcs7d7kb0cydgs61ifiqjw"))))
3697 (build-system r-build-system)
3698 (propagated-inputs
3699 `(("r-glue" ,r-glue)
3700 ("r-purrr" ,r-purrr)
3701 ("r-rcpp" ,r-rcpp)
3702 ("r-rlang" ,r-rlang)))
3703 (home-page "https://cran.r-project.org/web/packages/tidyselect")
3704 (synopsis "Select from a set of strings")
3705 (description
3706 "This package provides a backend for the selecting functions of the
3707 tidyverse. It makes it easy to implement select-like functions in your own
3708 packages in a way that is consistent with other tidyverse interfaces for
3709 selection.")
3710 (license license:gpl3)))
3711
3712 (define-public r-tidyr
3713 (package
3714 (name "r-tidyr")
3715 (version "1.0.0")
3716 (source
3717 (origin
3718 (method url-fetch)
3719 (uri (cran-uri "tidyr" version))
3720 (sha256
3721 (base32
3722 "1403j0xd93l0r7qj738ryd5zc79hbcghrzybib3c3hrnaq5s78cj"))))
3723 (build-system r-build-system)
3724 (propagated-inputs
3725 `(("r-dplyr" ,r-dplyr)
3726 ("r-ellipsis" ,r-ellipsis)
3727 ("r-magrittr" ,r-magrittr)
3728 ("r-glue" ,r-glue)
3729 ("r-lifecycle" ,r-lifecycle)
3730 ("r-purrr" ,r-purrr)
3731 ("r-rlang" ,r-rlang)
3732 ("r-tidyselect" ,r-tidyselect)
3733 ("r-rcpp" ,r-rcpp)
3734 ("r-stringi" ,r-stringi)
3735 ("r-tibble" ,r-tibble)
3736 ("r-vctrs" ,r-vctrs)))
3737 (home-page "https://github.com/hadley/tidyr")
3738 (synopsis "Tidy data with `spread()` and `gather()` functions")
3739 (description
3740 "tidyr is a reframing of the reshape2 package designed to accompany the
3741 tidy data framework, and to work hand-in-hand with magrittr and dplyr to build
3742 a solid pipeline for data analysis. It is designed specifically for tidying
3743 data, not the general reshaping that reshape2 does, or the general aggregation
3744 that reshape did. In particular, built-in methods only work for data frames,
3745 and tidyr provides no margins or aggregation.")
3746 (license license:expat)))
3747
3748 (define-public r-hexbin
3749 (package
3750 (name "r-hexbin")
3751 (version "1.28.0")
3752 (source
3753 (origin
3754 (method url-fetch)
3755 (uri (cran-uri "hexbin" version))
3756 (sha256
3757 (base32
3758 "0b58jb1kz39wzrnkv077cfzns889xly7psvhxnm3xmnx6yvd986d"))))
3759 (build-system r-build-system)
3760 (propagated-inputs
3761 `(("r-lattice" ,r-lattice)))
3762 (native-inputs
3763 `(("gfortran" ,gfortran)))
3764 (home-page "https://github.com/edzer/hexbin")
3765 (synopsis "Hexagonal binning routines")
3766 (description
3767 "This package provides binning and plotting functions for hexagonal bins.
3768 It uses and relies on grid graphics and formal (S4) classes and methods.")
3769 (license license:gpl2+)))
3770
3771 (define-public r-purrr
3772 (package
3773 (name "r-purrr")
3774 (version "0.3.3")
3775 (source
3776 (origin
3777 (method url-fetch)
3778 (uri (cran-uri "purrr" version))
3779 (sha256
3780 (base32
3781 "17lyys7dxjrwsfkq7a7hw65iy3qn3pp1sn70srdy64jf8adahc8g"))))
3782 (build-system r-build-system)
3783 (propagated-inputs
3784 `(("r-magrittr" ,r-magrittr)
3785 ("r-rlang" ,r-rlang)))
3786 (home-page "https://github.com/hadley/purrr")
3787 (synopsis "Functional programming tools")
3788 (description
3789 "This package completes R's functional programming tools with missing
3790 features present in other programming languages.")
3791 (license license:gpl3+)))
3792
3793 (define-public r-plotly
3794 (package
3795 (name "r-plotly")
3796 (version "4.9.1")
3797 (source (origin
3798 (method url-fetch)
3799 (uri (cran-uri "plotly" version))
3800 (sha256
3801 (base32
3802 "0gadam4qw81q9gpjp7sqrpd7ikmcdsc78d8vjn39g0xzs5j8r845"))))
3803 (build-system r-build-system)
3804 (propagated-inputs
3805 `(("r-base64enc" ,r-base64enc)
3806 ("r-crosstalk" ,r-crosstalk)
3807 ("r-digest" ,r-digest)
3808 ("r-data-table" ,r-data-table)
3809 ("r-dplyr" ,r-dplyr)
3810 ("r-ggplot2" ,r-ggplot2)
3811 ("r-hexbin" ,r-hexbin)
3812 ("r-htmltools" ,r-htmltools)
3813 ("r-htmlwidgets" ,r-htmlwidgets)
3814 ("r-httr" ,r-httr)
3815 ("r-jsonlite" ,r-jsonlite)
3816 ("r-lazyeval" ,r-lazyeval)
3817 ("r-magrittr" ,r-magrittr)
3818 ("r-promises" ,r-promises)
3819 ("r-purrr" ,r-purrr)
3820 ("r-rcolorbrewer" ,r-rcolorbrewer)
3821 ("r-rlang" ,r-rlang)
3822 ("r-scales" ,r-scales)
3823 ("r-tibble" ,r-tibble)
3824 ("r-tidyr" ,r-tidyr)
3825 ("r-viridislite" ,r-viridislite)))
3826 (home-page "https://plot.ly/r")
3827 (synopsis "Create interactive web graphics")
3828 (description
3829 "This package enables the translation of ggplot2 graphs to an interactive
3830 web-based version and/or the creation of custom web-based visualizations
3831 directly from R. Once uploaded to a plotly account, plotly graphs (and the
3832 data behind them) can be viewed and modified in a web browser.")
3833 (license license:x11)))
3834
3835 (define-public r-biased-urn
3836 (package
3837 (name "r-biased-urn")
3838 (version "1.07")
3839 (source
3840 (origin
3841 (method url-fetch)
3842 (uri (cran-uri "BiasedUrn" version))
3843 (sha256
3844 (base32
3845 "13i2lgfnjhlbbm2yxfc2l5hswqw6x03pwba5csjmirv8kpjw4xr3"))))
3846 (properties `((upstream-name . "BiasedUrn")))
3847 (build-system r-build-system)
3848 (home-page "http://www.agner.org/random/")
3849 (synopsis "Biased urn model distributions")
3850 (description
3851 "This package provides statistical models of biased sampling in the form
3852 of univariate and multivariate noncentral hypergeometric distributions,
3853 including Wallenius' noncentral hypergeometric distribution and Fisher's
3854 noncentral hypergeometric distribution (also called extended hypergeometric
3855 distribution).")
3856 (license license:gpl3+)))
3857
3858 (define-public r-rematch
3859 (package
3860 (name "r-rematch")
3861 (version "1.0.1")
3862 (source
3863 (origin
3864 (method url-fetch)
3865 (uri (cran-uri "rematch" version))
3866 (sha256
3867 (base32
3868 "0y3mshvpvz9csmq8hk8jbabx4nxlv5sckvfzvm6920ndg34xw2d4"))))
3869 (build-system r-build-system)
3870 (home-page "https://github.com/MangoTheCat/rematch")
3871 (synopsis "Match regular expressions with a nicer API")
3872 (description
3873 "This package provides a small wrapper on @code{regexpr} to extract the
3874 matches and captured groups from the match of a regular expression to a
3875 character vector.")
3876 (license license:expat)))
3877
3878 (define-public r-cellranger
3879 (package
3880 (name "r-cellranger")
3881 (version "1.1.0")
3882 (source
3883 (origin
3884 (method url-fetch)
3885 (uri (cran-uri "cellranger" version))
3886 (sha256
3887 (base32
3888 "16fgi3annn34c3cxi0pxf62mmmmxi21hp0zzlv7bkfsjqy4g4f2x"))))
3889 (build-system r-build-system)
3890 (propagated-inputs
3891 `(("r-rematch" ,r-rematch)
3892 ("r-tibble" ,r-tibble)))
3893 (home-page "https://github.com/rsheets/cellranger")
3894 (synopsis "Translate spreadsheet cell ranges to rows and columns")
3895 (description
3896 "This package provides helper functions to work with spreadsheets and the
3897 @code{A1:D10} style of cell range specification.")
3898 (license license:expat)))
3899
3900 (define-public r-googlesheets
3901 (package
3902 (name "r-googlesheets")
3903 (version "0.3.0")
3904 (source
3905 (origin
3906 (method url-fetch)
3907 (uri (cran-uri "googlesheets" version))
3908 (sha256
3909 (base32
3910 "11q07nxys72wkxx9mawmjyf20gvwvrb7h3gpa73h6lgh2vgrwnv8"))))
3911 (build-system r-build-system)
3912 (propagated-inputs
3913 `(("r-cellranger" ,r-cellranger)
3914 ("r-dplyr" ,r-dplyr)
3915 ("r-httr" ,r-httr)
3916 ("r-jsonlite" ,r-jsonlite)
3917 ("r-purrr" ,r-purrr)
3918 ("r-readr" ,r-readr)
3919 ("r-stringr" ,r-stringr)
3920 ("r-tibble" ,r-tibble)
3921 ("r-tidyr" ,r-tidyr)
3922 ("r-xml2" ,r-xml2)))
3923 (home-page "https://github.com/jennybc/googlesheets")
3924 (synopsis "Manage Google spreadsheets from R")
3925 (description "This package provides tools to interact with Google Sheets
3926 from within R.")
3927 (license license:expat)))
3928
3929 (define-public r-spams
3930 (package
3931 (name "r-spams")
3932 (version "2.6-2017-03-22")
3933 (source
3934 (origin
3935 (method url-fetch)
3936 ;; Use the ‘Latest version’ link for a stable URI across releases.
3937 (uri (string-append "https://gforge.inria.fr/frs/download.php/"
3938 "latestfile/4531/spams-R-v" version ".tar.gz"))
3939 (sha256
3940 (base32
3941 "13z2293jixf1r9g8dyy856xrhvpjr2ln2n9smn6644126r9hmhkx"))))
3942 (build-system r-build-system)
3943 (arguments
3944 `(#:phases
3945 (modify-phases %standard-phases
3946 (add-after 'unpack 'chdir
3947 (lambda _ (chdir "spams") #t))
3948 ;; Don't tune for the building machine.
3949 (add-after 'chdir 'no-mtune
3950 (lambda _
3951 (substitute* "src/Makevars"
3952 (("-mtune=native") ""))
3953 #t)))))
3954 (propagated-inputs
3955 `(("r-lattice" ,r-lattice)
3956 ("r-matrix" ,r-matrix)))
3957 (home-page "http://spams-devel.gforge.inria.fr")
3958 (synopsis "Toolbox for solving sparse estimation problems")
3959 (description "SPAMS (SPArse Modeling Software) is an optimization toolbox
3960 for solving various sparse estimation problems. It includes tools for the
3961 following problems:
3962
3963 @enumerate
3964 @item Dictionary learning and matrix factorization (NMF, sparse @dfn{principle
3965 component analysis} (PCA), ...)
3966 @item Solving sparse decomposition problems with LARS, coordinate descent,
3967 OMP, SOMP, proximal methods
3968 @item Solving structured sparse decomposition problems (l1/l2, l1/linf, sparse
3969 group lasso, tree-structured regularization, structured sparsity with
3970 overlapping groups,...).
3971 @end enumerate\n")
3972 (license license:gpl3+)))
3973
3974 (define-public r-base64
3975 (package
3976 (name "r-base64")
3977 (version "2.0")
3978 (source
3979 (origin
3980 (method url-fetch)
3981 (uri (cran-uri "base64" version))
3982 (sha256
3983 (base32
3984 "1labh0ycdm2xcjssj8bhnyjvbk44mcdsi0rb2p8rfqa428mrq9cf"))))
3985 (build-system r-build-system)
3986 (propagated-inputs
3987 `(("r-openssl" ,r-openssl)))
3988 (home-page "https://cran.r-project.org/web/packages/base64")
3989 (synopsis "Base64 encoder and decoder")
3990 (description
3991 "This package is a compatibility wrapper to replace the orphaned package
3992 by Romain Francois. New applications should use the openssl or base64enc
3993 package instead.")
3994 (license license:expat)))
3995
3996 (define-public r-hmisc
3997 (package
3998 (name "r-hmisc")
3999 (version "4.3-0")
4000 (source
4001 (origin
4002 (method url-fetch)
4003 (uri (cran-uri "Hmisc" version))
4004 (sha256
4005 (base32 "0rb1m6138lqzb46nss9ggvhghipd10vdnwsy6iq2wzynrynzkwkz"))))
4006 (properties `((upstream-name . "Hmisc")))
4007 (build-system r-build-system)
4008 (native-inputs
4009 `(("gfortran" ,gfortran)))
4010 (propagated-inputs
4011 `(("r-acepack" ,r-acepack)
4012 ("r-base64enc" ,r-base64enc)
4013 ("r-cluster" ,r-cluster)
4014 ("r-data-table" ,r-data-table)
4015 ("r-foreign" ,r-foreign)
4016 ("r-formula" ,r-formula)
4017 ("r-ggplot2" ,r-ggplot2)
4018 ("r-gridextra" ,r-gridextra)
4019 ("r-gtable" ,r-gtable)
4020 ("r-lattice" ,r-lattice)
4021 ("r-latticeextra" ,r-latticeextra)
4022 ("r-htmltable" ,r-htmltable)
4023 ("r-htmltools" ,r-htmltools)
4024 ("r-nnet" ,r-nnet)
4025 ("r-rpart" ,r-rpart)
4026 ("r-survival" ,r-survival)
4027 ("r-viridis" ,r-viridis)))
4028 (home-page "http://biostat.mc.vanderbilt.edu/Hmisc")
4029 (synopsis "Miscellaneous data analysis and graphics functions")
4030 (description
4031 "This package contains many functions useful for data analysis,
4032 high-level graphics, utility operations, functions for computing sample size
4033 and power, importing and annotating datasets, imputing missing values,
4034 advanced table making, variable clustering, character string manipulation,
4035 conversion of R objects to LaTeX code, and recoding variables.")
4036 (license license:gpl2+)))
4037
4038 (define-public r-runit
4039 (package
4040 (name "r-runit")
4041 (version "0.4.32")
4042 (source
4043 (origin
4044 (method url-fetch)
4045 (uri (cran-uri "RUnit" version))
4046 (sha256
4047 (base32
4048 "1wc1gwb7yw7phf8b0gkig6c23klya3ax11c6i4s0f049k42r78r3"))))
4049 (properties `((upstream-name . "RUnit")))
4050 (build-system r-build-system)
4051 (home-page "https://cran.r-project.org/web/packages/RUnit")
4052 (synopsis "R unit test framework")
4053 (description
4054 "This package provides R functions implementing a standard unit testing
4055 framework, with additional code inspection and report generation tools.")
4056 (license license:gpl2+)))
4057
4058 (define-public r-dynamictreecut
4059 (package
4060 (name "r-dynamictreecut")
4061 (version "1.63-1")
4062 (source
4063 (origin
4064 (method url-fetch)
4065 (uri (cran-uri "dynamicTreeCut" version))
4066 (sha256
4067 (base32
4068 "1fadbql7g5r2vvlkr89nlrjxwp4yx4xrdqmv077qvmnx9vv0f4w3"))))
4069 (properties `((upstream-name . "dynamicTreeCut")))
4070 (build-system r-build-system)
4071 (home-page
4072 "http://www.genetics.ucla.edu/labs/horvath/CoexpressionNetwork/BranchCutting/")
4073 (synopsis "Detect clusters in hierarchical clustering dendrograms")
4074 (description
4075 "This package contains methods for the detection of clusters in
4076 hierarchical clustering dendrograms.")
4077 (license license:gpl2+)))
4078
4079 (define-public r-preprocesscore
4080 (package
4081 (name "r-preprocesscore")
4082 (version "1.46.0")
4083 (source
4084 (origin
4085 (method url-fetch)
4086 (uri (bioconductor-uri "preprocessCore" version))
4087 (sha256
4088 (base32
4089 "0iiyn42hlvmc5vabg5x15mls11124i23sh4qijwk0narh438cqm0"))))
4090 (properties
4091 `((upstream-name . "preprocessCore")))
4092 (build-system r-build-system)
4093 (home-page "https://github.com/bmbolstad/preprocessCore")
4094 (synopsis "Collection of pre-processing functions")
4095 (description
4096 "This package provides a library of core pre-processing and normalization
4097 routines.")
4098 (license license:lgpl2.0+)))
4099
4100 (define-public r-fastcluster
4101 (package
4102 (name "r-fastcluster")
4103 (version "1.1.25")
4104 (source
4105 (origin
4106 (method url-fetch)
4107 (uri (cran-uri "fastcluster" version))
4108 (sha256
4109 (base32
4110 "01a2xnhhvv1swd4g8p4lzyn7ww7kg49jlnzc7kfz60jqjzpisrpk"))))
4111 (build-system r-build-system)
4112 (home-page "http://danifold.net/fastcluster.html")
4113 (synopsis "Fast hierarchical clustering routines")
4114 (description
4115 "This package implements fast hierarchical, agglomerative clustering
4116 routines. Part of the functionality is designed as drop-in replacement for
4117 existing routines: @code{linkage()} in the SciPy package
4118 @code{scipy.cluster.hierarchy}, @code{hclust()} in R's @code{stats} package,
4119 and the @code{flashClust} package. It provides the same functionality with
4120 the benefit of a much faster implementation. Moreover, there are
4121 memory-saving routines for clustering of vector data, which go beyond what the
4122 existing packages provide.")
4123 (license license:bsd-2)))
4124
4125 (define-public r-sfsmisc
4126 (package
4127 (name "r-sfsmisc")
4128 (version "1.1-4")
4129 (source
4130 (origin
4131 (method url-fetch)
4132 (uri (cran-uri "sfsmisc" version))
4133 (sha256
4134 (base32
4135 "0zaw617zarmwir8l60riky0z6r1j3mwfnm1f32vqcbljb74akdj4"))))
4136 (build-system r-build-system)
4137 (home-page "https://cran.r-project.org/web/packages/sfsmisc")
4138 (synopsis "Utilities from \"Seminar fuer Statistik\" ETH Zurich")
4139 (description
4140 "This package provides useful utilities from Seminar fuer Statistik ETH
4141 Zurich, including many that are related to graphics.")
4142 (license license:gpl2+)))
4143
4144 (define-public r-gtools
4145 (package
4146 (name "r-gtools")
4147 (version "3.8.1")
4148 (source
4149 (origin
4150 (method url-fetch)
4151 (uri (cran-uri "gtools" version))
4152 (sha256
4153 (base32
4154 "0f5syk1qq6cjq6hwymvkiyhzwa389z94722v881ipbfqkd2q8505"))))
4155 (build-system r-build-system)
4156 (arguments
4157 `(#:phases
4158 (modify-phases %standard-phases
4159 (add-after 'unpack 'make-deterministic
4160 (lambda _
4161 (substitute* "R/checkReverseDependencies.R"
4162 (("tempdir\\(\\)") "\"/tmp\""))
4163 #t)))))
4164 (home-page "https://cran.r-project.org/web/packages/gtools")
4165 (synopsis "Various R programming tools")
4166 (description
4167 "This package contains a collection of various functions to assist in R
4168 programming, such as tools to assist in developing, updating, and maintaining
4169 R and R packages, calculating the logit and inverse logit transformations,
4170 tests for whether a value is missing, empty or contains only @code{NA} and
4171 @code{NULL} values, and many more.")
4172 (license license:gpl2)))
4173
4174 (define-public r-gdata
4175 (package
4176 (name "r-gdata")
4177 (version "2.18.0")
4178 (source
4179 (origin
4180 (method url-fetch)
4181 (uri (cran-uri "gdata" version))
4182 (sha256
4183 (base32
4184 "0zwdj7lscgxr8r62ii8hbdh4mb7sa9w4f5nv32zzrxdvymcpya2b"))))
4185 (build-system r-build-system)
4186 (inputs
4187 `(("perl" ,perl)))
4188 (propagated-inputs
4189 `(("r-gtools" ,r-gtools)))
4190 (home-page "https://cran.r-project.org/web/packages/gdata")
4191 (synopsis "Various R programming tools for data manipulation")
4192 (description
4193 "This package provides various R programming tools for data manipulation,
4194 including:
4195
4196 @itemize
4197 @item medical unit conversions
4198 @item combining objects
4199 @item character vector operations
4200 @item factor manipulation
4201 @item obtaining information about R objects
4202 @item manipulating MS-Excel formatted files
4203 @item generating fixed-width format files
4204 @item extricating components of date and time objects
4205 @item operations on columns of data frames
4206 @item matrix operations
4207 @item operations on vectors and data frames
4208 @item value of last evaluated expression
4209 @item wrapper for @code{sample} that ensures consistent behavior for
4210 both scalar and vector arguments
4211 @end itemize\n")
4212 (license license:gpl2+)))
4213
4214 (define-public r-gplots
4215 (package
4216 (name "r-gplots")
4217 (version "3.0.1.1")
4218 (source
4219 (origin
4220 (method url-fetch)
4221 (uri (cran-uri "gplots" version))
4222 (sha256
4223 (base32
4224 "033plcfs9w8pmn84n24mdhiixdirc2a7pz6dvm61fpd20gwh7cbx"))))
4225 (build-system r-build-system)
4226 (propagated-inputs
4227 `(("r-catools" ,r-catools)
4228 ("r-gdata" ,r-gdata)
4229 ("r-gtools" ,r-gtools)
4230 ("r-kernsmooth" ,r-kernsmooth)))
4231 (home-page "https://cran.r-project.org/web/packages/gplots")
4232 (synopsis "Various R programming tools for plotting data")
4233 (description
4234 "This package provides various R programming tools for plotting data,
4235 including:
4236
4237 @itemize
4238 @item calculating and plotting locally smoothed summary function
4239 @item enhanced versions of standard plots
4240 @item manipulating colors
4241 @item calculating and plotting two-dimensional data summaries
4242 @item enhanced regression diagnostic plots
4243 @item formula-enabled interface to @code{stats::lowess} function
4244 @item displaying textual data in plots
4245 @item balloon plots
4246 @item plotting \"Venn\" diagrams
4247 @item displaying Open-Office style plots
4248 @item plotting multiple data on same region, with separate axes
4249 @item plotting means and confidence intervals
4250 @item spacing points in an x-y plot so they don't overlap
4251 @end itemize\n")
4252 (license license:gpl2+)))
4253
4254 (define-public r-rocr
4255 (package
4256 (name "r-rocr")
4257 (version "1.0-7")
4258 (source
4259 (origin
4260 (method url-fetch)
4261 (uri (cran-uri "ROCR" version))
4262 (sha256
4263 (base32
4264 "1jay8cm7lgq56i967vm5c2hgaxqkphfpip0gn941li3yhh7p3vz7"))))
4265 (properties `((upstream-name . "ROCR")))
4266 (build-system r-build-system)
4267 (propagated-inputs
4268 `(("r-gplots" ,r-gplots)))
4269 (home-page "http://rocr.bioinf.mpi-sb.mpg.de/")
4270 (synopsis "Visualizing the performance of scoring classifiers")
4271 (description
4272 "ROCR is a flexible tool for creating cutoff-parameterized 2D performance
4273 curves by freely combining two from over 25 performance measures (new
4274 performance measures can be added using a standard interface). Curves from
4275 different cross-validation or bootstrapping runs can be averaged by different
4276 methods, and standard deviations, standard errors or box plots can be used to
4277 visualize the variability across the runs. The parameterization can be
4278 visualized by printing cutoff values at the corresponding curve positions, or
4279 by coloring the curve according to cutoff. All components of a performance
4280 plot can be quickly adjusted using a flexible parameter dispatching
4281 mechanism.")
4282 (license license:gpl2+)))
4283
4284 (define-public r-zoo
4285 (package
4286 (name "r-zoo")
4287 (version "1.8-6")
4288 (source (origin
4289 (method url-fetch)
4290 (uri (cran-uri "zoo" version))
4291 (sha256
4292 (base32
4293 "1k1pmzr9nfwbxq1xf0jzn3nawv4sgnkxkgzxnm1i887jcbrs85r2"))))
4294 (build-system r-build-system)
4295 (propagated-inputs
4296 `(("r-lattice" ,r-lattice)))
4297 (home-page "http://zoo.R-Forge.R-project.org/")
4298 (synopsis "S3 infrastructure for regular and irregular time series")
4299 (description "This package contains an S3 class with methods for totally
4300 ordered indexed observations. It is particularly aimed at irregular time
4301 series of numeric vectors/matrices and factors.")
4302 (license license:gpl2+)))
4303
4304 (define-public r-ztable
4305 (package
4306 (name "r-ztable")
4307 (version "0.2.0")
4308 (source (origin
4309 (method url-fetch)
4310 (uri (cran-uri "ztable" version))
4311 (sha256
4312 (base32
4313 "0g7khk5ifsdh9p31wlwh2l5mn1hzxzpv6qcn1wh34vsfjdmijjwy"))))
4314 (build-system r-build-system)
4315 (propagated-inputs
4316 `(("r-flextable" ,r-flextable)
4317 ("r-magrittr" ,r-magrittr)
4318 ("r-moonbook" ,r-moonbook)
4319 ("r-officer" ,r-officer)
4320 ("r-rcolorbrewer" ,r-rcolorbrewer)
4321 ("r-scales" ,r-scales)
4322 ("r-stringr" ,r-stringr)))
4323 (home-page "https://cran.r-project.org/web/packages/ztable")
4324 (synopsis "Zebra-striped tables in LaTeX and HTML formats for R")
4325 (description
4326 "This package provides functions to make zebra-striped tables (tables
4327 with alternating row colors) in LaTeX and HTML formats easily from
4328 @code{data.frame}, @code{matrix}, @code{lm}, @code{aov}, @code{anova},
4329 @code{glm}, @code{coxph}, @code{nls}, @code{fitdistr}, @code{mytable} and
4330 @code{cbind.mytable} objects.")
4331 (license license:gpl2+)))
4332
4333 (define-public r-vipor
4334 (package
4335 (name "r-vipor")
4336 (version "0.4.5")
4337 (source (origin
4338 (method url-fetch)
4339 (uri (cran-uri "vipor" version))
4340 (sha256
4341 (base32
4342 "112gc0d7f8iavgf56pnzfxb7hy75yhd0zlyjzshdcfbnqcd2a6bx"))))
4343 (build-system r-build-system)
4344 (home-page "https://cran.r-project.org/web/packages/vipor")
4345 (synopsis "Plot categorical data using noise and density estimates")
4346 (description
4347 "This package provides tools to generate a violin point plot, a
4348 combination of a violin/histogram plot and a scatter plot by offsetting points
4349 within a category based on their density using quasirandom noise.")
4350 (license license:gpl2+)))
4351
4352 (define-public r-beeswarm
4353 (package
4354 (name "r-beeswarm")
4355 (version "0.2.3")
4356 (source (origin
4357 (method url-fetch)
4358 (uri (cran-uri "beeswarm" version))
4359 (sha256
4360 (base32
4361 "0hy89bwv7jixlg91li1fywa77916am2whqp1m1fx1khd45g44581"))))
4362 (build-system r-build-system)
4363 (home-page "http://www.cbs.dtu.dk/~eklund/beeswarm/")
4364 (synopsis "Implementation of bee swarm plots")
4365 (description
4366 "This package provides an implementation of bee swarm plots. The bee
4367 swarm plot is a one-dimensional scatter plot like stripchart, but with
4368 closely-packed, non-overlapping points.")
4369 (license license:artistic2.0)))
4370
4371 (define-public r-sourcetools
4372 (package
4373 (name "r-sourcetools")
4374 (version "0.1.7")
4375 (source
4376 (origin
4377 (method url-fetch)
4378 (uri (cran-uri "sourcetools" version))
4379 (sha256
4380 (base32
4381 "1jnjir0q2dj724f1mjm6p5h77yzyx6xcqy9r2g7gmcxkxw349627"))))
4382 (build-system r-build-system)
4383 (home-page "https://cran.r-project.org/web/packages/sourcetools")
4384 (synopsis "Tools for reading, tokenizing and parsing R code")
4385 (description
4386 "The sourcetools package provides both an R and C++ interface for the
4387 tokenization of R code, and helpers for interacting with the tokenized
4388 representation of R code.")
4389 (license license:expat)))
4390
4391 (define-public r-ggbeeswarm
4392 (package
4393 (name "r-ggbeeswarm")
4394 (version "0.6.0")
4395 (source (origin
4396 (method url-fetch)
4397 (uri (cran-uri "ggbeeswarm" version))
4398 (sha256
4399 (base32
4400 "0crk29p5vi1r3a988kms4y7r0iqwgwzsikgvh18r9wbzyr98bb5v"))))
4401 (build-system r-build-system)
4402 (propagated-inputs
4403 `(("r-beeswarm" ,r-beeswarm)
4404 ("r-ggplot2" ,r-ggplot2)
4405 ("r-vipor" ,r-vipor)))
4406 (home-page "https://github.com/eclarke/ggbeeswarm")
4407 (synopsis "Categorical scatter (violin point) plots")
4408 (description
4409 "This package provides two methods of plotting categorical scatter plots
4410 such that the arrangement of points within a category reflects the density of
4411 data at that region, and avoids over-plotting.")
4412 (license license:gpl2+)))
4413
4414 (define-public r-ggthemes
4415 (package
4416 (name "r-ggthemes")
4417 (version "4.2.0")
4418 (source (origin
4419 (method url-fetch)
4420 (uri (cran-uri "ggthemes" version))
4421 (sha256
4422 (base32
4423 "0rrkzfggc1nlda1w1lbqdycx6nawxbkac1szhvkwrqlzh6agxcsv"))))
4424 (build-system r-build-system)
4425 (propagated-inputs
4426 `(("r-ggplot2" ,r-ggplot2)
4427 ("r-purrr" ,r-purrr)
4428 ("r-scales" ,r-scales)
4429 ("r-stringr" ,r-stringr)
4430 ("r-tibble" ,r-tibble)))
4431 (home-page "https://cran.rstudio.com/web/packages/ggthemes")
4432 (synopsis "Extra themes, scales and geoms for @code{ggplot2}")
4433 (description "This package provides extra themes and scales for
4434 @code{ggplot2} that replicate the look of plots by Edward Tufte and
4435 Stephen Few in Fivethirtyeight, The Economist, Stata, Excel, and The
4436 Wall Street Journal, among others. This package also provides
4437 @code{geoms} for Tufte's box plot and range frame.")
4438 (license license:gpl2)))
4439
4440 (define-public r-statmod
4441 (package
4442 (name "r-statmod")
4443 (version "1.4.32")
4444 (source (origin
4445 (method url-fetch)
4446 (uri (cran-uri "statmod" version))
4447 (sha256
4448 (base32
4449 "083yyp84xj85zg4bhz7i90bqzl3p6155ch4abwsfc9k1lv7s2rrg"))))
4450 (build-system r-build-system)
4451 (home-page "https://cran.r-project.org/web/packages/statmod")
4452 (native-inputs
4453 `(("gfortran" ,gfortran)))
4454 (synopsis "Statistical modeling")
4455 (description
4456 "This package provides a collection of algorithms and functions to aid
4457 statistical modeling. It includes growth curve comparisons, limiting dilution
4458 analysis (aka ELDA), mixed linear models, heteroscedastic regression,
4459 inverse-Gaussian probability calculations, Gauss quadrature and a secure
4460 convergence algorithm for nonlinear models. It also includes advanced
4461 generalized linear model functions that implement secure convergence,
4462 dispersion modeling and Tweedie power-law families.")
4463 ;; Statmod is distributed under either license
4464 (license (list license:gpl2 license:gpl3))))
4465
4466 (define-public r-rann
4467 (package
4468 (name "r-rann")
4469 (version "2.6.1")
4470 (source (origin
4471 (method url-fetch)
4472 (uri (cran-uri "RANN" version))
4473 (sha256
4474 (base32
4475 "10kid40w9w7vkz2hpcfkdpxr4afxzms5dzvfwr0sl5xynzgw76dj"))))
4476 (properties
4477 `((upstream-name . "RANN")))
4478 (build-system r-build-system)
4479 (home-page "https://github.com/jefferis/RANN")
4480 (synopsis "Fast nearest neighbour search")
4481 (description
4482 "This package finds the k nearest neighbours for every point in a given
4483 dataset in O(N log N) time using Arya and Mount's ANN library. Provides
4484 approximate, exact searches, fixed radius searches, bd and kb trees.")
4485 (license license:gpl3+)))
4486
4487 (define-public r-fivethirtyeight
4488 (package
4489 (name "r-fivethirtyeight")
4490 (version "0.1.0")
4491 (source
4492 (origin
4493 (method url-fetch)
4494 (uri (string-append "https://mran.microsoft.com/src/contrib/"
4495 "fivethirtyeight_" version ".tar.gz"))
4496 (sha256
4497 (base32
4498 "0fcc8rq745nsghp27dk0lgih90y4zx8hrzcvsn6ih786yv7qxhvl"))))
4499 (build-system r-build-system)
4500 (propagated-inputs
4501 `(("r-knitr" ,r-knitr)
4502 ("r-rmarkdown" ,r-rmarkdown)
4503 ("r-dplyr" ,r-dplyr)
4504 ("r-readr" ,r-readr)
4505 ("r-ggplot2" ,r-ggplot2)
4506 ("r-magrittr" ,r-magrittr)
4507 ("r-stringr" ,r-stringr)))
4508 (home-page "https://mran.microsoft.com/package/fivethirtyeight/")
4509 (synopsis "Data and code behind the stories at FiveThirtyEight")
4510 (description "This R package provides access to the code and data sets
4511 published by the statistics blog FiveThirtyEight.")
4512 (license license:expat)))
4513
4514 (define-public r-compquadform
4515 (package
4516 (name "r-compquadform")
4517 (version "1.4.3")
4518 (source
4519 (origin
4520 (method url-fetch)
4521 (uri (cran-uri "CompQuadForm" version))
4522 (sha256
4523 (base32
4524 "1i30hrqdk64q17vsn918c3q79brchgx2wzh1gbsgbn0dh1ncabq4"))))
4525 (properties `((upstream-name . "CompQuadForm")))
4526 (build-system r-build-system)
4527 (home-page "https://cran.r-project.org/web/packages/CompQuadForm")
4528 (synopsis "Distribution function of quadratic forms in normal variables")
4529 (description
4530 "This package provides functions to compute the distribution function of
4531 quadratic forms in normal variables using Imhof's method, Davies's algorithm,
4532 Farebrother's algorithm or Liu et al.'s algorithm.")
4533 (license license:gpl2+)))
4534
4535 (define-public r-cowplot
4536 (package
4537 (name "r-cowplot")
4538 (version "1.0.0")
4539 (source
4540 (origin
4541 (method url-fetch)
4542 (uri (cran-uri "cowplot" version))
4543 (sha256
4544 (base32
4545 "19cqdhgfyr1wj0fz0c5ly8f0aiy9sfgzq6lzb78hkx0hdp2agybh"))))
4546 (build-system r-build-system)
4547 (propagated-inputs
4548 `(("r-ggplot2" ,r-ggplot2)
4549 ("r-gtable" ,r-gtable)
4550 ("r-rlang" ,r-rlang)
4551 ("r-scales" ,r-scales)))
4552 (home-page "https://github.com/wilkelab/cowplot")
4553 (synopsis "Streamlined plot theme and plot annotations for ggplot2")
4554 (description
4555 "This package provides some helpful extensions and modifications to the
4556 ggplot2 package to combine multiple ggplot2 plots into one and label them with
4557 letters, as is often required for scientific publications.")
4558 (license license:gpl2)))
4559
4560 (define-public r-mixtools
4561 (package
4562 (name "r-mixtools")
4563 (version "1.1.0")
4564 (source
4565 (origin
4566 (method url-fetch)
4567 (uri (cran-uri "mixtools" version))
4568 (sha256
4569 (base32
4570 "13wdm0xs5bakhpa8ypg6lvhjaqkxyabwz4glxdwn0jwdvkcdhgsl"))))
4571 (build-system r-build-system)
4572 (propagated-inputs
4573 `(("r-mass" ,r-mass)
4574 ("r-segmented" ,r-segmented)
4575 ("r-survival" ,r-survival)))
4576 (home-page "https://cran.r-project.org/web/packages/mixtools")
4577 (synopsis "Tools for analyzing finite mixture models")
4578 (description
4579 "This package provides a collection of R functions for analyzing finite
4580 mixture models.")
4581 (license license:gpl2+)))
4582
4583 (define-public r-lars
4584 (package
4585 (name "r-lars")
4586 (version "1.2")
4587 (source
4588 (origin
4589 (method url-fetch)
4590 (uri (cran-uri "lars" version))
4591 (sha256
4592 (base32
4593 "0blj44wqrx6lmym1m9v6wkz8zxzbjax2zl6swgdczci0ixb5nx34"))))
4594 (build-system r-build-system)
4595 (inputs
4596 `(("gfortran" ,gfortran)))
4597 (home-page "http://www-stat.stanford.edu/~hastie/Papers/#LARS")
4598 (synopsis "Least angle regression software")
4599 (description
4600 "Least Angle Regression (\"LAR\") is a model selection algorithm; a
4601 useful and less greedy version of traditional forward selection methods. A
4602 simple modification of the LAR algorithm implements Tibshirani's Lasso; the
4603 Lasso modification of LARS calculates the entire Lasso path of coefficients
4604 for a given problem at the cost of a single least squares fit. Another LARS
4605 modification efficiently implements epsilon Forward Stagewise linear
4606 regression.")
4607 (license license:gpl2)))
4608
4609 (define-public r-fastica
4610 (package
4611 (name "r-fastica")
4612 (version "1.2-2")
4613 (source
4614 (origin
4615 (method url-fetch)
4616 (uri (cran-uri "fastICA" version))
4617 (sha256
4618 (base32
4619 "1zpijqcipm0aa3rxj0mys06lskqy4dbppjpxr1aby0j16y9ka8ij"))))
4620 (properties `((upstream-name . "fastICA")))
4621 (build-system r-build-system)
4622 (home-page "https://cran.r-project.org/web/packages/fastICA")
4623 (synopsis "FastICA algorithms to perform ICA and projection pursuit")
4624 (description
4625 "This package provides an implementation of the FastICA algorithm to
4626 perform @dfn{independent component analysis} (ICA) and projection pursuit.")
4627 ;; Any GPL version.
4628 (license license:gpl3+)))
4629
4630 (define-public r-randomforest
4631 (package
4632 (name "r-randomforest")
4633 (version "4.6-14")
4634 (source
4635 (origin
4636 (method url-fetch)
4637 (uri (cran-uri "randomForest" version))
4638 (sha256
4639 (base32
4640 "0kbmm0l42fc2d1rdq0l7k09d34kd87q4lx651ffsic4y84h8kf7l"))))
4641 (properties `((upstream-name . "randomForest")))
4642 (build-system r-build-system)
4643 (home-page "https://www.stat.berkeley.edu/~breiman/RandomForests/")
4644 (native-inputs
4645 `(("gfortran" ,gfortran)))
4646 (synopsis "Breiman and Cutler's random forests for classification and regression")
4647 (description
4648 "This package provides the Breiman and Cutler's random forests algorithm, based on a
4649 forest of trees using random inputs, for classification and regression.")
4650 (license license:gpl2+)))
4651
4652 (define-public r-diptest
4653 (package
4654 (name "r-diptest")
4655 (version "0.75-7")
4656 (source
4657 (origin
4658 (method url-fetch)
4659 (uri (cran-uri "diptest" version))
4660 (sha256
4661 (base32
4662 "06xnc5gv1284ll0addxnxb6ljz6fn8dbyrp5vchyz6551h800aa6"))))
4663 (build-system r-build-system)
4664 (home-page "https://cran.r-project.org/web/packages/diptest")
4665 (synopsis "Hartigan's dip test statistic for unimodality")
4666 (description
4667 "This package computes Hartigan's dip test statistic for unimodality,
4668 multimodality and provides a test with simulation based p-values, where the
4669 original public code has been corrected.")
4670 (license license:gpl2+)))
4671
4672 (define-public r-modeltools
4673 (package
4674 (name "r-modeltools")
4675 (version "0.2-22")
4676 (source
4677 (origin
4678 (method url-fetch)
4679 (uri (cran-uri "modeltools" version))
4680 (sha256
4681 (base32
4682 "1s9lmkac3rl0nknf4wizfhg7ryq7c8yvvyc4z619238br27hhsi5"))))
4683 (build-system r-build-system)
4684 (home-page "https://cran.r-project.org/web/packages/modeltools")
4685 (synopsis "Tools and classes for statistical models")
4686 (description
4687 "This package provides a collection of tools to deal with statistical
4688 models. The functionality is experimental and the user interface is likely
4689 to change in the future.")
4690 (license license:gpl2)))
4691
4692 (define-public r-flexmix
4693 (package
4694 (name "r-flexmix")
4695 (version "2.3-15")
4696 (source
4697 (origin
4698 (method url-fetch)
4699 (uri (cran-uri "flexmix" version))
4700 (sha256
4701 (base32
4702 "0hrz2axp2c9548b1r0bmrl57219nn030qndb83a8garkzq5lqi5s"))))
4703 (build-system r-build-system)
4704 (propagated-inputs
4705 `(("r-lattice" ,r-lattice)
4706 ("r-modeltools" ,r-modeltools)
4707 ("r-nnet" ,r-nnet)))
4708 (home-page "https://cran.r-project.org/web/packages/flexmix")
4709 (synopsis "Flexible mixture modeling")
4710 (description
4711 "This package implements a general framework for finite mixtures of
4712 regression models using the EM algorithm. FlexMix provides the E-step and
4713 all data handling, while the M-step can be supplied by the user to easily
4714 define new models. Existing drivers implement mixtures of standard linear
4715 models, generalized linear models and model-based clustering.")
4716 (license license:gpl2+)))
4717
4718 (define-public r-mclust
4719 (package
4720 (name "r-mclust")
4721 (version "5.4.5")
4722 (source
4723 (origin
4724 (method url-fetch)
4725 (uri (cran-uri "mclust" version))
4726 (sha256
4727 (base32
4728 "0whandnda1fnjn5k3hgxdbp3b0xr7nlzy1j37saqb536h8q9dwkm"))))
4729 (build-system r-build-system)
4730 (native-inputs
4731 `(("gfortran" ,gfortran)))
4732 (home-page "http://www.stat.washington.edu/mclust/")
4733 (synopsis "Gaussian mixture modelling for model-based clustering etc.")
4734 (description
4735 "This package provides Gaussian finite mixture models fitted via EM
4736 algorithm for model-based clustering, classification, and density estimation,
4737 including Bayesian regularization, dimension reduction for visualisation,
4738 and resampling-based inference.")
4739 (license license:gpl2+)))
4740
4741 (define-public r-prabclus
4742 (package
4743 (name "r-prabclus")
4744 (version "2.3-1")
4745 (source
4746 (origin
4747 (method url-fetch)
4748 (uri (cran-uri "prabclus" version))
4749 (sha256
4750 (base32
4751 "1h5k13w8mmmdy74l145zh64f339wy78z1nlg8xr3zg23gmv98cpg"))))
4752 (build-system r-build-system)
4753 (propagated-inputs
4754 `(("r-mass" ,r-mass)
4755 ("r-mclust" ,r-mclust)))
4756 (home-page "https://cran.r-project.org/web/packages/prabclus")
4757 (synopsis "Parametric bootstrap tests for spatial neighborhood clustering")
4758 (description
4759 "This package provides distance-based parametric bootstrap tests for
4760 clustering with spatial neighborhood information. It implements some distance
4761 measures, clustering of presence-absence, abundance and multilocus genetical
4762 data for species delimitation, nearest neighbor based noise detection.")
4763 (license license:gpl2+)))
4764
4765 (define-public r-deoptimr
4766 (package
4767 (name "r-deoptimr")
4768 (version "1.0-8")
4769 (source
4770 (origin
4771 (method url-fetch)
4772 (uri (cran-uri "DEoptimR" version))
4773 (sha256
4774 (base32
4775 "1vz546hyjyhly70z62h5n3mn62b8llhhmim8ffp9y6jnnb0i2sc4"))))
4776 (properties `((upstream-name . "DEoptimR")))
4777 (build-system r-build-system)
4778 (home-page "https://cran.r-project.org/web/packages/DEoptimR")
4779 (synopsis "Differential evolution optimization in pure R")
4780 (description
4781 "This package provides a differential evolution (DE) stochastic
4782 algorithms for global optimization of problems with and without constraints.
4783 The aim is to curate a collection of its state-of-the-art variants that (1) do
4784 not sacrifice simplicity of design, (2) are essentially tuning-free, and (3)
4785 can be efficiently implemented directly in the R language.")
4786 (license license:gpl2+)))
4787
4788 (define-public r-robustbase
4789 (package
4790 (name "r-robustbase")
4791 (version "0.93-5")
4792 (source
4793 (origin
4794 (method url-fetch)
4795 (uri (cran-uri "robustbase" version))
4796 (sha256
4797 (base32
4798 "0mkzbsjl5nihyj7mzks14p6kr3spp44xvygjz4ran11gspdn9rdx"))))
4799 (build-system r-build-system)
4800 (native-inputs
4801 `(("gfortran" ,gfortran)))
4802 (propagated-inputs
4803 `(("r-deoptimr" ,r-deoptimr)))
4804 (home-page "http://robustbase.r-forge.r-project.org/")
4805 (synopsis "Basic robust statistics")
4806 (description
4807 "This package allows to analyze data with robust methods such as
4808 regression methodology including model selections and multivariate statistics.")
4809 (license license:gpl2+)))
4810
4811 (define-public r-pcapp
4812 (package
4813 (name "r-pcapp")
4814 (version "1.9-73")
4815 (source
4816 (origin
4817 (method url-fetch)
4818 (uri (cran-uri "pcaPP" version))
4819 (sha256
4820 (base32
4821 "1z2kdf9gfp965xbcd4rg6vf20d1bl443na0qjkpq7gmzpaq6cifa"))))
4822 (properties `((upstream-name . "pcaPP")))
4823 (build-system r-build-system)
4824 (propagated-inputs
4825 `(("r-mvtnorm" ,r-mvtnorm)))
4826 (home-page "https://cran.r-project.org/web/packages/pcaPP")
4827 (synopsis "Robust PCA by projection pursuit")
4828 (description
4829 "This package provides functions for robust @dfn{principal component
4830 analysis} (PCA) by projection pursuit.")
4831 (license license:gpl3+)))
4832
4833 (define-public r-rrcov
4834 (package
4835 (name "r-rrcov")
4836 (version "1.4-7")
4837 (source
4838 (origin
4839 (method url-fetch)
4840 (uri (cran-uri "rrcov" version))
4841 (sha256
4842 (base32
4843 "14zjyqcdiqx6js99nx5s8hmyx564ixy2d8s6i7wa50xmx368rl6b"))))
4844 (build-system r-build-system)
4845 (propagated-inputs
4846 `(("r-cluster" ,r-cluster)
4847 ("r-lattice" ,r-lattice)
4848 ("r-mvtnorm" ,r-mvtnorm)
4849 ("r-pcapp" ,r-pcapp)
4850 ("r-robustbase" ,r-robustbase)))
4851 (native-inputs
4852 `(("gfortran" ,gfortran)))
4853 (home-page "https://cran.r-project.org/web/packages/rrcov")
4854 (synopsis "Scalable robust estimators with high breakdown Point")
4855 (description
4856 "This package provides an implementation of robust location and scatter
4857 estimation and robust multivariate analysis with high breakdown point.")
4858 (license license:gpl2+)))
4859
4860 (define-public r-fit-models
4861 (package
4862 (name "r-fit-models")
4863 (version "0.5-14")
4864 (source
4865 (origin
4866 (method url-fetch)
4867 (uri (cran-uri "fit.models" version))
4868 (sha256
4869 (base32
4870 "0vjbzmx0ambm6yzidb4vbgmhclwzwv2iz2cwl54ccdkvx4cx3fck"))))
4871 (properties `((upstream-name . "fit.models")))
4872 (build-system r-build-system)
4873 (propagated-inputs
4874 `(("r-lattice" ,r-lattice)))
4875 (home-page "https://cran.r-project.org/web/packages/fit.models")
4876 (synopsis "Compare fitted models")
4877 (description
4878 "The @code{fit.models} function and its associated methods (coefficients, print,
4879 summary, plot, etc.) were originally provided in the @code{robust} package to
4880 compare robustly and classically fitted model objects. The aim of the
4881 @code{fit.models} package is to separate this fitted model object comparison
4882 functionality from the robust package and to extend it to support fitting
4883 methods (e.g., classical, robust, Bayesian, regularized, etc.) more
4884 generally.")
4885 ;; Any version of the GPL
4886 (license (list license:gpl2+ license:gpl3+))))
4887
4888 (define-public r-robust
4889 (package
4890 (name "r-robust")
4891 (version "0.4-18.1")
4892 (source
4893 (origin
4894 (method url-fetch)
4895 (uri (cran-uri "robust" version))
4896 (sha256
4897 (base32
4898 "0xs098pfw5zdcdk3rsxkylfl6d2pyp566s5v92bzhgl7h8c90cfy"))))
4899 (build-system r-build-system)
4900 (propagated-inputs
4901 `(("r-fit-models" ,r-fit-models)
4902 ("r-lattice" ,r-lattice)
4903 ("r-mass" ,r-mass)
4904 ("r-robustbase" ,r-robustbase)
4905 ("r-rrcov" ,r-rrcov)))
4906 (native-inputs
4907 `(("gfortran" ,gfortran)))
4908 (home-page "https://cran.r-project.org/web/packages/robust")
4909 (synopsis "Port of the S+ \"Robust Library\"")
4910 (description
4911 "This package is a port of the S+ \"Robust Library\". It provides
4912 methods for robust statistics, notably for robust regression and robust
4913 multivariate analysis.")
4914 (license license:gpl2)))
4915
4916 (define-public r-trimcluster
4917 (package
4918 (name "r-trimcluster")
4919 (version "0.1-2.1")
4920 (source
4921 (origin
4922 (method url-fetch)
4923 (uri (cran-uri "trimcluster" version))
4924 (sha256
4925 (base32
4926 "0013bpyq6mkvjn38qsmwnsxfiwxgwngnqxycxvgpgmiadhm8fjmn"))))
4927 (build-system r-build-system)
4928 (home-page "https://cran.r-project.org/web/packages/trimcluster")
4929 (synopsis "Cluster analysis with trimming")
4930 (description
4931 "The trimmed k-means clustering method by Cuesta-Albertos, Gordaliza and
4932 Matran (1997). This optimizes the k-means criterion under trimming a portion
4933 of the points.")
4934 ;; Any GPL version
4935 (license (list license:gpl2+ license:gpl3+))))
4936
4937 (define-public r-fpc
4938 (package
4939 (name "r-fpc")
4940 (version "2.2-3")
4941 (source
4942 (origin
4943 (method url-fetch)
4944 (uri (cran-uri "fpc" version))
4945 (sha256
4946 (base32
4947 "1dy3pla4jjgs46izqg2kxajlxr80sbr9896jbzb1qszrdx7af041"))))
4948 (build-system r-build-system)
4949 (propagated-inputs
4950 `(("r-class" ,r-class)
4951 ("r-cluster" ,r-cluster)
4952 ("r-diptest" ,r-diptest)
4953 ("r-flexmix" ,r-flexmix)
4954 ("r-kernlab" ,r-kernlab)
4955 ("r-mass" ,r-mass)
4956 ("r-mclust" ,r-mclust)
4957 ("r-prabclus" ,r-prabclus)
4958 ("r-robustbase" ,r-robustbase)))
4959 (home-page "https://cran.r-project.org/web/packages/fpc")
4960 (synopsis "Flexible procedures for clustering")
4961 (description
4962 "This package provides various methods for clustering and cluster validation.
4963 For example, it provides fixed point clustering, linear regression clustering,
4964 clustering by merging Gaussian mixture components, as well as symmetric and
4965 asymmetric discriminant projections for visualisation of the separation of
4966 groupings.")
4967 (license license:gpl2+)))
4968
4969 (define-public r-vgam
4970 (package
4971 (name "r-vgam")
4972 (version "1.1-2")
4973 (source
4974 (origin
4975 (method url-fetch)
4976 (uri (cran-uri "VGAM" version))
4977 (sha256
4978 (base32 "0kyan3a4ys2xbg9kf167cyf1gk7g963id62cjm2ij4i7y4wi61zq"))))
4979 (properties `((upstream-name . "VGAM")))
4980 (build-system r-build-system)
4981 (inputs
4982 `(("gfortran" ,gfortran)))
4983 (home-page "https://www.stat.auckland.ac.nz/~yee/VGAM")
4984 (synopsis "Vector generalized linear and additive models")
4985 (description
4986 "This package is an implementation of about 6 major classes of statistical
4987 regression models. Currently only fixed-effects models are implemented, i.e.,
4988 no random-effects models. Many (150+) models and distributions are estimated
4989 by maximum likelihood estimation (MLE) or penalized MLE, using Fisher scoring.
4990 VGLMs can be loosely thought of as multivariate generalised linear models.")
4991 (license license:gpl2+)))
4992
4993 (define-public r-pbapply
4994 (package
4995 (name "r-pbapply")
4996 (version "1.4-2")
4997 (source
4998 (origin
4999 (method url-fetch)
5000 (uri (cran-uri "pbapply" version))
5001 (sha256
5002 (base32
5003 "1xmk4p006v8gij26rs6kp5prjyf2n32nqjxiyp8a6kvgyc4z46dc"))))
5004 (build-system r-build-system)
5005 (home-page "https://github.com/psolymos/pbapply")
5006 (synopsis "Adding progress bar to apply functions")
5007 (description
5008 "This lightweight package that adds progress bar to vectorized R
5009 functions apply. The implementation can easily be added to functions where
5010 showing the progress is useful e.g. bootstrap.")
5011 (license license:gpl2)))
5012
5013 (define-public r-minqa
5014 (package
5015 (name "r-minqa")
5016 (version "1.2.4")
5017 (source
5018 (origin
5019 (method url-fetch)
5020 (uri (cran-uri "minqa" version))
5021 (sha256
5022 (base32
5023 "036drja6xz7awja9iwb76x91415p26fb0jmg7y7v0p65m6j978fg"))))
5024 (build-system r-build-system)
5025 (propagated-inputs
5026 `(("r-rcpp" ,r-rcpp)))
5027 (inputs
5028 `(("gfortran" ,gfortran)))
5029 (home-page "http://optimizer.r-forge.r-project.org")
5030 (synopsis "Derivative-free optimization algorithms by quadratic approximation")
5031 (description
5032 "This package provides a derivative-free optimization by quadratic approximation
5033 based on an interface to Fortran implementations by M. J. D. Powell.")
5034 (license license:gpl2)))
5035
5036 (define-public r-rcppeigen
5037 (package
5038 (name "r-rcppeigen")
5039 (version "0.3.3.5.0")
5040 (source
5041 (origin
5042 (method url-fetch)
5043 (uri (cran-uri "RcppEigen" version))
5044 (sha256
5045 (base32
5046 "01bz41c29591ybzqn4z88ss036ai3anh9figryvmfpqcfwbszip5"))))
5047 (properties `((upstream-name . "RcppEigen")))
5048 (build-system r-build-system)
5049 (propagated-inputs
5050 `(("r-rcpp" ,r-rcpp)
5051 ("r-matrix" ,r-matrix)))
5052 (home-page "http://eigen.tuxfamily.org")
5053 (synopsis "Rcpp integration for the Eigen templated linear algebra library")
5054 (description
5055 "This package provides an integration of Eigen in R using a C++ template
5056 library for linear algebra: matrices, vectors, numerical solvers and related algorithms.
5057 It supports dense and sparse matrices on integer, floating point and complex numbers,
5058 decompositions of such matrices, and solutions of linear systems.")
5059 (license license:gpl2+)))
5060
5061 (define-public r-modelmetrics
5062 (package
5063 (name "r-modelmetrics")
5064 (version "1.2.2")
5065 (source
5066 (origin
5067 (method url-fetch)
5068 (uri (cran-uri "ModelMetrics" version))
5069 (sha256
5070 (base32
5071 "158ddbw2snlyzd2q6mdaif5i67kq4qfvadylwjxgv1w2cmszrmk6"))))
5072 (properties `((upstream-name . "ModelMetrics")))
5073 (build-system r-build-system)
5074 (propagated-inputs
5075 `(("r-rcpp" ,r-rcpp)
5076 ("r-data-table" ,r-data-table)))
5077 (home-page "https://cran.r-project.org/web/packages/ModelMetrics")
5078 (synopsis "Rapid calculation of model metrics")
5079 (description
5080 "Written in C++ using @code{Rcpp}, this package provides a collection of
5081 metrics for evaluating models.")
5082 (license license:gpl2+)))
5083
5084 (define-public r-matrixmodels
5085 (package
5086 (name "r-matrixmodels")
5087 (version "0.4-1")
5088 (source
5089 (origin
5090 (method url-fetch)
5091 (uri (cran-uri "MatrixModels" version))
5092 (sha256
5093 (base32
5094 "0cyfvhci2p1vr2x52ymkyqqs63x1qchn856dh2j94yb93r08x1zy"))))
5095 (properties `((upstream-name . "MatrixModels")))
5096 (build-system r-build-system)
5097 (propagated-inputs
5098 `(("r-matrix" ,r-matrix)))
5099 (home-page "https://cran.r-project.org/web/packages/MatrixModels")
5100 (synopsis "Modelling with sparse and dense matrices")
5101 (description
5102 "This package models with sparse and dense matrix matrices,
5103 using modular prediction and response module classes.")
5104 (license license:gpl2+)))
5105
5106 (define-public r-quantreg
5107 (package
5108 (name "r-quantreg")
5109 (version "5.52")
5110 (source
5111 (origin
5112 (method url-fetch)
5113 (uri (cran-uri "quantreg" version))
5114 (sha256
5115 (base32 "0rq9as31wiz41lmi9hmdq3gknpcbpwqzfcn065ysjdxzjdb57dcy"))))
5116 (build-system r-build-system)
5117 (native-inputs
5118 `(("gfortran" ,gfortran)))
5119 (propagated-inputs
5120 `(("r-matrix" ,r-matrix)
5121 ("r-matrixmodels" ,r-matrixmodels)
5122 ("r-sparsem" ,r-sparsem)))
5123 (home-page "https://www.r-project.org")
5124 (synopsis "Quantile regression")
5125 (description
5126 "This package provides an estimation and inference methods for models
5127 of conditional quantiles: linear and nonlinear parametric and non-parametric
5128 models for conditional quantiles of a univariate response and several methods
5129 for handling censored survival data. Portfolio selection methods based on
5130 expected shortfall risk are also included.")
5131 (license license:gpl2+)))
5132
5133 (define-public r-nloptr
5134 (package
5135 (name "r-nloptr")
5136 (version "1.2.1")
5137 (source
5138 (origin
5139 (method url-fetch)
5140 (uri (cran-uri "nloptr" version))
5141 (sha256
5142 (base32
5143 "15yz60kljxwnhm2m3gryjzxl3ynhkhd5jiwc179b1hz6rlzf71hz"))))
5144 (build-system r-build-system)
5145 (native-inputs
5146 `(("r-knitr" ,r-knitr) ; for building vignettes
5147 ("pkg-config" ,pkg-config)
5148 ("gfortran" ,gfortran)))
5149 (inputs
5150 `(("nlopt" ,nlopt)))
5151 (home-page "https://cran.r-project.org/web/packages/nloptr")
5152 (synopsis "R interface to NLopt")
5153 (description
5154 "This package is interface to NLopt, a library for nonlinear
5155 optimization. NLopt is a library for nonlinear optimization, providing a
5156 common interface for a number of different free optimization routines
5157 available online as well as original implementations of various other
5158 algorithms.")
5159 (license license:lgpl3)))
5160
5161 (define-public r-lme4
5162 (package
5163 (name "r-lme4")
5164 (version "1.1-21")
5165 (source
5166 (origin
5167 (method url-fetch)
5168 (uri (cran-uri "lme4" version))
5169 (sha256
5170 (base32
5171 "035j2hqkwv939xl07pm2vykvf3wlx8qj317846n9pkpqkyv58mbz"))))
5172 (build-system r-build-system)
5173 (propagated-inputs
5174 `(("r-boot" ,r-boot)
5175 ("r-lattice" ,r-lattice)
5176 ("r-mass" ,r-mass)
5177 ("r-matrix" ,r-matrix)
5178 ("r-minqa" ,r-minqa)
5179 ("r-nloptr" ,r-nloptr)
5180 ("r-nlme" ,r-nlme)
5181 ("r-rcpp" ,r-rcpp)
5182 ("r-rcppeigen" ,r-rcppeigen)))
5183 (home-page "https://cran.r-project.org/web/packages/lme4")
5184 (synopsis "Linear mixed-effects models using eigen and S4")
5185 (description
5186 "This package provides fit linear and generalized linear mixed-effects
5187 models. The models and their components are represented using S4 classes and
5188 methods. The core computational algorithms are implemented using the Eigen
5189 C++ library for numerical linear algebra and RcppEigen glue.")
5190 (license license:gpl2+)))
5191
5192 (define-public r-pbkrtest
5193 (package
5194 (name "r-pbkrtest")
5195 (version "0.4-7")
5196 (source
5197 (origin
5198 (method url-fetch)
5199 (uri (cran-uri "pbkrtest" version))
5200 (sha256
5201 (base32
5202 "1si3bhi59xc51a0pgjjglccq3h4aljyhw2k1b8574s145fnh7fsw"))))
5203 (build-system r-build-system)
5204 (propagated-inputs
5205 `(("r-lme4" ,r-lme4)
5206 ("r-mass" ,r-mass)
5207 ("r-matrix" ,r-matrix)))
5208 (home-page "http://people.math.aau.dk/~sorenh/software/pbkrtest/")
5209 (synopsis "Methods for linear mixed model comparison")
5210 (description
5211 "This package implements a parametric bootstrap test and a Kenward Roger
5212 modification of F-tests for linear mixed effects models and a parametric
5213 bootstrap test for generalized linear mixed models.")
5214 (license license:gpl2+)))
5215
5216 (define-public r-cardata
5217 (package
5218 (name "r-cardata")
5219 (version "3.0-3")
5220 (source
5221 (origin
5222 (method url-fetch)
5223 (uri (cran-uri "carData" version))
5224 (sha256
5225 (base32 "0cg2yxzn0pdjqykr60my1fzpfkqac21fll5hv3m9w5c9sayq8swq"))))
5226 (properties `((upstream-name . "carData")))
5227 (build-system r-build-system)
5228 (home-page "https://r-forge.r-project.org/projects/car/")
5229 (synopsis "Data Sets for the book Companion to Applied Regression")
5230 (description
5231 "This package provides datasets to accompany J. Fox and S. Weisberg, An R
5232 Companion to Applied Regression, Third Edition, Sage.")
5233 (license license:gpl2+)))
5234
5235 (define-public r-car
5236 (package
5237 (name "r-car")
5238 (version "3.0-5")
5239 (source
5240 (origin
5241 (method url-fetch)
5242 (uri (cran-uri "car" version))
5243 (sha256
5244 (base32 "0w7fm81pn0wqrwzbjyddnrkpjl8gavg7ijh7rab9f21rkgkzgm3y"))))
5245 (build-system r-build-system)
5246 (propagated-inputs
5247 `(("r-abind" ,r-abind)
5248 ("r-cardata" ,r-cardata)
5249 ("r-lme4" ,r-lme4)
5250 ("r-maptools" ,r-maptools)
5251 ("r-mass" ,r-mass)
5252 ("r-mgcv" ,r-mgcv)
5253 ("r-nlme" ,r-nlme)
5254 ("r-nnet" ,r-nnet)
5255 ("r-pbkrtest" ,r-pbkrtest)
5256 ("r-quantreg" ,r-quantreg)
5257 ("r-rio" ,r-rio)))
5258 (home-page "https://r-forge.r-project.org/projects/car/")
5259 (synopsis "Companion to applied regression")
5260 (description
5261 "This package provides functions and datasets from book Companion
5262 to Applied regression, Second Edition, Sage, 2011.")
5263 (license license:gpl2+)))
5264
5265 (define-public r-caret
5266 (package
5267 (name "r-caret")
5268 (version "6.0-84")
5269 (source
5270 (origin
5271 (method url-fetch)
5272 (uri (cran-uri "caret" version))
5273 (sha256
5274 (base32
5275 "03898irgb70q0p01kq99yb6q6xji0jx4jmj0yxlv8wcwd841r0x1"))))
5276 (build-system r-build-system)
5277 (propagated-inputs
5278 `(("r-foreach" ,r-foreach)
5279 ("r-ggplot2" ,r-ggplot2)
5280 ("r-lattice" ,r-lattice)
5281 ("r-modelmetrics" ,r-modelmetrics)
5282 ("r-nlme" ,r-nlme)
5283 ("r-plyr" ,r-plyr)
5284 ("r-recipes" ,r-recipes)
5285 ("r-reshape2" ,r-reshape2)
5286 ("r-withr" ,r-withr)))
5287 (home-page "https://github.com/topepo/caret")
5288 (synopsis "Classification and regression training")
5289 (description
5290 "This package provides misc functions for training and plotting
5291 classification and regression models.")
5292 (license license:gpl2+)))
5293
5294 (define-public r-rcppprogress
5295 (package
5296 (name "r-rcppprogress")
5297 (version "0.4.1")
5298 (source
5299 (origin
5300 (method url-fetch)
5301 (uri (cran-uri "RcppProgress" version))
5302 (sha256
5303 (base32
5304 "0yk01hfv961zyp569682k9igvhnwqyg5j0n5fm63sxigj82l2xhi"))))
5305 (properties `((upstream-name . "RcppProgress")))
5306 (build-system r-build-system)
5307 (propagated-inputs
5308 `(("r-devtools" ,r-devtools)
5309 ("r-rcpp" ,r-rcpp)))
5310 (home-page "https://github.com/kforner/rcpp_progress")
5311 (synopsis "Interruptible progress bar for C++ in R packages")
5312 (description
5313 "This package allows to display a progress bar in the R console for long running
5314 computations taking place in C++ code, and support for interrupting those computations
5315 even in multithreaded code, typically using OpenMP.")
5316 (license license:gpl3+)))
5317
5318 (define-public r-mnormt
5319 (package
5320 (name "r-mnormt")
5321 (version "1.5-5")
5322 (source
5323 (origin
5324 (method url-fetch)
5325 (uri (cran-uri "mnormt" version))
5326 (sha256
5327 (base32
5328 "1b34xxrnf35khsx82mhvmk96sgfr2flyasaah7qkb2976pwxay7z"))))
5329 (build-system r-build-system)
5330 (native-inputs
5331 `(("gfortran" ,gfortran)))
5332 (home-page "http://azzalini.stat.unipd.it/SW/Pkg-mnormt")
5333 (synopsis "Multivariate normal and \"t\" distributions")
5334 (description
5335 "This package provides functions for computing the density and the
5336 distribution function of multivariate normal and \"t\" random variables, and
5337 for generating random vectors sampled from these distributions. Probabilities
5338 are computed via non-Monte Carlo methods.")
5339 (license license:gpl2+)))
5340
5341 (define-public r-numderiv
5342 (package
5343 (name "r-numderiv")
5344 (version "2016.8-1.1")
5345 (source
5346 (origin
5347 (method url-fetch)
5348 (uri (cran-uri "numDeriv" version))
5349 (sha256
5350 (base32
5351 "0idk02pqkziik932bd8k72d1q775g1is3m4bc861pcxfz6gx3i6q"))))
5352 (properties `((upstream-name . "numDeriv")))
5353 (build-system r-build-system)
5354 (home-page "https://cran.r-project.org/web/packages/numDeriv")
5355 (synopsis "Accurate numerical derivatives")
5356 (description
5357 "This package provides methods for calculating accurate numerical
5358 first and second order derivatives.")
5359 (license license:gpl2)))
5360
5361 (define-public r-sn
5362 (package
5363 (name "r-sn")
5364 (version "1.5-4")
5365 (source
5366 (origin
5367 (method url-fetch)
5368 (uri (cran-uri "sn" version))
5369 (sha256
5370 (base32
5371 "0x46gxkplxbnhaqbpiav1r4xlv4ib7n57kxmca7scqwj22y7wrs6"))))
5372 (build-system r-build-system)
5373 (propagated-inputs
5374 `(("r-mnormt" ,r-mnormt)
5375 ("r-numderiv" ,r-numderiv)))
5376 (home-page "http://azzalini.stat.unipd.it/SN")
5377 (synopsis "The skew-normal and skew-t distributions")
5378 (description
5379 "This package provides functionalities to build and manipulate
5380 probability distributions of the skew-normal family and some related
5381 ones, notably the skew-t family, and provides related statistical
5382 methods for data fitting and diagnostics, in the univariate and the
5383 multivariate case.")
5384 (license license:gpl2+)))
5385
5386 (define-public r-tclust
5387 (package
5388 (name "r-tclust")
5389 (version "1.4-1")
5390 (source
5391 (origin
5392 (method url-fetch)
5393 (uri (cran-uri "tclust" version))
5394 (sha256
5395 (base32
5396 "17md6l9v9dl9b72l84df01b52h2xiynbcjm437mv9mzcr09fc2sb"))))
5397 (build-system r-build-system)
5398 ;; These are all suggested packages, not build dependencies.
5399 (propagated-inputs
5400 `(("r-cluster" ,r-cluster)
5401 ("r-mclust" ,r-mclust)
5402 ("r-mvtnorm" ,r-mvtnorm)
5403 ("r-sn" ,r-sn)))
5404 (home-page "https://cran.r-project.org/web/packages/tclust")
5405 (synopsis "Robust trimmed clustering")
5406 (description
5407 "This package implements different robust clustering
5408 algorithms (@code{tclust}) based on trimming and including some graphical
5409 diagnostic tools (@code{ctlcurves} and @code{DiscrFact}).")
5410 (license license:gpl3)))
5411
5412 (define-public r-ranger
5413 (package
5414 (name "r-ranger")
5415 (version "0.11.2")
5416 (source
5417 (origin
5418 (method url-fetch)
5419 (uri (cran-uri "ranger" version))
5420 (sha256
5421 (base32
5422 "1sxyzxmjc6lm8wcmq15j6sscnza7aay4mr3dyri2zngx6fa8mb0k"))))
5423 (build-system r-build-system)
5424 (propagated-inputs
5425 `(("r-rcpp" ,r-rcpp)
5426 ("r-matrix" ,r-matrix)
5427 ("r-rcppeigen" ,r-rcppeigen)))
5428 (home-page "https://github.com/imbs-hl/ranger")
5429 (synopsis "Fast implementation of random forests")
5430 (description
5431 "This package provides a fast implementation of Random Forests,
5432 particularly suited for high dimensional data. Ensembles of classification,
5433 regression, survival and probability prediction trees are supported. Data from
5434 genome-wide association studies can be analyzed efficiently.")
5435 (license license:gpl3)))
5436
5437 (define-public r-tsne
5438 (package
5439 (name "r-tsne")
5440 (version "0.1-3")
5441 (source
5442 (origin
5443 (method url-fetch)
5444 (uri (cran-uri "tsne" version))
5445 (sha256
5446 (base32
5447 "0s8cv2pndkddq62rzlgzgfdjp1vjv5hz5i5957sllnb97vbzbzb6"))))
5448 (build-system r-build-system)
5449 (home-page "https://github.com/jdonaldson/rtsne/")
5450 (synopsis "t-Distributed Stochastic Neighbor Embedding for R")
5451 (description
5452 "This package provides a pure R implementation of the t-SNE algorithm.")
5453 (license license:gpl2+)))
5454
5455 (define-public r-cairo
5456 (package
5457 (name "r-cairo")
5458 (version "1.5-10")
5459 (source
5460 (origin
5461 (method url-fetch)
5462 (uri (cran-uri "Cairo" version))
5463 (sha256
5464 (base32
5465 "1mdmd5zmjkh1b0x928zizgzh42x8swbajffb88rvnjfdhk1z0dvq"))))
5466 (properties `((upstream-name . "Cairo")))
5467 (build-system r-build-system)
5468 (inputs
5469 `(("cairo" ,cairo)
5470 ("libxt" ,libxt)
5471 ("zlib" ,zlib)))
5472 (native-inputs
5473 `(("pkg-config" ,pkg-config)))
5474 (home-page "http://www.rforge.net/Cairo/")
5475 (synopsis "R graphics device using Cairo graphics library")
5476 (description
5477 "This package provides a Cairo graphics device that can be use to
5478 create high-quality vector (PDF, PostScript and SVG) and bitmap
5479 output (PNG,JPEG,TIFF), and high-quality rendering in displays (X11
5480 and Win32). Since it uses the same back-end for all output, copying
5481 across formats is WYSIWYG. Files are created without the dependence
5482 on X11 or other external programs. This device supports alpha
5483 channel (semi-transparent drawing) and resulting images can contain
5484 transparent and semi-transparent regions. It is ideal for use in
5485 server environments (file output) and as a replacement for other
5486 devices that don't have Cairo's capabilities such as alpha support or
5487 anti-aliasing. Backends are modular such that any subset of backends
5488 is supported.")
5489 (license license:gpl2)))
5490
5491 (define-public r-lubridate
5492 (package
5493 (name "r-lubridate")
5494 (version "1.7.4")
5495 (source
5496 (origin
5497 (method url-fetch)
5498 (uri (cran-uri "lubridate" version))
5499 (sha256
5500 (base32
5501 "14a823il77w3wmmnzr89vwrqp50y56dh5raycnaw6c8nv5xsh32i"))))
5502 (build-system r-build-system)
5503 (propagated-inputs
5504 `(("r-rcpp" ,r-rcpp)
5505 ("r-stringr" ,r-stringr)))
5506 (home-page
5507 "https://cran.r-project.org/web/packages/lubridate")
5508 (synopsis "Make dealing with dates a little easier")
5509 (description
5510 "This package provides functions to work with date-times and time-spans:
5511 fast and user friendly parsing of date-time data, extraction and updating of
5512 components of a date-time (years, months, days, hours, minutes, and seconds),
5513 algebraic manipulation on date-time and time-span objects. The @code{lubridate}
5514 package has a consistent and memorable syntax that makes working with dates
5515 easy and fun.")
5516 (license license:gpl2)))
5517
5518 (define-public r-fdrtool
5519 (package
5520 (name "r-fdrtool")
5521 (version "1.2.15")
5522 (source
5523 (origin
5524 (method url-fetch)
5525 (uri (cran-uri "fdrtool" version))
5526 (sha256
5527 (base32
5528 "1h46frlk7d9f4qx0bg6p55nrm9wwwz2sv6d1nz7061wdfsm69yb5"))))
5529 (build-system r-build-system)
5530 (home-page "http://strimmerlab.org/software/fdrtool/")
5531 (synopsis "Estimation of false discovery rates and higher criticism")
5532 (description
5533 "This package provides tools to estimate tail area-based false discovery
5534 rates as well as local false discovery rates for a variety of null
5535 models (p-values, z-scores, correlation coefficients, t-scores). The
5536 proportion of null values and the parameters of the null distribution are
5537 adaptively estimated from the data. In addition, the package contains
5538 functions for non-parametric density estimation (Grenander estimator), for
5539 monotone regression (isotonic regression and antitonic regression with
5540 weights), for computing the @dfn{greatest convex minorant} (GCM) and the
5541 @dfn{least concave majorant} (LCM), for the half-normal and correlation
5542 distributions, and for computing empirical @dfn{higher criticism} (HC) scores
5543 and the corresponding decision threshold.")
5544 (license license:gpl3+)))
5545
5546 (define-public r-forcats
5547 (package
5548 (name "r-forcats")
5549 (version "0.4.0")
5550 (source
5551 (origin
5552 (method url-fetch)
5553 (uri (cran-uri "forcats" version))
5554 (sha256
5555 (base32
5556 "1cnjh23z59fhbjmy7y95425hcq3m5wrwqvahsxwi7zm6d9bwp0vw"))))
5557 (build-system r-build-system)
5558 (propagated-inputs
5559 `(("r-ellipsis" ,r-ellipsis)
5560 ("r-magrittr" ,r-magrittr)
5561 ("r-tibble" ,r-tibble)
5562 ("r-rlang" ,r-rlang)))
5563 (home-page "http://forcats.tidyverse.org")
5564 (synopsis "Tools for working with factors")
5565 (description "This package provides helpers for reordering factor
5566 levels (including moving specified levels to front, ordering by first
5567 appearance, reversing, and randomly shuffling), and tools for modifying factor
5568 levels (including collapsing rare levels into other, \"anonymizing\", and
5569 manually \"recoding\").")
5570 (license license:gpl3)))
5571
5572 (define-public r-tgstat
5573 (let ((changeset "4f8e60c03598f49aff6f5beeab40f2b995377e9f")
5574 (revision "1"))
5575 (package
5576 (name "r-tgstat")
5577 (version (string-append "1.0.2-" revision "." (string-take changeset 7)))
5578 (source
5579 (origin
5580 (method hg-fetch)
5581 (uri (hg-reference
5582 (url "https://bitbucket.org/tanaylab/tgstat")
5583 (changeset changeset)))
5584 (file-name (string-append name "-" version "-checkout"))
5585 (sha256
5586 (base32
5587 "0ilkkyximy77zbncm91kdfqbxf0qyndg16pd3q3p6a3xc9qcmxvn"))))
5588 (build-system r-build-system)
5589 (arguments
5590 `(#:phases
5591 (modify-phases %standard-phases
5592 (add-after 'unpack 'fix-isnan
5593 (lambda _
5594 (substitute* "src/tgstat.h"
5595 (("#define isnan ::isnan")
5596 "#define isnan std::isnan"))
5597 #t)))))
5598 (propagated-inputs
5599 `(("r-rcpp" ,r-rcpp)))
5600 (home-page "https://bitbucket.org/tanaylab/tgstat/")
5601 (synopsis "Tanay's group statistical utilities")
5602 (description
5603 "The goal of tgstat is to provide fast and efficient statistical
5604 tools.")
5605 (license license:gpl2))))
5606
5607 (define-public r-tgconfig
5608 (let ((changeset "1e02c7614713bd0866c46f0c679a058f8c6d627e")
5609 (revision "1"))
5610 (package
5611 (name "r-tgconfig")
5612 (version (string-append "0.0.0.9000-" revision "." (string-take changeset 7)))
5613 (source
5614 (origin
5615 (method hg-fetch)
5616 (uri (hg-reference
5617 (url "https://bitbucket.org/tanaylab/tgconfig")
5618 (changeset changeset)))
5619 (file-name (string-append name "-" version "-checkout"))
5620 (sha256
5621 (base32
5622 "0xy6c7s7mn1yx191154bwbv1bl424bnvc80syqpl1vdl28ba46rj"))))
5623 (build-system r-build-system)
5624 (propagated-inputs
5625 `(("r-yaml" ,r-yaml)))
5626 (home-page "https://bitbucket.org/tanaylab/tgconfig/")
5627 (synopsis "Infrastructure for managing package parameters")
5628 (description
5629 "The goal of tgconfig is to provide infrastructure for managing package
5630 parameters.")
5631 (license license:gpl3))))
5632
5633 (define-public r-directlabels
5634 (package
5635 (name "r-directlabels")
5636 (version "2018.05.22")
5637 (source
5638 (origin
5639 (method url-fetch)
5640 (uri (cran-uri "directlabels" version))
5641 (sha256
5642 (base32
5643 "0xcpc56ssb9430b0xcdhayk3qaak2qcakyss2pz14y5w2027hblv"))))
5644 (build-system r-build-system)
5645 (propagated-inputs
5646 `(("r-quadprog" ,r-quadprog)))
5647 (home-page "http://directlabels.r-forge.r-project.org/")
5648 (synopsis "Direct labels for multicolor plots")
5649 (description
5650 "This package provides an extensible framework for automatically placing
5651 direct labels onto multicolor plots. Label positions are described using
5652 positioning methods that can be re-used across several different plots. There
5653 are heuristics for examining @code{trellis} and @code{ggplot} objects and
5654 inferring an appropriate positioning method.")
5655 (license license:gpl3)))
5656
5657 (define-public r-catterplots
5658 (let ((commit "40063ec57f9515d231508f135ca0ec769614efb9")
5659 (revision "2"))
5660 (package
5661 (name "r-catterplots")
5662 (version (string-append "0-" revision "." (string-take commit 9)))
5663 (source (origin
5664 (method git-fetch)
5665 (uri (git-reference
5666 (url "https://github.com/Gibbsdavidl/CatterPlots.git")
5667 (commit commit)))
5668 (file-name (string-append name "-" version "-checkout"))
5669 (sha256
5670 (base32
5671 "1wl80pgbz8d9kfpffvkh439hlgz2qldm9m75wqjfrgrg8lcjzrxg"))))
5672 (build-system r-build-system)
5673 (propagated-inputs
5674 `(("r-png" ,r-png)))
5675 (home-page "https://github.com/Gibbsdavidl/CatterPlots")
5676 (synopsis "Scatter plots with cat shaped points")
5677 (description "Did you ever wish you could make scatter plots with cat
5678 shaped points? Now you can!")
5679 (license license:asl2.0))))
5680
5681 (define-public r-colorout
5682 (package
5683 (name "r-colorout")
5684 (version "1.2-2")
5685 (source
5686 (origin
5687 (method git-fetch)
5688 (uri (git-reference
5689 (url "https://github.com/jalvesaq/colorout.git")
5690 (commit (string-append "v" version))))
5691 (file-name (git-file-name name version))
5692 (sha256
5693 (base32 "1rsx69wjpa73c6x2hacvvvbzdzxn7wg06gizf97kasjdlb7azmp3"))))
5694 (build-system r-build-system)
5695 (home-page "https://github.com/jalvesaq/colorout")
5696 (synopsis "Colorize output in the R REPL")
5697 (description "@code{colorout} is an R package that colorizes R output when
5698 running in terminal emulator.
5699
5700 R STDOUT is parsed and numbers, negative numbers, dates in the standard
5701 format, strings, and R constants are identified and wrapped by special ANSI
5702 scape codes that are interpreted by terminal emulators as commands to colorize
5703 the output. R STDERR is also parsed to identify the expressions warning and
5704 error and their translations to many languages. If these expressions are
5705 found, the output is colorized accordingly; otherwise, it is colorized as
5706 STDERROR (blue, by default).
5707
5708 You can customize the colors according to your taste, guided by the color
5709 table made by the command @code{show256Colors()}. You can also set the colors
5710 to any arbitrary string. In this case, it is up to you to set valid values.")
5711 (license license:gpl3+)))
5712
5713 (define-public r-txtplot
5714 (package
5715 (name "r-txtplot")
5716 (version "1.0-3")
5717 (source
5718 (origin
5719 (method url-fetch)
5720 (uri (cran-uri "txtplot" version))
5721 (sha256
5722 (base32
5723 "1949ab1bzvysdb79g8x1gaknj0ih3d6g63pv9512h5m5l3a6c31h"))))
5724 (build-system r-build-system)
5725 (home-page "https://cran.r-project.org/web/packages/txtplot/")
5726 (synopsis "Text-based plotting")
5727 (description "This package provides functions to produce rudimentary ASCII
5728 graphics directly in the terminal window. This package provides a basic
5729 plotting function (and equivalents of curve, density, acf and barplot) as well
5730 as a boxplot function.")
5731 (license license:lgpl3+)))
5732
5733 (define-public python-rpy2
5734 ;; We need to take this changeset instead of the RELEASE_3_0_4 tag, because
5735 ;; it fixes a regression when using ggplot 3.2.0.
5736 (let ((changeset "19868a8")
5737 (revision "1"))
5738 (package
5739 (name "python-rpy2")
5740 (version (git-version "3.0.4" revision changeset))
5741 (source
5742 (origin
5743 (method hg-fetch)
5744 (uri (hg-reference
5745 (url "https://bitbucket.org/rpy2/rpy2")
5746 (changeset changeset)))
5747 (file-name (git-file-name name version))
5748 (sha256
5749 (base32
5750 "1bb0wslcbj3wjvyk3jb9yyzdi6adfqh5vfgcvn22dyzxzbhcs8kk"))))
5751 (build-system python-build-system)
5752 (arguments
5753 '(#:modules ((ice-9 ftw)
5754 (srfi srfi-1)
5755 (srfi srfi-26)
5756 (guix build utils)
5757 (guix build python-build-system))
5758 #:phases
5759 (modify-phases %standard-phases
5760 (replace 'check
5761 (lambda* (#:key outputs inputs #:allow-other-keys)
5762 (let ((cwd (getcwd)))
5763 (setenv "TZ" "UTC")
5764 (setenv "PYTHONPATH"
5765 (string-append cwd "/build/"
5766 (find (cut string-prefix? "lib" <>)
5767 (scandir (string-append cwd "/build")))
5768 ":"
5769 (getenv "PYTHONPATH"))))
5770 (invoke "pytest" "-v" "rpy/tests/"))))))
5771 (propagated-inputs
5772 `(("python-cffi" ,python-cffi)
5773 ("python-six" ,python-six)
5774 ("python-jinja2" ,python-jinja2)
5775 ("python-numpy" ,python-numpy)
5776 ("python-pandas" ,python-pandas)
5777 ("python-pytz" ,python-pytz)
5778 ("python-ipython" ,python-ipython)
5779 ("python-tzlocal" ,python-tzlocal)))
5780 (inputs
5781 `(("readline" ,readline)
5782 ("icu4c" ,icu4c)
5783 ("pcre" ,pcre)
5784 ("r-minimal" ,r-minimal)
5785 ("r-survival" ,r-survival)
5786 ("r-ggplot2" ,r-ggplot2)
5787 ("r-rsqlite" ,r-rsqlite)
5788 ("r-dplyr" ,r-dplyr)
5789 ("r-dbplyr" ,r-dbplyr)
5790 ("python-numpy" ,python-numpy)))
5791 (native-inputs
5792 `(("zlib" ,zlib)
5793 ("python-pytest" ,python-pytest)))
5794 (home-page "https://rpy2.bitbucket.io/")
5795 (synopsis "Python interface to the R language")
5796 (description "rpy2 is a redesign and rewrite of rpy. It is providing a
5797 low-level interface to R from Python, a proposed high-level interface,
5798 including wrappers to graphical libraries, as well as R-like structures and
5799 functions.")
5800 ;; Any of these licenses can be picked for the R interface. The whole
5801 ;; project is released under GPLv2+ according to the license declaration
5802 ;; in "setup.py".
5803 (license (list license:mpl2.0 license:gpl2+ license:lgpl2.1+)))))
5804
5805 (define-public java-jdistlib
5806 (package
5807 (name "java-jdistlib")
5808 (version "0.4.5")
5809 (source (origin
5810 (method url-fetch)
5811 (uri (string-append "mirror://sourceforge/jdistlib/jdistlib-"
5812 version "-src.jar"))
5813 (sha256
5814 (base32
5815 "1pkj8aahw9ydr1isbaqrkd05nvq98ik5jwwhf3yf3rky3z869v11"))))
5816 (build-system ant-build-system)
5817 (arguments
5818 `(#:jar-name "jdistlib.jar"
5819 #:jdk ,icedtea-8
5820 #:tests? #f ; no dedicated test directory
5821 #:phases
5822 (modify-phases %standard-phases
5823 (add-after 'unpack 'fix-broken-encoding
5824 (lambda _
5825 (with-fluids ((%default-port-encoding "ISO-8859-1"))
5826 (substitute* "src/jdistlib/Beta.java"
5827 (("Scheff.+-Tukey") "Scheffe-Tukey")))
5828 #t)))))
5829 (propagated-inputs
5830 `(("java-jtransforms" ,java-jtransforms)))
5831 (native-inputs
5832 `(("java-junit" ,java-junit)))
5833 (home-page "http://jdistlib.sourceforge.net/")
5834 (synopsis "Java library of statistical distributions")
5835 (description "JDistlib is the Java Statistical Distribution Library, a
5836 Java package that provides routines for various statistical distributions.")
5837 ;; The files that were translated from R code are under GPLv2+; some files
5838 ;; are under the GPLv3, which is a mistake. The author confirmed in an
5839 ;; email that this whole project should be under GPLv2+.
5840 (license license:gpl2+)))
5841
5842 (define-public emacs-ess
5843 (package
5844 (name "emacs-ess")
5845 (version "17.11")
5846 (source (origin
5847 (method url-fetch)
5848 (uri (string-append "https://github.com/emacs-ess/ESS/archive/v"
5849 version ".tar.gz"))
5850 (sha256
5851 (base32
5852 "0cbilbsiwvcyf6d5y24mymp57m3ana5dkzab3knfs83w4a3a4c5c"))
5853 (file-name (string-append name "-" version ".tar.gz"))
5854 (modules '((guix build utils)))
5855 (snippet
5856 '(begin
5857 ;; Stop ESS from trying to bundle an external julia-mode.el.
5858 (substitute* "lisp/Makefile"
5859 (("^\tjulia-mode.elc\\\\\n") "")
5860 (("^dist: all julia-mode.el")
5861 "dist: all"))
5862 ;; No need to build docs in so many formats. Also, skipping
5863 ;; pdf lets us not pull in texlive.
5864 (substitute* "doc/Makefile"
5865 (("all : info text html pdf")
5866 "all : info")
5867 (("install: install-info install-other-docs")
5868 "install: install-info"))
5869 ;; Test fails upstream
5870 (substitute* "test/ess-r-tests.el"
5871 (("ert-deftest ess-r-namespaced-eval-no-srcref-in-errors ()")
5872 "ert-deftest ess-r-namespaced-eval-no-srcref-in-errors () :expected-result :failed"))
5873 #t))))
5874 (build-system gnu-build-system)
5875 (arguments
5876 (let ((base-directory "/share/emacs/site-lisp/guix.d/ess"))
5877 `(#:make-flags (list (string-append "PREFIX=" %output)
5878 (string-append "ETCDIR=" %output "/"
5879 ,base-directory "/etc")
5880 (string-append "LISPDIR=" %output "/"
5881 ,base-directory))
5882 #:phases
5883 (modify-phases %standard-phases
5884 (delete 'configure)
5885 (add-before 'build 'more-shebang-patching
5886 (lambda* (#:key inputs #:allow-other-keys)
5887 (substitute* "Makeconf"
5888 (("SHELL = /bin/sh")
5889 (string-append "SHELL = " (which "sh"))))
5890 #t))
5891 (replace 'check
5892 (lambda _
5893 (invoke "make" "test")))))))
5894 (inputs
5895 `(("emacs" ,emacs-minimal)
5896 ("r-minimal" ,r-minimal)))
5897 (native-inputs
5898 `(("perl" ,perl)
5899 ("texinfo" ,texinfo)))
5900 (propagated-inputs
5901 `(("emacs-julia-mode" ,emacs-julia-mode)))
5902 (home-page "https://ess.r-project.org/")
5903 (synopsis "Emacs mode for statistical analysis programs")
5904 (description "Emacs Speaks Statistics (ESS) is an add-on package for GNU
5905 Emacs. It is designed to support editing of scripts and interaction with
5906 various statistical analysis programs such as R, Julia, and JAGS.")
5907 (license license:gpl2+)))