gnu: python-rpy2: Update to 3.0.4-1.19868a8.
[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 libffi)
61 #:use-module (gnu packages machine-learning)
62 #:use-module (gnu packages maths)
63 #:use-module (gnu packages multiprecision)
64 #:use-module (gnu packages pcre)
65 #:use-module (gnu packages perl)
66 #:use-module (gnu packages pkg-config)
67 #:use-module (gnu packages python)
68 #:use-module (gnu packages python-xyz)
69 #:use-module (gnu packages readline)
70 #:use-module (gnu packages sphinx)
71 #:use-module (gnu packages ssh)
72 #:use-module (gnu packages tcl)
73 #:use-module (gnu packages tex)
74 #:use-module (gnu packages texinfo)
75 #:use-module (gnu packages time)
76 #:use-module (gnu packages tls)
77 #:use-module (gnu packages base)
78 #:use-module (gnu packages web)
79 #:use-module (gnu packages xml)
80 #:use-module (gnu packages xorg)
81 #:use-module (srfi srfi-1))
82
83
84 (define-public pspp
85 (package
86 (name "pspp")
87 (version "1.2.0")
88 (source
89 (origin
90 (method url-fetch)
91 (uri (string-append "mirror://gnu/pspp/pspp-"
92 version ".tar.gz"))
93 (sha256
94 (base32
95 "07pp27zycrb5x927jwaj9r3q7hy915jh51xs85zxby6gfiwl63m5"))))
96 (build-system gnu-build-system)
97 (inputs
98 `(("cairo" ,cairo)
99 ("gettext" ,gettext-minimal)
100 ("gsl" ,gsl)
101 ("libxml2" ,libxml2)
102 ("pango" ,pango)
103 ("readline" ,readline)
104 ("gtk" ,gtk+)
105 ("gtksourceview" ,gtksourceview)
106 ("spread-sheet-widget" ,spread-sheet-widget)
107 ("zlib" ,zlib)))
108 (native-inputs
109 `(("autoconf" ,autoconf) ;for tests
110 ("glib" ,glib "bin") ;for glib-genmarshal
111 ("perl" ,perl)
112 ("pkg-config" ,pkg-config)
113 ("python" ,python-2) ;for tests
114 ("texinfo" ,texinfo)))
115 (home-page "https://www.gnu.org/software/pspp/")
116 (synopsis "Statistical analysis")
117 (description
118 "GNU PSPP is a statistical analysis program. It can perform
119 descriptive statistics, T-tests, linear regression and non-parametric tests.
120 It features both a graphical interface as well as command-line input. PSPP
121 is designed to interoperate with Gnumeric, LibreOffice and OpenOffice. Data
122 can be imported from spreadsheets, text files and database sources and it can
123 be output in text, PostScript, PDF or HTML.")
124 (license license:gpl3+)))
125
126 (define-public jags
127 (package
128 (name "jags")
129 (version "4.3.0")
130 (source (origin
131 (method url-fetch)
132 (uri (string-append "mirror://sourceforge/mcmc-jags/JAGS/"
133 (version-major version) ".x/Source/"
134 "JAGS-" version ".tar.gz"))
135 (sha256
136 (base32
137 "1z3icccg2ic56vmhyrpinlsvpq7kcaflk1731rgpvz9bk1bxvica"))))
138 (build-system gnu-build-system)
139 (home-page "http://mcmc-jags.sourceforge.net/")
140 (native-inputs
141 `(("gfortran" ,gfortran)
142 ("lapack" ,lapack)))
143 (synopsis "Gibbs sampler")
144 (description "JAGS is Just Another Gibbs Sampler. It is a program for
145 analysis of Bayesian hierarchical models using Markov Chain Monte Carlo (MCMC)
146 simulation not wholly unlike BUGS. JAGS was written with three aims in mind:
147
148 @enumerate
149 @item To have a cross-platform engine for the BUGS language;
150 @item To be extensible, allowing users to write their own functions,
151 distributions and samplers;
152 @item To be a platform for experimentation with ideas in Bayesian modelling.
153 @end enumerate\n")
154 (license license:gpl2)))
155
156 (define-public libxls
157 (package
158 (name "libxls")
159 (version "1.5.0")
160 (source
161 (origin
162 (method url-fetch)
163 (uri (string-append "https://github.com/libxls/libxls/releases/download/"
164 "v" version "/libxls-" version ".tar.gz"))
165 (sha256
166 (base32 "00j2lrcvvhclmh3z9vy7myqq1br1jnnqkz2wzgk4a1gbg8c5afn5"))))
167 (build-system gnu-build-system)
168 (home-page "https://github.com/libxls/libxls")
169 (synopsis "Read binary (.xls) Excel spreadsheet files")
170 (description
171 "libxls is a C library to read .xls spreadsheet files in the binary OLE
172 BIFF8 format as created by Excel 97 and later versions. It cannot write them.
173
174 This package also provides @command{xls2csv} to export Excel files to CSV.")
175 (license license:bsd-2)))
176
177 ;; Update this package together with the set of recommended packages: r-boot,
178 ;; r-class, r-cluster, r-codetools, r-foreign, r-kernsmooth, r-lattice,
179 ;; r-mass, r-matrix, r-mgcv, r-nlme, r-nnet, r-rpart, r-spatial, r-survival.
180 (define r-with-tests
181 (package
182 (name "r-with-tests")
183 (version "3.6.0")
184 (source (origin
185 (method url-fetch)
186 (uri (string-append "mirror://cran/src/base/R-"
187 (version-major version) "/R-"
188 version ".tar.gz"))
189 (sha256
190 (base32
191 "02bmylmzrm9sdidirmwy233lghmd2346z725ca71ari68lzarz1n"))))
192 (build-system gnu-build-system)
193 (arguments
194 `(#:disallowed-references (,tzdata-for-tests)
195 #:make-flags
196 (list (string-append "LDFLAGS=-Wl,-rpath="
197 (assoc-ref %outputs "out")
198 "/lib/R/lib")
199 ;; This affects the embedded timestamp of only the core packages.
200 "PKG_BUILT_STAMP=1970-01-01")
201 #:phases
202 (modify-phases %standard-phases
203 (add-before 'configure 'do-not-compress-serialized-files
204 (lambda* (#:key inputs #:allow-other-keys)
205 ;; This ensures that Guix can detect embedded store references;
206 ;; see bug #28157 for details.
207 (substitute* "src/library/base/makebasedb.R"
208 (("compress = TRUE") "compress = FALSE"))
209 #t))
210 (add-before 'configure 'patch-uname
211 (lambda* (#:key inputs #:allow-other-keys)
212 (let ((uname-bin (string-append (assoc-ref inputs "coreutils")
213 "/bin/uname")))
214 (substitute* "src/scripts/R.sh.in"
215 (("uname") uname-bin)))
216 #t))
217 (add-after 'unpack 'build-reproducibly
218 (lambda _
219 ;; The documentation contains time stamps to demonstrate
220 ;; documentation generation in different phases.
221 (substitute* "src/library/tools/man/Rd2HTML.Rd"
222 (("\\\\%Y-\\\\%m-\\\\%d at \\\\%H:\\\\%M:\\\\%S")
223 "(removed for reproducibility)"))
224
225 ;; Remove timestamp from tracing environment. This fixes
226 ;; reproducibility of "methods.rd{b,x}".
227 (substitute* "src/library/methods/R/trace.R"
228 (("dateCreated = Sys.time\\(\\)")
229 "dateCreated = as.POSIXct(\"1970-1-1 00:00:00\", tz = \"UTC\")"))
230
231 ;; Ensure that gzipped files are reproducible.
232 (substitute* '("src/library/grDevices/Makefile.in"
233 "doc/manual/Makefile.in")
234 (("R_GZIPCMD\\)" line)
235 (string-append line " -n")))
236
237 ;; The "srcfile" procedure in "src/library/base/R/srcfile.R"
238 ;; queries the mtime of a given file and records it in an object.
239 ;; This is acceptable at runtime to detect stale source files,
240 ;; but it destroys reproducibility at build time.
241
242 ;; Similarly, the "srcfilecopy" procedure records the current
243 ;; time. We change both of them to respect SOURCE_DATE_EPOCH.
244 (substitute* "src/library/base/R/srcfile.R"
245 (("timestamp <- (timestamp.*|file.mtime.*)" _ time)
246 (string-append "timestamp <- \
247 as.POSIXct(if (\"\" != Sys.getenv(\"SOURCE_DATE_EPOCH\")) {\
248 as.numeric(Sys.getenv(\"SOURCE_DATE_EPOCH\"))\
249 } else { " time "}, origin=\"1970-01-01\")\n")))
250
251 ;; This library is installed using "install_package_description",
252 ;; so we need to pass the "builtStamp" argument.
253 (substitute* "src/library/tools/Makefile.in"
254 (("(install_package_description\\(.*\"')\\)\"" line prefix)
255 (string-append prefix ", builtStamp='1970-01-01')\"")))
256
257 (substitute* "src/library/Recommended/Makefile.in"
258 (("INSTALL_OPTS =" m)
259 (string-append m " --built-timestamp=1970-01-01" m)))
260
261 ;; R bundles an older version of help2man, which does not respect
262 ;; SOURCE_DATE_EPOCH. We cannot just use the latest help2man,
263 ;; because that breaks a test.
264 (with-fluids ((%default-port-encoding "ISO-8859-1"))
265 (substitute* "tools/help2man.pl"
266 (("my \\$date = strftime \"%B %Y\", localtime" line)
267 (string-append line " 1"))))
268 #t))
269 (add-before 'configure 'set-default-pager
270 ;; Set default pager to "cat", because otherwise it is "false",
271 ;; making "help()" print nothing at all.
272 (lambda _ (setenv "PAGER" "cat") #t))
273 (add-before 'check 'set-timezone
274 ;; Some tests require the timezone to be set. However, the
275 ;; timezone may not just be "UTC", or else a brittle regression
276 ;; test in reg-tests-1d will fail.
277 (lambda* (#:key inputs #:allow-other-keys)
278 (setenv "TZ" "UTC+1")
279 (setenv "TZDIR"
280 (string-append (assoc-ref inputs "tzdata")
281 "/share/zoneinfo"))
282 #t))
283 (add-after 'build 'make-info
284 (lambda _ (invoke "make" "info")))
285 (add-after 'build 'install-info
286 (lambda _ (invoke "make" "install-info"))))
287 #:configure-flags
288 `(;; We build the recommended packages here, because they are needed in
289 ;; order to run the test suite. We disable them in the r-minimal
290 ;; package.
291 "--with-cairo"
292 "--with-blas=-lopenblas"
293 "--with-libpng"
294 "--with-jpeglib"
295 "--with-libtiff"
296 "--with-ICU"
297 "--with-tcltk"
298 ,(string-append "--with-tcl-config="
299 (assoc-ref %build-inputs "tcl")
300 "/lib/tclConfig.sh")
301 ,(string-append "--with-tk-config="
302 (assoc-ref %build-inputs "tk")
303 "/lib/tkConfig.sh")
304 "--enable-R-shlib"
305 "--enable-BLAS-shlib"
306 "--with-system-tre")))
307 ;; R has some support for Java. When the JDK is available at configure
308 ;; time environment variables pointing to the JDK will be recorded under
309 ;; $R_HOME/etc and ./tools/getsp.java will be compiled which is used by "R
310 ;; CMD javareconf". "R CMD javareconf" appears to only be used to update
311 ;; the recorded environment variables in $R_HOME/etc. Refer to
312 ;; https://cran.r-project.org/doc/manuals/r-release/R-admin.html#Java-support
313 ;; for additional information.
314
315 ;; As the JDK is a rather large input with only very limited effects on R,
316 ;; we decided to drop it.
317 (native-inputs
318 `(("bzip2" ,bzip2)
319 ("perl" ,perl)
320 ("pkg-config" ,pkg-config)
321 ("texinfo" ,texinfo) ; for building HTML manuals
322 ("texlive" ,(texlive-union (list texlive-fonts-amsfonts
323 texlive-fonts-ec
324 texlive-latex-amsfonts
325 texlive-latex-base
326 texlive-latex-fancyvrb
327 texlive-latex-graphics
328 texlive-latex-hyperref
329 texlive-latex-oberdiek
330 texlive-latex-tools
331 texlive-latex-upquote
332 texlive-latex-url)))
333 ("tzdata" ,tzdata-for-tests)
334 ("xz" ,xz)))
335 (inputs
336 `(;; We need not only cairo here, but pango to ensure that tests for the
337 ;; "cairo" bitmapType plotting backend succeed.
338 ("pango" ,pango)
339 ("coreutils" ,coreutils)
340 ("curl" ,curl)
341 ("openblas" ,openblas)
342 ("gfortran" ,gfortran)
343 ("icu4c" ,icu4c)
344 ("libjpeg" ,libjpeg)
345 ("libpng" ,libpng)
346 ("libtiff" ,libtiff)
347 ("libxt" ,libxt)
348 ("pcre" ,pcre)
349 ("readline" ,readline)
350 ;; This avoids a reference to the ungraftable static bash. R uses the
351 ;; detected shell for the "system" procedure.
352 ("bash" ,bash-minimal)
353 ("tcl" ,tcl)
354 ("tk" ,tk)
355 ("which" ,which)
356 ("zlib" ,zlib)))
357 (native-search-paths
358 (list (search-path-specification
359 (variable "R_LIBS_SITE")
360 (files (list "site-library/")))))
361 (home-page "https://www.r-project.org/")
362 (synopsis "Environment for statistical computing and graphics")
363 (description
364 "R is a language and environment for statistical computing and graphics.
365 It provides a variety of statistical techniques, such as linear and nonlinear
366 modeling, classical statistical tests, time-series analysis, classification
367 and clustering. It also provides robust support for producing
368 publication-quality data plots. A large amount of 3rd-party packages are
369 available, greatly increasing its breadth and scope.")
370 (license license:gpl3+)))
371
372 (define-public r-minimal
373 (package (inherit r-with-tests)
374 (name "r-minimal")
375 (arguments
376 `(#:tests? #f
377 ,@(substitute-keyword-arguments (package-arguments r-with-tests)
378 ((#:configure-flags flags)
379 ;; Do not build the recommended packages. The build system creates
380 ;; random temporary directories and embeds their names in some
381 ;; package files. We build these packages with the r-build-system
382 ;; instead.
383 `(cons "--without-recommended-packages" ,flags)))))))
384
385 (define-public rmath-standalone
386 (package (inherit r-minimal)
387 (name "rmath-standalone")
388 (arguments
389 '(#:phases
390 (modify-phases %standard-phases
391 (add-after 'configure 'chdir
392 (lambda _ (chdir "src/nmath/standalone/") #t)))))
393 (synopsis "Standalone R math library")
394 (description
395 "This package provides the R math library as an independent package.")))
396
397 (define-public r-boot
398 (package
399 (name "r-boot")
400 (version "1.3-22")
401 (source
402 (origin
403 (method url-fetch)
404 (uri (cran-uri "boot" version))
405 (sha256
406 (base32
407 "1z2dig1mi76b3b9ck6qlkh07l3hs478gaf70db5nv8x7w2qhq7yg"))))
408 (build-system r-build-system)
409 (home-page "https://cran.r-project.org/web/packages/boot")
410 (synopsis "Bootstrap functions for R")
411 (description
412 "This package provides functions and datasets for bootstrapping from the
413 book \"Bootstrap Methods and Their Application\" by A.C. Davison and
414 D.V. Hinkley (1997, CUP), originally written by Angelo Canty for S.")
415 ;; Unlimited distribution
416 (license (license:non-copyleft "file://R/bootfuns.q"))))
417
418 (define-public r-mass
419 (package
420 (name "r-mass")
421 (version "7.3-51.4")
422 (source
423 (origin
424 (method url-fetch)
425 (uri (cran-uri "MASS" version))
426 (sha256
427 (base32
428 "0x1ckf51y851g0kvbhsgdxb26vfpmbw3xdbcnh3ck7fjm13da4cr"))))
429 (properties `((upstream-name . "MASS")))
430 (build-system r-build-system)
431 (home-page "http://www.stats.ox.ac.uk/pub/MASS4/")
432 (synopsis "Support functions and datasets for Venables and Ripley's MASS")
433 (description
434 "This package provides functions and datasets for the book \"Modern
435 Applied Statistics with S\" (4th edition, 2002) by Venables and Ripley.")
436 ;; Either version may be picked.
437 (license (list license:gpl2 license:gpl3))))
438
439 (define-public r-class
440 (package
441 (name "r-class")
442 (version "7.3-15")
443 (source
444 (origin
445 (method url-fetch)
446 (uri (cran-uri "class" version))
447 (sha256
448 (base32
449 "1x1hqz8xyhbpq4krsh02glqnlzcch25agkmn4a3da9n723b37gzn"))))
450 (build-system r-build-system)
451 (propagated-inputs
452 `(("r-mass" ,r-mass)))
453 (home-page "http://www.stats.ox.ac.uk/pub/MASS4/")
454 (synopsis "R functions for classification")
455 (description
456 "This package provides various functions for classification, including
457 k-nearest neighbour, Learning Vector Quantization and Self-Organizing Maps.")
458 ;; Either of the two versions can be picked.
459 (license (list license:gpl2 license:gpl3))))
460
461 (define-public r-cluster
462 (package
463 (name "r-cluster")
464 (version "2.1.0")
465 (source
466 (origin
467 (method url-fetch)
468 (uri (cran-uri "cluster" version))
469 (sha256
470 (base32
471 "055af3yz2biqbsbwm4arwr1yqnj4gicpzv2i6dbfl5pnz2z5byga"))))
472 (build-system r-build-system)
473 (native-inputs
474 `(("gfortran" ,gfortran)))
475 (home-page "https://cran.r-project.org/web/packages/cluster")
476 (synopsis "Methods for cluster analysis")
477 (description
478 "This package provides methods for cluster analysis. It is a much
479 extended version of the original from Peter Rousseeuw, Anja Struyf and Mia
480 Hubert, based on Kaufman and Rousseeuw (1990) \"Finding Groups in Data\".")
481 (license license:gpl2+)))
482
483 (define-public r-codetools
484 (package
485 (name "r-codetools")
486 (version "0.2-16")
487 (source
488 (origin
489 (method url-fetch)
490 (uri (cran-uri "codetools" version))
491 (sha256
492 (base32
493 "00bmhzqprqfn3w6ghx7sakai6s7il8gbksfiawj8in5mbhbncypn"))))
494 (build-system r-build-system)
495 (home-page "https://cran.r-project.org/web/packages/codetools")
496 (synopsis "Code analysis tools for R")
497 (description "This package provides code analysis tools for R to check R
498 code for possible problems.")
499 ;; Any version of the GPL.
500 (license (list license:gpl2+ license:gpl3+))))
501
502 (define-public r-foreign
503 (package
504 (name "r-foreign")
505 (version "0.8-71")
506 (source
507 (origin
508 (method url-fetch)
509 (uri (cran-uri "foreign" version))
510 (sha256
511 (base32
512 "1mv04w3ycz0ymsszn8aa87k6k5sb8mg8lhf1b8w4zpfrphpkkliv"))))
513 (build-system r-build-system)
514 (home-page "https://cran.r-project.org/web/packages/foreign")
515 (synopsis "Read data stored by other statistics software")
516 (description
517 "This package provides functions for reading and writing data stored by
518 some versions of Epi Info, Minitab, S, SAS, SPSS, Stata, Systat and Weka and
519 for reading and writing some dBase files.")
520 (license license:gpl2+)))
521
522 (define-public r-kernsmooth
523 (package
524 (name "r-kernsmooth")
525 (version "2.23-15")
526 (source
527 (origin
528 (method url-fetch)
529 (uri (cran-uri "KernSmooth" version))
530 (sha256
531 (base32
532 "1xhha8kw10jv8pv8b61hb5in9qiw3r2a9kdji3qlm991s4zd4wlb"))))
533 (properties `((upstream-name . "KernSmooth")))
534 (build-system r-build-system)
535 (inputs
536 `(("gfortran" ,gfortran)))
537 (home-page "https://cran.r-project.org/web/packages/KernSmooth")
538 (synopsis "Functions for kernel smoothing")
539 (description
540 "This package provides functions for kernel smoothing (and density
541 estimation) corresponding to the book: Wand, M.P. and Jones, M.C. (1995)
542 \"Kernel Smoothing\".")
543 ;; Unlimited use and distribution
544 (license (license:non-copyleft "file://LICENCE.note"))))
545
546 (define-public r-lattice
547 (package
548 (name "r-lattice")
549 (version "0.20-38")
550 (source (origin
551 (method url-fetch)
552 (uri (cran-uri "lattice" version))
553 (sha256
554 (base32
555 "0b8abkz7syscq883mrgv63pkwaqkcpwfx8rgbqy9vgfva0z5xszx"))))
556 (build-system r-build-system)
557 (home-page "http://lattice.r-forge.r-project.org/")
558 (synopsis "High-level data visualization system")
559 (description
560 "The lattice package provides a powerful and elegant high-level data
561 visualization system inspired by Trellis graphics, with an emphasis on
562 multivariate data. Lattice is sufficient for typical graphics needs, and is
563 also flexible enough to handle most nonstandard requirements.")
564 (license license:gpl2+)))
565
566 (define-public r-matrix
567 (package
568 (name "r-matrix")
569 (version "1.2-17")
570 (source
571 (origin
572 (method url-fetch)
573 (uri (cran-uri "Matrix" version))
574 (sha256
575 (base32
576 "1k1zf92ycqr7fz44w7bp1p354ww7jg0wm23ybb8dzmbg37qfchyv"))))
577 (properties `((upstream-name . "Matrix")))
578 (build-system r-build-system)
579 (propagated-inputs
580 `(("r-lattice" ,r-lattice)))
581 (home-page "http://Matrix.R-forge.R-project.org/")
582 (synopsis "Sparse and dense matrix classes and methods")
583 (description
584 "This package provides classes and methods for dense and sparse matrices
585 and operations on them using LAPACK and SuiteSparse.")
586 (license license:gpl2+)))
587
588 (define-public r-nlme
589 (package
590 (name "r-nlme")
591 (version "3.1-140")
592 (source
593 (origin
594 (method url-fetch)
595 (uri (cran-uri "nlme" version))
596 (sha256
597 (base32
598 "0k9x5j34fx093a023da9ny3b3101lbwpmfm27mkvfj950l22z88x"))))
599 (build-system r-build-system)
600 (propagated-inputs
601 `(("r-lattice" ,r-lattice)))
602 (native-inputs
603 `(("gfortran" ,gfortran)))
604 (home-page "https://cran.r-project.org/web/packages/nlme")
605 (synopsis "Linear and nonlinear mixed effects models")
606 (description
607 "This package provides tools to fit and compare Gaussian linear and
608 nonlinear mixed-effects models.")
609 (license license:gpl2+)))
610
611 (define-public r-mgcv
612 (package
613 (name "r-mgcv")
614 (version "1.8-28")
615 (source
616 (origin
617 (method url-fetch)
618 (uri (cran-uri "mgcv" version))
619 (sha256
620 (base32
621 "1snkpnkkigwrj9zm31j1nlivv9ls56imz263cv167hnmghiahpmm"))))
622 (build-system r-build-system)
623 (propagated-inputs
624 `(("r-matrix" ,r-matrix)
625 ("r-nlme" ,r-nlme)))
626 (home-page "https://cran.r-project.org/web/packages/mgcv")
627 (synopsis "Mixed generalised additive model computation")
628 (description
629 "GAMs, GAMMs and other generalized ridge regression with multiple smoothing
630 parameter estimation by GCV, REML or UBRE/AIC. The library includes a
631 @code{gam()} function, a wide variety of smoothers, JAGS support and
632 distributions beyond the exponential family.")
633 (license license:gpl2+)))
634
635 (define-public r-nnet
636 (package
637 (name "r-nnet")
638 (version "7.3-12")
639 (source
640 (origin
641 (method url-fetch)
642 (uri (cran-uri "nnet" version))
643 (sha256
644 (base32
645 "17amqnw9dpap2w8ivx53hxha2xrm0drwfnj32li0xk41hlz548r7"))))
646 (build-system r-build-system)
647 (home-page "http://www.stats.ox.ac.uk/pub/MASS4/")
648 (synopsis "Feed-forward neural networks and multinomial log-linear models")
649 (description
650 "This package provides functions for feed-forward neural networks with a
651 single hidden layer, and for multinomial log-linear models.")
652 (license (list license:gpl2+ license:gpl3+))))
653
654 (define-public r-rpart
655 (package
656 (name "r-rpart")
657 (version "4.1-15")
658 (source
659 (origin
660 (method url-fetch)
661 (uri (cran-uri "rpart" version))
662 (sha256
663 (base32
664 "0p5frya963ppn476p5dxs2mnarsalksr6gw9zzmjsn8ikq7bx3ib"))))
665 (build-system r-build-system)
666 (home-page "https://cran.r-project.org/web/packages/rpart")
667 (synopsis "Recursive partitioning and regression trees")
668 (description
669 "This package provides recursive partitioning functions for
670 classification, regression and survival trees.")
671 (license (list license:gpl2+ license:gpl3+))))
672
673 (define-public r-spatial
674 (package
675 (name "r-spatial")
676 (version "7.3-11")
677 (source
678 (origin
679 (method url-fetch)
680 (uri (cran-uri "spatial" version))
681 (sha256
682 (base32
683 "04aw8j533sn63ybyrf4hyhrqm4058vfcb7yhjy07kq92mk94hi32"))))
684 (build-system r-build-system)
685 (home-page "http://www.stats.ox.ac.uk/pub/MASS4/")
686 (synopsis "Functions for kriging and point pattern analysis")
687 (description
688 "This package provides functions for kriging and point pattern
689 analysis.")
690 ;; Either version may be picked.
691 (license (list license:gpl2 license:gpl3))))
692
693 (define-public r-survival
694 (package
695 (name "r-survival")
696 (version "2.44-1.1")
697 (source
698 (origin
699 (method url-fetch)
700 (uri (cran-uri "survival" version))
701 (sha256
702 (base32
703 "1faiwyg7x8y2kfzb66l4yc8br0mdlz4k20znmjrwq96dbzhm3cam"))))
704 (build-system r-build-system)
705 (propagated-inputs
706 `(("r-matrix" ,r-matrix)))
707 (home-page "https://github.com/therneau/survival")
708 (synopsis "Survival analysis")
709 (description
710 "This package contains the core survival analysis routines, including
711 definition of Surv objects, Kaplan-Meier and Aalen-Johansen (multi-state)
712 curves, Cox models, and parametric accelerated failure time models.")
713 (license license:lgpl2.0+)))
714
715 (define-public r
716 (package (inherit r-minimal)
717 (name "r")
718 (source #f)
719 (build-system trivial-build-system)
720 (arguments '(#:builder (begin (mkdir %output) #t)))
721 (propagated-inputs
722 `(("r-minimal" ,r-minimal)
723 ("r-boot" ,r-boot)
724 ("r-class" ,r-class)
725 ("r-cluster" ,r-cluster)
726 ("r-codetools" ,r-codetools)
727 ("r-foreign" ,r-foreign)
728 ("r-kernsmooth" ,r-kernsmooth)
729 ("r-lattice" ,r-lattice)
730 ("r-mass" ,r-mass)
731 ("r-matrix" ,r-matrix)
732 ("r-mgcv" ,r-mgcv)
733 ("r-nlme" ,r-nlme)
734 ("r-nnet" ,r-nnet)
735 ("r-rpart" ,r-rpart)
736 ("r-spatial" ,r-spatial)
737 ("r-survival" ,r-survival)))))
738
739 (define-public r-bit
740 (package
741 (name "r-bit")
742 (version "1.1-14")
743 (source
744 (origin
745 (method url-fetch)
746 (uri (cran-uri "bit" version))
747 (sha256
748 (base32
749 "0m7jrqzpa1pk8ixcl814x06jf96nlvvr16x6did6cfk4zghsrfjw"))))
750 (build-system r-build-system)
751 (home-page "http://ff.r-forge.r-project.org")
752 (synopsis "Class for vectors of 1-bit booleans")
753 (description
754 "This package provides bitmapped vectors of booleans (no @code{NA}s),
755 coercion from and to logicals, integers and integer subscripts, fast boolean
756 operators and fast summary statistics. With @code{bit} class vectors of true
757 binary booleans, @code{TRUE} and @code{FALSE} can be stored with 1 bit only.")
758 (license license:gpl2)))
759
760 (define-public r-bit64
761 (package
762 (name "r-bit64")
763 (version "0.9-7")
764 (source
765 (origin
766 (method url-fetch)
767 (uri (cran-uri "bit64" version))
768 (sha256
769 (base32
770 "07znvz9vp1nz1y5ljng4qyskvm943cdbmy996s67560ijxzsm6kv"))))
771 (build-system r-build-system)
772 (propagated-inputs
773 `(("r-bit" ,r-bit)))
774 (home-page "http://ff.r-forge.r-project.org/")
775 (synopsis "S3 class for vectors of 64 bit integers")
776 (description
777 "The bit64 package provides serializable S3 atomic 64 bit (signed)
778 integers that can be used in vectors, matrices, arrays and @code{data.frames}.
779 Methods are available for coercion from and to logicals, integers, doubles,
780 characters and factors as well as many elementwise and summary functions.
781 Many fast algorithmic operations such as @code{match} and @code{order} support
782 interactive data exploration and manipulation and optionally leverage
783 caching.")
784 (license license:gpl2)))
785
786 (define-public r-dichromat
787 (package
788 (name "r-dichromat")
789 (version "2.0-0")
790 (source
791 (origin
792 (method url-fetch)
793 (uri (cran-uri "dichromat" version))
794 (sha256
795 (base32 "1l8db1nk29ccqg3mkbafvfiw0775iq4gapysf88xq2zp6spiw59i"))))
796 (build-system r-build-system)
797 (home-page "https://cran.r-project.org/web/packages/dichromat")
798 (synopsis "Color schemes for dichromats")
799 (description
800 "Dichromat collapses red-green or green-blue distinctions to simulate the
801 effects of different types of color-blindness.")
802 (license license:gpl2+)))
803
804 (define-public r-digest
805 (package
806 (name "r-digest")
807 (version "0.6.19")
808 (source
809 (origin
810 (method url-fetch)
811 (uri (cran-uri "digest" version))
812 (sha256
813 (base32 "1x6cbj9qvkk7pxv9xdqibazw3x8psjp6x0m0ildx1jwyb2ymkl98"))))
814 (build-system r-build-system)
815 ;; Vignettes require r-knitr, which requires r-digest, so we have to
816 ;; disable them and the tests.
817 (arguments
818 `(#:tests? #f
819 #:configure-flags (list "--no-build-vignettes")))
820 (home-page "http://dirk.eddelbuettel.com/code/digest.html")
821 (synopsis "Create cryptographic hash digests of R objects")
822 (description
823 "This package contains an implementation of a function @code{digest()} for
824 the creation of hash digests of arbitrary R objects (using the md5, sha-1,
825 sha-256, crc32, xxhash and murmurhash algorithms) permitting easy comparison
826 of R language objects, as well as a function @code{hmac()} to create hash-based
827 message authentication code.
828
829 Please note that this package is not meant to be deployed for cryptographic
830 purposes for which more comprehensive (and widely tested) libraries such as
831 OpenSSL should be used.")
832 (license license:gpl2+)))
833
834 (define-public r-estimability
835 (package
836 (name "r-estimability")
837 (version "1.3")
838 (source (origin
839 (method url-fetch)
840 (uri (cran-uri "estimability" version))
841 (sha256
842 (base32
843 "0cifdaa71spkcxl4db4z884jrya865sg3dhcv4isd8fnzg2pjcd3"))))
844 (build-system r-build-system)
845 (home-page "https://cran.r-project.org/web/packages/estimability")
846 (synopsis "Tools for assessing estimability of linear predictions")
847 (description "Provides tools for determining estimability of linear
848 functions of regression coefficients, and @code{epredict} methods that handle
849 non-estimable cases correctly.")
850 (license license:gpl2+)))
851
852 (define-public r-pheatmap
853 (package
854 (name "r-pheatmap")
855 (version "1.0.12")
856 (source
857 (origin
858 (method url-fetch)
859 (uri (cran-uri "pheatmap" version))
860 (sha256
861 (base32
862 "1hdh74az3vyzz6dqa311rhxdm74n46lyr03p862kn80p0kp9d7ap"))))
863 (build-system r-build-system)
864 (propagated-inputs
865 `(("r-gtable" ,r-gtable)
866 ("r-rcolorbrewer" ,r-rcolorbrewer)
867 ("r-scales" ,r-scales)))
868 (home-page
869 "https://cran.r-project.org/web/packages/pheatmap")
870 (synopsis "Pretty heatmaps")
871 (description
872 "This package provides an implementation of heatmaps that offers more
873 control over dimensions and appearance.")
874 (license license:gpl2+)))
875
876 (define-public r-labeling
877 (package
878 (name "r-labeling")
879 (version "0.3")
880 (source
881 (origin
882 (method url-fetch)
883 (uri (cran-uri "labeling" version))
884 (sha256
885 (base32 "13sk7zrrrzry6ky1bp8mmnzcl9jhvkig8j4id9nny7z993mnk00d"))))
886 (build-system r-build-system)
887 (home-page "https://cran.r-project.org/web/packages/labeling")
888 (synopsis "Axis labeling algorithms")
889 (description "The labeling package provides a range of axis labeling
890 algorithms.")
891 (license license:expat)))
892
893 (define-public r-magrittr
894 (package
895 (name "r-magrittr")
896 (version "1.5")
897 (source
898 (origin
899 (method url-fetch)
900 (uri (cran-uri "magrittr" version))
901 (sha256
902 (base32 "1s1ar6rag8m277qcqmdp02gn4awn9bdj9ax0r8s32i59mm1mki05"))))
903 (build-system r-build-system)
904 (home-page "https://cran.r-project.org/web/packages/magrittr/index.html")
905 (synopsis "A forward-pipe operator for R")
906 (description
907 "Magrittr provides a mechanism for chaining commands with a new
908 forward-pipe operator, %>%. This operator will forward a value, or the result
909 of an expression, into the next function call/expression. There is flexible
910 support for the type of right-hand side expressions. For more information,
911 see package vignette. To quote Rene Magritte, \"Ceci n'est pas un pipe.\"")
912 (license license:expat)))
913
914 (define-public r-munsell
915 (package
916 (name "r-munsell")
917 (version "0.5.0")
918 (source
919 (origin
920 (method url-fetch)
921 (uri (cran-uri "munsell" version))
922 (sha256
923 (base32 "16g1fzisbpqb15yh3pqf3iia4csppva5dnv1z88x9dg263xskwyh"))))
924 (build-system r-build-system)
925 (propagated-inputs
926 `(("r-colorspace" ,r-colorspace)))
927 (home-page "https://cran.r-project.org/web/packages/munsell")
928 (synopsis "Munsell colour system")
929 (description
930 "The Munsell package contains Functions for exploring and using the
931 Munsell colour system.")
932 (license license:expat)))
933
934 (define-public r-permute
935 (package
936 (name "r-permute")
937 (version "0.9-5")
938 (source
939 (origin
940 (method url-fetch)
941 (uri (cran-uri "permute" version))
942 (sha256
943 (base32
944 "0ra8p5mf2590azrkas8z2ry7mif77xqxd29n4zgyi5vll225726j"))))
945 (build-system r-build-system)
946 ;; Tests do not run correctly, but running them properly would entail a
947 ;; circular dependency with vegan.
948 (home-page "https://github.com/gavinsimpson/permute")
949 (synopsis "Functions for Generating Restricted Permutations of Data")
950 (description
951 "This package provides a set of restricted permutation designs for freely
952 exchangeable, line transects (time series), spatial grid designs and permutation
953 of blocks (groups of samples). @code{permute} also allows split-plot designs,
954 in which the whole-plots or split-plots or both can be freely exchangeable.")
955 (license license:gpl2+)))
956
957 (define-public r-plyr
958 (package
959 (name "r-plyr")
960 (version "1.8.4")
961 (source
962 (origin
963 (method url-fetch)
964 (uri (cran-uri "plyr" version))
965 (sha256
966 (base32 "1igar5pcjqh0jyxv0z3jah8rz617vfa86vw0r5c7c031b7bj5db0"))))
967 (build-system r-build-system)
968 (native-inputs `(("r-rcpp" ,r-rcpp)))
969 (home-page "http://had.co.nz/plyr")
970 (synopsis "Tools for Splitting, Applying and Combining Data")
971 (description
972 "Plyr is a set of tools that solves a common set of problems: you need to
973 break a big problem down into manageable pieces, operate on each piece and
974 then put all the pieces back together. For example, you might want to fit a
975 model to each spatial location or time point in your study, summarise data by
976 panels or collapse high-dimensional arrays to simpler summary statistics.")
977 (license license:expat)))
978
979 (define-public r-proto
980 (package
981 (name "r-proto")
982 (version "1.0.0")
983 (source
984 (origin
985 (method url-fetch)
986 (uri (cran-uri "proto" version))
987 (sha256
988 (base32 "1l843p8vckjckdhgv37ngv47fga5jzy0n00pmipvp05nnaixk54j"))))
989 (build-system r-build-system)
990 (home-page "https://github.com/hadley/proto")
991 (synopsis "Prototype object-based programming")
992 (description
993 "Proto is an object oriented system using object-based, also called
994 prototype-based, rather than class-based object oriented ideas.")
995 (license license:gpl2+)))
996
997 (define-public r-rcolorbrewer
998 (package
999 (name "r-rcolorbrewer")
1000 (version "1.1-2")
1001 (source
1002 (origin
1003 (method url-fetch)
1004 (uri (cran-uri "RColorBrewer" version))
1005 (sha256
1006 (base32 "1pfcl8z1pnsssfaaz9dvdckyfnnc6rcq56dhislbf571hhg7isgk"))))
1007 (build-system r-build-system)
1008 (home-page "https://cran.r-project.org/web/packages/RColorBrewer")
1009 (synopsis "ColorBrewer palettes")
1010 (description
1011 "This package provides color schemes for maps (and other graphics)
1012 designed by Cynthia Brewer as described at http://colorbrewer2.org")
1013 ;; Includes code licensed under bsd-4
1014 (license license:asl2.0)))
1015
1016 (define-public r-sendmailr
1017 (package
1018 (name "r-sendmailr")
1019 (version "1.2-1")
1020 (source
1021 (origin
1022 (method url-fetch)
1023 (uri (cran-uri "sendmailR" version))
1024 (sha256
1025 (base32
1026 "0z7ipywnzgkhfvl4zb2fjwl1xq7b5wib296vn9c9qgbndj6b1zh4"))))
1027 (properties `((upstream-name . "sendmailR")))
1028 (build-system r-build-system)
1029 (propagated-inputs
1030 `(("r-base64enc" ,r-base64enc)))
1031 (home-page
1032 "https://cran.r-project.org/web/packages/sendmailR")
1033 (synopsis "Send email using R")
1034 (description
1035 "This package contains a simple SMTP client which provides a portable
1036 solution for sending email, including attachments, from within R.")
1037 (license license:gpl2+)))
1038
1039 (define-public r-stringi
1040 (package
1041 (name "r-stringi")
1042 (version "1.4.3")
1043 (source
1044 (origin
1045 (method url-fetch)
1046 (uri (cran-uri "stringi" version))
1047 (sha256
1048 (base32
1049 "1vbr6g9p1iyzdj7wfw6afyizvnd1a2srfvkl72pq23vhdcwwpkhk"))))
1050 (build-system r-build-system)
1051 (inputs `(("icu4c" ,icu4c)))
1052 (native-inputs `(("pkg-config" ,pkg-config)))
1053 (home-page "http://stringi.rexamine.com/")
1054 (synopsis "Character string processing facilities")
1055 (description
1056 "This package allows for fast, correct, consistent, portable, as well as
1057 convenient character string/text processing in every locale and any native
1058 encoding. Owing to the use of the ICU library, the package provides R users
1059 with platform-independent functions known to Java, Perl, Python, PHP, and Ruby
1060 programmers. Among available features there are: pattern searching
1061 (e.g. via regular expressions), random string generation, string collation,
1062 transliteration, concatenation, date-time formatting and parsing, etc.")
1063 (license license:bsd-3)))
1064
1065 (define-public r-stringr
1066 (package
1067 (name "r-stringr")
1068 (version "1.4.0")
1069 (source
1070 (origin
1071 (method url-fetch)
1072 (uri (cran-uri "stringr" version))
1073 (sha256
1074 (base32 "1p9ip7p87gbbg4s6d3d392svvzz2b5dqdq2c8ilgvn4s78nlsq47"))))
1075 (build-system r-build-system)
1076 (propagated-inputs
1077 `(("r-glue" ,r-glue)
1078 ("r-magrittr" ,r-magrittr)
1079 ("r-stringi" ,r-stringi)))
1080 (home-page "https://github.com/hadley/stringr")
1081 (synopsis "Simple, consistent wrappers for common string operations")
1082 (description
1083 "Stringr is a consistent, simple and easy to use set of wrappers around
1084 the fantastic @code{stringi} package. All function and argument names (and
1085 positions) are consistent, all functions deal with \"NA\"'s and zero length
1086 vectors in the same way, and the output from one function is easy to feed into
1087 the input of another.")
1088 (license license:gpl2+)))
1089
1090 (define-public r-reshape2
1091 (package
1092 (name "r-reshape2")
1093 (version "1.4.3")
1094 (source
1095 (origin
1096 (method url-fetch)
1097 (uri (cran-uri "reshape2" version))
1098 (sha256
1099 (base32 "03ki5ka1dj208fc0dclbm0b4xp9d769pah2j9cs34l776p4r9zwa"))))
1100 (build-system r-build-system)
1101 (propagated-inputs
1102 `(("r-plyr" ,r-plyr)
1103 ("r-rcpp" ,r-rcpp)
1104 ("r-stringr" ,r-stringr)))
1105 (home-page "https://github.com/hadley/reshape")
1106 (synopsis "Flexibly reshape data: a reboot of the \"reshape\" package")
1107 (description
1108 "Reshape2 is an R library to flexibly restructure and aggregate data
1109 using just two functions: melt and dcast (or acast).")
1110 (license license:expat)))
1111
1112 (define-public r-scales
1113 (package
1114 (name "r-scales")
1115 (version "1.0.0")
1116 (source
1117 (origin
1118 (method url-fetch)
1119 (uri (cran-uri "scales" version))
1120 (sha256
1121 (base32 "0353dkh3d7x78463c6ds80hcml59lrqwr8rlv82a8dnkxla4l7qc"))))
1122 (build-system r-build-system)
1123 (propagated-inputs
1124 `(("r-labeling" ,r-labeling)
1125 ("r-munsell" ,r-munsell)
1126 ("r-rcolorbrewer" ,r-rcolorbrewer)
1127 ("r-rcpp" ,r-rcpp)
1128 ("r-r6" ,r-r6)
1129 ("r-viridislite" ,r-viridislite)))
1130 (home-page "https://github.com/hadley/scales")
1131 (synopsis "Scale functions for visualization")
1132 (description
1133 "This package provides graphical scales that map data to aesthetics, and
1134 provides methods for automatically determining breaks and labels for axes and
1135 legends.")
1136 (license license:expat)))
1137
1138 (define-public r-ggplot2
1139 (package
1140 (name "r-ggplot2")
1141 (version "3.2.0")
1142 (source
1143 (origin
1144 (method url-fetch)
1145 (uri (cran-uri "ggplot2" version))
1146 (sha256
1147 (base32 "1cvk9pw59kxx19kamqwa15h26rbznp0vvqpn7y8kgjssnrzqkdii"))))
1148 (build-system r-build-system)
1149 (propagated-inputs
1150 `(("r-digest" ,r-digest)
1151 ("r-gtable" ,r-gtable)
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.9")
1203 (source
1204 (origin
1205 (method url-fetch)
1206 (uri (cran-uri "gdtools" version))
1207 (sha256
1208 (base32
1209 "0w4fihf52q5qxxk0lg36x6yvjjl8vw66y60ncdjs5fvnxqn5z2vb"))))
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.7")
1351 (source (origin
1352 (method url-fetch)
1353 (uri (cran-uri "formatR" version))
1354 (sha256
1355 (base32
1356 "1nsxbrx31k3y6yql30qkrvdfyznlia2qfvwv95mfiy7m7wdn4rm3"))))
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.7")
1390 (source (origin
1391 (method url-fetch)
1392 (uri (cran-uri "mime" version))
1393 (sha256
1394 (base32
1395 "12vpip67ajb90b8p96w43ir7mavrw2i61bwvpfnrlmlj9kj3w20i"))))
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 "1.0")
1408 (source (origin
1409 (method url-fetch)
1410 (uri (cran-uri "markdown" version))
1411 (sha256
1412 (base32
1413 "19nrz0ba1yd5kicd65crkkz2r3kialm2hm6zdkp495l2s5r80b8p"))))
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.4.0")
1656 (source (origin
1657 (method url-fetch)
1658 (uri (cran-uri "rlang" version))
1659 (sha256
1660 (base32
1661 "038mmbmklw17ncgz53vrdx2506c1jj6di3y165bbx2sl2yia8j4p"))))
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.3")
1674 (source
1675 (origin
1676 (method url-fetch)
1677 (uri (cran-uri "tibble" version))
1678 (sha256
1679 (base32
1680 "06jfayiip8j8ibdhw3fvxn4n8aqbqhwanrszpzlsf92xdfgfm34s"))))
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.2")
1735 (source
1736 (origin
1737 (method url-fetch)
1738 (uri (cran-uri "dbplyr" version))
1739 (sha256
1740 (base32
1741 "1q2dflr88s5a1amzfld3087q422vf70052qn84zyd8895kdg10xp"))))
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.4")
2337 (source
2338 (origin
2339 (method url-fetch)
2340 (uri (cran-uri "openssl" version))
2341 (sha256
2342 (base32
2343 "0mh4xwb9wnn5j2n1zzmjldqjqv2nn4wdidiixxciaqrqsi0l9834"))))
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-6")
2542 (source (origin
2543 (method url-fetch)
2544 (uri (cran-uri "plotrix" version))
2545 (sha256
2546 (base32
2547 "0ijfjlr7ls5hvfyzdmwab6bx0w3nvp0c8fgynj4355cj8mbzgmc3"))))
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.500.2.0")
2601 (source (origin
2602 (method url-fetch)
2603 (uri (cran-uri "RcppArmadillo" version))
2604 (sha256
2605 (base32
2606 "1lyvpb7n54ijlqns29qiixqr39334knf67cnixvlic58945glrhv"))))
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.20")
2886 (source (origin
2887 (method url-fetch)
2888 (uri (cran-uri "XML" version))
2889 (sha256
2890 (base32
2891 "0n28m8iz1wfgixr7fjswl238c5w9kggsrw0c8hdzp859dqvqdbs6"))))
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 "1.0-0")
3009 (source
3010 (origin
3011 (method url-fetch)
3012 (uri (cran-uri "segmented" version))
3013 (sha256
3014 (base32
3015 "1igsfkffpa60zn6j45lhw1zgr5pz6rjknv2f3sylnx5l9fdwibgf"))))
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.7")
3167 (source (origin
3168 (method url-fetch)
3169 (uri (cran-uri "DT" version))
3170 (sha256
3171 (base32
3172 "0b6ywgzk9b35y5f69zwfz3vv7qwqqj3xsmy0xymf7nfcvrqg3qqx"))))
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-2")
3369 (source
3370 (origin
3371 (method url-fetch)
3372 (uri (cran-uri "e1071" version))
3373 (sha256
3374 (base32
3375 "0lipj692rjjw8rrhqh2k9i5dh8y2sjrw9q53rwm32irhx2f2j73j"))))
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.9.0")
3547 (source (origin
3548 (method url-fetch)
3549 (uri (cran-uri "R.utils" version))
3550 (sha256
3551 (base32
3552 "1w4zn2db15bggfnh64fbyi2z2sj47rcd4xn53b28dsnkamdcramj"))))
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-11")
3627 (source (origin
3628 (method url-fetch)
3629 (uri (cran-uri "mvtnorm" version))
3630 (sha256
3631 (base32
3632 "0lkjph661blc1nwfzg9w48a60wvj6ffh4zjwlisvracsx4nn2883"))))
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-6")
4319 (source (origin
4320 (method url-fetch)
4321 (uri (cran-uri "zoo" version))
4322 (sha256
4323 (base32
4324 "1k1pmzr9nfwbxq1xf0jzn3nawv4sgnkxkgzxnm1i887jcbrs85r2"))))
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.32")
4475 (source (origin
4476 (method url-fetch)
4477 (uri (cran-uri "statmod" version))
4478 (sha256
4479 (base32
4480 "083yyp84xj85zg4bhz7i90bqzl3p6155ch4abwsfc9k1lv7s2rrg"))))
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.4")
4753 (source
4754 (origin
4755 (method url-fetch)
4756 (uri (cran-uri "mclust" version))
4757 (sha256
4758 (base32
4759 "039ymr57bq5327gypizw0v2qb81j6bkqhjdh8yj23qa5sh51phyc"))))
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.3-1")
4776 (source
4777 (origin
4778 (method url-fetch)
4779 (uri (cran-uri "prabclus" version))
4780 (sha256
4781 (base32
4782 "1h5k13w8mmmdy74l145zh64f339wy78z1nlg8xr3zg23gmv98cpg"))))
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.2-3")
4972 (source
4973 (origin
4974 (method url-fetch)
4975 (uri (cran-uri "fpc" version))
4976 (sha256
4977 (base32
4978 "1dy3pla4jjgs46izqg2kxajlxr80sbr9896jbzb1qszrdx7af041"))))
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-prabclus" ,r-prabclus)
4989 ("r-robustbase" ,r-robustbase)))
4990 (home-page "https://cran.r-project.org/web/packages/fpc")
4991 (synopsis "Flexible procedures for clustering")
4992 (description
4993 "This package provides various methods for clustering and cluster validation.
4994 For example, it provides fixed point clustering, linear regression clustering,
4995 clustering by merging Gaussian mixture components, as well as symmetric and
4996 asymmetric discriminant projections for visualisation of the separation of
4997 groupings.")
4998 (license license:gpl2+)))
4999
5000 (define-public r-vgam
5001 (package
5002 (name "r-vgam")
5003 (version "1.1-1")
5004 (source
5005 (origin
5006 (method url-fetch)
5007 (uri (cran-uri "VGAM" version))
5008 (sha256
5009 (base32
5010 "0lnsqx3q3k0c7sj8gj0n6shn2fyxwrh8xph8h1r1i23ybbb2n6fy"))))
5011 (properties `((upstream-name . "VGAM")))
5012 (build-system r-build-system)
5013 (inputs
5014 `(("gfortran" ,gfortran)))
5015 (home-page "https://www.stat.auckland.ac.nz/~yee/VGAM")
5016 (synopsis "Vector generalized linear and additive models")
5017 (description
5018 "This package is an implementation of about 6 major classes of statistical
5019 regression models. Currently only fixed-effects models are implemented, i.e.,
5020 no random-effects models. Many (150+) models and distributions are estimated
5021 by maximum likelihood estimation (MLE) or penalized MLE, using Fisher scoring.
5022 VGLMs can be loosely thought of as multivariate generalised linear models.")
5023 (license license:gpl2+)))
5024
5025 (define-public r-pbapply
5026 (package
5027 (name "r-pbapply")
5028 (version "1.4-0")
5029 (source
5030 (origin
5031 (method url-fetch)
5032 (uri (cran-uri "pbapply" version))
5033 (sha256
5034 (base32
5035 "0bn7a9ni36xy5acnrl9ky3gd1k8jr5kxgazzh3pzd1q6bri1nx7k"))))
5036 (build-system r-build-system)
5037 (home-page "https://github.com/psolymos/pbapply")
5038 (synopsis "Adding progress bar to apply functions")
5039 (description
5040 "This lightweight package that adds progress bar to vectorized R
5041 functions apply. The implementation can easily be added to functions where
5042 showing the progress is useful e.g. bootstrap.")
5043 (license license:gpl2)))
5044
5045 (define-public r-minqa
5046 (package
5047 (name "r-minqa")
5048 (version "1.2.4")
5049 (source
5050 (origin
5051 (method url-fetch)
5052 (uri (cran-uri "minqa" version))
5053 (sha256
5054 (base32
5055 "036drja6xz7awja9iwb76x91415p26fb0jmg7y7v0p65m6j978fg"))))
5056 (build-system r-build-system)
5057 (propagated-inputs
5058 `(("r-rcpp" ,r-rcpp)))
5059 (inputs
5060 `(("gfortran" ,gfortran)))
5061 (home-page "http://optimizer.r-forge.r-project.org")
5062 (synopsis "Derivative-free optimization algorithms by quadratic approximation")
5063 (description
5064 "This package provides a derivative-free optimization by quadratic approximation
5065 based on an interface to Fortran implementations by M. J. D. Powell.")
5066 (license license:gpl2)))
5067
5068 (define-public r-rcppeigen
5069 (package
5070 (name "r-rcppeigen")
5071 (version "0.3.3.5.0")
5072 (source
5073 (origin
5074 (method url-fetch)
5075 (uri (cran-uri "RcppEigen" version))
5076 (sha256
5077 (base32
5078 "01bz41c29591ybzqn4z88ss036ai3anh9figryvmfpqcfwbszip5"))))
5079 (properties `((upstream-name . "RcppEigen")))
5080 (build-system r-build-system)
5081 (propagated-inputs
5082 `(("r-rcpp" ,r-rcpp)
5083 ("r-matrix" ,r-matrix)))
5084 (home-page "http://eigen.tuxfamily.org")
5085 (synopsis "Rcpp integration for the Eigen templated linear algebra library")
5086 (description
5087 "This package provides an integration of Eigen in R using a C++ template
5088 library for linear algebra: matrices, vectors, numerical solvers and related algorithms.
5089 It supports dense and sparse matrices on integer, floating point and complex numbers,
5090 decompositions of such matrices, and solutions of linear systems.")
5091 (license license:gpl2+)))
5092
5093 (define-public r-modelmetrics
5094 (package
5095 (name "r-modelmetrics")
5096 (version "1.2.2")
5097 (source
5098 (origin
5099 (method url-fetch)
5100 (uri (cran-uri "ModelMetrics" version))
5101 (sha256
5102 (base32
5103 "158ddbw2snlyzd2q6mdaif5i67kq4qfvadylwjxgv1w2cmszrmk6"))))
5104 (properties `((upstream-name . "ModelMetrics")))
5105 (build-system r-build-system)
5106 (propagated-inputs
5107 `(("r-rcpp" ,r-rcpp)
5108 ("r-data-table" ,r-data-table)))
5109 (home-page "https://cran.r-project.org/web/packages/ModelMetrics")
5110 (synopsis "Rapid calculation of model metrics")
5111 (description
5112 "Written in C++ using @code{Rcpp}, this package provides a collection of
5113 metrics for evaluating models.")
5114 (license license:gpl2+)))
5115
5116 (define-public r-matrixmodels
5117 (package
5118 (name "r-matrixmodels")
5119 (version "0.4-1")
5120 (source
5121 (origin
5122 (method url-fetch)
5123 (uri (cran-uri "MatrixModels" version))
5124 (sha256
5125 (base32
5126 "0cyfvhci2p1vr2x52ymkyqqs63x1qchn856dh2j94yb93r08x1zy"))))
5127 (properties `((upstream-name . "MatrixModels")))
5128 (build-system r-build-system)
5129 (propagated-inputs
5130 `(("r-matrix" ,r-matrix)))
5131 (home-page "https://cran.r-project.org/web/packages/MatrixModels")
5132 (synopsis "Modelling with sparse and dense matrices")
5133 (description
5134 "This package models with sparse and dense matrix matrices,
5135 using modular prediction and response module classes.")
5136 (license license:gpl2+)))
5137
5138 (define-public r-quantreg
5139 (package
5140 (name "r-quantreg")
5141 (version "5.41")
5142 (source
5143 (origin
5144 (method url-fetch)
5145 (uri (cran-uri "quantreg" version))
5146 (sha256
5147 (base32
5148 "110ax3ngn6i94h7iw7ha67kfsmj94hycp7lk62nmyvkp34vpfykh"))))
5149 (build-system r-build-system)
5150 (native-inputs
5151 `(("gfortran" ,gfortran)))
5152 (propagated-inputs
5153 `(("r-matrix" ,r-matrix)
5154 ("r-matrixmodels" ,r-matrixmodels)
5155 ("r-sparsem" ,r-sparsem)))
5156 (home-page "https://www.r-project.org")
5157 (synopsis "Quantile regression")
5158 (description
5159 "This package provides an estimation and inference methods for models
5160 of conditional quantiles: linear and nonlinear parametric and non-parametric
5161 models for conditional quantiles of a univariate response and several methods
5162 for handling censored survival data. Portfolio selection methods based on
5163 expected shortfall risk are also included.")
5164 (license license:gpl2+)))
5165
5166 (define-public r-nloptr
5167 (package
5168 (name "r-nloptr")
5169 (version "1.2.1")
5170 (source
5171 (origin
5172 (method url-fetch)
5173 (uri (cran-uri "nloptr" version))
5174 (sha256
5175 (base32
5176 "15yz60kljxwnhm2m3gryjzxl3ynhkhd5jiwc179b1hz6rlzf71hz"))))
5177 (build-system r-build-system)
5178 (native-inputs
5179 `(("r-knitr" ,r-knitr) ; for building vignettes
5180 ("pkg-config" ,pkg-config)
5181 ("gfortran" ,gfortran)))
5182 (inputs
5183 `(("nlopt" ,nlopt)))
5184 (home-page "https://cran.r-project.org/web/packages/nloptr")
5185 (synopsis "R interface to NLopt")
5186 (description
5187 "This package is interface to NLopt, a library for nonlinear
5188 optimization. NLopt is a library for nonlinear optimization, providing a
5189 common interface for a number of different free optimization routines
5190 available online as well as original implementations of various other
5191 algorithms.")
5192 (license license:lgpl3)))
5193
5194 (define-public r-lme4
5195 (package
5196 (name "r-lme4")
5197 (version "1.1-21")
5198 (source
5199 (origin
5200 (method url-fetch)
5201 (uri (cran-uri "lme4" version))
5202 (sha256
5203 (base32
5204 "035j2hqkwv939xl07pm2vykvf3wlx8qj317846n9pkpqkyv58mbz"))))
5205 (build-system r-build-system)
5206 (propagated-inputs
5207 `(("r-boot" ,r-boot)
5208 ("r-lattice" ,r-lattice)
5209 ("r-mass" ,r-mass)
5210 ("r-matrix" ,r-matrix)
5211 ("r-minqa" ,r-minqa)
5212 ("r-nloptr" ,r-nloptr)
5213 ("r-nlme" ,r-nlme)
5214 ("r-rcpp" ,r-rcpp)
5215 ("r-rcppeigen" ,r-rcppeigen)))
5216 (home-page "https://cran.r-project.org/web/packages/lme4")
5217 (synopsis "Linear mixed-effects models using eigen and S4")
5218 (description
5219 "This package provides fit linear and generalized linear mixed-effects
5220 models. The models and their components are represented using S4 classes and
5221 methods. The core computational algorithms are implemented using the Eigen
5222 C++ library for numerical linear algebra and RcppEigen glue.")
5223 (license license:gpl2+)))
5224
5225 (define-public r-pbkrtest
5226 (package
5227 (name "r-pbkrtest")
5228 (version "0.4-7")
5229 (source
5230 (origin
5231 (method url-fetch)
5232 (uri (cran-uri "pbkrtest" version))
5233 (sha256
5234 (base32
5235 "1si3bhi59xc51a0pgjjglccq3h4aljyhw2k1b8574s145fnh7fsw"))))
5236 (build-system r-build-system)
5237 (propagated-inputs
5238 `(("r-lme4" ,r-lme4)
5239 ("r-mass" ,r-mass)
5240 ("r-matrix" ,r-matrix)))
5241 (home-page "http://people.math.aau.dk/~sorenh/software/pbkrtest/")
5242 (synopsis "Methods for linear mixed model comparison")
5243 (description
5244 "This package implements a parametric bootstrap test and a Kenward Roger
5245 modification of F-tests for linear mixed effects models and a parametric
5246 bootstrap test for generalized linear mixed models.")
5247 (license license:gpl2+)))
5248
5249 (define-public r-cardata
5250 (package
5251 (name "r-cardata")
5252 (version "3.0-2")
5253 (source
5254 (origin
5255 (method url-fetch)
5256 (uri (cran-uri "carData" version))
5257 (sha256
5258 (base32
5259 "152lfgaspgx6x2wzdb5p3zv6r87a0d2pg10h6fjmdr613kzlwp1v"))))
5260 (properties `((upstream-name . "carData")))
5261 (build-system r-build-system)
5262 (home-page "https://r-forge.r-project.org/projects/car/")
5263 (synopsis "Data Sets for the book Companion to Applied Regression")
5264 (description
5265 "This package provides datasets to accompany J. Fox and S. Weisberg, An R
5266 Companion to Applied Regression, Third Edition, Sage.")
5267 (license license:gpl2+)))
5268
5269 (define-public r-car
5270 (package
5271 (name "r-car")
5272 (version "3.0-3")
5273 (source
5274 (origin
5275 (method url-fetch)
5276 (uri (cran-uri "car" version))
5277 (sha256
5278 (base32
5279 "0vy3g3bjljd2al8xb9qr45f98is7yppc9jilqn7b6zvf5yqpr07s"))))
5280 (build-system r-build-system)
5281 (propagated-inputs
5282 `(("r-abind" ,r-abind)
5283 ("r-cardata" ,r-cardata)
5284 ("r-lme4" ,r-lme4)
5285 ("r-maptools" ,r-maptools)
5286 ("r-mass" ,r-mass)
5287 ("r-mgcv" ,r-mgcv)
5288 ("r-nlme" ,r-nlme)
5289 ("r-nnet" ,r-nnet)
5290 ("r-pbkrtest" ,r-pbkrtest)
5291 ("r-quantreg" ,r-quantreg)
5292 ("r-rio" ,r-rio)))
5293 (home-page "https://r-forge.r-project.org/projects/car/")
5294 (synopsis "Companion to applied regression")
5295 (description
5296 "This package provides functions and datasets from book Companion
5297 to Applied regression, Second Edition, Sage, 2011.")
5298 (license license:gpl2+)))
5299
5300 (define-public r-caret
5301 (package
5302 (name "r-caret")
5303 (version "6.0-84")
5304 (source
5305 (origin
5306 (method url-fetch)
5307 (uri (cran-uri "caret" version))
5308 (sha256
5309 (base32
5310 "03898irgb70q0p01kq99yb6q6xji0jx4jmj0yxlv8wcwd841r0x1"))))
5311 (build-system r-build-system)
5312 (propagated-inputs
5313 `(("r-foreach" ,r-foreach)
5314 ("r-ggplot2" ,r-ggplot2)
5315 ("r-lattice" ,r-lattice)
5316 ("r-modelmetrics" ,r-modelmetrics)
5317 ("r-nlme" ,r-nlme)
5318 ("r-plyr" ,r-plyr)
5319 ("r-recipes" ,r-recipes)
5320 ("r-reshape2" ,r-reshape2)
5321 ("r-withr" ,r-withr)))
5322 (home-page "https://github.com/topepo/caret")
5323 (synopsis "Classification and regression training")
5324 (description
5325 "This package provides misc functions for training and plotting
5326 classification and regression models.")
5327 (license license:gpl2+)))
5328
5329 (define-public r-rcppprogress
5330 (package
5331 (name "r-rcppprogress")
5332 (version "0.4.1")
5333 (source
5334 (origin
5335 (method url-fetch)
5336 (uri (cran-uri "RcppProgress" version))
5337 (sha256
5338 (base32
5339 "0yk01hfv961zyp569682k9igvhnwqyg5j0n5fm63sxigj82l2xhi"))))
5340 (properties `((upstream-name . "RcppProgress")))
5341 (build-system r-build-system)
5342 (propagated-inputs
5343 `(("r-devtools" ,r-devtools)
5344 ("r-rcpp" ,r-rcpp)))
5345 (home-page "https://github.com/kforner/rcpp_progress")
5346 (synopsis "Interruptible progress bar for C++ in R packages")
5347 (description
5348 "This package allows to display a progress bar in the R console for long running
5349 computations taking place in C++ code, and support for interrupting those computations
5350 even in multithreaded code, typically using OpenMP.")
5351 (license license:gpl3+)))
5352
5353 (define-public r-mnormt
5354 (package
5355 (name "r-mnormt")
5356 (version "1.5-5")
5357 (source
5358 (origin
5359 (method url-fetch)
5360 (uri (cran-uri "mnormt" version))
5361 (sha256
5362 (base32
5363 "1b34xxrnf35khsx82mhvmk96sgfr2flyasaah7qkb2976pwxay7z"))))
5364 (build-system r-build-system)
5365 (native-inputs
5366 `(("gfortran" ,gfortran)))
5367 (home-page "http://azzalini.stat.unipd.it/SW/Pkg-mnormt")
5368 (synopsis "Multivariate normal and \"t\" distributions")
5369 (description
5370 "This package provides functions for computing the density and the
5371 distribution function of multivariate normal and \"t\" random variables, and
5372 for generating random vectors sampled from these distributions. Probabilities
5373 are computed via non-Monte Carlo methods.")
5374 (license license:gpl2+)))
5375
5376 (define-public r-numderiv
5377 (package
5378 (name "r-numderiv")
5379 (version "2016.8-1.1")
5380 (source
5381 (origin
5382 (method url-fetch)
5383 (uri (cran-uri "numDeriv" version))
5384 (sha256
5385 (base32
5386 "0idk02pqkziik932bd8k72d1q775g1is3m4bc861pcxfz6gx3i6q"))))
5387 (properties `((upstream-name . "numDeriv")))
5388 (build-system r-build-system)
5389 (home-page "https://cran.r-project.org/web/packages/numDeriv")
5390 (synopsis "Accurate numerical derivatives")
5391 (description
5392 "This package provides methods for calculating accurate numerical
5393 first and second order derivatives.")
5394 (license license:gpl2)))
5395
5396 (define-public r-sn
5397 (package
5398 (name "r-sn")
5399 (version "1.5-4")
5400 (source
5401 (origin
5402 (method url-fetch)
5403 (uri (cran-uri "sn" version))
5404 (sha256
5405 (base32
5406 "0x46gxkplxbnhaqbpiav1r4xlv4ib7n57kxmca7scqwj22y7wrs6"))))
5407 (build-system r-build-system)
5408 (propagated-inputs
5409 `(("r-mnormt" ,r-mnormt)
5410 ("r-numderiv" ,r-numderiv)))
5411 (home-page "http://azzalini.stat.unipd.it/SN")
5412 (synopsis "The skew-normal and skew-t distributions")
5413 (description
5414 "This package provides functionalities to build and manipulate
5415 probability distributions of the skew-normal family and some related
5416 ones, notably the skew-t family, and provides related statistical
5417 methods for data fitting and diagnostics, in the univariate and the
5418 multivariate case.")
5419 (license license:gpl2+)))
5420
5421 (define-public r-tclust
5422 (package
5423 (name "r-tclust")
5424 (version "1.4-1")
5425 (source
5426 (origin
5427 (method url-fetch)
5428 (uri (cran-uri "tclust" version))
5429 (sha256
5430 (base32
5431 "17md6l9v9dl9b72l84df01b52h2xiynbcjm437mv9mzcr09fc2sb"))))
5432 (build-system r-build-system)
5433 ;; These are all suggested packages, not build dependencies.
5434 (propagated-inputs
5435 `(("r-cluster" ,r-cluster)
5436 ("r-mclust" ,r-mclust)
5437 ("r-mvtnorm" ,r-mvtnorm)
5438 ("r-sn" ,r-sn)))
5439 (home-page "https://cran.r-project.org/web/packages/tclust")
5440 (synopsis "Robust trimmed clustering")
5441 (description
5442 "This package implements different robust clustering
5443 algorithms (@code{tclust}) based on trimming and including some graphical
5444 diagnostic tools (@code{ctlcurves} and @code{DiscrFact}).")
5445 (license license:gpl3)))
5446
5447 (define-public r-ranger
5448 (package
5449 (name "r-ranger")
5450 (version "0.11.2")
5451 (source
5452 (origin
5453 (method url-fetch)
5454 (uri (cran-uri "ranger" version))
5455 (sha256
5456 (base32
5457 "1sxyzxmjc6lm8wcmq15j6sscnza7aay4mr3dyri2zngx6fa8mb0k"))))
5458 (build-system r-build-system)
5459 (propagated-inputs
5460 `(("r-rcpp" ,r-rcpp)
5461 ("r-matrix" ,r-matrix)
5462 ("r-rcppeigen" ,r-rcppeigen)))
5463 (home-page "https://github.com/imbs-hl/ranger")
5464 (synopsis "Fast implementation of random forests")
5465 (description
5466 "This package provides a fast implementation of Random Forests,
5467 particularly suited for high dimensional data. Ensembles of classification,
5468 regression, survival and probability prediction trees are supported. Data from
5469 genome-wide association studies can be analyzed efficiently.")
5470 (license license:gpl3)))
5471
5472 (define-public r-tsne
5473 (package
5474 (name "r-tsne")
5475 (version "0.1-3")
5476 (source
5477 (origin
5478 (method url-fetch)
5479 (uri (cran-uri "tsne" version))
5480 (sha256
5481 (base32
5482 "0s8cv2pndkddq62rzlgzgfdjp1vjv5hz5i5957sllnb97vbzbzb6"))))
5483 (build-system r-build-system)
5484 (home-page "https://github.com/jdonaldson/rtsne/")
5485 (synopsis "t-Distributed Stochastic Neighbor Embedding for R")
5486 (description
5487 "This package provides a pure R implementation of the t-SNE algorithm.")
5488 (license license:gpl2+)))
5489
5490 (define-public r-cairo
5491 (package
5492 (name "r-cairo")
5493 (version "1.5-10")
5494 (source
5495 (origin
5496 (method url-fetch)
5497 (uri (cran-uri "Cairo" version))
5498 (sha256
5499 (base32
5500 "1mdmd5zmjkh1b0x928zizgzh42x8swbajffb88rvnjfdhk1z0dvq"))))
5501 (properties `((upstream-name . "Cairo")))
5502 (build-system r-build-system)
5503 (inputs
5504 `(("cairo" ,cairo)
5505 ("libxt" ,libxt)
5506 ("zlib" ,zlib)))
5507 (native-inputs
5508 `(("pkg-config" ,pkg-config)))
5509 (home-page "http://www.rforge.net/Cairo/")
5510 (synopsis "R graphics device using Cairo graphics library")
5511 (description
5512 "This package provides a Cairo graphics device that can be use to
5513 create high-quality vector (PDF, PostScript and SVG) and bitmap
5514 output (PNG,JPEG,TIFF), and high-quality rendering in displays (X11
5515 and Win32). Since it uses the same back-end for all output, copying
5516 across formats is WYSIWYG. Files are created without the dependence
5517 on X11 or other external programs. This device supports alpha
5518 channel (semi-transparent drawing) and resulting images can contain
5519 transparent and semi-transparent regions. It is ideal for use in
5520 server environments (file output) and as a replacement for other
5521 devices that don't have Cairo's capabilities such as alpha support or
5522 anti-aliasing. Backends are modular such that any subset of backends
5523 is supported.")
5524 (license license:gpl2)))
5525
5526 (define-public r-lubridate
5527 (package
5528 (name "r-lubridate")
5529 (version "1.7.4")
5530 (source
5531 (origin
5532 (method url-fetch)
5533 (uri (cran-uri "lubridate" version))
5534 (sha256
5535 (base32
5536 "14a823il77w3wmmnzr89vwrqp50y56dh5raycnaw6c8nv5xsh32i"))))
5537 (build-system r-build-system)
5538 (propagated-inputs
5539 `(("r-rcpp" ,r-rcpp)
5540 ("r-stringr" ,r-stringr)))
5541 (home-page
5542 "https://cran.r-project.org/web/packages/lubridate")
5543 (synopsis "Make dealing with dates a little easier")
5544 (description
5545 "This package provides functions to work with date-times and time-spans:
5546 fast and user friendly parsing of date-time data, extraction and updating of
5547 components of a date-time (years, months, days, hours, minutes, and seconds),
5548 algebraic manipulation on date-time and time-span objects. The @code{lubridate}
5549 package has a consistent and memorable syntax that makes working with dates
5550 easy and fun.")
5551 (license license:gpl2)))
5552
5553 (define-public r-fdrtool
5554 (package
5555 (name "r-fdrtool")
5556 (version "1.2.15")
5557 (source
5558 (origin
5559 (method url-fetch)
5560 (uri (cran-uri "fdrtool" version))
5561 (sha256
5562 (base32
5563 "1h46frlk7d9f4qx0bg6p55nrm9wwwz2sv6d1nz7061wdfsm69yb5"))))
5564 (build-system r-build-system)
5565 (home-page "http://strimmerlab.org/software/fdrtool/")
5566 (synopsis "Estimation of false discovery rates and higher criticism")
5567 (description
5568 "This package provides tools to estimate tail area-based false discovery
5569 rates as well as local false discovery rates for a variety of null
5570 models (p-values, z-scores, correlation coefficients, t-scores). The
5571 proportion of null values and the parameters of the null distribution are
5572 adaptively estimated from the data. In addition, the package contains
5573 functions for non-parametric density estimation (Grenander estimator), for
5574 monotone regression (isotonic regression and antitonic regression with
5575 weights), for computing the @dfn{greatest convex minorant} (GCM) and the
5576 @dfn{least concave majorant} (LCM), for the half-normal and correlation
5577 distributions, and for computing empirical @dfn{higher criticism} (HC) scores
5578 and the corresponding decision threshold.")
5579 (license license:gpl3+)))
5580
5581 (define-public r-forcats
5582 (package
5583 (name "r-forcats")
5584 (version "0.4.0")
5585 (source
5586 (origin
5587 (method url-fetch)
5588 (uri (cran-uri "forcats" version))
5589 (sha256
5590 (base32
5591 "1cnjh23z59fhbjmy7y95425hcq3m5wrwqvahsxwi7zm6d9bwp0vw"))))
5592 (build-system r-build-system)
5593 (propagated-inputs
5594 `(("r-ellipsis" ,r-ellipsis)
5595 ("r-magrittr" ,r-magrittr)
5596 ("r-tibble" ,r-tibble)
5597 ("r-rlang" ,r-rlang)))
5598 (home-page "http://forcats.tidyverse.org")
5599 (synopsis "Tools for working with factors")
5600 (description "This package provides helpers for reordering factor
5601 levels (including moving specified levels to front, ordering by first
5602 appearance, reversing, and randomly shuffling), and tools for modifying factor
5603 levels (including collapsing rare levels into other, \"anonymizing\", and
5604 manually \"recoding\").")
5605 (license license:gpl3)))
5606
5607 (define-public r-tgstat
5608 (let ((changeset "4f8e60c03598f49aff6f5beeab40f2b995377e9f")
5609 (revision "1"))
5610 (package
5611 (name "r-tgstat")
5612 (version (string-append "1.0.2-" revision "." (string-take changeset 7)))
5613 (source
5614 (origin
5615 (method hg-fetch)
5616 (uri (hg-reference
5617 (url "https://bitbucket.org/tanaylab/tgstat")
5618 (changeset changeset)))
5619 (file-name (string-append name "-" version "-checkout"))
5620 (sha256
5621 (base32
5622 "0ilkkyximy77zbncm91kdfqbxf0qyndg16pd3q3p6a3xc9qcmxvn"))))
5623 (build-system r-build-system)
5624 (arguments
5625 `(#:phases
5626 (modify-phases %standard-phases
5627 (add-after 'unpack 'fix-isnan
5628 (lambda _
5629 (substitute* "src/tgstat.h"
5630 (("#define isnan ::isnan")
5631 "#define isnan std::isnan"))
5632 #t)))))
5633 (propagated-inputs
5634 `(("r-rcpp" ,r-rcpp)))
5635 (home-page "https://bitbucket.org/tanaylab/tgstat/")
5636 (synopsis "Tanay's group statistical utilities")
5637 (description
5638 "The goal of tgstat is to provide fast and efficient statistical
5639 tools.")
5640 (license license:gpl2))))
5641
5642 (define-public r-tgconfig
5643 (let ((changeset "1e02c7614713bd0866c46f0c679a058f8c6d627e")
5644 (revision "1"))
5645 (package
5646 (name "r-tgconfig")
5647 (version (string-append "0.0.0.9000-" revision "." (string-take changeset 7)))
5648 (source
5649 (origin
5650 (method hg-fetch)
5651 (uri (hg-reference
5652 (url "https://bitbucket.org/tanaylab/tgconfig")
5653 (changeset changeset)))
5654 (file-name (string-append name "-" version "-checkout"))
5655 (sha256
5656 (base32
5657 "0xy6c7s7mn1yx191154bwbv1bl424bnvc80syqpl1vdl28ba46rj"))))
5658 (build-system r-build-system)
5659 (propagated-inputs
5660 `(("r-yaml" ,r-yaml)))
5661 (home-page "https://bitbucket.org/tanaylab/tgconfig/")
5662 (synopsis "Infrastructure for managing package parameters")
5663 (description
5664 "The goal of tgconfig is to provide infrastructure for managing package
5665 parameters.")
5666 (license license:gpl3))))
5667
5668 (define-public r-directlabels
5669 (package
5670 (name "r-directlabels")
5671 (version "2018.05.22")
5672 (source
5673 (origin
5674 (method url-fetch)
5675 (uri (cran-uri "directlabels" version))
5676 (sha256
5677 (base32
5678 "0xcpc56ssb9430b0xcdhayk3qaak2qcakyss2pz14y5w2027hblv"))))
5679 (build-system r-build-system)
5680 (propagated-inputs
5681 `(("r-quadprog" ,r-quadprog)))
5682 (home-page "http://directlabels.r-forge.r-project.org/")
5683 (synopsis "Direct labels for multicolor plots")
5684 (description
5685 "This package provides an extensible framework for automatically placing
5686 direct labels onto multicolor plots. Label positions are described using
5687 positioning methods that can be re-used across several different plots. There
5688 are heuristics for examining @code{trellis} and @code{ggplot} objects and
5689 inferring an appropriate positioning method.")
5690 (license license:gpl3)))
5691
5692 (define-public r-catterplots
5693 (let ((commit "40063ec57f9515d231508f135ca0ec769614efb9")
5694 (revision "2"))
5695 (package
5696 (name "r-catterplots")
5697 (version (string-append "0-" revision "." (string-take commit 9)))
5698 (source (origin
5699 (method git-fetch)
5700 (uri (git-reference
5701 (url "https://github.com/Gibbsdavidl/CatterPlots.git")
5702 (commit commit)))
5703 (file-name (string-append name "-" version "-checkout"))
5704 (sha256
5705 (base32
5706 "1wl80pgbz8d9kfpffvkh439hlgz2qldm9m75wqjfrgrg8lcjzrxg"))))
5707 (build-system r-build-system)
5708 (propagated-inputs
5709 `(("r-png" ,r-png)))
5710 (home-page "https://github.com/Gibbsdavidl/CatterPlots")
5711 (synopsis "Scatter plots with cat shaped points")
5712 (description "Did you ever wish you could make scatter plots with cat
5713 shaped points? Now you can!")
5714 (license license:asl2.0))))
5715
5716 (define-public r-colorout
5717 (package
5718 (name "r-colorout")
5719 (version "1.2-0")
5720 (source
5721 (origin
5722 (method url-fetch)
5723 (uri (string-append "https://github.com/jalvesaq/colorout/archive/"
5724 "v" version ".tar.gz"))
5725 (file-name (string-append name "-" version ".tar.gz"))
5726 (sha256
5727 (base32
5728 "07vqx5ihgnq4dzn5jnfjfhdm3957v4prvf8vhnb3cwvlly4l7p9v"))))
5729 (build-system r-build-system)
5730 (home-page "https://github.com/jalvesaq/colorout")
5731 (synopsis "Colorize output in the R REPL")
5732 (description "@code{colorout} is an R package that colorizes R output when
5733 running in terminal emulator.
5734
5735 R STDOUT is parsed and numbers, negative numbers, dates in the standard
5736 format, strings, and R constants are identified and wrapped by special ANSI
5737 scape codes that are interpreted by terminal emulators as commands to colorize
5738 the output. R STDERR is also parsed to identify the expressions warning and
5739 error and their translations to many languages. If these expressions are
5740 found, the output is colorized accordingly; otherwise, it is colorized as
5741 STDERROR (blue, by default).
5742
5743 You can customize the colors according to your taste, guided by the color
5744 table made by the command @code{show256Colors()}. You can also set the colors
5745 to any arbitrary string. In this case, it is up to you to set valid values.")
5746 (license license:gpl3+)))
5747
5748 (define-public r-txtplot
5749 (package
5750 (name "r-txtplot")
5751 (version "1.0-3")
5752 (source
5753 (origin
5754 (method url-fetch)
5755 (uri (cran-uri "txtplot" version))
5756 (sha256
5757 (base32
5758 "1949ab1bzvysdb79g8x1gaknj0ih3d6g63pv9512h5m5l3a6c31h"))))
5759 (build-system r-build-system)
5760 (home-page "https://cran.r-project.org/web/packages/txtplot/")
5761 (synopsis "Text-based plotting")
5762 (description "This package provides functions to produce rudimentary ASCII
5763 graphics directly in the terminal window. This package provides a basic
5764 plotting function (and equivalents of curve, density, acf and barplot) as well
5765 as a boxplot function.")
5766 (license license:lgpl3+)))
5767
5768 (define-public python-rpy2
5769 ;; We need to take this changeset instead of the RELEASE_3_0_4 tag, because
5770 ;; it fixes a regression when using ggplot 3.2.0.
5771 (let ((changeset "19868a8")
5772 (revision "1"))
5773 (package
5774 (name "python-rpy2")
5775 (version (git-version "3.0.4" revision changeset))
5776 (source
5777 (origin
5778 (method hg-fetch)
5779 (uri (hg-reference
5780 (url "https://bitbucket.org/rpy2/rpy2")
5781 (changeset changeset)))
5782 (file-name (git-file-name name version))
5783 (sha256
5784 (base32
5785 "1bb0wslcbj3wjvyk3jb9yyzdi6adfqh5vfgcvn22dyzxzbhcs8kk"))))
5786 (build-system python-build-system)
5787 (arguments
5788 '(#:modules ((ice-9 ftw)
5789 (srfi srfi-1)
5790 (srfi srfi-26)
5791 (guix build utils)
5792 (guix build python-build-system))
5793 #:phases
5794 (modify-phases %standard-phases
5795 (replace 'check
5796 (lambda* (#:key outputs inputs #:allow-other-keys)
5797 (let ((cwd (getcwd)))
5798 (setenv "TZ" "UTC")
5799 (setenv "PYTHONPATH"
5800 (string-append cwd "/build/"
5801 (find (cut string-prefix? "lib" <>)
5802 (scandir (string-append cwd "/build")))
5803 ":"
5804 (getenv "PYTHONPATH"))))
5805 (invoke "pytest" "-v" "rpy/tests/"))))))
5806 (propagated-inputs
5807 `(("python-cffi" ,python-cffi)
5808 ("python-six" ,python-six)
5809 ("python-jinja2" ,python-jinja2)
5810 ("python-numpy" ,python-numpy)
5811 ("python-pandas" ,python-pandas)
5812 ("python-pytz" ,python-pytz)
5813 ("python-ipython" ,python-ipython)
5814 ("python-tzlocal" ,python-tzlocal)))
5815 (inputs
5816 `(("readline" ,readline)
5817 ("icu4c" ,icu4c)
5818 ("pcre" ,pcre)
5819 ("r-minimal" ,r-minimal)
5820 ("r-survival" ,r-survival)
5821 ("r-ggplot2" ,r-ggplot2)
5822 ("r-rsqlite" ,r-rsqlite)
5823 ("r-dplyr" ,r-dplyr)
5824 ("r-dbplyr" ,r-dbplyr)
5825 ("python-numpy" ,python-numpy)))
5826 (native-inputs
5827 `(("zlib" ,zlib)
5828 ("python-pytest" ,python-pytest)))
5829 (home-page "https://rpy2.bitbucket.io/")
5830 (synopsis "Python interface to the R language")
5831 (description "rpy2 is a redesign and rewrite of rpy. It is providing a
5832 low-level interface to R from Python, a proposed high-level interface,
5833 including wrappers to graphical libraries, as well as R-like structures and
5834 functions.")
5835 ;; Any of these licenses can be picked for the R interface. The whole
5836 ;; project is released under GPLv2+ according to the license declaration
5837 ;; in "setup.py".
5838 (license (list license:mpl2.0 license:gpl2+ license:lgpl2.1+)))))
5839
5840 (define-public java-jdistlib
5841 (package
5842 (name "java-jdistlib")
5843 (version "0.4.5")
5844 (source (origin
5845 (method url-fetch)
5846 (uri (string-append "mirror://sourceforge/jdistlib/jdistlib-"
5847 version "-src.jar"))
5848 (sha256
5849 (base32
5850 "1pkj8aahw9ydr1isbaqrkd05nvq98ik5jwwhf3yf3rky3z869v11"))))
5851 (build-system ant-build-system)
5852 (arguments
5853 `(#:jar-name "jdistlib.jar"
5854 #:jdk ,icedtea-8
5855 #:tests? #f ; no dedicated test directory
5856 #:phases
5857 (modify-phases %standard-phases
5858 (add-after 'unpack 'fix-broken-encoding
5859 (lambda _
5860 (with-fluids ((%default-port-encoding "ISO-8859-1"))
5861 (substitute* "src/jdistlib/Beta.java"
5862 (("Scheff.+-Tukey") "Scheffe-Tukey")))
5863 #t)))))
5864 (propagated-inputs
5865 `(("java-jtransforms" ,java-jtransforms)))
5866 (native-inputs
5867 `(("java-junit" ,java-junit)))
5868 (home-page "http://jdistlib.sourceforge.net/")
5869 (synopsis "Java library of statistical distributions")
5870 (description "JDistlib is the Java Statistical Distribution Library, a
5871 Java package that provides routines for various statistical distributions.")
5872 ;; The files that were translated from R code are under GPLv2+; some files
5873 ;; are under the GPLv3, which is a mistake. The author confirmed in an
5874 ;; email that this whole project should be under GPLv2+.
5875 (license license:gpl2+)))
5876
5877 (define-public emacs-ess
5878 (package
5879 (name "emacs-ess")
5880 (version "17.11")
5881 (source (origin
5882 (method url-fetch)
5883 (uri (string-append "https://github.com/emacs-ess/ESS/archive/v"
5884 version ".tar.gz"))
5885 (sha256
5886 (base32
5887 "0cbilbsiwvcyf6d5y24mymp57m3ana5dkzab3knfs83w4a3a4c5c"))
5888 (file-name (string-append name "-" version ".tar.gz"))
5889 (modules '((guix build utils)))
5890 (snippet
5891 '(begin
5892 ;; Stop ESS from trying to bundle an external julia-mode.el.
5893 (substitute* "lisp/Makefile"
5894 (("^\tjulia-mode.elc\\\\\n") "")
5895 (("^dist: all julia-mode.el")
5896 "dist: all"))
5897 ;; No need to build docs in so many formats. Also, skipping
5898 ;; pdf lets us not pull in texlive.
5899 (substitute* "doc/Makefile"
5900 (("all : info text html pdf")
5901 "all : info")
5902 (("install: install-info install-other-docs")
5903 "install: install-info"))
5904 ;; Test fails upstream
5905 (substitute* "test/ess-r-tests.el"
5906 (("ert-deftest ess-r-namespaced-eval-no-srcref-in-errors ()")
5907 "ert-deftest ess-r-namespaced-eval-no-srcref-in-errors () :expected-result :failed"))
5908 #t))))
5909 (build-system gnu-build-system)
5910 (arguments
5911 (let ((base-directory "/share/emacs/site-lisp/guix.d/ess"))
5912 `(#:make-flags (list (string-append "PREFIX=" %output)
5913 (string-append "ETCDIR=" %output "/"
5914 ,base-directory "/etc")
5915 (string-append "LISPDIR=" %output "/"
5916 ,base-directory))
5917 #:phases
5918 (modify-phases %standard-phases
5919 (delete 'configure)
5920 (add-before 'build 'more-shebang-patching
5921 (lambda* (#:key inputs #:allow-other-keys)
5922 (substitute* "Makeconf"
5923 (("SHELL = /bin/sh")
5924 (string-append "SHELL = " (which "sh"))))
5925 #t))
5926 (replace 'check
5927 (lambda _
5928 (invoke "make" "test")))))))
5929 (inputs
5930 `(("emacs" ,emacs-minimal)
5931 ("r-minimal" ,r-minimal)))
5932 (native-inputs
5933 `(("perl" ,perl)
5934 ("texinfo" ,texinfo)))
5935 (propagated-inputs
5936 `(("emacs-julia-mode" ,emacs-julia-mode)))
5937 (home-page "https://ess.r-project.org/")
5938 (synopsis "Emacs mode for statistical analysis programs")
5939 (description "Emacs Speaks Statistics (ESS) is an add-on package for GNU
5940 Emacs. It is designed to support editing of scripts and interaction with
5941 various statistical analysis programs such as R, Julia, and JAGS.")
5942 (license license:gpl2+)))