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