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