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