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