gnu: ffmpeg@4: Build against SDL2 2.0 so 'ffplay' gets built.
[jackhill/guix/guix.git] / gnu / packages / statistics.scm
1 ;;; GNU Guix --- Functional package management for GNU
2 ;;; Copyright © 2015, 2016, 2017, 2018, 2019, 2020, 2021, 2022 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, 2020, 2021 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–2020, 2022 Tobias Geerinckx-Rice <me@tobias.gr>
12 ;;; Copyright © 2017 Alex Kost <alezost@gmail.com>
13 ;;; Copyright © 2018 Alex Branham <alex.branham@gmail.com>
14 ;;; Copyright © 2020 Tim Howes <timhowes@lavabit.com>
15 ;;; Copyright © 2021 Maxim Cournoyer <maxim.cournoyer@gmail.com>
16 ;;; Copyright © 2021 Bonface Munyoki Kilyungi <me@bonfacemunyoki.com>
17 ;;; Copyright © 2021 Lars-Dominik Braun <lars@6xq.net>
18 ;;; Copyright © 2021 Frank Pursel <frank.pursel@gmail.com>
19 ;;; Copyright © 2022 Simon Tournier <zimon.toutoune@gmail.com>
20 ;;;
21 ;;; This file is part of GNU Guix.
22 ;;;
23 ;;; GNU Guix is free software; you can redistribute it and/or modify it
24 ;;; under the terms of the GNU General Public License as published by
25 ;;; the Free Software Foundation; either version 3 of the License, or (at
26 ;;; your option) any later version.
27 ;;;
28 ;;; GNU Guix is distributed in the hope that it will be useful, but
29 ;;; WITHOUT ANY WARRANTY; without even the implied warranty of
30 ;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
31 ;;; GNU General Public License for more details.
32 ;;;
33 ;;; You should have received a copy of the GNU General Public License
34 ;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
35
36 (define-module (gnu packages statistics)
37 #:use-module (guix gexp)
38 #:use-module ((guix licenses) #:prefix license:)
39 #:use-module (guix packages)
40 #:use-module (guix download)
41 #:use-module (guix hg-download)
42 #:use-module (guix git-download)
43 #:use-module (guix utils)
44 #:use-module (guix build-system ant)
45 #:use-module (guix build-system emacs)
46 #:use-module (guix build-system gnu)
47 #:use-module (guix build-system r)
48 #:use-module (guix build-system python)
49 #:use-module (guix build-system trivial)
50 #:use-module (gnu packages)
51 #:use-module (gnu packages algebra)
52 #:use-module (gnu packages autotools)
53 #:use-module (gnu packages bash)
54 #:use-module (gnu packages check)
55 #:use-module (gnu packages compression)
56 #:use-module (gnu packages cran)
57 #:use-module (gnu packages curl)
58 #:use-module (gnu packages emacs)
59 #:use-module (gnu packages emacs-xyz)
60 #:use-module (gnu packages fontutils)
61 #:use-module (gnu packages gcc)
62 #:use-module (gnu packages gtk)
63 #:use-module (gnu packages gettext)
64 #:use-module (gnu packages glib)
65 #:use-module (gnu packages haskell-xyz)
66 #:use-module (gnu packages icu4c)
67 #:use-module (gnu packages image)
68 #:use-module (gnu packages java)
69 #:use-module (gnu packages javascript)
70 #:use-module (gnu packages libffi)
71 #:use-module (gnu packages linux)
72 #:use-module (gnu packages machine-learning)
73 #:use-module (gnu packages maths)
74 #:use-module (gnu packages multiprecision)
75 #:use-module (gnu packages ncurses)
76 #:use-module (gnu packages pcre)
77 #:use-module (gnu packages perl)
78 #:use-module (gnu packages pkg-config)
79 #:use-module (gnu packages python)
80 #:use-module (gnu packages python-science)
81 #:use-module (gnu packages python-xyz)
82 #:use-module (gnu packages readline)
83 #:use-module (gnu packages shells)
84 #:use-module (gnu packages sphinx)
85 #:use-module (gnu packages ssh)
86 #:use-module (gnu packages tcl)
87 #:use-module (gnu packages tex)
88 #:use-module (gnu packages texinfo)
89 #:use-module (gnu packages time)
90 #:use-module (gnu packages tls)
91 #:use-module (gnu packages base)
92 #:use-module (gnu packages uglifyjs)
93 #:use-module (gnu packages version-control)
94 #:use-module (gnu packages web)
95 #:use-module (gnu packages xml)
96 #:use-module (gnu packages xorg)
97 #:use-module (srfi srfi-1)
98 #:use-module (ice-9 match))
99
100
101 (define-public pspp
102 (package
103 (name "pspp")
104 (version "1.4.1")
105 (source
106 (origin
107 (method url-fetch)
108 (uri (string-append "mirror://gnu/pspp/pspp-"
109 version ".tar.gz"))
110 (sha256
111 (base32
112 "0lqrash677b09zxdlxp89z6k02y4i23mbqg83956dwl69wc53dan"))))
113 (build-system gnu-build-system)
114 (arguments
115 (list #:phases
116 #~(modify-phases %standard-phases
117 (add-before 'check 'prepare-tests
118 ;; Prevent irrelevant errors that cause test output mismatches:
119 ;; ‘Fontconfig error: No writable cache directories’
120 (lambda _
121 (setenv "XDG_CACHE_HOME" (getcwd)))))))
122 (inputs
123 (list cairo
124 gettext-minimal
125 gsl
126 libxml2
127 pango
128 readline
129 gtk+
130 gtksourceview-3
131 spread-sheet-widget
132 zlib))
133 (native-inputs
134 (list autoconf ;for tests
135 `(,glib "bin") ;for glib-genmarshal
136 perl
137 pkg-config
138 python-2 ;for tests
139 texinfo))
140 (home-page "https://www.gnu.org/software/pspp/")
141 (synopsis "Statistical analysis")
142 (description
143 "GNU PSPP is a statistical analysis program. It can perform
144 descriptive statistics, T-tests, linear regression and non-parametric tests.
145 It features both a graphical interface as well as command-line input. PSPP
146 is designed to interoperate with Gnumeric, LibreOffice and OpenOffice. Data
147 can be imported from spreadsheets, text files and database sources and it can
148 be output in text, PostScript, PDF or HTML.")
149 (license license:gpl3+)))
150
151 (define-public jags
152 (package
153 (name "jags")
154 (version "4.3.1")
155 (source (origin
156 (method url-fetch)
157 (uri (string-append "mirror://sourceforge/mcmc-jags/JAGS/"
158 (version-major version) ".x/Source/"
159 "JAGS-" version ".tar.gz"))
160 (sha256
161 (base32
162 "0aa2w4g5057vn1qjp954s2kwxfmy1h7p5yn56fyi7sz9nmaq69gr"))))
163 (build-system gnu-build-system)
164 (home-page "http://mcmc-jags.sourceforge.net/")
165 (native-inputs
166 (list gfortran lapack))
167 (synopsis "Gibbs sampler")
168 (description "JAGS is Just Another Gibbs Sampler. It is a program for
169 analysis of Bayesian hierarchical models using Markov Chain Monte Carlo (MCMC)
170 simulation not wholly unlike BUGS. JAGS was written with three aims in mind:
171
172 @enumerate
173 @item To have a cross-platform engine for the BUGS language;
174 @item To be extensible, allowing users to write their own functions,
175 distributions and samplers;
176 @item To be a platform for experimentation with ideas in Bayesian modelling.
177 @end enumerate\n")
178 (license license:gpl2)))
179
180 (define-public libxls
181 (package
182 (name "libxls")
183 (version "1.6.2")
184 (source
185 (origin
186 (method url-fetch)
187 (uri (string-append "https://github.com/libxls/libxls/releases/download/"
188 "v" version "/libxls-" version ".tar.gz"))
189 (sha256
190 (base32 "0wg3ymr43aa1j3scyl9x83b2xgg7wilzpil0dj91a8dzji6w7b2x"))))
191 (build-system gnu-build-system)
192 (home-page "https://github.com/libxls/libxls")
193 (synopsis "Read binary (.xls) Excel spreadsheet files")
194 (description
195 "libxls is a C library to read .xls spreadsheet files in the binary OLE
196 BIFF8 format as created by Excel 97 and later versions. It cannot write them.
197
198 This package also provides @command{xls2csv} to export Excel files to CSV.")
199 (license license:bsd-2)))
200
201 ;; Update this package together with the set of recommended packages: r-boot,
202 ;; r-class, r-cluster, r-codetools, r-foreign, r-kernsmooth, r-lattice,
203 ;; r-mass, r-matrix, r-mgcv, r-nlme, r-nnet, r-rpart, r-spatial, r-survival.
204 (define r-with-tests
205 (package
206 (name "r-with-tests")
207 (version "4.2.1")
208 (source (origin
209 (method url-fetch)
210 (uri (string-append "mirror://cran/src/base/R-"
211 (version-major version) "/R-"
212 version ".tar.gz"))
213 (sha256
214 (base32
215 "0gv4di1x835i4nsy21vqw66c0blmmmvyjkixc5a8x117dm4dnljd"))))
216 (build-system gnu-build-system)
217 (arguments
218 `(#:disallowed-references (,tzdata-for-tests)
219 #:make-flags
220 (list (string-append "LDFLAGS=-Wl,-rpath="
221 (assoc-ref %outputs "out")
222 "/lib/R/lib")
223 ;; This affects the embedded timestamp of only the core packages.
224 "PKG_BUILT_STAMP=1970-01-01")
225 #:phases
226 (modify-phases %standard-phases
227 (add-before 'configure 'do-not-compress-serialized-files
228 (lambda* (#:key inputs #:allow-other-keys)
229 ;; This ensures that Guix can detect embedded store references;
230 ;; see bug #28157 for details.
231 (substitute* "src/library/base/makebasedb.R"
232 (("compress = TRUE") "compress = FALSE"))))
233 (add-before 'configure 'patch-coreutils-paths
234 (lambda* (#:key inputs #:allow-other-keys)
235 (let ((uname-bin (search-input-file inputs "/bin/uname"))
236 (rm-bin (search-input-file inputs "/bin/rm")))
237 (substitute* "src/scripts/R.sh.in"
238 (("uname") uname-bin))
239 (substitute* "src/unix/sys-std.c"
240 (("rm -Rf ") (string-append rm-bin " -Rf "))))))
241 (add-after 'unpack 'patch-tests
242 (lambda _
243 ;; This is needed because R is run during the check phase and
244 ;; /bin/sh doesn't exist in the build container.
245 (substitute* "src/unix/sys-unix.c"
246 (("\"/bin/sh\"")
247 (string-append "\"" (which "sh") "\"")))
248 ;; This test fails because line numbers are off by two.
249 (substitute* "tests/reg-packages.R"
250 (("8 <= print" m) (string-append "## " m)))))
251 (add-after 'unpack 'build-reproducibly
252 (lambda _
253 ;; The documentation contains time stamps to demonstrate
254 ;; documentation generation in different phases.
255 (substitute* "src/library/tools/man/Rd2HTML.Rd"
256 (("\\\\%Y-\\\\%m-\\\\%d at \\\\%H:\\\\%M:\\\\%S")
257 "(removed for reproducibility)"))
258
259 ;; Remove timestamp from tracing environment. This fixes
260 ;; reproducibility of "methods.rd{b,x}".
261 (substitute* "src/library/methods/R/trace.R"
262 (("dateCreated = Sys.time\\(\\)")
263 "dateCreated = as.POSIXct(\"1970-1-1 00:00:00\", tz = \"UTC\")"))
264
265 ;; Ensure that gzipped files are reproducible.
266 (substitute* '("src/library/grDevices/Makefile.in"
267 "doc/manual/Makefile.in")
268 (("R_GZIPCMD\\)" line)
269 (string-append line " -n")))
270
271 ;; The "srcfile" procedure in "src/library/base/R/srcfile.R"
272 ;; queries the mtime of a given file and records it in an object.
273 ;; This is acceptable at runtime to detect stale source files,
274 ;; but it destroys reproducibility at build time.
275
276 ;; Similarly, the "srcfilecopy" procedure records the current
277 ;; time. We change both of them to respect SOURCE_DATE_EPOCH.
278 (substitute* "src/library/base/R/srcfile.R"
279 (("timestamp <- (timestamp.*|file.mtime.*)" _ time)
280 (string-append "timestamp <- \
281 as.POSIXct(if (\"\" != Sys.getenv(\"SOURCE_DATE_EPOCH\")) {\
282 as.numeric(Sys.getenv(\"SOURCE_DATE_EPOCH\"))\
283 } else { " time "}, origin=\"1970-01-01\")\n")))
284
285 ;; This library is installed using "install_package_description",
286 ;; so we need to pass the "builtStamp" argument.
287 (substitute* "src/library/tools/Makefile.in"
288 (("(install_package_description\\(.*\"')\\)\"" line prefix)
289 (string-append prefix ", builtStamp='1970-01-01')\"")))
290
291 (substitute* "src/library/Recommended/Makefile.in"
292 (("INSTALL_OPTS =" m)
293 (string-append m " --built-timestamp=1970-01-01" m)))
294
295 ;; R bundles an older version of help2man, which does not respect
296 ;; SOURCE_DATE_EPOCH. We cannot just use the latest help2man,
297 ;; because that breaks a test.
298 (with-fluids ((%default-port-encoding "ISO-8859-1"))
299 (substitute* "tools/help2man.pl"
300 (("my \\$date = strftime \"%B %Y\", localtime" line)
301 (string-append line " 1"))))
302
303 ;; The "References" section of this file when converted to
304 ;; package.rds is sometimes stored with a newline, sometimes with
305 ;; a space. We avoid this problem by removing the line break
306 ;; that is suspected to be the culprit.
307 (substitute* "src/library/methods/DESCRIPTION.in"
308 (("\\(2008\\)\n") "(2008) ")
309 ((" ``Software") "``Software")
310 (("Data Analysis:.") "Data Analysis:\n")
311 (("Programming with R") " Programming with R"))))
312 (add-before 'build 'set-locales
313 (lambda _
314 (setlocale LC_ALL "C")
315 (setenv "LC_ALL" "C")))
316 (add-before 'configure 'set-default-pager
317 ;; Set default pager to "cat", because otherwise it is "false",
318 ;; making "help()" print nothing at all.
319 (lambda _ (setenv "PAGER" "cat")))
320 (add-before 'check 'set-timezone
321 ;; Some tests require the timezone to be set. However, the
322 ;; timezone may not just be "UTC", or else a brittle regression
323 ;; test in reg-tests-1d will fail.
324 (lambda* (#:key inputs #:allow-other-keys)
325 (setenv "TZ" "UTC+1")
326 (setenv "TZDIR"
327 (search-input-directory inputs
328 "share/zoneinfo"))))
329 (add-before 'check 'set-home
330 ;; Some tests require that HOME be set.
331 (lambda _ (setenv "HOME" "/tmp")))
332 (add-after 'build 'make-info
333 (lambda _ (invoke "make" "info")))
334 (add-after 'build 'install-info
335 (lambda _ (invoke "make" "install-info"))))
336 #:configure-flags
337 `(;; We build the recommended packages here, because they are needed in
338 ;; order to run the test suite. We disable them in the r-minimal
339 ;; package.
340 "--with-cairo"
341 "--with-blas=-lopenblas"
342 "--with-libpng"
343 "--with-jpeglib"
344 "--with-libtiff"
345 "--with-ICU"
346 "--with-tcltk"
347 ,(string-append "--with-tcl-config="
348 (assoc-ref %build-inputs "tcl")
349 "/lib/tclConfig.sh")
350 ,(string-append "--with-tk-config="
351 (assoc-ref %build-inputs "tk")
352 "/lib/tkConfig.sh")
353 "--enable-R-shlib"
354 "--enable-BLAS-shlib"
355 "--with-system-tre")))
356 ;; R has some support for Java. When the JDK is available at configure
357 ;; time environment variables pointing to the JDK will be recorded under
358 ;; $R_HOME/etc and ./tools/getsp.java will be compiled which is used by "R
359 ;; CMD javareconf". "R CMD javareconf" appears to only be used to update
360 ;; the recorded environment variables in $R_HOME/etc. Refer to
361 ;; https://cran.r-project.org/doc/manuals/r-release/R-admin.html#Java-support
362 ;; for additional information.
363
364 ;; As the JDK is a rather large input with only very limited effects on R,
365 ;; we decided to drop it.
366 (native-inputs
367 `(("bzip2" ,bzip2)
368 ("perl" ,perl)
369 ("pkg-config" ,pkg-config)
370 ("texinfo" ,texinfo) ; for building HTML manuals
371 ("texlive" ,(texlive-updmap.cfg (list texlive-ae
372 texlive-inconsolata
373 texlive-fonts-ec
374 texlive-grfext
375 texlive-amsfonts
376 texlive-latex-base
377 texlive-latex-fancyvrb
378 texlive-latex-graphics
379 texlive-hyperref
380 texlive-oberdiek
381 texlive-latex-tools
382 texlive-latex-upquote
383 texlive-url
384 texlive-latex-xkeyval)))
385 ("tzdata" ,tzdata-for-tests)
386 ("xz" ,xz)))
387 (inputs
388 `(;; We need not only cairo here, but pango to ensure that tests for the
389 ;; "cairo" bitmapType plotting backend succeed.
390 ("pango" ,pango)
391 ("coreutils" ,coreutils)
392 ("curl" ,curl)
393 ("openblas" ,openblas)
394 ("gfortran" ,gfortran)
395 ("icu4c" ,icu4c)
396 ("libjpeg" ,libjpeg-turbo)
397 ("libpng" ,libpng)
398 ("libtiff" ,libtiff)
399 ("libxt" ,libxt)
400 ("pcre2" ,pcre2)
401 ("readline" ,readline)
402 ;; This avoids a reference to the ungraftable static bash. R uses the
403 ;; detected shell for the "system" procedure.
404 ("bash" ,bash-minimal)
405 ("tcl" ,tcl)
406 ("tk" ,tk)
407 ("which" ,which)
408 ("zlib" ,zlib)))
409 (native-search-paths
410 (list (search-path-specification
411 (variable "R_LIBS_SITE")
412 (files (list "site-library/")))))
413 (home-page "https://www.r-project.org/")
414 (synopsis "Environment for statistical computing and graphics")
415 (description
416 "R is a language and environment for statistical computing and graphics.
417 It provides a variety of statistical techniques, such as linear and nonlinear
418 modeling, classical statistical tests, time-series analysis, classification
419 and clustering. It also provides robust support for producing
420 publication-quality data plots. A large amount of 3rd-party packages are
421 available, greatly increasing its breadth and scope.")
422 (license license:gpl3+)))
423
424 (define-public r-minimal
425 (package (inherit r-with-tests)
426 (name "r-minimal")
427 (arguments
428 `(#:tests? #f
429 ,@(substitute-keyword-arguments (package-arguments r-with-tests)
430 ((#:disallowed-references refs '())
431 (cons perl refs))
432 ((#:configure-flags flags)
433 ;; Do not build the recommended packages. The build system creates
434 ;; random temporary directories and embeds their names in some
435 ;; package files. We build these packages with the r-build-system
436 ;; instead.
437 `(cons "--without-recommended-packages" ,flags))
438 ((#:phases phases '%standard-phases)
439 `(modify-phases ,phases
440 (add-after 'install 'remove-extraneous-references
441 (lambda* (#:key inputs outputs #:allow-other-keys)
442 (let ((out (assoc-ref outputs "out")))
443 (substitute* (string-append out "/lib/R/etc/Makeconf")
444 (("^# configure.*")
445 "# Removed to avoid extraneous references\n"))
446 (substitute* (string-append out "/lib/R/bin/libtool")
447 (((string-append
448 "(-L)?("
449 (assoc-ref inputs "bzip2")
450 "|"
451 (assoc-ref inputs "perl")
452 "|"
453 (assoc-ref inputs "texlive")
454 "|"
455 (assoc-ref inputs "texlive-bin")
456 "|"
457 (assoc-ref inputs "texinfo")
458 "|"
459 (assoc-ref inputs "xz")
460 "|"
461 (format #false
462 "/gnu/store/[^-]+-(~{~a~^|~})-[^/]+"
463 '("glibc-utf8-locales"
464 "libselinux"
465 "libsepol"
466 "file"
467 "texlive-bin"
468 "util-macros"
469 "graphite2"))
470 "|"
471 "/gnu/store/[^-]+-glibc-[^-]+-static"
472 ")/lib")) ""))))))))))))
473
474 (define-public rmath-standalone
475 (package (inherit r-minimal)
476 (name "rmath-standalone")
477 (arguments
478 '(#:phases
479 (modify-phases %standard-phases
480 (add-after 'configure 'chdir
481 (lambda _ (chdir "src/nmath/standalone/") #t)))))
482 (synopsis "Standalone R math library")
483 (description
484 "This package provides the R math library as an independent package.")))
485
486 (define-public r-boot
487 (package
488 (name "r-boot")
489 (version "1.3-28")
490 (source
491 (origin
492 (method url-fetch)
493 (uri (cran-uri "boot" version))
494 (sha256
495 (base32
496 "0cjafhqv1c1mrjjcasqr767vs96wjcc6am9r1icryr8l4zymhwcz"))))
497 (build-system r-build-system)
498 (home-page "https://cran.r-project.org/web/packages/boot")
499 (synopsis "Bootstrap functions for R")
500 (description
501 "This package provides functions and datasets for bootstrapping from the
502 book \"Bootstrap Methods and Their Application\" by A.C. Davison and
503 D.V. Hinkley (1997, CUP), originally written by Angelo Canty for S.")
504 ;; Unlimited distribution
505 (license (license:non-copyleft "file://R/bootfuns.q"))))
506
507 (define-public r-mass
508 (package
509 (name "r-mass")
510 (version "7.3-58.1")
511 (source
512 (origin
513 (method url-fetch)
514 (uri (cran-uri "MASS" version))
515 (sha256
516 (base32
517 "080l4gqkaw9r4s7b0q9hda489rn24p4ma5xf4g8405qkzgif817p"))))
518 (properties `((upstream-name . "MASS")))
519 (build-system r-build-system)
520 (home-page "http://www.stats.ox.ac.uk/pub/MASS4/")
521 (synopsis "Support functions and datasets for Venables and Ripley's MASS")
522 (description
523 "This package provides functions and datasets for the book \"Modern
524 Applied Statistics with S\" (4th edition, 2002) by Venables and Ripley.")
525 ;; Either version may be picked.
526 (license (list license:gpl2 license:gpl3))))
527
528 (define-public r-class
529 (package
530 (name "r-class")
531 (version "7.3-20")
532 (source
533 (origin
534 (method url-fetch)
535 (uri (cran-uri "class" version))
536 (sha256
537 (base32
538 "10slys2jny4k2j8l8k97hwrwd6ryzajfnzywqpq2yc9bqxmh8nz6"))))
539 (build-system r-build-system)
540 (propagated-inputs
541 (list r-mass))
542 (home-page "http://www.stats.ox.ac.uk/pub/MASS4/")
543 (synopsis "R functions for classification")
544 (description
545 "This package provides various functions for classification, including
546 k-nearest neighbour, Learning Vector Quantization and Self-Organizing Maps.")
547 ;; Either of the two versions can be picked.
548 (license (list license:gpl2 license:gpl3))))
549
550 (define-public r-cluster
551 (package
552 (name "r-cluster")
553 (version "2.1.4")
554 (source
555 (origin
556 (method url-fetch)
557 (uri (cran-uri "cluster" version))
558 (sha256
559 (base32
560 "1dpmss4mdpw6la5kjf135h2jj5j5zmqvykpj6fl6n5wslbn0rwf6"))))
561 (build-system r-build-system)
562 (native-inputs
563 (list gfortran))
564 (home-page "https://cran.r-project.org/web/packages/cluster")
565 (synopsis "Methods for cluster analysis")
566 (description
567 "This package provides methods for cluster analysis. It is a much
568 extended version of the original from Peter Rousseeuw, Anja Struyf and Mia
569 Hubert, based on Kaufman and Rousseeuw (1990) \"Finding Groups in Data\".")
570 (license license:gpl2+)))
571
572 (define-public r-codetools
573 (package
574 (name "r-codetools")
575 (version "0.2-18")
576 (source
577 (origin
578 (method url-fetch)
579 (uri (cran-uri "codetools" version))
580 (sha256
581 (base32
582 "0a2c115glq8jxixwfigrpvjabhxchn9r4mc40y41dg9dg6wsd7hs"))))
583 (build-system r-build-system)
584 (home-page "https://cran.r-project.org/web/packages/codetools")
585 (synopsis "Code analysis tools for R")
586 (description "This package provides code analysis tools for R to check R
587 code for possible problems.")
588 ;; Any version of the GPL.
589 (license (list license:gpl2+ license:gpl3+))))
590
591 (define-public r-foreign
592 (package
593 (name "r-foreign")
594 (version "0.8-82")
595 (source
596 (origin
597 (method url-fetch)
598 (uri (cran-uri "foreign" version))
599 (sha256
600 (base32
601 "1yw07yqzfm4w1h92ijyamrmf7rmkqxgamqfd74x7zv4vsn20dvgq"))))
602 (build-system r-build-system)
603 (home-page "https://cran.r-project.org/web/packages/foreign")
604 (synopsis "Read data stored by other statistics software")
605 (description
606 "This package provides functions for reading and writing data stored by
607 some versions of Epi Info, Minitab, S, SAS, SPSS, Stata, Systat and Weka and
608 for reading and writing some dBase files.")
609 (license license:gpl2+)))
610
611 (define-public r-kernsmooth
612 (package
613 (name "r-kernsmooth")
614 (version "2.23-20")
615 (source
616 (origin
617 (method url-fetch)
618 (uri (cran-uri "KernSmooth" version))
619 (sha256
620 (base32
621 "0fgclmzk3ksjsh3j47jqzm3jhqrwn12rkp7f84yr6wr43q2pbsr0"))))
622 (properties `((upstream-name . "KernSmooth")))
623 (build-system r-build-system)
624 (native-inputs
625 (list gfortran))
626 (home-page "https://cran.r-project.org/web/packages/KernSmooth")
627 (synopsis "Functions for kernel smoothing")
628 (description
629 "This package provides functions for kernel smoothing (and density
630 estimation) corresponding to the book: Wand, M.P. and Jones, M.C. (1995)
631 \"Kernel Smoothing\".")
632 ;; Unlimited use and distribution
633 (license (license:non-copyleft "file://LICENCE.note"))))
634
635 (define-public r-lattice
636 (package
637 (name "r-lattice")
638 (version "0.20-45")
639 (source (origin
640 (method url-fetch)
641 (uri (cran-uri "lattice" version))
642 (sha256
643 (base32
644 "1b87fmyjzbg854vpi03my1p25n3d0bchhwsdm2frblxppn98sf12"))))
645 (build-system r-build-system)
646 (home-page "http://lattice.r-forge.r-project.org/")
647 (synopsis "High-level data visualization system")
648 (description
649 "The lattice package provides a powerful and elegant high-level data
650 visualization system inspired by Trellis graphics, with an emphasis on
651 multivariate data. Lattice is sufficient for typical graphics needs, and is
652 also flexible enough to handle most nonstandard requirements.")
653 (license license:gpl2+)))
654
655 (define-public r-matrix
656 (package
657 (name "r-matrix")
658 (version "1.5-1")
659 (source
660 (origin
661 (method url-fetch)
662 (uri (cran-uri "Matrix" version))
663 (sha256
664 (base32
665 "0pap6pb0is2s02l43y982p7banwi844bjpgbcgf6fb8pb01vlzam"))))
666 (properties `((upstream-name . "Matrix")))
667 (build-system r-build-system)
668 (propagated-inputs
669 (list r-lattice))
670 (home-page "http://Matrix.R-forge.R-project.org/")
671 (synopsis "Sparse and dense matrix classes and methods")
672 (description
673 "This package provides classes and methods for dense and sparse matrices
674 and operations on them using LAPACK and SuiteSparse.")
675 (license license:gpl2+)))
676
677 (define-public r-nlme
678 (package
679 (name "r-nlme")
680 (version "3.1-159")
681 (source
682 (origin
683 (method url-fetch)
684 (uri (cran-uri "nlme" version))
685 (sha256
686 (base32 "1gqrv4skfgcny4pdpmymdwjcmsd3hla84s76g18dgqj665f5zc4v"))))
687 (build-system r-build-system)
688 (propagated-inputs
689 (list r-lattice))
690 (native-inputs
691 (list gfortran))
692 (home-page "https://cran.r-project.org/web/packages/nlme")
693 (synopsis "Linear and nonlinear mixed effects models")
694 (description
695 "This package provides tools to fit and compare Gaussian linear and
696 nonlinear mixed-effects models.")
697 (license license:gpl2+)))
698
699 (define-public r-mgcv
700 (package
701 (name "r-mgcv")
702 (version "1.8-40")
703 (source
704 (origin
705 (method url-fetch)
706 (uri (cran-uri "mgcv" version))
707 (sha256
708 (base32 "19g4lzxjw931s68ni7ii81jwi25sf19qs8nlw8r94crvdhk2grnv"))))
709 (build-system r-build-system)
710 (propagated-inputs
711 (list r-matrix r-nlme))
712 (home-page "https://cran.r-project.org/web/packages/mgcv")
713 (synopsis "Mixed generalised additive model computation")
714 (description
715 "GAMs, GAMMs and other generalized ridge regression with multiple smoothing
716 parameter estimation by GCV, REML or UBRE/AIC. The library includes a
717 @code{gam()} function, a wide variety of smoothers, JAGS support and
718 distributions beyond the exponential family.")
719 (license license:gpl2+)))
720
721 (define-public r-nnet
722 (package
723 (name "r-nnet")
724 (version "7.3-17")
725 (source
726 (origin
727 (method url-fetch)
728 (uri (cran-uri "nnet" version))
729 (sha256
730 (base32
731 "0rws3rkd7dz1maz2mkld29jfrixjgacay8rqz7nmi82a2sw0nxgf"))))
732 (build-system r-build-system)
733 (home-page "http://www.stats.ox.ac.uk/pub/MASS4/")
734 (synopsis "Feed-forward neural networks and multinomial log-linear models")
735 (description
736 "This package provides functions for feed-forward neural networks with a
737 single hidden layer, and for multinomial log-linear models.")
738 (license (list license:gpl2+ license:gpl3+))))
739
740 (define-public r-rpart
741 (package
742 (name "r-rpart")
743 (version "4.1.16")
744 (source
745 (origin
746 (method url-fetch)
747 (uri (cran-uri "rpart" version))
748 (sha256
749 (base32
750 "0p22657j6ps6z1dn0ja2fhq4k5xd1rv3cpwzk6nmjd2si8jpbv17"))))
751 (build-system r-build-system)
752 (home-page "https://cran.r-project.org/web/packages/rpart")
753 (synopsis "Recursive partitioning and regression trees")
754 (description
755 "This package provides recursive partitioning functions for
756 classification, regression and survival trees.")
757 (license (list license:gpl2+ license:gpl3+))))
758
759 (define-public r-spatial
760 (package
761 (name "r-spatial")
762 (version "7.3-15")
763 (source
764 (origin
765 (method url-fetch)
766 (uri (cran-uri "spatial" version))
767 (sha256
768 (base32
769 "1vwc7ingskdj1k4nq418x9yl3cw699pckb9xh5a1yp3g9plknqg5"))))
770 (build-system r-build-system)
771 (home-page "http://www.stats.ox.ac.uk/pub/MASS4/")
772 (synopsis "Functions for kriging and point pattern analysis")
773 (description
774 "This package provides functions for kriging and point pattern
775 analysis.")
776 ;; Either version may be picked.
777 (license (list license:gpl2 license:gpl3))))
778
779 (define-public r-survival
780 (package
781 (name "r-survival")
782 (version "3.4-0")
783 (source
784 (origin
785 (method url-fetch)
786 (uri (cran-uri "survival" version))
787 (sha256
788 (base32
789 "04pqkklbjpcqaq49h49j0vw18q4hi31ry3szzf84vzk5fba273m4"))))
790 (build-system r-build-system)
791 (propagated-inputs
792 (list r-matrix))
793 (home-page "https://github.com/therneau/survival")
794 (synopsis "Survival analysis")
795 (description
796 "This package contains the core survival analysis routines, including
797 definition of Surv objects, Kaplan-Meier and Aalen-Johansen (multi-state)
798 curves, Cox models, and parametric accelerated failure time models.")
799 (license license:lgpl2.0+)))
800
801 (define-public r
802 (package (inherit r-minimal)
803 (name "r")
804 (source #f)
805 (build-system trivial-build-system)
806 (arguments '(#:builder (begin (mkdir %output) #t)))
807 (propagated-inputs
808 (list r-minimal
809 r-boot
810 r-class
811 r-cluster
812 r-codetools
813 r-foreign
814 r-kernsmooth
815 r-lattice
816 r-mass
817 r-matrix
818 r-mgcv
819 r-nlme
820 r-nnet
821 r-rpart
822 r-spatial
823 r-survival))))
824
825 (define-public r-bit
826 (package
827 (name "r-bit")
828 (version "4.0.4")
829 (source
830 (origin
831 (method url-fetch)
832 (uri (cran-uri "bit" version))
833 (sha256
834 (base32
835 "0s7isadibxp2wr62r5cpbyh9z31sczzfz4j3rm7gxgjfpqgq8174"))))
836 (build-system r-build-system)
837 (native-inputs
838 (list r-knitr))
839 (home-page "http://ff.r-forge.r-project.org")
840 (synopsis "Class for vectors of 1-bit booleans")
841 (description
842 "This package provides bitmapped vectors of booleans (no @code{NA}s),
843 coercion from and to logicals, integers and integer subscripts, fast boolean
844 operators and fast summary statistics. With @code{bit} class vectors of true
845 binary booleans, @code{TRUE} and @code{FALSE} can be stored with 1 bit only.")
846 (license license:gpl2)))
847
848 (define-public r-bit64
849 (package
850 (name "r-bit64")
851 (version "4.0.5")
852 (source
853 (origin
854 (method url-fetch)
855 (uri (cran-uri "bit64" version))
856 (sha256
857 (base32
858 "0y0m7q1rwam1g88cjx7zyi07mj5dipxd9jkl90f294syx8k6ipr5"))))
859 (build-system r-build-system)
860 (propagated-inputs
861 (list r-bit))
862 (home-page "http://ff.r-forge.r-project.org/")
863 (synopsis "S3 class for vectors of 64 bit integers")
864 (description
865 "The bit64 package provides serializable S3 atomic 64 bit (signed)
866 integers that can be used in vectors, matrices, arrays and @code{data.frames}.
867 Methods are available for coercion from and to logicals, integers, doubles,
868 characters and factors as well as many elementwise and summary functions.
869 Many fast algorithmic operations such as @code{match} and @code{order} support
870 interactive data exploration and manipulation and optionally leverage
871 caching.")
872 (license license:gpl2)))
873
874 (define-public r-chorddiag
875 (package
876 (name "r-chorddiag")
877 (version "0.1.3")
878 (source
879 (origin
880 (method git-fetch)
881 (uri (git-reference
882 (url "https://github.com/mattflor/chorddiag")
883 (commit (string-append "v" version))))
884 (file-name (git-file-name name version))
885 (sha256
886 (base32
887 "1bpy9q861l1hyyiqbx2f7qzp7j7im8bkcfdwgxzk5fm0250p359a"))
888 ;; Delete minified JavaScript file
889 (snippet
890 '(delete-file "inst/htmlwidgets/lib/d3/d3.min.js"))))
891 (build-system r-build-system)
892 (arguments
893 `(#:phases
894 (modify-phases %standard-phases
895 (add-after 'unpack 'process-javascript
896 (lambda* (#:key inputs #:allow-other-keys)
897 (with-directory-excursion "inst/htmlwidgets/lib/d3"
898 (let ((source (assoc-ref inputs "d3.v4.js"))
899 (target "d3.min.js"))
900 (format #true "Processing ~a --> ~a~%"
901 source target)
902 (invoke "esbuild" source "--minify"
903 (string-append "--outfile=" target)))))))))
904 (propagated-inputs
905 (list r-htmlwidgets r-rcolorbrewer))
906 (native-inputs
907 `(("esbuild" ,esbuild)
908 ("r-knitr" ,r-knitr)
909 ("d3.v4.js"
910 ,(origin
911 (method url-fetch)
912 (uri "https://d3js.org/d3.v4.js")
913 (sha256
914 (base32
915 "0y7byf6kcinfz9ac59jxc4v6kppdazmnyqfav0dm4h550fzfqqlg"))))))
916 (home-page "https://github.com/mattflor/chorddiag")
917 (synopsis "Create D3 chord diagram")
918 (description
919 "This package provides tools to create interactive chords diagrams via
920 the D3 Javascript library. Chord diagrams show directed relationships among a
921 group of entities. This package is based on
922 @url{http://bl.ocks.org/mbostock/4062006} with some modifications (fading) and
923 additions (tooltips, bipartite diagram type).")
924 (license license:gpl3+)))
925
926 (define-public r-dichromat
927 (package
928 (name "r-dichromat")
929 (version "2.0-0.1")
930 (source
931 (origin
932 (method url-fetch)
933 (uri (cran-uri "dichromat" version))
934 (sha256
935 (base32 "10b0avdar3d1y8x2ya3x5kqxqg0z0mq872hdzvc1nn4amplph1d1"))))
936 (build-system r-build-system)
937 (home-page "https://cran.r-project.org/web/packages/dichromat")
938 (synopsis "Color schemes for dichromats")
939 (description
940 "Dichromat collapses red-green or green-blue distinctions to simulate the
941 effects of different types of color-blindness.")
942 (license license:gpl2+)))
943
944 (define-public r-digest
945 (package
946 (name "r-digest")
947 (version "0.6.29")
948 (source
949 (origin
950 (method url-fetch)
951 (uri (cran-uri "digest" version))
952 (sha256
953 (base32 "1ncwc5fwsylwlcp9vhkhszw8m5sifg74apig2m2pf168lha1yb3r"))))
954 (build-system r-build-system)
955 ;; Vignettes require r-knitr, which requires r-digest, so we have to
956 ;; disable them and the tests.
957 (arguments
958 `(#:tests? #f
959 #:configure-flags (list "--no-build-vignettes")))
960 (home-page "http://dirk.eddelbuettel.com/code/digest.html")
961 (synopsis "Create cryptographic hash digests of R objects")
962 (description
963 "This package contains an implementation of a function @code{digest()} for
964 the creation of hash digests of arbitrary R objects (using the md5, sha-1,
965 sha-256, crc32, xxhash and murmurhash algorithms) permitting easy comparison
966 of R language objects, as well as a function @code{hmac()} to create hash-based
967 message authentication code.
968
969 Please note that this package is not meant to be deployed for cryptographic
970 purposes for which more comprehensive (and widely tested) libraries such as
971 OpenSSL should be used.")
972 (license license:gpl2+)))
973
974 (define-public r-estimability
975 (package
976 (name "r-estimability")
977 (version "1.4.1")
978 (source (origin
979 (method url-fetch)
980 (uri (cran-uri "estimability" version))
981 (sha256
982 (base32
983 "090i1xwdp4fwj8jr8nk13w49516lfkk5mq1w7l0lff9g8lgaynn6"))))
984 (build-system r-build-system)
985 (home-page "https://cran.r-project.org/web/packages/estimability")
986 (synopsis "Tools for assessing estimability of linear predictions")
987 (description "Provides tools for determining estimability of linear
988 functions of regression coefficients, and @code{epredict} methods that handle
989 non-estimable cases correctly.")
990 (license license:gpl2+)))
991
992 (define-public r-labeling
993 (package
994 (name "r-labeling")
995 (version "0.4.2")
996 (source
997 (origin
998 (method url-fetch)
999 (uri (cran-uri "labeling" version))
1000 (sha256
1001 (base32 "0rfikd9gy70b8qz87q9axcwv8nmn9mbxfdwypxi0sghpfs9df8p0"))))
1002 (build-system r-build-system)
1003 (home-page "https://cran.r-project.org/web/packages/labeling")
1004 (synopsis "Axis labeling algorithms")
1005 (description "The labeling package provides a range of axis labeling
1006 algorithms.")
1007 (license license:expat)))
1008
1009 (define-public r-magrittr
1010 (package
1011 (name "r-magrittr")
1012 (version "2.0.3")
1013 (source
1014 (origin
1015 (method url-fetch)
1016 (uri (cran-uri "magrittr" version))
1017 (sha256
1018 (base32 "1ljmrrm36y31db5z4cl863ap8k3jcaxk0qzy3f0cn6iag4zzigx2"))))
1019 (build-system r-build-system)
1020 ;; knitr needs magrittr
1021 #;
1022 (native-inputs
1023 `(("r-knitr" ,r-knitr)))
1024 (home-page "https://cran.r-project.org/web/packages/magrittr/index.html")
1025 (synopsis "Forward-pipe operator for R")
1026 (description
1027 "Magrittr provides a mechanism for chaining commands with a new
1028 forward-pipe operator, %>%. This operator will forward a value, or the result
1029 of an expression, into the next function call/expression. There is flexible
1030 support for the type of right-hand side expressions. For more information,
1031 see package vignette. To quote Rene Magritte, \"Ceci n'est pas un pipe.\"")
1032 (license license:expat)))
1033
1034 (define-public r-munsell
1035 (package
1036 (name "r-munsell")
1037 (version "0.5.0")
1038 (source
1039 (origin
1040 (method url-fetch)
1041 (uri (cran-uri "munsell" version))
1042 (sha256
1043 (base32 "16g1fzisbpqb15yh3pqf3iia4csppva5dnv1z88x9dg263xskwyh"))))
1044 (build-system r-build-system)
1045 (propagated-inputs
1046 (list r-colorspace))
1047 (home-page "https://cran.r-project.org/web/packages/munsell")
1048 (synopsis "Munsell colour system")
1049 (description
1050 "The Munsell package contains Functions for exploring and using the
1051 Munsell colour system.")
1052 (license license:expat)))
1053
1054 (define-public r-permute
1055 (package
1056 (name "r-permute")
1057 (version "0.9-7")
1058 (source
1059 (origin
1060 (method url-fetch)
1061 (uri (cran-uri "permute" version))
1062 (sha256
1063 (base32
1064 "1h4dyhcsv8p3h3qxsy98pib9v79dddvrnq7qx6abkblsazxqzy7g"))))
1065 (build-system r-build-system)
1066 (native-inputs (list r-knitr))
1067 ;; Tests do not run correctly, but running them properly would entail a
1068 ;; circular dependency with vegan.
1069 (home-page "https://github.com/gavinsimpson/permute")
1070 (synopsis "Functions for Generating Restricted Permutations of Data")
1071 (description
1072 "This package provides a set of restricted permutation designs for freely
1073 exchangeable, line transects (time series), spatial grid designs and permutation
1074 of blocks (groups of samples). @code{permute} also allows split-plot designs,
1075 in which the whole-plots or split-plots or both can be freely exchangeable.")
1076 (license license:gpl2+)))
1077
1078 (define-public r-plyr
1079 (package
1080 (name "r-plyr")
1081 (version "1.8.7")
1082 (source
1083 (origin
1084 (method url-fetch)
1085 (uri (cran-uri "plyr" version))
1086 (sha256
1087 (base32 "0zz88q055c38b9xqzfg1mwm7ikxzlyx3pnk16sfa8dbh2pqxm7vx"))))
1088 (build-system r-build-system)
1089 (propagated-inputs (list r-rcpp))
1090 (home-page "http://had.co.nz/plyr")
1091 (synopsis "Tools for Splitting, Applying and Combining Data")
1092 (description
1093 "Plyr is a set of tools that solves a common set of problems: you need to
1094 break a big problem down into manageable pieces, operate on each piece and
1095 then put all the pieces back together. For example, you might want to fit a
1096 model to each spatial location or time point in your study, summarise data by
1097 panels or collapse high-dimensional arrays to simpler summary statistics.")
1098 (license license:expat)))
1099
1100 (define-public r-proto
1101 (package
1102 (name "r-proto")
1103 (version "1.0.0")
1104 (source
1105 (origin
1106 (method url-fetch)
1107 (uri (cran-uri "proto" version))
1108 (sha256
1109 (base32 "1l843p8vckjckdhgv37ngv47fga5jzy0n00pmipvp05nnaixk54j"))))
1110 (build-system r-build-system)
1111 (home-page "https://github.com/hadley/proto")
1112 (synopsis "Prototype object-based programming")
1113 (description
1114 "Proto is an object oriented system using object-based, also called
1115 prototype-based, rather than class-based object oriented ideas.")
1116 (license license:gpl2+)))
1117
1118 (define-public r-rcolorbrewer
1119 (package
1120 (name "r-rcolorbrewer")
1121 (version "1.1-3")
1122 (source
1123 (origin
1124 (method url-fetch)
1125 (uri (cran-uri "RColorBrewer" version))
1126 (sha256
1127 (base32 "1h0s0f4vvlk40cagp3qwhd0layzkjcnqkiwjyhwqns257i1gahjg"))))
1128 (build-system r-build-system)
1129 (home-page "https://cran.r-project.org/web/packages/RColorBrewer")
1130 (synopsis "ColorBrewer palettes")
1131 (description
1132 "This package provides color schemes for maps (and other graphics)
1133 designed by Cynthia Brewer as described at http://colorbrewer2.org")
1134 ;; Includes code licensed under bsd-4
1135 (license license:asl2.0)))
1136
1137 (define-public r-sendmailr
1138 (package
1139 (name "r-sendmailr")
1140 (version "1.2-1.1")
1141 (source
1142 (origin
1143 (method url-fetch)
1144 (uri (cran-uri "sendmailR" version))
1145 (sha256
1146 (base32
1147 "1dgxl6wnadlw5b3m4has5zalpk3pd5j70hfps92b9lbx4i7xbmr0"))))
1148 (properties `((upstream-name . "sendmailR")))
1149 (build-system r-build-system)
1150 (propagated-inputs
1151 (list r-base64enc))
1152 (home-page
1153 "https://cran.r-project.org/web/packages/sendmailR")
1154 (synopsis "Send email using R")
1155 (description
1156 "This package contains a simple SMTP client which provides a portable
1157 solution for sending email, including attachments, from within R.")
1158 (license license:gpl2+)))
1159
1160 (define-public r-stringi
1161 (package
1162 (name "r-stringi")
1163 (version "1.7.8")
1164 (source
1165 (origin
1166 (method url-fetch)
1167 (uri (cran-uri "stringi" version))
1168 (sha256
1169 (base32
1170 "074b8wky3dhm4vcdqliwz6cqw20ah2x4dcasvnidilbfrnqii2ak"))))
1171 (build-system r-build-system)
1172 (inputs (list icu4c))
1173 (native-inputs (list pkg-config))
1174 (home-page "http://stringi.rexamine.com/")
1175 (synopsis "Character string processing facilities")
1176 (description
1177 "This package allows for fast, correct, consistent, portable, as well as
1178 convenient character string/text processing in every locale and any native
1179 encoding. Owing to the use of the ICU library, the package provides R users
1180 with platform-independent functions known to Java, Perl, Python, PHP, and Ruby
1181 programmers. Among available features there are: pattern searching
1182 (e.g. via regular expressions), random string generation, string collation,
1183 transliteration, concatenation, date-time formatting and parsing, etc.")
1184 (license license:bsd-3)))
1185
1186 (define-public r-stringr
1187 (package
1188 (name "r-stringr")
1189 (version "1.4.1")
1190 (source
1191 (origin
1192 (method url-fetch)
1193 (uri (cran-uri "stringr" version))
1194 (sha256
1195 (base32 "1cfw1lv64lzg16zb04c0fcmd3gx8vq9x73hqikqhgqd3ra88w3gc"))))
1196 (build-system r-build-system)
1197 (propagated-inputs
1198 (list r-glue r-magrittr r-stringi))
1199 ;; We can't add r-knitr here, because this package ends up being an input
1200 ;; to r-knitr.
1201 #;
1202 (native-inputs
1203 (list r-knitr))
1204 (home-page "https://github.com/hadley/stringr")
1205 (synopsis "Simple, consistent wrappers for common string operations")
1206 (description
1207 "Stringr is a consistent, simple and easy to use set of wrappers around
1208 the fantastic @code{stringi} package. All function and argument names (and
1209 positions) are consistent, all functions deal with \"NA\"'s and zero length
1210 vectors in the same way, and the output from one function is easy to feed into
1211 the input of another.")
1212 (license license:gpl2+)))
1213
1214 (define-public r-reshape2
1215 (package
1216 (name "r-reshape2")
1217 (version "1.4.4")
1218 (source
1219 (origin
1220 (method url-fetch)
1221 (uri (cran-uri "reshape2" version))
1222 (sha256
1223 (base32 "1n0jrajpvc8hjkh9z4g8bwq63qy5vy5cgl2pzjardyih4ngcz3fq"))))
1224 (build-system r-build-system)
1225 (propagated-inputs
1226 (list r-plyr r-rcpp r-stringr))
1227 (home-page "https://github.com/hadley/reshape")
1228 (synopsis "Flexibly reshape data: a reboot of the \"reshape\" package")
1229 (description
1230 "Reshape2 is an R library to flexibly restructure and aggregate data
1231 using just two functions: melt and dcast (or acast).")
1232 (license license:expat)))
1233
1234 (define-public r-ggplot2
1235 (package
1236 (name "r-ggplot2")
1237 (version "3.3.6")
1238 (source
1239 (origin
1240 (method url-fetch)
1241 (uri (cran-uri "ggplot2" version))
1242 (sha256
1243 (base32 "1aa377jdfajj8ld2fh159y8havlibsr4pjisf6mkzk8g5awlxjxz"))))
1244 (build-system r-build-system)
1245 (propagated-inputs
1246 (list r-digest
1247 r-glue
1248 r-gtable
1249 r-isoband
1250 r-mass
1251 r-mgcv
1252 r-tibble
1253 r-rlang
1254 r-scales
1255 r-svglite ; Needed for 'ggsave'
1256 r-withr))
1257 (native-inputs
1258 (list r-knitr))
1259 (home-page "https://ggplot2.tidyverse.org")
1260 (synopsis "Implementation of the grammar of graphics")
1261 (description
1262 "Ggplot2 is an implementation of the grammar of graphics in R. It
1263 combines the advantages of both base and lattice graphics: conditioning and
1264 shared axes are handled automatically, and you can still build up a plot step
1265 by step from multiple data sources. It also implements a sophisticated
1266 multidimensional conditioning system and a consistent interface to map data to
1267 aesthetic attributes.")
1268 (license license:gpl2+)))
1269
1270 (define-public r-ggdendro
1271 (package
1272 (name "r-ggdendro")
1273 (version "0.1.23")
1274 (source (origin
1275 (method url-fetch)
1276 (uri (cran-uri "ggdendro" version))
1277 (sha256
1278 (base32
1279 "1f4fz9llmbpb8gh90aid7dvriadx16xdhsl7832yw4pyqj4fjcrs"))))
1280 (build-system r-build-system)
1281 (propagated-inputs
1282 (list r-ggplot2 r-mass))
1283 (native-inputs
1284 (list r-knitr))
1285 (home-page "https://github.com/andrie/ggdendro")
1286 (synopsis "Create Dendrograms and Tree Diagrams Using ggplot2")
1287 (description "This is a set of tools for dendrograms and tree plots using
1288 ggplot2. The ggplot2 philosophy is to clearly separate data from the
1289 presentation. Unfortunately the plot method for dendrograms plots directly
1290 to a plot device with out exposing the data. The ggdendro package resolves
1291 this by making available functions that extract the dendrogram plot data.
1292 The package provides implementations for tree, rpart, as well as diana and
1293 agnes cluster diagrams.")
1294 (license license:gpl2+)))
1295
1296 (define-public r-gdtools
1297 (package
1298 (name "r-gdtools")
1299 (version "0.2.4")
1300 (source
1301 (origin
1302 (method url-fetch)
1303 (uri (cran-uri "gdtools" version))
1304 (sha256
1305 (base32
1306 "0a1hqg5b484ji4g9dy0zi06wn9w7pk6hiy5ljzc1zgj9mbhlr21j"))))
1307 (build-system r-build-system)
1308 (native-inputs
1309 (list pkg-config))
1310 (inputs
1311 (list cairo fontconfig freetype zlib))
1312 (propagated-inputs
1313 (list r-rcpp r-systemfonts))
1314 (home-page "https://cran.r-project.org/web/packages/gdtools")
1315 (synopsis "Utilities for graphical rendering")
1316 (description
1317 "The @code{gdtools} package provides functionalities to get font metrics
1318 and to generate base64 encoded string from raster matrix.")
1319 (license license:gpl3)))
1320
1321 (define-public r-svglite
1322 (package
1323 (name "r-svglite")
1324 (version "2.1.0")
1325 (source
1326 (origin
1327 (method url-fetch)
1328 (uri (cran-uri "svglite" version))
1329 (sha256
1330 (base32
1331 "16wwhfmp9agdz9azslgd8qs77fllhdp6p0m304qfh2p8qy8gah5d"))))
1332 (build-system r-build-system)
1333 (inputs
1334 (list libpng zlib))
1335 (propagated-inputs
1336 (list r-cpp11 r-systemfonts))
1337 (native-inputs
1338 (list r-knitr))
1339 (home-page "https://github.com/hadley/svglite")
1340 (synopsis "SVG graphics device")
1341 (description
1342 "@code{svglite} is a graphics device that produces clean
1343 @dfn{SVG} (Scalable Vector Graphics) output, suitable for use on the web, or
1344 hand editing. Compared to the built-in @code{svg()}, @code{svglite} is
1345 considerably faster, produces smaller files, and leaves text as is.")
1346 (license license:gpl2+)))
1347
1348 (define-public r-assertthat
1349 (package
1350 (name "r-assertthat")
1351 (version "0.2.1")
1352 (source (origin
1353 (method url-fetch)
1354 (uri (cran-uri "assertthat" version))
1355 (sha256
1356 (base32
1357 "17wy5bdfzg73sg2clisg1k3zyn1adkj59x56m5nwia2k8z67zkw5"))))
1358 (build-system r-build-system)
1359 (home-page "https://github.com/hadley/assertthat")
1360 (synopsis "Easy pre and post assertions")
1361 (description
1362 "Assertthat is an extension to stopifnot() that makes it easy to declare
1363 the pre and post conditions that your code should satisfy, while also
1364 producing friendly error messages so that your users know what they've done
1365 wrong.")
1366 (license license:gpl3+)))
1367
1368 (define-public r-lazyeval
1369 (package
1370 (name "r-lazyeval")
1371 (version "0.2.2")
1372 (source (origin
1373 (method url-fetch)
1374 (uri (cran-uri "lazyeval" version))
1375 (sha256
1376 (base32
1377 "1m10i059csrcqkcn59a8wspn784alxsq3symzhn24mhhl894346n"))))
1378 (build-system r-build-system)
1379 (home-page "https://github.com/hadley/lazyeval")
1380 (synopsis "Lazy (non-standard) evaluation in R")
1381 (description
1382 "This package provides the tools necessary to do non-standard
1383 evaluation (NSE) in R.")
1384 (license license:gpl3+)))
1385
1386 (define-public r-dbi
1387 (package
1388 (name "r-dbi")
1389 (version "1.1.3")
1390 (source (origin
1391 (method url-fetch)
1392 (uri (cran-uri "DBI" version))
1393 (sha256
1394 (base32
1395 "13a2656w5j9shpcwa7gj2szy7nk9sajjhlisi5wdpgd57msk7frq"))))
1396 (build-system r-build-system)
1397 (native-inputs
1398 (list r-knitr))
1399 (home-page "https://github.com/rstats-db/DBI")
1400 (synopsis "R database interface")
1401 (description
1402 "The DBI package provides a database interface (DBI) definition for
1403 communication between R and relational database management systems. All
1404 classes in this package are virtual and need to be extended by the various
1405 R/DBMS implementations.")
1406 (license license:lgpl2.0+)))
1407
1408 (define-public r-bh
1409 (package
1410 (name "r-bh")
1411 (version "1.78.0-0")
1412 (source (origin
1413 (method url-fetch)
1414 (uri (cran-uri "BH" version))
1415 (sha256
1416 (base32
1417 "1cwc1q8w9d6i81nclgi7lycsnpj0dcbxlv9rdb0f04r0d03rv7iv"))))
1418 (build-system r-build-system)
1419 (home-page "https://github.com/eddelbuettel/bh")
1420 (synopsis "R package providing subset of Boost headers")
1421 (description
1422 "This package aims to provide the most useful subset of Boost libraries
1423 for template use among CRAN packages.")
1424 (license license:boost1.0)))
1425
1426 (define-public r-evaluate
1427 (package
1428 (name "r-evaluate")
1429 (version "0.16")
1430 (source (origin
1431 (method url-fetch)
1432 (uri (cran-uri "evaluate" version))
1433 (sha256
1434 (base32
1435 "009861l805z4c10cz0pyym5qd2b2wsiignjkz74vl25718k0mz0h"))))
1436 (build-system r-build-system)
1437 (home-page "https://github.com/hadley/evaluate")
1438 (synopsis "Parsing and evaluation tools for R")
1439 (description
1440 "This package provides tools that allow you to recreate the parsing,
1441 evaluation and display of R code, with enough information that you can
1442 accurately recreate what happens at the command line. The tools can easily be
1443 adapted for other output formats, such as HTML or LaTeX.")
1444 (license license:gpl3+)))
1445
1446 (define-public r-formatr
1447 (package
1448 (name "r-formatr")
1449 (version "1.12")
1450 (source (origin
1451 (method url-fetch)
1452 (uri (cran-uri "formatR" version))
1453 (sha256
1454 (base32
1455 "12wch1774113nlrc0lihfn5rbh4hln9sg6dv6zc2bvyb8fzyyllb"))))
1456 (build-system r-build-system)
1457 (native-inputs
1458 (list r-knitr))
1459 (home-page "https://yihui.org/formatr/")
1460 (synopsis "Format R code automatically")
1461 (description
1462 "This package provides a function to format R source code. Spaces and
1463 indent will be added to the code automatically, and comments will be preserved
1464 under certain conditions, so that R code will be more human-readable and tidy.
1465 There is also a Shiny app as a user interface in this package.")
1466 (license license:gpl3+)))
1467
1468 (define-public r-highr
1469 (package
1470 (name "r-highr")
1471 (version "0.9")
1472 (source (origin
1473 (method url-fetch)
1474 (uri (cran-uri "highr" version))
1475 (sha256
1476 (base32
1477 "0kgdv2vf1lz3b5kbal9s83gg6812nw7fvrq0rkyr0v4k1lwi3zxy"))))
1478 (build-system r-build-system)
1479 (propagated-inputs
1480 (list r-xfun))
1481 ;; We cannot add knitr to the inputs, because highr depends on xfun, which
1482 ;; is an input to knitr.
1483 #;
1484 (native-inputs
1485 `(("r-knitr" ,r-knitr)))
1486 (home-page "https://github.com/yihui/highr")
1487 (synopsis "Syntax highlighting for R source code")
1488 (description
1489 "This package provides syntax highlighting for R source code. Currently
1490 it supports LaTeX and HTML output. Source code of other languages is
1491 supported via Andre Simon's highlight package.")
1492 (license license:gpl3+)))
1493
1494 (define-public r-mime
1495 (package
1496 (name "r-mime")
1497 (version "0.12")
1498 (source (origin
1499 (method url-fetch)
1500 (uri (cran-uri "mime" version))
1501 (sha256
1502 (base32
1503 "0j9qbq9jfsp61h2d0xmb87pa2wi8nhb1h2wih7l5drf1sr8i0059"))))
1504 (build-system r-build-system)
1505 (home-page "https://github.com/yihui/mime")
1506 (synopsis "R package to map filenames to MIME types")
1507 (description
1508 "This package guesses the MIME type from a filename extension using the
1509 data derived from /etc/mime.types in UNIX-type systems.")
1510 (license license:gpl2)))
1511
1512 (define-public r-markdown
1513 (package
1514 (name "r-markdown")
1515 (version "1.1")
1516 (source (origin
1517 (method url-fetch)
1518 (uri (cran-uri "markdown" version))
1519 (sha256
1520 (base32
1521 "06zwbrp14bri3470anadd7dvgmw06xf8df6v2pk64wx3f9sd934d"))))
1522 (build-system r-build-system)
1523 ;; Skip check phase because the tests require the r-knitr package to be
1524 ;; installed. This prevents installation failures. Knitr normally
1525 ;; shouldn't be available since r-markdown is a dependency of the r-knitr
1526 ;; package.
1527 (arguments `(#:tests? #f))
1528 (propagated-inputs
1529 (list r-mime r-xfun))
1530 (home-page "https://github.com/rstudio/markdown")
1531 (synopsis "Markdown rendering for R")
1532 (description
1533 "This package provides R bindings to the Sundown Markdown rendering
1534 library (https://github.com/vmg/sundown). Markdown is a plain-text formatting
1535 syntax that can be converted to XHTML or other formats.")
1536 (license license:gpl2)))
1537
1538 (define-public r-yaml
1539 (package
1540 (name "r-yaml")
1541 (version "2.3.5")
1542 (source (origin
1543 (method url-fetch)
1544 (uri (cran-uri "yaml" version))
1545 (sha256
1546 (base32
1547 "0h2ixd95ww12ir13fdzbvjq4lsz6l8hmgv4bbsi89qd0ah2nrpry"))))
1548 (build-system r-build-system)
1549 (home-page "https://cran.r-project.org/web/packages/yaml/")
1550 (synopsis "Methods to convert R data to YAML and back")
1551 (description
1552 "This package implements the libyaml YAML 1.1 parser and
1553 emitter (http://pyyaml.org/wiki/LibYAML) for R.")
1554 (license license:bsd-3)))
1555
1556 (define-public r-knitr
1557 (package
1558 (name "r-knitr")
1559 (version "1.40")
1560 (source (origin
1561 (method url-fetch)
1562 (uri (cran-uri "knitr" version))
1563 (sha256
1564 (base32
1565 "1g1mhnkyxd2sv6p1l6iph9dnmpbwxhah78xx4kq543ks6vzrb3wv"))))
1566 (build-system r-build-system)
1567 (propagated-inputs
1568 (list r-evaluate r-highr r-stringr r-xfun r-yaml))
1569 (home-page "https://yihui.org/knitr/")
1570 (synopsis "General-purpose package for dynamic report generation in R")
1571 (description
1572 "This package provides a general-purpose tool for dynamic report
1573 generation in R using Literate Programming techniques.")
1574 ;; The code is released under any version of the GPL. As it is used by
1575 ;; r-markdown which is available under GPLv2 only, we have chosen GPLv2+
1576 ;; here.
1577 (license license:gpl2+)))
1578
1579 (define-public r-knitrbootstrap
1580 (package
1581 (name "r-knitrbootstrap")
1582 (version "1.0.2")
1583 (source
1584 (origin
1585 (method url-fetch)
1586 (uri (cran-uri "knitrBootstrap" version))
1587 (sha256
1588 (base32
1589 "1aj60j7f0gcs120fdrnfbnb7vk7lfn1phil0mghg6a5zldz4cqs3"))))
1590 (properties `((upstream-name . "knitrBootstrap")))
1591 (build-system r-build-system)
1592 (propagated-inputs
1593 (list r-knitr r-rmarkdown r-markdown))
1594 (home-page "https://github.com/jimhester/knitrBootstrap")
1595 (synopsis "Knitr bootstrap framework")
1596 (description
1597 "This package provides a framework to create Bootstrap 3 HTML reports
1598 from knitr Rmarkdown.")
1599 (license license:expat)))
1600
1601 (define-public r-microbenchmark
1602 (package
1603 (name "r-microbenchmark")
1604 (version "1.4.9")
1605 (source (origin
1606 (method url-fetch)
1607 (uri (cran-uri "microbenchmark" version))
1608 (sha256
1609 (base32
1610 "1lpzpffnjiwnxxl0jhrvyj88fvxqksnpccbpq953xwqf6ypjqga4"))))
1611 (build-system r-build-system)
1612 (home-page "https://cran.r-project.org/web/packages/microbenchmark/")
1613 (synopsis "Accurate timing functions for R")
1614 (description
1615 "This package provides infrastructure to accurately measure and compare
1616 the execution time of R expressions.")
1617 (license license:bsd-2)))
1618
1619 (define-public r-pryr
1620 (package
1621 (name "r-pryr")
1622 (version "0.1.5")
1623 (source (origin
1624 (method url-fetch)
1625 (uri (cran-uri "pryr" version))
1626 (sha256
1627 (base32
1628 "02vp1y7zhv22id43j5c0gdcgn9171dyypqp8rqrlc3w5a7n565kv"))))
1629 (build-system r-build-system)
1630 (propagated-inputs
1631 (list r-codetools r-lobstr r-rcpp r-stringr))
1632 (home-page "https://github.com/hadley/pryr")
1633 (synopsis "Tools for computing on the R language")
1634 (description
1635 "This package provides useful tools to pry back the covers of R and
1636 understand the language at a deeper level.")
1637 (license license:gpl2)))
1638
1639 (define-public r-memoise
1640 (package
1641 (name "r-memoise")
1642 (version "2.0.1")
1643 (source (origin
1644 (method url-fetch)
1645 (uri (cran-uri "memoise" version))
1646 (sha256
1647 (base32
1648 "1srdzv2bp0splislrabmf1sfbqfi3hn189nq7kxhgjn8k3p38l7q"))))
1649 (build-system r-build-system)
1650 (propagated-inputs
1651 (list r-cachem r-rlang))
1652 (home-page "https://github.com/hadley/memoise")
1653 (synopsis "Memoise functions for R")
1654 (description
1655 "This R package caches the results of a function so that when
1656 you call it again with the same arguments it returns the pre-computed value.")
1657 (license license:expat)))
1658
1659 (define-public r-crayon
1660 (package
1661 (name "r-crayon")
1662 (version "1.5.1")
1663 (source (origin
1664 (method url-fetch)
1665 (uri (cran-uri "crayon" version))
1666 (sha256
1667 (base32
1668 "1yaxwkmvjaillngfafgapakqjl6s86ly3j338f78xs58g0xwf9f0"))))
1669 (build-system r-build-system)
1670 (home-page "https://github.com/gaborcsardi/crayon")
1671 (synopsis "Colored terminal output for R")
1672 (description
1673 "Colored terminal output on terminals that support ANSI color and
1674 highlight codes. It also works in Emacs ESS. ANSI color support is
1675 automatically detected. Colors and highlighting can be combined and nested.
1676 New styles can also be created easily. This package was inspired by the
1677 \"chalk\" JavaScript project.")
1678 (license license:expat)))
1679
1680 (define-public r-praise
1681 (package
1682 (name "r-praise")
1683 (version "1.0.0")
1684 (source
1685 (origin
1686 (method url-fetch)
1687 (uri (cran-uri "praise" version))
1688 (sha256
1689 (base32
1690 "1gfyypnvmih97p2r0php9qa39grzqpsdbq5g0fdsbpq5zms5w0sw"))))
1691 (build-system r-build-system)
1692 (home-page "https://github.com/gaborcsardi/praise")
1693 (synopsis "Functions to praise users")
1694 (description
1695 "This package provides template functions to assist in building friendly
1696 R packages that praise their users.")
1697 (license license:expat)))
1698
1699 (define-public r-testthat
1700 (package
1701 (name "r-testthat")
1702 (version "3.1.4")
1703 (source (origin
1704 (method url-fetch)
1705 (uri (cran-uri "testthat" version))
1706 (sha256
1707 (base32
1708 "02cwdix7v8zsvcmcl3h5hfi66w1ln9qi60risf5nl62f3c1yqzm4"))))
1709 (build-system r-build-system)
1710 (propagated-inputs
1711 (list r-brio
1712 r-callr
1713 r-cli
1714 r-crayon
1715 r-desc
1716 r-digest
1717 r-ellipsis
1718 r-evaluate
1719 r-jsonlite
1720 r-lifecycle
1721 r-magrittr
1722 r-pkgload
1723 r-praise
1724 r-processx
1725 r-ps
1726 r-r6
1727 r-rlang
1728 r-waldo
1729 r-withr))
1730 (native-inputs
1731 (list r-knitr))
1732 (home-page "https://github.com/hadley/testthat")
1733 (synopsis "Unit testing for R")
1734 (description
1735 "This package provides a unit testing system for R designed to be fun,
1736 flexible and easy to set up.")
1737 (license license:expat)))
1738
1739 (define-public r-r6
1740 (package
1741 (name "r-r6")
1742 (version "2.5.1")
1743 (source (origin
1744 (method url-fetch)
1745 (uri (cran-uri "R6" version))
1746 (sha256
1747 (base32
1748 "0j5z0b0myzjyyykk310xsa9n2mcm9bz8yqbq4xgz2yzdq8lvv4ld"))))
1749 (build-system r-build-system)
1750 (home-page "https://github.com/wch/R6/")
1751 (synopsis "Classes with reference semantics in R")
1752 (description
1753 "The R6 package allows the creation of classes with reference semantics,
1754 similar to R's built-in reference classes. Compared to reference classes, R6
1755 classes are simpler and lighter-weight, and they are not built on S4 classes
1756 so they do not require the methods package. These classes allow public and
1757 private members, and they support inheritance, even when the classes are
1758 defined in different packages.")
1759 (license license:expat)))
1760
1761 (define-public r-rlang
1762 (package
1763 (name "r-rlang")
1764 (version "1.0.5")
1765 (source (origin
1766 (method url-fetch)
1767 (uri (cran-uri "rlang" version))
1768 (sha256
1769 (base32
1770 "1argj8pvf8b19693r6j7rw1fl4bd99b39h5y52qrm1wpcvjkba9d"))))
1771 (build-system r-build-system)
1772 (home-page "http://rlang.tidyverse.org")
1773 (synopsis "Functions for base types, core R and Tidyverse features")
1774 (description "This package provides a toolbox for working with base types,
1775 core R features like the condition system, and core @code{Tidyverse} features
1776 like tidy evaluation.")
1777 (license license:gpl3)))
1778
1779 (define-public r-tibble
1780 (package
1781 (name "r-tibble")
1782 (version "3.1.8")
1783 (source
1784 (origin
1785 (method url-fetch)
1786 (uri (cran-uri "tibble" version))
1787 (sha256
1788 (base32
1789 "1spdbk5s0wlipfq8jc08p2mk5fq2ql9hm8iwwlfzdlhqbl3hxwxc"))))
1790 (build-system r-build-system)
1791 (propagated-inputs
1792 (list r-fansi
1793 r-lifecycle
1794 r-magrittr
1795 r-pkgconfig
1796 r-pillar
1797 r-rlang
1798 r-vctrs))
1799 (native-inputs
1800 (list r-knitr))
1801 (home-page "https://github.com/hadley/tibble")
1802 (synopsis "Simple data frames")
1803 (description
1804 "This package provides a @code{tbl_df} class that offers better checking
1805 and printing capabilities than traditional data frames.")
1806 (license license:expat)))
1807
1808 (define-public r-dplyr
1809 (package
1810 (name "r-dplyr")
1811 (version "1.0.10")
1812 (source (origin
1813 (method url-fetch)
1814 (uri (cran-uri "dplyr" version))
1815 (sha256
1816 (base32
1817 "0aqggs0gk95b326gzqjab8i27cna1hzik3zi5l2kkr5l4zv3kdis"))))
1818 (build-system r-build-system)
1819 (propagated-inputs
1820 (list r-generics
1821 r-glue
1822 r-lifecycle
1823 r-magrittr
1824 r-pillar
1825 r-r6
1826 r-rlang
1827 r-tibble
1828 r-tidyselect
1829 r-vctrs))
1830 (native-inputs
1831 (list r-knitr))
1832 (home-page "https://github.com/hadley/dplyr")
1833 (synopsis "Tools for working with data frames in R")
1834 (description
1835 "dplyr is the next iteration of plyr. It is focused on tools for
1836 working with data frames. It has three main goals: 1) identify the most
1837 important data manipulation tools needed for data analysis and make them easy
1838 to use in R; 2) provide fast performance for in-memory data by writing key
1839 pieces of code in C++; 3) use the same code interface to work with data no
1840 matter where it is stored, whether in a data frame, a data table or
1841 database.")
1842 (license license:expat)))
1843
1844 (define-public r-dbplyr
1845 (package
1846 (name "r-dbplyr")
1847 (version "2.2.1")
1848 (source
1849 (origin
1850 (method url-fetch)
1851 (uri (cran-uri "dbplyr" version))
1852 (sha256
1853 (base32
1854 "1xqdrfpl5l94cw717d90xx1hs5aswl6s38wr7qximzk8q12gdwx6"))))
1855 (build-system r-build-system)
1856 (propagated-inputs
1857 (list r-assertthat
1858 r-blob
1859 r-cli
1860 r-dbi
1861 r-dplyr
1862 r-glue
1863 r-lifecycle
1864 r-magrittr
1865 r-pillar
1866 r-purrr
1867 r-r6
1868 r-rlang
1869 r-tibble
1870 r-tidyselect
1871 r-vctrs
1872 r-withr))
1873 (native-inputs
1874 (list r-knitr))
1875 (home-page "https://github.com/tidyverse/dbplyr")
1876 (synopsis "Dplyr back end for databases")
1877 (description
1878 "This package provides a dplyr back end for databases that allows you to
1879 work with remote database tables as if they are in-memory data frames. Basic
1880 features works with any database that has a @code{DBI} back end; more advanced
1881 features require SQL translation to be provided by the package author.")
1882 (license license:expat)))
1883
1884 (define-public r-acepack
1885 (package
1886 (name "r-acepack")
1887 (version "1.4.1")
1888 (source
1889 (origin
1890 (method url-fetch)
1891 (uri (cran-uri "acepack" version))
1892 (sha256
1893 (base32
1894 "1f98rpfjmhd92rdc3j004plyfpjailz6j0ycysbac0kgj83haxc2"))))
1895 (build-system r-build-system)
1896 (inputs
1897 (list gfortran))
1898 (home-page "https://cran.r-project.org/web/packages/acepack")
1899 (synopsis "Functions for regression transformations")
1900 (description
1901 "This package provides ACE and AVAS methods for choosing regression
1902 transformations.")
1903 (license license:expat)))
1904
1905 (define-public r-formula
1906 (package
1907 (name "r-formula")
1908 (version "1.2-4")
1909 (source
1910 (origin
1911 (method url-fetch)
1912 (uri (cran-uri "Formula" version))
1913 (sha256
1914 (base32
1915 "1bsw282i5m8rlirbhz7hqvf25zbxschk7yrp152whbzdnmry6w6b"))))
1916 (properties `((upstream-name . "Formula")))
1917 (build-system r-build-system)
1918 (home-page "https://cran.r-project.org/web/packages/Formula")
1919 (synopsis "Extended model formulas")
1920 (description
1921 "This package provides a new class @code{Formula}, which extends the base
1922 class @code{formula}. It supports extended formulas with multiple parts of
1923 regressors on the right-hand side and/or multiple responses on the left-hand
1924 side.")
1925 (license (list license:gpl2+ license:gpl3+))))
1926
1927 (define-public r-locfit
1928 (package
1929 (name "r-locfit")
1930 (version "1.5-9.6")
1931 (source
1932 (origin
1933 (method url-fetch)
1934 (uri (cran-uri "locfit" version))
1935 (sha256
1936 (base32
1937 "0xilf6gp3m8xla2fvxr491j31pvim707mnhswvm9yxnb0d09xs0y"))))
1938 (build-system r-build-system)
1939 (propagated-inputs
1940 (list r-lattice))
1941 (home-page "https://cran.r-project.org/web/packages/locfit")
1942 (synopsis "Local regression, likelihood and density estimation")
1943 (description
1944 "This package provides functions used for local regression, likelihood
1945 and density estimation.")
1946 (license (list license:gpl2+ license:gpl3+))))
1947
1948 (define-public r-chron
1949 (package
1950 (name "r-chron")
1951 (version "2.3-57")
1952 (source (origin
1953 (method url-fetch)
1954 (uri (cran-uri "chron" version))
1955 (sha256
1956 (base32
1957 "0cn2367mw27qf2nj8d1i182ns3nlzlkgix6c18mc3byihimdhicn"))))
1958 (build-system r-build-system)
1959 (home-page "https://cran.r-project.org/web/packages/chron")
1960 (synopsis "Chronological R objects which can handle dates and times")
1961 (description
1962 "This package provides chronological R objects which can handle dates and
1963 times.")
1964 (license license:gpl2)))
1965
1966 (define-public r-data-table
1967 (package
1968 (name "r-data-table")
1969 (version "1.14.2")
1970 (source (origin
1971 (method url-fetch)
1972 (uri (cran-uri "data.table" version))
1973 (sha256
1974 (base32
1975 "0arx5wna0sh0vf5q8rjhh8nqdmnvg2pdpbhljl9l0x4kwm8vjhgp"))))
1976 (build-system r-build-system)
1977 (inputs
1978 (list zlib))
1979 (native-inputs
1980 (list pkg-config r-knitr))
1981 (home-page "https://github.com/Rdatatable/data.table/wiki")
1982 (synopsis "Enhanced version of data.frame R object")
1983 (description
1984 "The R package @code{data.table} is an extension of @code{data.frame}
1985 providing functions for fast aggregation of large data (e.g. 100GB in RAM),
1986 fast ordered joins, fast add/modify/delete of columns by group, column listing
1987 and fast file reading.")
1988 (license license:gpl3+)))
1989
1990 (define-public r-xtable
1991 (package
1992 (name "r-xtable")
1993 (version "1.8-4")
1994 (source
1995 (origin
1996 (method url-fetch)
1997 (uri (cran-uri "xtable" version))
1998 (sha256
1999 (base32
2000 "077xfm0gphvhsay75amd9v90zk57kjgrrlgih04fyrbqqblc1gjs"))))
2001 (build-system r-build-system)
2002 (native-inputs
2003 (list r-knitr)) ; for vignettes
2004 (home-page "http://xtable.r-forge.r-project.org/")
2005 (synopsis "Export R tables to LaTeX or HTML")
2006 (description
2007 "This package provides tools to export R data as LaTeX and HTML tables.")
2008 (license license:gpl2+)))
2009
2010 (define-public python-patsy
2011 (package
2012 (name "python-patsy")
2013 (version "0.5.2")
2014 (source (origin
2015 (method url-fetch)
2016 (uri (pypi-uri "patsy" version))
2017 (sha256
2018 (base32
2019 "17dn72519gvwifw3i8mzwlslxmxkl8ihzfrxg1iblsk70iwdwlsh"))))
2020 (build-system python-build-system)
2021 (arguments
2022 `(#:phases
2023 (modify-phases %standard-phases
2024 (replace 'check
2025 (lambda* (#:key tests? #:allow-other-keys)
2026 (when tests? (invoke "pytest" "-vv")))))))
2027 (propagated-inputs
2028 (list python-numpy python-scipy python-six))
2029 (native-inputs
2030 (list python-pytest))
2031 (home-page "https://github.com/pydata/patsy")
2032 (synopsis "Describe statistical models and build design matrices")
2033 (description
2034 "Patsy is a Python package for describing statistical models and for
2035 building design matrices.")
2036 ;; The majority of the code is distributed under BSD-2. The module
2037 ;; patsy.compat contains code derived from the Python standard library,
2038 ;; and is covered by the PSFL.
2039 (license (list license:bsd-2 license:psfl))))
2040
2041 (define-public python-statsmodels
2042 (package
2043 (name "python-statsmodels")
2044 (version "0.13.1")
2045 (source
2046 (origin
2047 (method url-fetch)
2048 (uri (pypi-uri "statsmodels" version))
2049 (sha256
2050 (base32 "0sbsyxgpzhys5padhkhrj71z4i1q41sm938pz0x8ff6jjvcchvh0"))
2051 (modules '((guix build utils)))
2052 (snippet
2053 '(begin
2054 (for-each delete-file (find-files "." "\\.c$"))))))
2055 (build-system python-build-system)
2056 (arguments
2057 `(;; The test suite is very large and rather brittle. Tests often fail
2058 ;; because of minor changes in dependencies that upstream hasn't fixed
2059 ;; in a new release.
2060 #:tests? #f
2061 #:phases
2062 (modify-phases %standard-phases
2063 (add-after 'unpack 'set-matplotlib-backend-to-agg
2064 (lambda _
2065 ;; Set the matplotlib backend to Agg to avoid problems using the
2066 ;; GTK backend without a display.
2067 (substitute* (append (find-files "statsmodels/graphics/tests" "\\.py")
2068 '("statsmodels/tsa/vector_ar/tests/test_var.py"
2069 "statsmodels/duration/tests/test_survfunc.py"))
2070 (("import matplotlib\\.pyplot as plt" line)
2071 (string-append "import matplotlib;matplotlib.use('Agg');"
2072 line)))
2073 #t)))))
2074 (propagated-inputs
2075 (list python-numpy python-scipy python-pandas python-patsy
2076 python-matplotlib))
2077 (native-inputs
2078 (list python-cython python-nose python-sphinx))
2079 (home-page "http://statsmodels.sourceforge.net/")
2080 (synopsis "Statistical modeling and econometrics in Python")
2081 (description
2082 "Statsmodels is a Python package that provides a complement to scipy for
2083 statistical computations including descriptive statistics and estimation and
2084 inference for statistical models.")
2085 (license license:bsd-3)))
2086
2087 (define-public r-coda
2088 (package
2089 (name "r-coda")
2090 (version "0.19-4")
2091 (source (origin
2092 (method url-fetch)
2093 (uri (cran-uri "coda" version))
2094 (sha256
2095 (base32
2096 "13z5dwfpnyyhpsbpg4xr9g5c1685jhqj90f4x4qkcykr6kykqba2"))))
2097 (build-system r-build-system)
2098 (propagated-inputs
2099 (list r-lattice))
2100 (home-page "https://cran.r-project.org/web/packages/coda")
2101 (synopsis "This is a package for Output Analysis and Diagnostics for MCMC")
2102 (description "This package provides functions for summarizing and plotting
2103 the output from Markov Chain Monte Carlo (MCMC) simulations, as well as
2104 diagnostic tests of convergence to the equilibrium distribution of the Markov
2105 chain.")
2106 (license license:gpl2+)))
2107
2108 (define-public r-ade4
2109 (package
2110 (name "r-ade4")
2111 (version "1.7-19")
2112 (source
2113 (origin
2114 (method url-fetch)
2115 (uri (cran-uri "ade4" version))
2116 (sha256
2117 (base32
2118 "1vv5y6badksnpjb3bcphhjdzzh6i2grmwnsalcf2cfpr3y412lf8"))))
2119 (build-system r-build-system)
2120 (propagated-inputs
2121 (list r-mass r-pixmap r-sp))
2122 (home-page "http://pbil.univ-lyon1.fr/ADE-4")
2123 (synopsis "Multivariate data analysis and graphical display")
2124 (description
2125 "The ade4 package contains data analysis functions to analyze ecological
2126 and environmental data in the framework of Euclidean exploratory methods.")
2127 (license license:gpl2+)))
2128
2129 (define-public r-xml2
2130 (package
2131 (name "r-xml2")
2132 (version "1.3.3")
2133 (source
2134 (origin
2135 (method url-fetch)
2136 (uri (cran-uri "xml2" version))
2137 (sha256
2138 (base32
2139 "138w7hb487al9cbahmnk5rhi23k8a9g7nk7s5dyxd3k1646rqknb"))))
2140 (build-system r-build-system)
2141 (inputs
2142 (list libxml2 zlib))
2143 (native-inputs
2144 (list pkg-config r-knitr))
2145 (home-page "https://github.com/hadley/xml2")
2146 (synopsis "Parse XML with R")
2147 (description
2148 "This package provides a simple, consistent interface to working with XML
2149 files in R. It is built on top of the libxml2 C library.")
2150 (license license:gpl2+)))
2151
2152 (define-public r-multitaper
2153 (package
2154 (name "r-multitaper")
2155 (version "1.0-15")
2156 (source
2157 (origin
2158 (method url-fetch)
2159 (uri (cran-uri "multitaper" version))
2160 (sha256
2161 (base32
2162 "1gm3wr8xqpqiby7q1dr3zxim77v0bvvrqi0hlazf5g3gnkrp2zc3"))))
2163 (build-system r-build-system)
2164 (native-inputs
2165 (list gfortran))
2166 (home-page "https://github.com/wesleyburr/multitaper/")
2167 (synopsis "Multitaper spectral analysis tools")
2168 (description
2169 "This package implements multitaper spectral estimation
2170 techniques using prolate spheroidal sequences (Slepians) and sine
2171 tapers for time series analysis. It includes an adaptive weighted
2172 multitaper spectral estimate, a coherence estimate, Thomson's Harmonic
2173 F-test, and complex demodulation. The Slepians sequences are
2174 generated efficiently using a tridiagonal matrix solution, and
2175 jackknifed confidence intervals are available for most estimates.")
2176 (license license:gpl2+)))
2177
2178 (define-public r-rversions
2179 (package
2180 (name "r-rversions")
2181 (version "2.1.2")
2182 (source (origin
2183 (method url-fetch)
2184 (uri (cran-uri "rversions" version))
2185 (sha256
2186 (base32
2187 "0q5ip3rkhcxz7472fbqddrw3a2wm31b18w7ax0pi6wc27qiihn6y"))))
2188 (build-system r-build-system)
2189 (propagated-inputs
2190 (list r-curl r-xml2))
2191 (home-page "https://github.com/metacran/rversions")
2192 (synopsis "Query R versions, including 'r-release' and 'r-oldrel'")
2193 (description
2194 "This package provides functions to query the main R repository to find
2195 the versions that @code{r-release} and @code{r-oldrel} refer to, and also all
2196 previous R versions and their release dates.")
2197 (license license:expat)))
2198
2199 (define-public r-whisker
2200 (package
2201 (name "r-whisker")
2202 (version "0.4")
2203 (source (origin
2204 (method url-fetch)
2205 (uri (cran-uri "whisker" version))
2206 (sha256
2207 (base32
2208 "1a7vz0dk95xfjvi38wbpw8vmf5qn3g8p490msz2rw0piwidmk1ks"))))
2209 (build-system r-build-system)
2210 (home-page "https://github.com/edwindj/whisker")
2211 (synopsis "Logicless mustache templating for R")
2212 (description
2213 "This package provides logicless templating, with a syntax that is not
2214 limited to R.")
2215 (license license:gpl3+)))
2216
2217 (define-public r-backports
2218 (package
2219 (name "r-backports")
2220 (version "1.4.1")
2221 (source
2222 (origin
2223 (method url-fetch)
2224 (uri (cran-uri "backports" version))
2225 (sha256
2226 (base32
2227 "0x144hij0rzhrxdq3k5ph8fk7pdgl1avjca25j4mlpmhzdckqp44"))))
2228 (build-system r-build-system)
2229 (home-page "https://cran.r-project.org/web/packages/backports")
2230 (synopsis "Reimplementations of functions introduced since R 3.0.0")
2231 (description
2232 "Provides implementations of functions which have been introduced in R
2233 since version 3.0.0. The backports are conditionally exported which results
2234 in R resolving the function names to the version shipped with R (if available)
2235 and uses the implemented backports as fallback. This way package developers
2236 can make use of the new functions without worrying about the minimum required
2237 R version.")
2238 (license license:gpl2+)))
2239
2240 (define-public r-checkmate
2241 (package
2242 (name "r-checkmate")
2243 (version "2.1.0")
2244 (source
2245 (origin
2246 (method url-fetch)
2247 (uri (cran-uri "checkmate" version))
2248 (sha256
2249 (base32
2250 "1ii11lypfz8qwswaiagaxnfq6wqkg3cq4j7k9q40sdd0cd8xv15p"))))
2251 (build-system r-build-system)
2252 (propagated-inputs
2253 (list r-backports))
2254 (native-inputs
2255 (list r-knitr))
2256 (home-page "https://github.com/mllg/checkmate")
2257 (synopsis "Fast and versatile argument checks")
2258 (description
2259 "This package provides tests and assertions to perform frequent argument
2260 checks. A substantial part of the package was written in C to minimize any
2261 worries about execution time overhead.")
2262 (license license:bsd-3)))
2263
2264 (define-public r-bbmisc
2265 (package
2266 (name "r-bbmisc")
2267 (version "1.12")
2268 (source
2269 (origin
2270 (method url-fetch)
2271 (uri (cran-uri "BBmisc" version))
2272 (sha256
2273 (base32
2274 "0gh5f342rwra79i7imv50x8vrhd2zkifm7khb0yv3ndpd4zn62lh"))))
2275 (properties `((upstream-name . "BBmisc")))
2276 (build-system r-build-system)
2277 (propagated-inputs
2278 (list r-checkmate r-data-table))
2279 (home-page "https://github.com/berndbischl/BBmisc")
2280 (synopsis "Miscellaneous functions for R package development")
2281 (description
2282 "This package provides miscellaneous helper functions for the development
2283 of R packages.")
2284 (license license:bsd-3)))
2285
2286 (define-public r-fail
2287 (package
2288 (name "r-fail")
2289 (version "1.3")
2290 (source
2291 (origin
2292 (method url-fetch)
2293 (uri (cran-uri "fail" version))
2294 (sha256
2295 (base32
2296 "0vfm6kmpmgsamda5p0sl771kbnsscan31l2chzssyw93kwmams7d"))))
2297 (build-system r-build-system)
2298 (propagated-inputs
2299 (list r-bbmisc r-checkmate))
2300 (home-page "https://github.com/mllg/fail")
2301 (synopsis "File abstraction interface layer (FAIL)")
2302 (description
2303 "This package provides a more comfortable interface to work with R data
2304 or source files in a key-value fashion.")
2305 (license license:bsd-3)))
2306
2307 (define-public r-batchjobs
2308 (package
2309 (name "r-batchjobs")
2310 (version "1.9")
2311 (source
2312 (origin
2313 (method url-fetch)
2314 (uri (cran-uri "BatchJobs" version))
2315 (sha256
2316 (base32
2317 "0xsw25j2ks9bqgz189qdcyj8hzz93snknlik83nj04s6vy0w7aax"))))
2318 (properties `((upstream-name . "BatchJobs")))
2319 (build-system r-build-system)
2320 (propagated-inputs
2321 (list r-backports
2322 r-bbmisc
2323 r-brew
2324 r-checkmate
2325 r-data-table
2326 r-dbi
2327 r-digest
2328 r-rsqlite
2329 r-sendmailr
2330 r-stringi))
2331 (home-page "https://github.com/tudo-r/BatchJobs")
2332 (synopsis "Batch computing with R")
2333 (description
2334 "This package provides @code{Map}, @code{Reduce} and @code{Filter}
2335 variants to generate jobs on batch computing systems like PBS/Torque, LSF,
2336 SLURM and Sun Grid Engine. Multicore and SSH systems are also supported.")
2337 (license license:bsd-2)))
2338
2339 (define-public r-brew
2340 (package
2341 (name "r-brew")
2342 (version "1.0-7")
2343 (source (origin
2344 (method url-fetch)
2345 (uri (cran-uri "brew" version))
2346 (sha256
2347 (base32
2348 "0vp7d628j6zzxhh6xfw5jlkv7wh6z2l3snbwjgv7jd56vk0mkf1q"))))
2349 (build-system r-build-system)
2350 (home-page "https://cran.r-project.org/web/packages/brew")
2351 (synopsis "Templating framework for report generation")
2352 (description
2353 "The brew package implements a templating framework for mixing text and R
2354 code for report generation. The template syntax is similar to PHP, Ruby's erb
2355 module, Java Server Pages, and Python's psp module.")
2356 (license license:gpl2+)))
2357
2358 (define-public r-desc
2359 (package
2360 (name "r-desc")
2361 (version "1.4.2")
2362 (source
2363 (origin
2364 (method url-fetch)
2365 (uri (cran-uri "desc" version))
2366 (sha256
2367 (base32
2368 "0z1259ghccmrjylydra4bpryqasirsky7bc4gsx0k327pqacz2km"))))
2369 (build-system r-build-system)
2370 (propagated-inputs
2371 (list r-cli r-r6 r-rprojroot))
2372 (home-page "https://github.com/r-pkgs/desc")
2373 (synopsis "Manipulate DESCRIPTION Files")
2374 (description
2375 "This package provides tools to read, write, create, and manipulate
2376 DESCRIPTION files. It is intended for packages that create or manipulate
2377 other packages.")
2378 (license license:expat)))
2379
2380 (define-public r-commonmark
2381 (package
2382 (name "r-commonmark")
2383 (version "1.8.0")
2384 (source
2385 (origin
2386 (method url-fetch)
2387 (uri (cran-uri "commonmark" version))
2388 (sha256
2389 (base32
2390 "0s765c650id19ygx57bsjsw93fwxywmp50zid671bkxi6wlyf1vx"))))
2391 (build-system r-build-system)
2392 (home-page "https://cran.r-project.org/web/packages/commonmark")
2393 (synopsis "CommonMark and Github Markdown Rendering in R")
2394 (description
2395 "The CommonMark specification defines a rationalized version of markdown
2396 syntax. This package uses the @code{cmark} reference implementation for
2397 converting markdown text into various formats including HTML, LaTeX and groff
2398 man. In addition, it exposes the markdown parse tree in XML format. The latest
2399 version of this package also adds support for Github extensions including
2400 tables, autolinks and strikethrough text.")
2401 (license license:bsd-2)))
2402
2403 (define-public r-roxygen2
2404 (package
2405 (name "r-roxygen2")
2406 (version "7.2.1")
2407 (source (origin
2408 (method url-fetch)
2409 (uri (cran-uri "roxygen2" version))
2410 (sha256
2411 (base32
2412 "08fs5jw6npriqsr8pribs2yy1r8163xzcv4gmlgmcaywj4jk9w6j"))))
2413 (build-system r-build-system)
2414 (propagated-inputs
2415 (list r-brew
2416 r-cli
2417 r-commonmark
2418 r-cpp11
2419 r-desc
2420 r-digest
2421 r-knitr
2422 r-pkgload
2423 r-purrr
2424 r-r6
2425 r-rlang
2426 r-stringi
2427 r-stringr
2428 r-withr
2429 r-xml2))
2430 (native-inputs
2431 (list r-knitr))
2432 (home-page "https://github.com/klutometis/roxygen")
2433 (synopsis "In-source documentation system for R")
2434 (description
2435 "Roxygen2 is a Doxygen-like in-source documentation system for Rd,
2436 collation, and NAMESPACE files.")
2437 (license license:gpl2+)))
2438
2439 (define-public r-openssl
2440 (package
2441 (name "r-openssl")
2442 (version "2.0.3")
2443 (source
2444 (origin
2445 (method url-fetch)
2446 (uri (cran-uri "openssl" version))
2447 (sha256
2448 (base32
2449 "1al6cb0qwafa32dxr2hhhv6hvbp26hiykamn7w27z1gc1d99ipkw"))))
2450 (build-system r-build-system)
2451 (arguments
2452 (list
2453 #:phases
2454 '(modify-phases %standard-phases
2455 (add-after 'unpack 'do-not-use-versioned-linking
2456 (lambda _
2457 (substitute* "configure"
2458 (("PKG_LIBS=\"\\$\\{PKG_LIBS_VERSIONED\\}\"")
2459 "PKG_LIBS=\"${PKG_LIBS}\"")))))))
2460 (inputs
2461 (list openssl))
2462 (native-inputs
2463 (list pkg-config r-knitr))
2464 (propagated-inputs
2465 (list r-askpass))
2466 (home-page "https://github.com/jeroenooms/openssl")
2467 (synopsis "Toolkit for encryption, signatures and certificates")
2468 (description
2469 "This package provides R bindings to OpenSSL libssl and libcrypto, plus
2470 custom SSH pubkey parsers. It supports RSA, DSA and NIST curves P-256, P-384
2471 and P-521. Cryptographic signatures can either be created and verified
2472 manually or via x509 certificates. AES block cipher is used in CBC mode for
2473 symmetric encryption; RSA for asymmetric (public key) encryption. High-level
2474 envelope functions combine RSA and AES for encrypting arbitrary sized data.
2475 Other utilities include key generators, hash functions (md5, sha1, sha256,
2476 etc), base64 encoder, a secure random number generator, and @code{bignum} math
2477 methods for manually performing crypto calculations on large multibyte
2478 integers.")
2479 (license license:expat)))
2480
2481 (define-public r-httr
2482 (package
2483 (name "r-httr")
2484 (version "1.4.4")
2485 (source (origin
2486 (method url-fetch)
2487 (uri (cran-uri "httr" version))
2488 (sha256
2489 (base32
2490 "0pa3ypkq6kq6sw7b8w62rfpcbjwhc49y8nkvk900s9pfycijbn21"))))
2491 (build-system r-build-system)
2492 (propagated-inputs
2493 (list r-curl r-jsonlite r-openssl r-mime r-r6))
2494 (native-inputs
2495 (list r-knitr))
2496 (home-page "https://github.com/hadley/httr")
2497 (synopsis "Tools for working with URLs and HTTP")
2498 (description
2499 "The aim of httr is to provide a wrapper for RCurl customised to the
2500 demands of modern web APIs. It provides useful tools for working with HTTP
2501 organised by HTTP verbs (@code{GET()}, @code{POST()}, etc). Configuration
2502 functions make it easy to control additional request components.")
2503 (license license:expat)))
2504
2505 (define-public r-git2r
2506 (package
2507 (name "r-git2r")
2508 (version "0.30.1")
2509 (source (origin
2510 (method url-fetch)
2511 (uri (cran-uri "git2r" version))
2512 (sha256
2513 (base32
2514 "0h58djc9cim8iskkyhdxllbpf6ycl5zj9g4fp70k57k5qzfi7nc5"))))
2515 (build-system r-build-system)
2516 (inputs
2517 (list libgit2 zlib))
2518 (native-inputs
2519 (list pkg-config))
2520 (home-page "https://github.com/ropensci/git2r")
2521 (synopsis "Access Git repositories with R")
2522 (description
2523 "This package provides an R interface to the libgit2 library, which is a
2524 pure C implementation of the Git core methods.")
2525 ;; GPLv2 only with linking exception.
2526 (license license:gpl2)))
2527
2528 (define-public r-rstudioapi
2529 (package
2530 (name "r-rstudioapi")
2531 (version "0.14")
2532 (source (origin
2533 (method url-fetch)
2534 (uri (cran-uri "rstudioapi" version))
2535 (sha256
2536 (base32
2537 "1i5g9l2739mlaglzg98iifycx98jlzxj5933qfb8lwmdn63hk7a6"))))
2538 (build-system r-build-system)
2539 (native-inputs
2540 (list r-knitr))
2541 (home-page "https://cran.r-project.org/web/packages/rstudioapi")
2542 (synopsis "Safely access the RStudio API")
2543 (description
2544 "This package provides functions to access the RStudio API and provide
2545 informative error messages when it's not available.")
2546 (license license:expat)))
2547
2548 (define-public r-devtools
2549 (package
2550 (name "r-devtools")
2551 (version "2.4.4")
2552 (source (origin
2553 (method url-fetch)
2554 (uri (cran-uri "devtools" version))
2555 (sha256
2556 (base32
2557 "0kckjr12qi8nw498x3iw648pllz63j5p6fhpv8z8jc4z4sfpbmmc"))))
2558 (build-system r-build-system)
2559 (propagated-inputs
2560 (list r-cli
2561 r-desc
2562 r-ellipsis
2563 r-fs
2564 r-lifecycle
2565 r-memoise
2566 r-miniui
2567 r-pkgbuild
2568 r-pkgdown
2569 r-pkgload
2570 r-profvis
2571 r-rcmdcheck
2572 r-remotes
2573 r-rlang
2574 r-roxygen2
2575 r-rversions
2576 r-sessioninfo
2577 r-testthat
2578 r-urlchecker
2579 r-usethis
2580 r-withr))
2581 (native-inputs
2582 (list r-knitr))
2583 (home-page "https://github.com/hadley/devtools")
2584 (synopsis "Tools to make developing R packages easier")
2585 (description "The devtools package is a collection of package development
2586 tools to simplify the devolpment of R packages.")
2587 (license license:gpl2+)))
2588
2589 (define-public r-withr
2590 (package
2591 (name "r-withr")
2592 (version "2.5.0")
2593 (source (origin
2594 (method url-fetch)
2595 (uri (cran-uri "withr" version))
2596 (sha256
2597 (base32
2598 "1h4bzj0am9lawbh1cam1jmgk1xjmn9da14r90w3q984hswz7nc9p"))))
2599 (build-system r-build-system)
2600 (native-inputs
2601 (list r-knitr))
2602 (home-page "https://github.com/jimhester/withr")
2603 (synopsis "Run code with temporarily modified global state")
2604 (description
2605 "This package provides a set of functions to run R code in an environment
2606 in which global state has been temporarily modified. Many of these functions
2607 were originally a part of the r-devtools package.")
2608 (license license:gpl2+)))
2609
2610 (define-public r-hms
2611 (package
2612 (name "r-hms")
2613 (version "1.1.2")
2614 (source
2615 (origin
2616 (method url-fetch)
2617 (uri (cran-uri "hms" version))
2618 (sha256
2619 (base32
2620 "1vdx08irnh8q5232hriv47hh88hc55nbbrff7y6zbainff2akrhy"))))
2621 (build-system r-build-system)
2622 (propagated-inputs
2623 (list r-ellipsis r-lifecycle r-pkgconfig r-rlang r-vctrs))
2624 (home-page "https://github.com/rstats-db/hms")
2625 (synopsis "Pretty time of day")
2626 (description
2627 "This package implements an S3 class for storing and formatting
2628 time-of-day values, based on the @code{difftime} class.")
2629 (license license:gpl3+)))
2630
2631 (define-public r-readr
2632 (package
2633 (name "r-readr")
2634 (version "2.1.2")
2635 (source (origin
2636 (method url-fetch)
2637 (uri (cran-uri "readr" version))
2638 (sha256
2639 (base32
2640 "06qcw57yz0fhh3ni41d5w68cbmwmb6zkp47chllwzax43wxd1bwl"))))
2641 (build-system r-build-system)
2642 (propagated-inputs
2643 (list r-cli
2644 r-clipr
2645 r-cpp11
2646 r-crayon
2647 r-hms
2648 r-lifecycle
2649 r-tibble
2650 r-r6
2651 r-rlang
2652 r-tzdb
2653 r-vroom))
2654 (native-inputs
2655 (list r-knitr))
2656 (home-page "https://github.com/hadley/readr")
2657 (synopsis "Read tabular data")
2658 (description
2659 "This package provides functions to read flat or tabular text files from
2660 disk (or a connection).")
2661 (license license:gpl2+)))
2662
2663 (define-public r-plotrix
2664 (package
2665 (name "r-plotrix")
2666 (version "3.8-2")
2667 (source (origin
2668 (method url-fetch)
2669 (uri (cran-uri "plotrix" version))
2670 (sha256
2671 (base32
2672 "07xwq3505qb2yak7pfda22yqwifj6m78f8b5rm0ym74808qrawmv"))))
2673 (build-system r-build-system)
2674 (home-page "https://cran.r-project.org/web/packages/plotrix")
2675 (synopsis "Various plotting functions")
2676 (description
2677 "This package provides lots of plotting, various labeling, axis and color
2678 scaling functions for R.")
2679 (license license:gpl2+)))
2680
2681 (define-public r-gridbase
2682 (package
2683 (name "r-gridbase")
2684 (version "0.4-7")
2685 (source (origin
2686 (method url-fetch)
2687 (uri (cran-uri "gridBase" version))
2688 (sha256
2689 (base32
2690 "09jzw4rzwf2y5lcz7b16mb68pn0fqigv34ff7lr6w3yi9k91i1xy"))))
2691 (build-system r-build-system)
2692 (home-page "https://cran.r-project.org/web/packages/gridBase")
2693 (synopsis "Integration of base and grid graphics")
2694 (description
2695 "This package provides an integration of base and grid graphics for R.")
2696 (license license:gpl2+)))
2697
2698 (define-public r-latticeextra
2699 (package
2700 (name "r-latticeextra")
2701 (version "0.6-30")
2702 (source
2703 (origin
2704 (method url-fetch)
2705 (uri (cran-uri "latticeExtra" version))
2706 (sha256
2707 (base32
2708 "1vcy4xr6c53nbvnxikjnlf5kd3n5hf4d8dzj5d41hj322dlsfl65"))))
2709 (properties `((upstream-name . "latticeExtra")))
2710 (build-system r-build-system)
2711 (propagated-inputs
2712 (list r-interp
2713 r-jpeg
2714 r-lattice
2715 r-mass
2716 r-png
2717 r-rcolorbrewer))
2718 (home-page "http://latticeextra.r-forge.r-project.org/")
2719 (synopsis "Extra graphical utilities based on lattice")
2720 (description
2721 "Building on the infrastructure provided by the lattice package, this
2722 package provides several new high-level graphics functions and methods, as
2723 well as additional utilities such as panel and axis annotation functions.")
2724 (license license:gpl2+)))
2725
2726 (define-public r-rcpparmadillo
2727 (package
2728 (name "r-rcpparmadillo")
2729 (version "0.11.2.4.0")
2730 (source (origin
2731 (method url-fetch)
2732 (uri (cran-uri "RcppArmadillo" version))
2733 (sha256
2734 (base32
2735 "1y499idmci72x6gpj855vf4rlzh1r2qqpxyzs53r59ay8f4g0jar"))))
2736 (properties `((upstream-name . "RcppArmadillo")))
2737 (build-system r-build-system)
2738 (propagated-inputs
2739 (list r-rcpp))
2740 (home-page "https://github.com/RcppCore/RcppArmadillo")
2741 (synopsis "Rcpp integration for the Armadillo linear algebra library")
2742 (description
2743 "Armadillo is a templated C++ linear algebra library that aims towards a
2744 good balance between speed and ease of use. Integer, floating point and
2745 complex numbers are supported, as well as a subset of trigonometric and
2746 statistics functions. Various matrix decompositions are provided through
2747 optional integration with LAPACK and ATLAS libraries. This package includes
2748 the header files from the templated Armadillo library.")
2749 ;; Armadillo is licensed under the MPL 2.0, while RcppArmadillo (the Rcpp
2750 ;; bindings to Armadillo) is licensed under the GNU GPL version 2 or
2751 ;; later, as is the rest of 'Rcpp'.
2752 (license license:gpl2+)))
2753
2754 (define-public r-bitops
2755 (package
2756 (name "r-bitops")
2757 (version "1.0-7")
2758 (source (origin
2759 (method url-fetch)
2760 (uri (cran-uri "bitops" version))
2761 (sha256
2762 (base32
2763 "1i0phmq5yynla5x0frqll1gbf5ww59p3sgz1s06a354zqf9grdg9"))))
2764 (build-system r-build-system)
2765 (home-page "https://cran.r-project.org/web/packages/bitops")
2766 (synopsis "Bitwise operations")
2767 (description
2768 "This package provides functions for bitwise operations on integer
2769 vectors.")
2770 (license license:gpl2+)))
2771
2772 (define-public r-catools
2773 (package
2774 (name "r-catools")
2775 (version "1.18.2")
2776 (source (origin
2777 (method url-fetch)
2778 (uri (cran-uri "caTools" version))
2779 (sha256
2780 (base32
2781 "14q2ry8gaszjl0m97qg62dxv5bpj6k02qwyi7q2lnxgcmwai3mkm"))))
2782 (properties `((upstream-name . "caTools")))
2783 (build-system r-build-system)
2784 (propagated-inputs
2785 (list r-bitops))
2786 (home-page "https://cran.r-project.org/web/packages/caTools")
2787 (synopsis "Various tools including functions for moving window statistics")
2788 (description
2789 "This package contains several basic utility functions including:
2790 moving (rolling, running) window statistic functions, read/write for GIF and
2791 ENVI binary files, fast calculation of AUC, LogitBoost classifier, base64
2792 encoder/decoder, round-off-error-free sum and cumsum, etc.")
2793 (license license:gpl3+)))
2794
2795 (define-public r-rprojroot
2796 (package
2797 (name "r-rprojroot")
2798 (version "2.0.3")
2799 (source
2800 (origin
2801 (method url-fetch)
2802 (uri (cran-uri "rprojroot" version))
2803 (sha256
2804 (base32
2805 "15zq606s544wmbvk5dw13xq0sspr9dsxyxlvzvn0r48f8x3l4q2h"))))
2806 (build-system r-build-system)
2807 (native-inputs
2808 (list r-knitr))
2809 (home-page "https://github.com/krlmlr/rprojroot")
2810 (synopsis "Finding files in project subdirectories")
2811 (description
2812 "This package helps accessing files relative to a project root. It
2813 provides helpers for robust, reliable and flexible paths to files below a
2814 project root. The root of a project is defined as a directory that matches a
2815 certain criterion, e.g., it contains a certain regular file.")
2816 (license license:gpl3)))
2817
2818 (define-public r-rmarkdown
2819 (package
2820 (name "r-rmarkdown")
2821 (version "2.16")
2822 (source
2823 (origin
2824 (method url-fetch)
2825 (uri (cran-uri "rmarkdown" version))
2826 (sha256
2827 (base32 "0wgsc5ax4wynviasyxr240fkjk0g1wm9aq7b42mx66f43424xlyk"))))
2828 (properties `((upstream-name . "rmarkdown")))
2829 (build-system r-build-system)
2830 (propagated-inputs
2831 (list r-bslib
2832 r-evaluate
2833 r-htmltools
2834 r-jquerylib
2835 r-jsonlite
2836 r-knitr
2837 r-stringr
2838 r-tinytex
2839 r-xfun
2840 r-yaml
2841 pandoc))
2842 (native-inputs
2843 (list r-knitr))
2844 (home-page "https://rmarkdown.rstudio.com")
2845 (synopsis "Convert R Markdown documents into a variety of formats")
2846 (description
2847 "This package provides tools to convert R Markdown documents into a
2848 variety of formats.")
2849 (license license:gpl3+)))
2850
2851 (define-public r-gtable
2852 (package
2853 (name "r-gtable")
2854 (version "0.3.1")
2855 (source (origin
2856 (method url-fetch)
2857 (uri (cran-uri "gtable" version))
2858 (sha256
2859 (base32
2860 "1dbwxhxawwbmaixwxxglazv5bici56qvmjk7sqa8j66m49bjrmlb"))))
2861 (properties `((upstream-name . "gtable")))
2862 (build-system r-build-system)
2863 (native-inputs
2864 (list r-knitr))
2865 (home-page "https://cran.r-project.org/web/packages/gtable")
2866 (synopsis "R library to arrange grobs in tables")
2867 (description
2868 "Gtable is a collection of tools to make it easier to work with
2869 \"tables\" of grobs.")
2870 (license license:gpl2+)))
2871
2872 (define-public r-gridextra
2873 (package
2874 (name "r-gridextra")
2875 (version "2.3")
2876 (source (origin
2877 (method url-fetch)
2878 (uri (cran-uri "gridExtra" version))
2879 (sha256
2880 (base32
2881 "0fwfk3cdwxxim7nd55pn7m31bcaqj48y06j7an2k1v1pybk0rdl1"))))
2882 (properties `((upstream-name . "gridExtra")))
2883 (build-system r-build-system)
2884 (propagated-inputs
2885 (list r-gtable))
2886 (native-inputs
2887 (list r-knitr)) ;for building vignettes
2888 (home-page "https://github.com/baptiste/gridextra")
2889 (synopsis "Miscellaneous functions for \"Grid\" graphics")
2890 (description
2891 "This package provides a number of user-level functions to work with
2892 @code{grid} graphics, notably to arrange multiple grid-based plots on a page,
2893 and draw tables.")
2894 (license license:gpl2+)))
2895
2896 (define-public r-pkgconfig
2897 (package
2898 (name "r-pkgconfig")
2899 (version "2.0.3")
2900 (source (origin
2901 (method url-fetch)
2902 (uri (cran-uri "pkgconfig" version))
2903 (sha256
2904 (base32
2905 "0l1qph8zyi2sic3k2qcd7vlfl7rzfh1q7z7zvjkl5f7y1x2fy3rk"))))
2906 (build-system r-build-system)
2907 (home-page "https://github.com/gaborcsardi/pkgconfig")
2908 (synopsis "Private configuration for R packages")
2909 (description "This package provides the functionality to set configuration
2910 options on a per-package basis. Options set by a given package only apply to
2911 that package, other packages are unaffected.")
2912 (license license:expat)))
2913
2914 (define-public r-blob
2915 (package
2916 (name "r-blob")
2917 (version "1.2.3")
2918 (source (origin
2919 (method url-fetch)
2920 (uri (cran-uri "blob" version))
2921 (sha256
2922 (base32
2923 "06v3ldnmf6f99riym1cjbm5rklxmg6cpdixm6armc6rxxs1xd21d"))))
2924 (build-system r-build-system)
2925 (propagated-inputs
2926 (list r-rlang r-vctrs))
2927 (home-page "https://github.com/hadley/blob")
2928 (synopsis "Simple S3 Class for representing vectors of binary data")
2929 (description "Raw vectors in R are useful for storing a single binary
2930 object. What if you want to put a vector of them in a data frame? The blob
2931 package provides the blob object, a list of raw vectors, suitable for use as
2932 a column in data frame.")
2933 (license license:gpl3+)))
2934
2935 (define-public r-rsqlite
2936 (package
2937 (name "r-rsqlite")
2938 (version "2.2.17")
2939 (source (origin
2940 (method url-fetch)
2941 (uri (cran-uri "RSQLite" version))
2942 (sha256
2943 (base32
2944 "16l64ganvdlaldmqryz2c95id2m8vchlj9x5rz9kppbmhy122vjw"))))
2945 (properties `((upstream-name . "RSQLite")))
2946 (build-system r-build-system)
2947 (propagated-inputs
2948 (list r-dbi
2949 r-memoise
2950 r-plogr
2951 r-rcpp
2952 r-bit64
2953 r-blob
2954 r-pkgconfig))
2955 (native-inputs
2956 (list r-knitr))
2957 (home-page "https://github.com/rstats-db/RSQLite")
2958 (synopsis "SQLite interface for R")
2959 (description
2960 "This package embeds the SQLite database engine in R and provides an
2961 interface compliant with the DBI package. The source for the SQLite
2962 engine (version 3.8.8.2) is included.")
2963 (license license:lgpl2.0+)))
2964
2965 (define-public r-rcurl
2966 (package
2967 (name "r-rcurl")
2968 (version "1.98-1.8")
2969 (source (origin
2970 (method url-fetch)
2971 (uri (cran-uri "RCurl" version))
2972 (sha256
2973 (base32
2974 "0a4gr264ycy6am4849y79h3vc9vg7cgpizb88v4xw076pyn52fqy"))))
2975 (properties `((upstream-name . "RCurl")))
2976 (build-system r-build-system)
2977 (arguments
2978 `(#:phases
2979 (modify-phases %standard-phases
2980 (add-after 'unpack 'respect-CURL_CA_BUNDLE
2981 (lambda _
2982 (substitute* "R/options.S"
2983 (("\\.els = rev\\(merge\\(list\\(\\.\\.\\.\\), \\.opts\\)\\)" m)
2984 (string-append "\
2985 certs = Sys.getenv(\"CURL_CA_BUNDLE\")
2986 if (certs != \"\") { .opts = merge.list(.opts, list(cainfo=certs)) }
2987 " m))))))))
2988 (native-inputs
2989 (list libxml2))
2990 (inputs
2991 (list curl zlib))
2992 (propagated-inputs
2993 (list r-bitops))
2994 (home-page "http://www.omegahat.net/RCurl")
2995 (synopsis "General network client interface for R")
2996 (description
2997 "The package allows one to compose general HTTP requests and provides
2998 convenient functions to fetch URIs, GET and POST forms, etc. and process the
2999 results returned by the Web server. This provides a great deal of control
3000 over the HTTP/FTP/... connection and the form of the request while providing a
3001 higher-level interface than is available just using R socket connections.
3002 Additionally, the underlying implementation is robust and extensive,
3003 supporting FTP/FTPS/TFTP (uploads and downloads), SSL/HTTPS, telnet, dict,
3004 ldap, and also supports cookies, redirects, authentication, etc.")
3005 (license license:bsd-3)))
3006
3007 (define-public r-xml
3008 (package
3009 (name "r-xml")
3010 (version "3.99-0.10")
3011 (source (origin
3012 (method url-fetch)
3013 (uri (cran-uri "XML" version))
3014 (sha256
3015 (base32
3016 "0nzkgylnqnnvsh27007np8klwv2xi9wqxhw05mzczhxdxnsr2nf4"))))
3017 (properties
3018 `((upstream-name . "XML")))
3019 (build-system r-build-system)
3020 (inputs
3021 (list libxml2 zlib))
3022 (native-inputs
3023 (list pkg-config))
3024 (home-page "http://www.omegahat.net/RSXML")
3025 (synopsis "Tools for parsing and generating XML within R")
3026 (description
3027 "Many approaches for both reading and creating XML (and HTML)
3028 documents (including DTDs), both local and accessible via HTTP or FTP. Also
3029 offers access to an XPath \"interpreter\".")
3030 (license license:bsd-2)))
3031
3032 (define-public r-xnomial
3033 (package
3034 (name "r-xnomial")
3035 (version "1.0.4")
3036 (source
3037 (origin (method url-fetch)
3038 (uri (cran-uri "XNomial" version))
3039 (sha256
3040 (base32
3041 "1mwx302576rmsjllbq2clfxilm3hkyp5bw0wmwqbn0kgv5wpy8z6"))))
3042 (properties (quasiquote ((upstream-name . "XNomial"))))
3043 (build-system r-build-system)
3044 (home-page "https://cran.r-project.org/web/packages/XNomial")
3045 (synopsis "Goodness-of-Fit test for multinomial data")
3046 (description
3047 "This package provides an exact Goodness-of-Fit test for
3048 multinomial data with fixed probabilities. It can be used to
3049 determine whether a set of counts fits a given expected ratio. To see
3050 whether a set of observed counts fits an expectation, one can examine
3051 all possible outcomes with @code{xmulti()} or a random sample of them
3052 with @code{xmonte()} and find the probability of an observation
3053 deviating from the expectation by at least as much as the observed.
3054 As a measure of deviation from the expected, one can use the
3055 log-likelihood ratio, the multinomial probability, or the classic
3056 chi-square statistic. A histogram of the test statistic can also be
3057 plotted and compared with the asymptotic curve.")
3058 (license (list license:gpl2+ license:gpl3+))))
3059
3060 (define-public r-lambda-r
3061 (package
3062 (name "r-lambda-r")
3063 (version "1.2.4")
3064 (source (origin
3065 (method url-fetch)
3066 (uri (cran-uri "lambda.r" version))
3067 (sha256
3068 (base32
3069 "1mh1g0gsd58gng0hb29vww2yqb2jfs07kba5kxnnqck5j3izwlnj"))))
3070 (properties `((upstream-name . "lambda.r")))
3071 (build-system r-build-system)
3072 (propagated-inputs
3073 (list r-formatr))
3074 (home-page "https://cran.r-project.org/web/packages/lambda.r")
3075 (synopsis "Functional programming extension for R")
3076 (description
3077 "This package provides a language extension to efficiently write
3078 functional programs in R. Syntax extensions include multi-part function
3079 definitions, pattern matching, guard statements, built-in (optional) type
3080 safety.")
3081 (license license:lgpl3+)))
3082
3083 (define-public r-futile-options
3084 (package
3085 (name "r-futile-options")
3086 (version "1.0.1")
3087 (source (origin
3088 (method url-fetch)
3089 (uri (cran-uri "futile.options" version))
3090 (sha256
3091 (base32
3092 "0w15agpi88y3qkv6fl72zy2pzyplzgvnj41a4ixhg64mw1sck73s"))))
3093 (properties
3094 `((upstream-name . "futile.options")))
3095 (build-system r-build-system)
3096 (home-page "https://cran.r-project.org/web/packages/futile.options")
3097 (synopsis "Options management framework")
3098 (description
3099 "The futile.options subsystem provides an easy user-defined options
3100 management system that is properly scoped. This means that options created
3101 via @code{futile.options} are fully self-contained and will not collide with
3102 options defined in other packages.")
3103 (license license:lgpl3+)))
3104
3105 (define-public r-futile-logger
3106 (package
3107 (name "r-futile-logger")
3108 (version "1.4.3")
3109 (source (origin
3110 (method url-fetch)
3111 (uri (cran-uri "futile.logger" version))
3112 (sha256
3113 (base32
3114 "1r3nayk0z9n1svbf8640vw90dal5q07nkn0gv4bnva3pbzb352sy"))))
3115 (properties `((upstream-name . "futile.logger")))
3116 (build-system r-build-system)
3117 (propagated-inputs
3118 (list r-futile-options r-lambda-r))
3119 (home-page "https://cran.r-project.org/web/packages/futile.logger")
3120 (synopsis "Logging utility for R")
3121 (description
3122 "This package provides a simple yet powerful logging utility. Based
3123 loosely on log4j, futile.logger takes advantage of R idioms to make logging a
3124 convenient and easy to use replacement for @code{cat} and @code{print}
3125 statements.")
3126 (license license:lgpl3+)))
3127
3128 (define-public r-segmented
3129 (package
3130 (name "r-segmented")
3131 (version "1.6-0")
3132 (source
3133 (origin
3134 (method url-fetch)
3135 (uri (cran-uri "segmented" version))
3136 (sha256
3137 (base32
3138 "0sg59j59kz3zrwl3mi4ps1qw3hvwljygqa1d652vjdsx9w57zbvb"))))
3139 (build-system r-build-system)
3140 (propagated-inputs (list r-mass r-nlme))
3141 (home-page "https://cran.r-project.org/web/packages/segmented")
3142 (synopsis "Regression models with breakpoints estimation")
3143 (description
3144 "Given a regression model, segmented updates the model by adding one or
3145 more segmented (i.e., piecewise-linear) relationships. Several variables with
3146 multiple breakpoints are allowed.")
3147 (license (list license:gpl2+ license:gpl3+))))
3148
3149 (define-public r-snow
3150 (package
3151 (name "r-snow")
3152 (version "0.4-4")
3153 (source (origin
3154 (method url-fetch)
3155 (uri (cran-uri "snow" version))
3156 (sha256
3157 (base32
3158 "1j8kvf3imxijsqkdjz4i9s7qggfxqrpas46y5wz6za92y937yn44"))))
3159 (build-system r-build-system)
3160 (home-page "https://cran.r-project.org/web/packages/snow")
3161 (synopsis "Support for simple parallel computing in R")
3162 (description
3163 "The snow package provides support for simple parallel computing on a
3164 network of workstations using R. A master R process calls @code{makeCluster}
3165 to start a cluster of worker processes; the master process then uses functions
3166 such as @code{clusterCall} and @code{clusterApply} to execute R code on the
3167 worker processes and collect and return the results on the master.")
3168 (license (list license:gpl2+ license:gpl3+))))
3169
3170 (define-public r-sparsem
3171 (package
3172 (name "r-sparsem")
3173 (version "1.81")
3174 (source (origin
3175 (method url-fetch)
3176 (uri (cran-uri "SparseM" version))
3177 (sha256
3178 (base32
3179 "0csbqd9wm6r4162mday1iaigzf9wv2rp1zq8hnihys6f38w8z0xx"))))
3180 (properties
3181 `((upstream-name . "SparseM")))
3182 (native-inputs
3183 (list gfortran))
3184 (build-system r-build-system)
3185 (home-page "http://www.econ.uiuc.edu/~roger/research/sparse/sparse.html")
3186 (synopsis "Sparse linear algebra")
3187 (description
3188 "This package provides some basic linear algebra functionality for sparse
3189 matrices. It includes Cholesky decomposition and backsolving as well as
3190 standard R subsetting and Kronecker products.")
3191 (license license:gpl2+)))
3192
3193 (define-public r-iterators
3194 (package
3195 (name "r-iterators")
3196 (version "1.0.14")
3197 (source
3198 (origin
3199 (method url-fetch)
3200 (uri (cran-uri "iterators" version))
3201 (sha256
3202 (base32
3203 "0yv7rh6ghlfx727xy2aq64a7skyxp9msakaffs641q9h15d0gwyf"))))
3204 (build-system r-build-system)
3205 (home-page "https://cran.r-project.org/web/packages/iterators")
3206 (synopsis "Iterator construct for R")
3207 (description
3208 "This package provides support for iterators, which allow a programmer to
3209 traverse through all the elements of a vector, list, or other collection of
3210 data.")
3211 (license license:asl2.0)))
3212
3213 (define-public r-foreach
3214 (package
3215 (name "r-foreach")
3216 (version "1.5.2")
3217 (source
3218 (origin
3219 (method url-fetch)
3220 (uri (cran-uri "foreach" version))
3221 (sha256
3222 (base32
3223 "1r5gdf9fp3rprvrhf0gzl9qmmqhgdn5gscpm5hk8zxpraf3qscsn"))))
3224 (build-system r-build-system)
3225 (propagated-inputs
3226 (list r-codetools r-iterators))
3227 (native-inputs
3228 (list r-knitr))
3229 (home-page "https://cran.r-project.org/web/packages/foreach")
3230 (synopsis "Foreach looping construct for R")
3231 (description
3232 "This package provides support for the @code{foreach} looping construct.
3233 @code{foreach} is an idiom that allows for iterating over elements in a
3234 collection, without the use of an explicit loop counter. This package in
3235 particular is intended to be used for its return value, rather than for its
3236 side effects. In that sense, it is similar to the standard @code{lapply}
3237 function, but doesn't require the evaluation of a function. Using
3238 @code{foreach} without side effects also facilitates executing the loop in
3239 parallel.")
3240 (license license:asl2.0)))
3241
3242 (define-public r-doparallel
3243 (package
3244 (name "r-doparallel")
3245 (version "1.0.17")
3246 (source
3247 (origin
3248 (method url-fetch)
3249 (uri (cran-uri "doParallel" version))
3250 (sha256
3251 (base32
3252 "1mxbg2qqda1775vb4s26gz27p5n91lljgjmlqxq4sras22njasmr"))))
3253 (properties `((upstream-name . "doParallel")))
3254 (build-system r-build-system)
3255 (propagated-inputs
3256 (list r-foreach r-iterators))
3257 (home-page "https://cran.r-project.org/web/packages/doParallel")
3258 (synopsis "Foreach parallel adaptor for the 'parallel' package")
3259 (description
3260 "This package provides a parallel backend for the @code{%dopar%} function
3261 using the parallel package.")
3262 (license license:gpl2+)))
3263
3264 (define-public r-domc
3265 (package
3266 (name "r-domc")
3267 (version "1.3.8")
3268 (source
3269 (origin
3270 (method url-fetch)
3271 (uri (cran-uri "doMC" version))
3272 (sha256
3273 (base32
3274 "18qrcvqwm4cclvk8spvyi281y8prwzivj52xmzk1l9a82j2ny65j"))))
3275 (properties `((upstream-name . "doMC")))
3276 (build-system r-build-system)
3277 (propagated-inputs
3278 (list r-foreach r-iterators))
3279 (home-page "https://cran.r-project.org/web/packages/doMC")
3280 (synopsis "Foreach parallel adaptor for the 'parallel' package")
3281 (description
3282 "This package provides a parallel backend for the @code{%dopar%} function
3283 using the multicore functionality of the parallel package.")
3284 (license license:gpl2+)))
3285
3286 (define-public r-dt
3287 (let ((javascript-sources
3288 '(("https://cdn.datatables.net/1.10.20/js/jquery.dataTables.js"
3289 "03ln7ys1q1hy3xpsrjxnjpg9hq3lfpqz0firrxsgjzj8fsw20is3"
3290 "datatables")
3291 ("https://cdn.datatables.net/1.10.20/js/dataTables.bootstrap.js"
3292 "16clrnxm7axn6cdimyf3qbskxg10gpn9ld5ls2xdfw5q1qf2i4ml"
3293 "datatables")
3294 ("https://cdn.datatables.net/1.10.20/js/dataTables.bootstrap4.js"
3295 "16v49zqxr1zil19bcx3wdnv95zdpiz2m979aazan7z04ymqb2rzb"
3296 "datatables")
3297 ("https://cdn.datatables.net/1.10.20/js/dataTables.foundation.js"
3298 "1gpjm1pi2pl0hxsn0pg3s3f382y2s7nsr06866vxld6gb8054lld"
3299 "datatables")
3300 ("https://cdn.datatables.net/1.10.20/js/dataTables.jqueryui.js"
3301 "0nxd8jph34vsk8k8whs2yiybrn6nsnwzhri0bxn2k1dzmcvpn24i"
3302 "datatables")
3303 ("https://cdn.datatables.net/1.10.20/js/dataTables.semanticui.js"
3304 "1477f49xyxs4phias789mbspv23w8alxchhl5b5iy0aw6vd35c43"
3305 "datatables")
3306
3307 ("https://cdn.datatables.net/autofill/2.3.4/js/dataTables.autoFill.js"
3308 "04i6n7r3512gzfihl5wnhrvm0klnjp41g1z6cny3j803hvmnp8zk"
3309 "datatables-extensions/AutoFill")
3310 ("https://cdn.datatables.net/autofill/2.3.4/js/autoFill.bootstrap.js"
3311 "1zi7iiq63i5qx3p9cyynn6am4idxwj8xaz8mp4n3klm1x68sc0ja"
3312 "datatables-extensions/AutoFill")
3313 ("https://cdn.datatables.net/autofill/2.3.4/js/autoFill.bootstrap4.js"
3314 "1vk2smcz14raf0cz88a65yf36a7mnmbml02q03apg2b8bqy91m7w"
3315 "datatables-extensions/AutoFill")
3316 ("https://cdn.datatables.net/autofill/2.3.4/js/autoFill.foundation.js"
3317 "0sbcib1461pkglk69fzzqi73g4abylah74f264v0f79dc5247yzz"
3318 "datatables-extensions/AutoFill")
3319 ("https://cdn.datatables.net/autofill/2.3.4/js/autoFill.jqueryui.js"
3320 "1dw9vbbchzbd2c7id8na2p1cxac2kgjbzjrvqafra715hr0i4z3z"
3321 "datatables-extensions/AutoFill")
3322 ("https://cdn.datatables.net/autofill/2.3.4/js/autoFill.semanticui.js"
3323 "07ck81y6wpqchq8jfym6gjgc57xwj6vv9h5w9grc1gps6p7q9xnr"
3324 "datatables-extensions/AutoFill")
3325
3326 ("https://cdn.datatables.net/buttons/1.6.1/js/dataTables.buttons.js"
3327 "15l9kd9898zm8xf996d5c761rwl55k4w718k9k5fzz2gh91g21g5"
3328 "datatables-extensions/Buttons")
3329 ("https://cdn.datatables.net/buttons/1.6.1/js/buttons.colVis.js"
3330 "1rqlv5pacipl652xgyzsdq1gbfwv52rwl4mr2fx9a3py21yskppk"
3331 "datatables-extensions/Buttons")
3332 ("https://cdn.datatables.net/buttons/1.6.1/js/buttons.flash.js"
3333 "150r2ypxl017kl5agrn17cnyvwpf7x2x7vkqbc1qxif8vclf35kj"
3334 "datatables-extensions/Buttons")
3335 ("https://cdn.datatables.net/buttons/1.6.1/js/buttons.html5.js"
3336 "1d8is99yrh95hycjijzbrbxy1anfslab6krmhj2xbwsmssyn16xh"
3337 "datatables-extensions/Buttons")
3338 ("https://cdn.datatables.net/buttons/1.6.1/js/buttons.print.js"
3339 "1irgspv2zidv6v0ay92152d8cvhz2zyrwb71xk3nw903223vc2gl"
3340 "datatables-extensions/Buttons")
3341 ("https://cdn.datatables.net/buttons/1.6.1/js/buttons.semanticui.js"
3342 "1p02r953ampxlzfzpay227ya6qdzsxz2anjxpnx3q8qs6gv6y2jl"
3343 "datatables-extensions/Buttons")
3344 ("https://cdn.datatables.net/buttons/1.6.1/js/buttons.foundation.js"
3345 "0aykm1sk8rwvxp5r4qnvbb2scx2bln5kh88h36829mcqcdksfc50"
3346 "datatables-extensions/Buttons")
3347 ("https://cdn.datatables.net/buttons/1.6.1/js/buttons.jqueryui.js"
3348 "1im6f6jw3yc3959rw1i3bghvz863kmp3wgfvz661r1r2wjzzfs4d"
3349 "datatables-extensions/Buttons")
3350 ("https://cdn.datatables.net/buttons/1.6.1/js/buttons.bootstrap.js"
3351 "1mzmpabhrk0iag7hb16n8bhghx4cprq39p2vqn3v65mpklajzznc"
3352 "datatables-extensions/Buttons")
3353 ("https://cdn.datatables.net/buttons/1.6.1/js/buttons.bootstrap4.js"
3354 "0hfclipg43wr9p7irrcn9vp5wji8z7gz6y5mclkq88z1mlpwklzf"
3355 "datatables-extensions/Buttons")
3356 ("https://cdnjs.cloudflare.com/ajax/libs/jszip/3.10.1/jszip.js"
3357 "01l5lw49jz2qn6k9i63dk4llar4lvvpd6xp6i45mpwfk49fbxqg2"
3358 "datatables-extensions/Buttons")
3359 ("https://cdnjs.cloudflare.com/ajax/libs/pdfmake/0.1.36/pdfmake.js"
3360 "1sfw80az2cgzin5wk7q1p2n9zm66c35cz0m6isdygml81i594wia"
3361 "datatables-extensions/Buttons")
3362 ("https://cdnjs.cloudflare.com/ajax/libs/pdfmake/0.1.36/vfs_fonts.js"
3363 "1k324s0hw4lfpd71bb1cnv4j5096k8smk64fjdsh81sl0ykizf2w"
3364 "datatables-extensions/Buttons")
3365
3366 ("https://cdn.datatables.net/colreorder/1.5.2/js/dataTables.colReorder.js"
3367 "1dalc28km19xzzszsa82hsd9alikrqpzjvf9vzxkccjpf7m2sdqg"
3368 "datatables-extensions/ColReorder")
3369 ("https://cdn.datatables.net/colreorder/1.5.2/js/colReorder.foundation.js"
3370 "0nrddc8swkmsfzji518kh6ks55ykyk9p8r4x5fmf8ckr9fhjkh0s"
3371 "datatables-extensions/ColReorder")
3372 ("https://cdn.datatables.net/colreorder/1.5.2/js/colReorder.bootstrap.js"
3373 "0crgmjwcn817yz6ibjkji6gsickvv2a4las9asyldfcpj2c99x84"
3374 "datatables-extensions/ColReorder")
3375 ("https://cdn.datatables.net/colreorder/1.5.2/js/colReorder.bootstrap4.js"
3376 "065fhw4v2d9rp3ic9zfb1q5d7pfq4f2949rr24hdjbspf19m3ymd"
3377 "datatables-extensions/ColReorder")
3378 ("https://cdn.datatables.net/colreorder/1.5.2/js/colReorder.semanticui.js"
3379 "17kw143ny0nq0yidsffw3cpghvlg2bzlzavfi0ihkamcn26ymxcp"
3380 "datatables-extensions/ColReorder")
3381 ("https://cdn.datatables.net/colreorder/1.5.2/js/colReorder.jqueryui.js"
3382 "1rd8hijz3prg2y36fvqczrpdzixibjy2dxgs2fmgr8wrm8k01rrm"
3383 "datatables-extensions/ColReorder")
3384
3385 ("https://cdn.datatables.net/fixedcolumns/3.3.0/js/dataTables.fixedColumns.js"
3386 "0vsqk2fv59n351bdfcbvhmvpq38qwf41j1cn810xz1l1i07cg4hg"
3387 "datatables-extensions/FixedColumns")
3388 ("https://cdn.datatables.net/fixedcolumns/3.3.0/js/fixedColumns.bootstrap.js"
3389 "1j4wvg694l960gk5dg7wghwa3dpgq8mnrcgp78ghm92i08djb1wy"
3390 "datatables-extensions/FixedColumns")
3391 ("https://cdn.datatables.net/fixedcolumns/3.3.0/js/fixedColumns.bootstrap4.js"
3392 "1p79k9bjslyvmp1bdhmg4nm2l9nbfsi4kgw7rx3vjka3n50qy730"
3393 "datatables-extensions/FixedColumns")
3394 ("https://cdn.datatables.net/fixedcolumns/3.3.0/js/fixedColumns.foundation.js"
3395 "0f0xkrsapzgma58f6l63rpn68xid098dxwqqddsyddl0hy0x1z82"
3396 "datatables-extensions/FixedColumns")
3397 ("https://cdn.datatables.net/fixedcolumns/3.3.0/js/fixedColumns.jqueryui.js"
3398 "0lw35c8vkajx75pg4ddik4gyzmjak1jaw3flq850frwgnzsvhahx"
3399 "datatables-extensions/FixedColumns")
3400 ("https://cdn.datatables.net/fixedcolumns/3.3.0/js/fixedColumns.semanticui.js"
3401 "1kqsap9y0d25a7m5zjakipifl5qi2qr72kfj4ap3zxavd8md2wyn"
3402 "datatables-extensions/FixedColumns")
3403
3404 ("https://cdn.datatables.net/fixedheader/3.1.6/js/dataTables.fixedHeader.js"
3405 "1ml5ilnm8nirr6rsgmzn75l1k0hcjz3sqk6h1y1gy8cpwpklvqri"
3406 "datatables-extensions/FixedHeader")
3407 ("https://cdn.datatables.net/fixedheader/3.1.6/js/fixedHeader.bootstrap.js"
3408 "1qf3pkb3svpia7g8bwyql7ma3x2g4zj5bp0d14pnv8xpc9h52r93"
3409 "datatables-extensions/FixedHeader")
3410 ("https://cdn.datatables.net/fixedheader/3.1.6/js/fixedHeader.bootstrap4.js"
3411 "19jcvnk7zh4k6fd5si3b743x70qzlkqiw3m10jbc5jzbpz8sj6qd"
3412 "datatables-extensions/FixedHeader")
3413 ("https://cdn.datatables.net/fixedheader/3.1.6/js/fixedHeader.foundation.js"
3414 "0xmpx1r76vykqygksyjaf4d1ql1fid69rqhvk4k857iybqz3gdcv"
3415 "datatables-extensions/FixedHeader")
3416 ("https://cdn.datatables.net/fixedheader/3.1.6/js/fixedHeader.jqueryui.js"
3417 "1lc0g2cag1sj3bqmh7rh5z00pmfv1srxfhwi32y4mgpzhrzpfzxn"
3418 "datatables-extensions/FixedHeader")
3419 ("https://cdn.datatables.net/fixedheader/3.1.6/js/fixedHeader.semanticui.js"
3420 "1v0i6dc68h8l8673fb5970igzkl7as36riv504iyg82glfi7n877"
3421 "datatables-extensions/FixedHeader")
3422
3423 ("https://cdn.datatables.net/keytable/2.5.1/js/dataTables.keyTable.js"
3424 "16iib2icxsjh93x5hd42gpsl7bzpcsqb7zjgj0m1s02ls45bdlv5"
3425 "datatables-extensions/KeyTable")
3426 ("https://cdn.datatables.net/keytable/2.5.1/js/keyTable.bootstrap.js"
3427 "0hnhk6am4yl6h6bb7as935k8h2syil9hf8g7nn409yd3ws736xpj"
3428 "datatables-extensions/KeyTable")
3429 ("https://cdn.datatables.net/keytable/2.5.1/js/keyTable.bootstrap4.js"
3430 "0r85mp5yf9hgl5ayzzs46dfbxa231bjlvgb8lqpyzik1m6afa51i"
3431 "datatables-extensions/KeyTable")
3432 ("https://cdn.datatables.net/keytable/2.5.1/js/keyTable.foundation.js"
3433 "11fr14p33lyvs0wfcx228m600i4qcaqb44q3hk723jxcz59k17dw"
3434 "datatables-extensions/KeyTable")
3435 ("https://cdn.datatables.net/keytable/2.5.1/js/keyTable.jqueryui.js"
3436 "0572rxrvwyprdr8l5jkgacj2bkmhmgxjy5vybm65n54g9j19l6bc"
3437 "datatables-extensions/KeyTable")
3438 ("https://cdn.datatables.net/keytable/2.5.1/js/keyTable.semanticui.js"
3439 "157mqn9mhmmf7vas2das4hbpwipk3wshs8n0808q04rbijr0g2bz"
3440 "datatables-extensions/KeyTable")
3441
3442 ("https://cdn.datatables.net/responsive/2.2.3/js/dataTables.responsive.js"
3443 "1jnsx4sqf7qjd1gz5ag9hn6n76cwwfms23rzw37lgbd6h54yqzwr"
3444 "datatables-extensions/Responsive")
3445 ("https://cdn.datatables.net/responsive/2.2.3/js/responsive.foundation.js"
3446 "1vzzqpd9l8xv0am42g4cilx9igmq60mgk0hab4ssqvbicrmrgq9z"
3447 "datatables-extensions/Responsive")
3448 ("https://cdn.datatables.net/responsive/2.2.3/js/responsive.semanticui.js"
3449 "1cjiwcf0d07482k08dhn5ffsizshw4hqgz5l58p03pq9g6wc9pvm"
3450 "datatables-extensions/Responsive")
3451 ("https://cdn.datatables.net/responsive/2.2.3/js/responsive.jqueryui.js"
3452 "10nykak2kf4sai64girh26xdmdil29jvw3zja2rpp2qzjg4172z9"
3453 "datatables-extensions/Responsive")
3454 ("https://cdn.datatables.net/responsive/2.2.3/js/responsive.bootstrap.js"
3455 "1xxlh01vmzmfwwlsa611pl2nrl2sx58rp8xmx301bfsylmp2v5b2"
3456 "datatables-extensions/Responsive")
3457 ("https://cdn.datatables.net/responsive/2.2.3/js/responsive.bootstrap4.js"
3458 "1zjh15p7n1038sggaxv1xvcwbkhw2nk1ndx745s6cxiqb69y3i0h"
3459 "datatables-extensions/Responsive")
3460
3461 ("https://cdn.datatables.net/rowgroup/1.1.1/js/dataTables.rowGroup.js"
3462 "0s4q7ir2d6q36g29nn9mqk7vrqrdig2mm5zbcv0sn2lixqi29pkj"
3463 "datatables-extensions/RowGroup")
3464 ("https://cdn.datatables.net/rowgroup/1.1.1/js/rowGroup.bootstrap.js"
3465 "1xfdhqgznz9x1v8spvql6b0wbna13h8cbzvkjza14nqsmccxck66"
3466 "datatables-extensions/RowGroup")
3467 ("https://cdn.datatables.net/rowgroup/1.1.1/js/rowGroup.bootstrap4.js"
3468 "1xm53sda4fabwdaglngrj09bpiygkn9mm17grxbykn1jazqqdp62"
3469 "datatables-extensions/RowGroup")
3470 ("https://cdn.datatables.net/rowgroup/1.1.1/js/rowGroup.foundation.js"
3471 "0832i10vils1wv1sm10qvsnd4i2k2xkhskz6i9y2q0axkmk73hcd"
3472 "datatables-extensions/RowGroup")
3473 ("https://cdn.datatables.net/rowgroup/1.1.1/js/rowGroup.jqueryui.js"
3474 "0n53cd294s9mjblkykkqvd9n414bsc26wpcg5spxdscjl6hxh79p"
3475 "datatables-extensions/RowGroup")
3476 ("https://cdn.datatables.net/rowgroup/1.1.1/js/rowGroup.semanticui.js"
3477 "010wls5nf387p21fdc2k952bxq89r5kxkv7j4wbvwf8k2a18cmc9"
3478 "datatables-extensions/RowGroup")
3479
3480 ("https://cdn.datatables.net/rowreorder/1.2.6/js/dataTables.rowReorder.js"
3481 "13ymbn3h9755pgb0gmlb9gl54vz9nqnz4mws7g6mlmz53r3sqhmj"
3482 "datatables-extensions/RowReorder")
3483 ("https://cdn.datatables.net/rowreorder/1.2.6/js/rowReorder.bootstrap.js"
3484 "185if2pxgc940rm49hdgln57pc5h9cszlii3bfpdf3pdc1fjhckm"
3485 "datatables-extensions/RowReorder")
3486 ("https://cdn.datatables.net/rowreorder/1.2.6/js/rowReorder.bootstrap4.js"
3487 "14129x4md57i4ff7j18m49jn5fw8r716np84cdrcawlydgjsxp4a"
3488 "datatables-extensions/RowReorder")
3489 ("https://cdn.datatables.net/rowreorder/1.2.6/js/rowReorder.foundation.js"
3490 "0zg94jckymxzda2xjyj9p38y5v61cji55kak1ylq72l6a9sw8sg6"
3491 "datatables-extensions/RowReorder")
3492 ("https://cdn.datatables.net/rowreorder/1.2.6/js/rowReorder.jqueryui.js"
3493 "08gm419xcixgqw0i5yv2mxyyvafhzviibifp6nv129vdxx0a5d8v"
3494 "datatables-extensions/RowReorder")
3495 ("https://cdn.datatables.net/rowreorder/1.2.6/js/rowReorder.semanticui.js"
3496 "1zjrx2rlgw3qannsqa88pcp3i4pc87pwv7rmgfw1dar8namkr9kk"
3497 "datatables-extensions/RowReorder")
3498
3499 ("https://cdn.datatables.net/scroller/2.0.1/js/dataTables.scroller.js"
3500 "0zfjjdvwwlsnps24i9l4c97hmway2qs6addks1is5bxl4k1r6d16"
3501 "datatables-extensions/Scroller")
3502 ("https://cdn.datatables.net/scroller/2.0.1/js/scroller.foundation.js"
3503 "04bk6ink8wqay7655v93jvv86m3bn6asrsfb22i99rgxdvm8gn1z"
3504 "datatables-extensions/Scroller")
3505 ("https://cdn.datatables.net/scroller/2.0.1/js/scroller.bootstrap.js"
3506 "19dl40dl8ir21xvs1j7xhm2a4py1m21xbypwn499fg2awj8vaidi"
3507 "datatables-extensions/Scroller")
3508 ("https://cdn.datatables.net/scroller/2.0.1/js/scroller.bootstrap4.js"
3509 "0pbkgncijlafwdmyh4l65dabd18hzjh8r01cad3b9iy8cfif6iwd"
3510 "datatables-extensions/Scroller")
3511 ("https://cdn.datatables.net/scroller/2.0.1/js/scroller.jqueryui.js"
3512 "1md5mpx5in7wzsr38yn801cmv3phm0i0ikdnpd0b1nsna5ccpj14"
3513 "datatables-extensions/Scroller")
3514 ("https://cdn.datatables.net/scroller/2.0.1/js/scroller.semanticui.js"
3515 "1dfbblbzbryjgiv31qfdjnijz19lmyijg12win3y8gsgfd4fp9zz"
3516 "datatables-extensions/Scroller")
3517
3518 ("https://cdn.datatables.net/searchbuilder/1.0.0/js/dataTables.searchBuilder.js"
3519 "0n5g0j0yfzqvdpsmwb27bj1rd8zx864fsx2k7b2kpv6mqqavzpqc"
3520 "datatables-extensions/SearchBuilder")
3521 ("https://cdn.datatables.net/searchbuilder/1.0.0/js/searchBuilder.bootstrap.js"
3522 "1gnd8rjcg9c96xayshn9rwinzgmlwzddczjlpfmf2j33npmyka2y"
3523 "datatables-extensions/SearchBuilder")
3524 ("https://cdn.datatables.net/searchbuilder/1.0.0/js/searchBuilder.bootstrap4.js"
3525 "0vdv5mi6zbp2dspmj0lw2vaqxvfadcydlmc6frqv4a68rms7wz05"
3526 "datatables-extensions/SearchBuilder")
3527 ("https://cdn.datatables.net/searchbuilder/1.0.0/js/searchBuilder.dataTables.js"
3528 "0fbzfnaqswb2xq7m1vdzcg7l7qi0wmyz64ml6k4002kp0dm4xnlx"
3529 "datatables-extensions/SearchBuilder")
3530
3531 ("https://cdn.datatables.net/searchpanes/1.1.1/js/dataTables.searchPanes.js"
3532 "1s697avk42h24fsaq79d1kkw66dqig7xgpx9bvmhwncv8amkmz6i"
3533 "datatables-extensions/SearchPanes")
3534 ("https://cdn.datatables.net/searchpanes/1.1.1/js/searchPanes.bootstrap.js"
3535 "0n3z4fdx1nsga4l5hmd4s93piv9k0v607xd7q9h2zpq613if7sld"
3536 "datatables-extensions/SearchPanes")
3537 ("https://cdn.datatables.net/searchpanes/1.1.1/js/searchPanes.bootstrap4.js"
3538 "1i1arnvxp57z01wc207jxnw9h8clcish6l96c2gnmachgkaz8lqa"
3539 "datatables-extensions/SearchPanes")
3540 ("https://cdn.datatables.net/searchpanes/1.1.1/js/searchPanes.dataTables.js"
3541 "04zzg7i46igcd6gfvdln5alpgjn7m663yf9bf2f3fk9va4fvis6y"
3542 "datatables-extensions/SearchPanes")
3543 ("https://cdn.datatables.net/searchpanes/1.1.1/js/searchPanes.foundation.js"
3544 "0m78wdajxn1m3j9jn9jfwqf73wwsxrsfw4zf84h5y6saj4rrcz72"
3545 "datatables-extensions/SearchPanes")
3546 ("https://cdn.datatables.net/searchpanes/1.1.1/js/searchPanes.jqueryui.js"
3547 "0zb2x736isb8nxrmd7j8nb78lj8h0h9j3axnbjiybwzzk819xw1m"
3548 "datatables-extensions/SearchPanes")
3549 ("https://cdn.datatables.net/searchpanes/1.1.1/js/searchPanes.semanticui.js"
3550 "1781d0xmx7xz0jly0wsw2zbrdmfc1crahmcdbsfbj5s66kdsnd7c"
3551 "datatables-extensions/SearchPanes")
3552
3553 ("https://cdn.datatables.net/select/1.3.1/js/dataTables.select.js"
3554 "0a7bkbz1cizhiq4h417b4rcdr7998pn8q4dlyzx8449xdp0h0n0v"
3555 "datatables-extensions/Select")
3556 ("https://cdn.datatables.net/select/1.3.1/js/select.bootstrap.js"
3557 "0mm5ly3p2iprlfi8ajz548rjqx8lz1sbjj5ysgqmwqg14gw7l9k7"
3558 "datatables-extensions/Select")
3559 ("https://cdn.datatables.net/select/1.3.1/js/select.bootstrap4.js"
3560 "1hv6d9lwgflmxhy7mdfb9rvli2wa2cbkdhqjz64zkf1a1a7wlb5q"
3561 "datatables-extensions/Select")
3562 ("https://cdn.datatables.net/select/1.3.1/js/select.foundation.js"
3563 "1zzygcbngvrqh7m22x0s23k8m5xj5fv1p466pzjs23p94qq24a2r"
3564 "datatables-extensions/Select")
3565 ("https://cdn.datatables.net/select/1.3.1/js/select.jqueryui.js"
3566 "1hv5zlmfifd27hylfqsji09y2hbp3m2hnb7j41418sjrxs63f6x6"
3567 "datatables-extensions/Select")
3568 ("https://cdn.datatables.net/select/1.3.1/js/select.semanticui.js"
3569 "0q6q3vb6pa5nmkxy7zcnjs0bkn4ldw8ykdcfrc04bf1d2hjjaw47"
3570 "datatables-extensions/Select"))))
3571 (package
3572 (name "r-dt")
3573 (version "0.25")
3574 (source (origin
3575 (method url-fetch)
3576 (uri (cran-uri "DT" version))
3577 (sha256
3578 (base32
3579 "0as43h4minnz5c09nvbvq8b1d9506mzkcdl98bhf87rf0q9qgz0d"))
3580 (modules '((guix build utils)))
3581 (snippet
3582 '(for-each delete-file
3583 (find-files "inst/htmlwidgets/lib" "\\.min\\.js$")))))
3584 (properties
3585 `((upstream-name . "DT")))
3586 (build-system r-build-system)
3587 (arguments
3588 `(#:modules
3589 ((guix build r-build-system)
3590 (guix build minify-build-system)
3591 (guix build utils)
3592 (ice-9 match))
3593 #:imported-modules
3594 (,@%r-build-system-modules
3595 (guix build minify-build-system))
3596 #:phases
3597 (modify-phases (@ (guix build r-build-system) %standard-phases)
3598 (add-after 'unpack 'process-javascript
3599 (lambda* (#:key inputs #:allow-other-keys)
3600 (with-directory-excursion "inst/htmlwidgets/lib/"
3601 (for-each (match-lambda
3602 ((url hash dir)
3603 (let* ((input (string-append "js:" (basename url)))
3604 (source (assoc-ref inputs input))
3605 (target (string-append dir "/js/"
3606 (basename url ".js")
3607 ".min.js")))
3608 (mkdir-p dir)
3609 (minify source #:target target))))
3610 ',javascript-sources)
3611 (minify (string-append (assoc-ref inputs "datatables-plugins")
3612 "/features/scrollResize/dataTables.scrollResize.js")
3613 #:target "datatables-plugins/features/scrollResize/source.min.js")
3614 (minify (string-append (assoc-ref inputs "datatables-plugins")
3615 "/features/searchHighlight/dataTables.searchHighlight.js")
3616 #:target "datatables-plugins/features/searchHighlight/source.min.js")
3617 (minify (assoc-ref inputs "js-nouislider")
3618 #:target "nouislider/jquery.nouislider.min.js")
3619
3620 (let ((replace-file (lambda (old new)
3621 (format #t "replacing ~a with ~a\n" old new)
3622 (symlink new old))))
3623 (replace-file "selectize/selectize.min.js"
3624 (string-append (assoc-ref inputs "js-selectize")
3625 "/share/javascript/selectize.min.js")))))))))
3626 (propagated-inputs
3627 (list r-crosstalk
3628 r-htmltools
3629 r-htmlwidgets
3630 r-jquerylib
3631 r-jsonlite
3632 r-magrittr
3633 r-promises))
3634 (inputs
3635 (list js-selectize))
3636 (native-inputs
3637 `(("r-knitr" ,r-knitr)
3638 ("uglifyjs" ,node-uglify-js)
3639 ("datatables-plugins"
3640 ,(let ((version "1.10.20"))
3641 (origin
3642 (method git-fetch)
3643 (uri (git-reference
3644 (url "https://github.com/DataTables/Plugins.git")
3645 (commit version)))
3646 (file-name (git-file-name "datatables-plugins" version))
3647 (sha256
3648 (base32
3649 "05zni20863ml1711lfllljdfkb3k05h0kpqhkijkbp0bp7q0ak94")))))
3650 ("js-nouislider"
3651 ,(let ((version "7.0.10"))
3652 (origin
3653 (method url-fetch)
3654 (uri (string-append "https://raw.githubusercontent.com/leongersen/noUiSlider/"
3655 version "/distribute/jquery.nouislider.js"))
3656 (sha256
3657 (base32
3658 "1f7vsfcn7wwzngib6j0wpl0psd6qriiaa6kv728ynfn5da73zfxm")))))
3659 ,@(map (match-lambda
3660 ((url hash dir)
3661 `(,(string-append "js:" (basename url))
3662 ,(origin (method url-fetch)
3663 (uri url)
3664 (sha256 (base32 hash))))))
3665 javascript-sources)))
3666 (home-page "https://rstudio.github.io/DT")
3667 (synopsis "R wrapper of the DataTables JavaScript library")
3668 (description
3669 "This package allows for data objects in R to be rendered as HTML tables
3670 using the JavaScript library @code{DataTables} (typically via R Markdown or
3671 Shiny). The @code{DataTables} library has been included in this R package.")
3672 ;; The DT package as a whole is distributed under GPLv3. The DT package
3673 ;; inludes other software components under different licenses:
3674 ;;
3675 ;; * Expat: jquery.highlight.js, DataTables
3676 ;; * WTFPL: noUiSlider
3677 (license (list license:gpl3
3678 license:expat
3679 license:wtfpl2)))))
3680
3681 (define-public r-base64enc
3682 (package
3683 (name "r-base64enc")
3684 (version "0.1-3")
3685 (source (origin
3686 (method url-fetch)
3687 (uri (cran-uri "base64enc" version))
3688 (sha256
3689 (base32
3690 "13b89fhg1nx7zds82a0biz847ixphg9byf5zl2cw9kab6s56v1bd"))))
3691 (build-system r-build-system)
3692 (home-page "https://www.rforge.net/base64enc")
3693 (synopsis "Tools for Base64 encoding")
3694 (description
3695 "This package provides tools for handling Base64 encoding. It is more
3696 flexible than the orphaned \"base64\" package.")
3697 (license license:gpl2+)))
3698
3699 (define-public r-irlba
3700 (package
3701 (name "r-irlba")
3702 (version "2.3.5")
3703 (source
3704 (origin
3705 (method url-fetch)
3706 (uri (cran-uri "irlba" version))
3707 (sha256
3708 (base32
3709 "1fcv4vazg2sbsda8qqjjsjn2wagcp2bsahvznwm443j66q6qrz16"))))
3710 (build-system r-build-system)
3711 (propagated-inputs
3712 (list r-matrix))
3713 (home-page "https://cran.r-project.org/web/packages/irlba")
3714 (synopsis "Methods for eigendecomposition of large matrices")
3715 (description
3716 "This package provides fast and memory efficient methods for truncated
3717 singular and eigenvalue decompositions, as well as for principal component
3718 analysis of large sparse or dense matrices.")
3719 (license (list license:gpl2+ license:gpl3+))))
3720
3721 (define-public r-glmnet
3722 (package
3723 (name "r-glmnet")
3724 (version "4.1-4")
3725 (source
3726 (origin
3727 (method url-fetch)
3728 (uri (cran-uri "glmnet" version))
3729 (sha256
3730 (base32 "1y80a3b5s24ywhlil3r7b3a0vs9j59d7jkxrqa8zz09x1c5ggc7n"))))
3731 (build-system r-build-system)
3732 (native-inputs
3733 (list gfortran r-knitr))
3734 (propagated-inputs
3735 (list r-foreach
3736 r-matrix
3737 r-rcpp
3738 r-rcppeigen
3739 r-shape
3740 r-survival))
3741 (home-page "https://www.jstatsoft.org/article/view/v033i01")
3742 (synopsis "Lasso and elastic-net regularized generalized linear models")
3743 (description
3744 "The glmnet package provides efficient procedures for fitting the entire
3745 lasso or elastic-net regularization path for linear and Poisson regression, as
3746 well as logistic, multinomial, Cox, multiple-response Gaussian and grouped
3747 multinomial models. The algorithm uses cyclical coordinate descent in a
3748 path-wise fashion.")
3749 (license license:gpl2+)))
3750
3751 (define-public r-pkgmaker
3752 (package
3753 (name "r-pkgmaker")
3754 (version "0.32.2")
3755 (source
3756 (origin
3757 (method url-fetch)
3758 (uri (cran-uri "pkgmaker" version))
3759 (sha256
3760 (base32
3761 "14ggsd24n5g5rvn0wl4w90ipxzmywqikh28llj89q6kpxwnv4iff"))))
3762 (build-system r-build-system)
3763 (propagated-inputs
3764 (list r-assertthat
3765 r-codetools
3766 r-digest
3767 r-registry
3768 r-stringr
3769 r-withr
3770 r-xtable))
3771 (home-page "https://renozao.github.io/pkgmaker")
3772 (synopsis "Package development utilities")
3773 (description
3774 "This package provides some low-level utilities to use for R package
3775 development. It currently provides managers for multiple package specific
3776 options and registries, vignette, unit test and bibtex related utilities.")
3777 (license license:gpl2+)))
3778
3779 (define-public r-registry
3780 (package
3781 (name "r-registry")
3782 (version "0.5-1")
3783 (source
3784 (origin
3785 (method url-fetch)
3786 (uri (cran-uri "registry" version))
3787 (sha256
3788 (base32
3789 "1k3j6dx350awamr0dwwgkhfs46vsnj4nf08iw5byq0x7n3nkdsnz"))))
3790 (build-system r-build-system)
3791 (home-page "https://cran.r-project.org/web/packages/registry")
3792 (synopsis "Infrastructure for R package registries")
3793 (description
3794 "This package provides a generic infrastructure for creating and using R
3795 package registries.")
3796 (license license:gpl2+)))
3797
3798 (define-public r-rngtools
3799 (package
3800 (name "r-rngtools")
3801 (version "1.5.2")
3802 (source
3803 (origin
3804 (method url-fetch)
3805 (uri (cran-uri "rngtools" version))
3806 (sha256
3807 (base32
3808 "0kd7x214cqw7hzpmk1iqy1bn7j6x0ady0yz2hsdbclbq9k57d33z"))))
3809 (build-system r-build-system)
3810 (propagated-inputs
3811 (list r-digest))
3812 (home-page "https://renozao.github.io/rngtools")
3813 (synopsis "Utility functions for working with random number generators")
3814 (description
3815 "This package contains a set of functions for working with Random Number
3816 Generators (RNGs). In particular, it defines a generic S4 framework for
3817 getting/setting the current RNG, or RNG data that are embedded into objects
3818 for reproducibility. Notably, convenient default methods greatly facilitate
3819 the way current RNG settings can be changed.")
3820 (license license:gpl3+)))
3821
3822 (define-public r-rtsne
3823 (package
3824 (name "r-rtsne")
3825 (version "0.16")
3826 (source
3827 (origin
3828 (method url-fetch)
3829 (uri (cran-uri "Rtsne" version))
3830 (sha256
3831 (base32
3832 "1mgviwrqwapn8w7rq0sjxca5vi7ylgmm876ijwp22a3chbf5m82j"))))
3833 (properties `((upstream-name . "Rtsne")))
3834 (build-system r-build-system)
3835 (propagated-inputs
3836 (list r-rcpp))
3837 (home-page "https://github.com/jkrijthe/Rtsne")
3838 (synopsis "T-distributed stochastic neighbor embedding")
3839 (description
3840 "This package provides an R wrapper around the fast T-distributed
3841 Stochastic Neighbor Embedding using a Barnes-Hut implementation.")
3842 ;; The declared license for this package is BSD-3, but it also includes
3843 ;; code licensed under BSD-4.
3844 (license (list license:bsd-3 license:bsd-4))))
3845
3846 (define-public r-e1071
3847 (package
3848 (name "r-e1071")
3849 (version "1.7-11")
3850 (source
3851 (origin
3852 (method url-fetch)
3853 (uri (cran-uri "e1071" version))
3854 (sha256
3855 (base32
3856 "0byr92csnydycdarxdkq4cghddnx5qp6fqxm6wnp9g6aww88xha8"))))
3857 (build-system r-build-system)
3858 (propagated-inputs
3859 (list r-class r-proxy))
3860 (home-page "https://cran.r-project.org/web/packages/e1071")
3861 (synopsis "Miscellaneous functions for probability theory")
3862 (description
3863 "This package provides functions for latent class analysis, short time
3864 Fourier transform, fuzzy clustering, support vector machines, shortest path
3865 computation, bagged clustering, naive Bayes classifier, and more.")
3866 (license license:gpl2+)))
3867
3868 (define-public r-bigmemory-sri
3869 (package
3870 (name "r-bigmemory-sri")
3871 (version "0.1.3")
3872 (source
3873 (origin
3874 (method url-fetch)
3875 (uri (cran-uri "bigmemory.sri" version))
3876 (sha256
3877 (base32 "0mg14ilwdkd64q2ri9jdwnk7mp55dqim7xfifrs65sdsv1934h2m"))))
3878 (properties
3879 `((upstream-name . "bigmemory.sri")))
3880 (build-system r-build-system)
3881 (home-page "https://cran.r-project.org/web/packages/bigmemory.sri")
3882 (synopsis "Shared resource interface for the bigmemory package")
3883 (description "This package provides a shared resource interface for the
3884 bigmemory and synchronicity packages.")
3885 ;; Users can choose either LGPLv3 or ASL2.0.
3886 (license (list license:lgpl3 license:asl2.0))))
3887
3888 (define-public r-synchronicity
3889 (package
3890 (name "r-synchronicity")
3891 (version "1.3.5")
3892 (source
3893 (origin
3894 (method url-fetch)
3895 (uri (cran-uri "synchronicity" version))
3896 (sha256
3897 (base32
3898 "1kgsk64aifjm3mfj102y3va7x1abypq2zi0cqbnjhl8fqyzp69hx"))))
3899 (build-system r-build-system)
3900 (propagated-inputs
3901 (list r-bh r-bigmemory-sri r-rcpp r-uuid))
3902 (home-page "http://www.bigmemory.org")
3903 (synopsis "Boost mutex functionality in R")
3904 (description "This package provides support for synchronization
3905 via mutexes and may eventually support interprocess communication and
3906 message passing.")
3907 ;; Users can choose either LGPLv3 or ASL2.0.
3908 (license (list license:lgpl3 license:asl2.0))))
3909
3910 (define-public r-bigmemory
3911 (package
3912 (name "r-bigmemory")
3913 (version "4.6.1")
3914 (source
3915 (origin
3916 (method url-fetch)
3917 (uri (cran-uri "bigmemory" version))
3918 (sha256
3919 (base32
3920 "0hainqkm7cs8gjm42vkpdrr0284smsbwdfackp34yv7dhxy1avmm"))))
3921 (build-system r-build-system)
3922 (propagated-inputs
3923 (list r-bh r-bigmemory-sri r-rcpp r-uuid))
3924 (inputs
3925 (list `(,util-linux "lib"))) ;for -luuid
3926 (home-page "http://www.bigmemory.org")
3927 (synopsis "Manage large matrices with shared memory or memory-mapped files")
3928 (description "This package provides methods to create, store, access, and
3929 manipulate large matrices. Matrices are allocated to shared memory and may use
3930 memory-mapped files.")
3931 ;; Users can choose either LGPLv3 or ASL2.0.
3932 (license (list license:lgpl3 license:asl2.0))))
3933
3934 (define-public r-r-methodss3
3935 (package
3936 (name "r-r-methodss3")
3937 (version "1.8.2")
3938 (source (origin
3939 (method url-fetch)
3940 (uri (cran-uri "R.methodsS3" version))
3941 (sha256
3942 (base32
3943 "0bkwj9c2cpgb0ibk9znh8qh4k1wzp3bkhaxyhf41xjflv9hmwbc2"))))
3944 (properties `((upstream-name . "R.methodsS3")))
3945 (build-system r-build-system)
3946 (home-page "https://cran.r-project.org/web/packages/R.methodsS3")
3947 (synopsis "S3 methods simplified")
3948 (description
3949 "This package provides methods that simplify the setup of S3 generic
3950 functions and S3 methods. Major effort has been made in making definition of
3951 methods as simple as possible with a minimum of maintenance for package
3952 developers. For example, generic functions are created automatically, if
3953 missing, and naming conflict are automatically solved, if possible. The
3954 method @code{setMethodS3()} is a good start for those who in the future may
3955 want to migrate to S4.")
3956 (license license:lgpl2.1+)))
3957
3958 (define-public r-r-oo
3959 (package
3960 (name "r-r-oo")
3961 (version "1.25.0")
3962 (source (origin
3963 (method url-fetch)
3964 (uri (cran-uri "R.oo" version))
3965 (sha256
3966 (base32
3967 "1vxy8yw4yblb3vgl64yh0b6zf1d51rnc2c23kmyyw629fxhr1cdq"))))
3968 (properties `((upstream-name . "R.oo")))
3969 (build-system r-build-system)
3970 (propagated-inputs
3971 (list r-r-methodss3))
3972 (home-page "https://github.com/HenrikBengtsson/R.oo")
3973 (synopsis "R object-oriented programming with or without references")
3974 (description
3975 "This package provides methods and classes for object-oriented
3976 programming in R with or without references. Large effort has been made on
3977 making definition of methods as simple as possible with a minimum of
3978 maintenance for package developers.")
3979 (license license:lgpl2.1+)))
3980
3981 (define-public r-r-utils
3982 (package
3983 (name "r-r-utils")
3984 (version "2.12.0")
3985 (source (origin
3986 (method url-fetch)
3987 (uri (cran-uri "R.utils" version))
3988 (sha256
3989 (base32
3990 "00v5hpdid6h1yiwpf631xf1dk1z6dcx7dx83qn56a7pa4194bpkl"))))
3991 (properties `((upstream-name . "R.utils")))
3992 (build-system r-build-system)
3993 (propagated-inputs
3994 (list r-r-methodss3 r-r-oo))
3995 (home-page "https://github.com/HenrikBengtsson/R.utils")
3996 (synopsis "Various programming utilities")
3997 (description
3998 "This package provides utility functions useful when programming and
3999 developing R packages.")
4000 (license license:lgpl2.1+)))
4001
4002 (define-public r-r-cache
4003 (package
4004 (name "r-r-cache")
4005 (version "0.16.0")
4006 (source (origin
4007 (method url-fetch)
4008 (uri (cran-uri "R.cache" version))
4009 (sha256
4010 (base32
4011 "14cja0d78mzipb94cwgdl00k5r7awjclzxl30c77j6jpc68l0lvq"))))
4012 (properties `((upstream-name . "R.cache")))
4013 (build-system r-build-system)
4014 (arguments
4015 `(#:phases
4016 (modify-phases %standard-phases
4017 (add-after 'unpack 'set-HOME
4018 (lambda _ (setenv "HOME" "/tmp"))))))
4019 (propagated-inputs
4020 (list r-digest r-r-methodss3 r-r-oo r-r-utils))
4021 (home-page "https://github.com/HenrikBengtsson/R.cache")
4022 (synopsis "Light-weight caching of objects and results")
4023 (description
4024 "This package provides methods for caching or memoization of objects and
4025 results. With this package, any R object can be cached in a key-value storage
4026 where the key can be an arbitrary set of R objects. The cache memory is
4027 persistent (on the file system).")
4028 (license license:lgpl2.1+)))
4029
4030 (define-public r-r-rsp
4031 (package
4032 (name "r-r-rsp")
4033 (version "0.45.0")
4034 (source (origin
4035 (method url-fetch)
4036 (uri (cran-uri "R.rsp" version))
4037 (sha256
4038 (base32
4039 "192x8cvna1j0sx37xh3ha8bjjyx39pn5wnxzn5gs3z5j93a4d055"))))
4040 (properties `((upstream-name . "R.rsp")))
4041 (build-system r-build-system)
4042 (arguments
4043 `(#:phases
4044 (modify-phases %standard-phases
4045 (add-after 'unpack 'set-HOME
4046 (lambda _ (setenv "HOME" "/tmp"))))))
4047 (propagated-inputs
4048 (list r-digest r-r-cache r-r-methodss3 r-r-oo r-r-utils))
4049 (home-page "https://github.com/HenrikBengtsson/R.rsp")
4050 (synopsis "Dynamic generation of scientific reports")
4051 (description
4052 "The RSP markup language provides a powerful markup for controlling the
4053 content and output of LaTeX, HTML, Markdown, AsciiDoc, Sweave and knitr
4054 documents (and more), e.g. @code{Today's date is <%=Sys.Date()%>}. Contrary
4055 to many other literate programming languages, with RSP it is straightforward
4056 to loop over mixtures of code and text sections, e.g. in month-by-month
4057 summaries. RSP has also several preprocessing directives for incorporating
4058 static and dynamic contents of external files (local or online) among other
4059 things. RSP is ideal for self-contained scientific reports and R package
4060 vignettes.")
4061 (license license:lgpl2.1+)))
4062
4063 (define-public r-mvtnorm
4064 (package
4065 (name "r-mvtnorm")
4066 (version "1.1-3")
4067 (source (origin
4068 (method url-fetch)
4069 (uri (cran-uri "mvtnorm" version))
4070 (sha256
4071 (base32
4072 "0j14q2bkc14v35s5k03sw44zsssrd2qjljlwzj014qxs74hk0kpz"))))
4073 (build-system r-build-system)
4074 (native-inputs
4075 (list gfortran))
4076 (home-page "http://mvtnorm.R-forge.R-project.org")
4077 (synopsis "Package for multivariate normal and t-distributions")
4078 (description "This package can compute multivariate normal and
4079 t-probabilities, quantiles, random deviates and densities.")
4080 (license license:gpl2)))
4081
4082 (define-public r-matrixstats
4083 (package
4084 (name "r-matrixstats")
4085 (version "0.62.0")
4086 (source (origin
4087 (method url-fetch)
4088 (uri (cran-uri "matrixStats" version))
4089 (sha256
4090 (base32
4091 "1jjfsi5vzx6js7phlnd3v64fd05fg0jyz8iq5pivy36jdmmh3ql5"))))
4092 (properties `((upstream-name . "matrixStats")))
4093 (build-system r-build-system)
4094 (arguments
4095 `(#:phases
4096 (modify-phases %standard-phases
4097 (add-after 'unpack 'set-HOME
4098 (lambda _ (setenv "HOME" "/tmp"))))))
4099 (native-inputs
4100 (list r-r-rsp)) ;used to build vignettes
4101 (home-page "https://github.com/HenrikBengtsson/matrixStats")
4102 (synopsis "Methods applying to vectors and matrix rows and columns")
4103 (description
4104 "This package provides methods operating on rows and columns of matrices,
4105 e.g. @code{rowMedians()}, @code{rowRanks()}, and @code{rowSds()}. There are
4106 also some vector-based methods, e.g. @code{binMeans()}, @code{madDiff()} and
4107 @code{weightedMedians()}. All methods have been optimized for speed and
4108 memory usage.")
4109 (license license:artistic2.0)))
4110
4111 (define-public r-viridis
4112 (package
4113 (name "r-viridis")
4114 (version "0.6.2")
4115 (source (origin
4116 (method url-fetch)
4117 (uri (cran-uri "viridis" version))
4118 (sha256
4119 (base32
4120 "048kwhbhd49g86cq11fl7vm0whwhjl5gs9xjn040lwcjv78qrdb9"))))
4121 (build-system r-build-system)
4122 (propagated-inputs
4123 (list r-ggplot2 r-gridextra r-viridislite))
4124 (native-inputs
4125 (list r-knitr)) ; for vignettes
4126 (home-page "https://github.com/sjmgarnier/viridis")
4127 (synopsis "Matplotlib default color map")
4128 (description
4129 "This package is a port of the new @url{matplotlib,
4130 http://matplotlib.org/} color maps (@code{viridis}--the default--,
4131 @code{magma}, @code{plasma}, and @code{inferno}) to R. These color maps are
4132 designed in such a way that they will analytically be perfectly
4133 perceptually-uniform, both in regular form and also when converted to
4134 black-and-white. They are also designed to be perceived by readers with the
4135 most common form of color blindness.")
4136 (license license:x11)))
4137
4138 (define-public r-viridislite
4139 (package
4140 (name "r-viridislite")
4141 (version "0.4.1")
4142 (source
4143 (origin
4144 (method url-fetch)
4145 (uri (cran-uri "viridisLite" version))
4146 (sha256
4147 (base32
4148 "15zaf2c7kzjf3i0g7y8w6jlgfkpprqj2zl346y5imz75r8fdp5m8"))))
4149 (properties `((upstream-name . "viridisLite")))
4150 (build-system r-build-system)
4151 (home-page "https://github.com/sjmgarnier/viridisLite")
4152 (synopsis "Default color maps from matplotlib")
4153 (description
4154 "This package is a port of the new @code{matplotlib} color maps
4155 (@code{viridis}, @code{magma}, @code{plasma} and @code{inferno}) to R.
4156 matplotlib is a popular plotting library for Python. These color maps are
4157 designed in such a way that they will analytically be perfectly
4158 perceptually-uniform, both in regular form and also when converted to
4159 black-and-white. They are also designed to be perceived by readers with the
4160 most common form of color blindness. This is the @code{lite} version of the
4161 more complete @code{viridis} package.")
4162 (license license:expat)))
4163
4164 (define-public r-tidyselect
4165 (package
4166 (name "r-tidyselect")
4167 (version "1.1.2")
4168 (source
4169 (origin
4170 (method url-fetch)
4171 (uri (cran-uri "tidyselect" version))
4172 (sha256
4173 (base32
4174 "0w423pmg9wjx6q2rnp2ap66323rxvpmzd4nnsqq4m58pajqs7283"))))
4175 (build-system r-build-system)
4176 (propagated-inputs
4177 (list r-ellipsis r-glue r-purrr r-rlang r-vctrs))
4178 (native-inputs
4179 (list r-knitr))
4180 (home-page "https://cran.r-project.org/web/packages/tidyselect")
4181 (synopsis "Select from a set of strings")
4182 (description
4183 "This package provides a backend for the selecting functions of the
4184 tidyverse. It makes it easy to implement select-like functions in your own
4185 packages in a way that is consistent with other tidyverse interfaces for
4186 selection.")
4187 (license license:gpl3)))
4188
4189 (define-public r-tidyr
4190 (package
4191 (name "r-tidyr")
4192 (version "1.2.1")
4193 (source
4194 (origin
4195 (method url-fetch)
4196 (uri (cran-uri "tidyr" version))
4197 (sha256
4198 (base32
4199 "1bv1rvnbbfdqf78qfbawq3yxjhjfdy0mgcla6b17bp336rnpcwb9"))))
4200 (build-system r-build-system)
4201 (propagated-inputs
4202 (list r-cpp11
4203 r-dplyr
4204 r-ellipsis
4205 r-magrittr
4206 r-glue
4207 r-lifecycle
4208 r-purrr
4209 r-rlang
4210 r-tidyselect
4211 r-tibble
4212 r-vctrs))
4213 (native-inputs
4214 (list r-knitr))
4215 (home-page "https://github.com/hadley/tidyr")
4216 (synopsis "Tidy data with `spread()` and `gather()` functions")
4217 (description
4218 "tidyr is a reframing of the reshape2 package designed to accompany the
4219 tidy data framework, and to work hand-in-hand with magrittr and dplyr to build
4220 a solid pipeline for data analysis. It is designed specifically for tidying
4221 data, not the general reshaping that reshape2 does, or the general aggregation
4222 that reshape did. In particular, built-in methods only work for data frames,
4223 and tidyr provides no margins or aggregation.")
4224 (license license:expat)))
4225
4226 (define-public r-hexbin
4227 (package
4228 (name "r-hexbin")
4229 (version "1.28.2")
4230 (source
4231 (origin
4232 (method url-fetch)
4233 (uri (cran-uri "hexbin" version))
4234 (sha256
4235 (base32
4236 "0bbhs5pwxh474w62sq6gqvih7habancxng9wd4f2rgn6lv9zhhb2"))))
4237 (build-system r-build-system)
4238 (propagated-inputs
4239 (list r-lattice))
4240 (native-inputs
4241 (list gfortran r-knitr)) ; for vignettes
4242 (home-page "https://github.com/edzer/hexbin")
4243 (synopsis "Hexagonal binning routines")
4244 (description
4245 "This package provides binning and plotting functions for hexagonal bins.
4246 It uses and relies on grid graphics and formal (S4) classes and methods.")
4247 (license license:gpl2+)))
4248
4249 (define-public r-purrr
4250 (package
4251 (name "r-purrr")
4252 (version "0.3.4")
4253 (source
4254 (origin
4255 (method url-fetch)
4256 (uri (cran-uri "purrr" version))
4257 (sha256
4258 (base32
4259 "1cj091rsjdj2xz16qhynyw72gh5cyhznifcfbrbygndfr4xwksr3"))))
4260 (build-system r-build-system)
4261 (propagated-inputs
4262 (list r-magrittr r-rlang))
4263 (native-inputs
4264 (list r-knitr))
4265 (home-page "https://github.com/hadley/purrr")
4266 (synopsis "Functional programming tools")
4267 (description
4268 "This package completes R's functional programming tools with missing
4269 features present in other programming languages.")
4270 (license license:gpl3+)))
4271
4272 (define-public r-plotly
4273 (package
4274 (name "r-plotly")
4275 (version "4.10.0")
4276 (source (origin
4277 (method url-fetch)
4278 (uri (cran-uri "plotly" version))
4279 (sha256
4280 (base32
4281 "16iqj7sv49mva6siibsci7iijsbnk7pqvfns9al0k35w9mjmr6dx"))))
4282 (build-system r-build-system)
4283 (propagated-inputs
4284 (list r-base64enc
4285 r-crosstalk
4286 r-digest
4287 r-data-table
4288 r-dplyr
4289 r-ggplot2
4290 r-htmltools
4291 r-htmlwidgets
4292 r-httr
4293 r-jsonlite
4294 r-lazyeval
4295 r-magrittr
4296 r-promises
4297 r-purrr
4298 r-rcolorbrewer
4299 r-rlang
4300 r-scales
4301 r-tibble
4302 r-tidyr
4303 r-vctrs
4304 r-viridislite))
4305 (home-page "https://plot.ly/r")
4306 (synopsis "Create interactive web graphics")
4307 (description
4308 "This package enables the translation of ggplot2 graphs to an interactive
4309 web-based version and/or the creation of custom web-based visualizations
4310 directly from R. Once uploaded to a plotly account, plotly graphs (and the
4311 data behind them) can be viewed and modified in a web browser.")
4312 (license license:x11)))
4313
4314 (define-public r-biased-urn
4315 (package
4316 (name "r-biased-urn")
4317 (version "1.07")
4318 (source
4319 (origin
4320 (method url-fetch)
4321 (uri (cran-uri "BiasedUrn" version))
4322 (sha256
4323 (base32
4324 "13i2lgfnjhlbbm2yxfc2l5hswqw6x03pwba5csjmirv8kpjw4xr3"))))
4325 (properties `((upstream-name . "BiasedUrn")))
4326 (build-system r-build-system)
4327 (home-page "https://www.agner.org/random/")
4328 (synopsis "Biased urn model distributions")
4329 (description
4330 "This package provides statistical models of biased sampling in the form
4331 of univariate and multivariate noncentral hypergeometric distributions,
4332 including Wallenius' noncentral hypergeometric distribution and Fisher's
4333 noncentral hypergeometric distribution (also called extended hypergeometric
4334 distribution).")
4335 (license license:gpl3+)))
4336
4337 (define-public r-rematch
4338 (package
4339 (name "r-rematch")
4340 (version "1.0.1")
4341 (source
4342 (origin
4343 (method url-fetch)
4344 (uri (cran-uri "rematch" version))
4345 (sha256
4346 (base32
4347 "0y3mshvpvz9csmq8hk8jbabx4nxlv5sckvfzvm6920ndg34xw2d4"))))
4348 (build-system r-build-system)
4349 (home-page "https://github.com/MangoTheCat/rematch")
4350 (synopsis "Match regular expressions with a nicer API")
4351 (description
4352 "This package provides a small wrapper on @code{regexpr} to extract the
4353 matches and captured groups from the match of a regular expression to a
4354 character vector.")
4355 (license license:expat)))
4356
4357 (define-public r-cellranger
4358 (package
4359 (name "r-cellranger")
4360 (version "1.1.0")
4361 (source
4362 (origin
4363 (method url-fetch)
4364 (uri (cran-uri "cellranger" version))
4365 (sha256
4366 (base32
4367 "16fgi3annn34c3cxi0pxf62mmmmxi21hp0zzlv7bkfsjqy4g4f2x"))))
4368 (build-system r-build-system)
4369 (propagated-inputs
4370 (list r-rematch r-tibble))
4371 (home-page "https://github.com/rsheets/cellranger")
4372 (synopsis "Translate spreadsheet cell ranges to rows and columns")
4373 (description
4374 "This package provides helper functions to work with spreadsheets and the
4375 @code{A1:D10} style of cell range specification.")
4376 (license license:expat)))
4377
4378 (define-public r-googlesheets
4379 (package
4380 (name "r-googlesheets")
4381 (version "0.3.0")
4382 (source
4383 (origin
4384 (method url-fetch)
4385 (uri (cran-uri "googlesheets" version))
4386 (sha256
4387 (base32
4388 "11q07nxys72wkxx9mawmjyf20gvwvrb7h3gpa73h6lgh2vgrwnv8"))))
4389 (build-system r-build-system)
4390 (propagated-inputs
4391 (list r-cellranger
4392 r-dplyr
4393 r-httr
4394 r-jsonlite
4395 r-purrr
4396 r-readr
4397 r-stringr
4398 r-tibble
4399 r-tidyr
4400 r-xml2))
4401 (home-page "https://github.com/jennybc/googlesheets")
4402 (synopsis "Manage Google spreadsheets from R")
4403 (description "This package provides tools to interact with Google Sheets
4404 from within R.")
4405 (license license:expat)))
4406
4407 (define-public r-spams
4408 (package
4409 (name "r-spams")
4410 (version "2.6-2017-03-22")
4411 (source
4412 (origin
4413 (method url-fetch)
4414 ;; Use the ‘Latest version’ link for a stable URI across releases.
4415 (uri (string-append "https://gforge.inria.fr/frs/download.php/"
4416 "latestfile/4531/spams-R-v" version ".tar.gz"))
4417 (sha256
4418 (base32
4419 "13z2293jixf1r9g8dyy856xrhvpjr2ln2n9smn6644126r9hmhkx"))))
4420 (build-system r-build-system)
4421 (arguments
4422 `(#:phases
4423 (modify-phases %standard-phases
4424 (add-after 'unpack 'chdir
4425 (lambda _ (chdir "spams") #t))
4426 ;; Don't tune for the building machine.
4427 (add-after 'chdir 'no-mtune
4428 (lambda _
4429 (substitute* "src/Makevars"
4430 (("-mtune=native") ""))
4431 #t)))))
4432 (propagated-inputs
4433 (list r-lattice r-matrix))
4434 (home-page "https://spams-devel.gforge.inria.fr")
4435 (synopsis "Toolbox for solving sparse estimation problems")
4436 (description "SPAMS (SPArse Modeling Software) is an optimization toolbox
4437 for solving various sparse estimation problems. It includes tools for the
4438 following problems:
4439
4440 @enumerate
4441 @item Dictionary learning and matrix factorization (NMF, sparse @dfn{principle
4442 component analysis} (PCA), ...)
4443 @item Solving sparse decomposition problems with LARS, coordinate descent,
4444 OMP, SOMP, proximal methods
4445 @item Solving structured sparse decomposition problems (l1/l2, l1/linf, sparse
4446 group lasso, tree-structured regularization, structured sparsity with
4447 overlapping groups,...).
4448 @end enumerate\n")
4449 (license license:gpl3+)))
4450
4451 (define-public r-base64
4452 (package
4453 (name "r-base64")
4454 (version "2.0.1")
4455 (source
4456 (origin
4457 (method url-fetch)
4458 (uri (cran-uri "base64" version))
4459 (sha256
4460 (base32
4461 "1w9m4n29xmj7px8fbmha04vq146bxfqi7ipj1ag09hlm05y6h8jd"))))
4462 (build-system r-build-system)
4463 (propagated-inputs
4464 (list r-openssl))
4465 (home-page "https://cran.r-project.org/web/packages/base64")
4466 (synopsis "Base64 encoder and decoder")
4467 (description
4468 "This package is a compatibility wrapper to replace the orphaned package
4469 by Romain Francois. New applications should use the openssl or base64enc
4470 package instead.")
4471 (license license:expat)))
4472
4473 (define-public r-hmisc
4474 (package
4475 (name "r-hmisc")
4476 (version "4.7-1")
4477 (source
4478 (origin
4479 (method url-fetch)
4480 (uri (cran-uri "Hmisc" version))
4481 (sha256
4482 (base32 "0zrfi2mmi6wfl6440iqflzzmkina8dhxia2qsamqw6djd0d5fp9j"))))
4483 (properties `((upstream-name . "Hmisc")))
4484 (build-system r-build-system)
4485 (native-inputs
4486 (list gfortran))
4487 (propagated-inputs
4488 (list r-base64enc
4489 r-cluster
4490 r-data-table
4491 r-foreign
4492 r-formula
4493 r-ggplot2
4494 r-gridextra
4495 r-gtable
4496 r-lattice
4497 r-latticeextra
4498 r-htmltable
4499 r-htmltools
4500 r-nnet
4501 r-rpart
4502 r-survival
4503 r-viridis))
4504 (home-page "http://biostat.mc.vanderbilt.edu/Hmisc")
4505 (synopsis "Miscellaneous data analysis and graphics functions")
4506 (description
4507 "This package contains many functions useful for data analysis,
4508 high-level graphics, utility operations, functions for computing sample size
4509 and power, importing and annotating datasets, imputing missing values,
4510 advanced table making, variable clustering, character string manipulation,
4511 conversion of R objects to LaTeX code, and recoding variables.")
4512 (license license:gpl2+)))
4513
4514 (define-public r-runit
4515 (package
4516 (name "r-runit")
4517 (version "0.4.32")
4518 (source
4519 (origin
4520 (method url-fetch)
4521 (uri (cran-uri "RUnit" version))
4522 (sha256
4523 (base32
4524 "1wc1gwb7yw7phf8b0gkig6c23klya3ax11c6i4s0f049k42r78r3"))))
4525 (properties `((upstream-name . "RUnit")))
4526 (build-system r-build-system)
4527 (home-page "https://cran.r-project.org/web/packages/RUnit")
4528 (synopsis "R unit test framework")
4529 (description
4530 "This package provides R functions implementing a standard unit testing
4531 framework, with additional code inspection and report generation tools.")
4532 (license license:gpl2+)))
4533
4534 (define-public r-dynamictreecut
4535 (package
4536 (name "r-dynamictreecut")
4537 (version "1.63-1")
4538 (source
4539 (origin
4540 (method url-fetch)
4541 (uri (cran-uri "dynamicTreeCut" version))
4542 (sha256
4543 (base32
4544 "1fadbql7g5r2vvlkr89nlrjxwp4yx4xrdqmv077qvmnx9vv0f4w3"))))
4545 (properties `((upstream-name . "dynamicTreeCut")))
4546 (build-system r-build-system)
4547 (home-page
4548 "http://www.genetics.ucla.edu/labs/horvath/CoexpressionNetwork/BranchCutting/")
4549 (synopsis "Detect clusters in hierarchical clustering dendrograms")
4550 (description
4551 "This package contains methods for the detection of clusters in
4552 hierarchical clustering dendrograms.")
4553 (license license:gpl2+)))
4554
4555 (define-public r-fastcluster
4556 (package
4557 (name "r-fastcluster")
4558 (version "1.2.3")
4559 (source
4560 (origin
4561 (method url-fetch)
4562 (uri (cran-uri "fastcluster" version))
4563 (sha256
4564 (base32
4565 "009amz7i5yndqw2008fgd3p11n4fsb291k2ypg3pip6dw4lr28hz"))))
4566 (build-system r-build-system)
4567 (home-page "http://danifold.net/fastcluster.html")
4568 (synopsis "Fast hierarchical clustering routines")
4569 (description
4570 "This package implements fast hierarchical, agglomerative clustering
4571 routines. Part of the functionality is designed as drop-in replacement for
4572 existing routines: @code{linkage()} in the SciPy package
4573 @code{scipy.cluster.hierarchy}, @code{hclust()} in R's @code{stats} package,
4574 and the @code{flashClust} package. It provides the same functionality with
4575 the benefit of a much faster implementation. Moreover, there are
4576 memory-saving routines for clustering of vector data, which go beyond what the
4577 existing packages provide.")
4578 (license license:bsd-2)))
4579
4580 (define-public r-sfsmisc
4581 (package
4582 (name "r-sfsmisc")
4583 (version "1.1-13")
4584 (source
4585 (origin
4586 (method url-fetch)
4587 (uri (cran-uri "sfsmisc" version))
4588 (sha256
4589 (base32
4590 "0622yf4fl1b1zm988dfwdrhq7pg0rllhm8wz1pqdmp72glsi05x8"))))
4591 (build-system r-build-system)
4592 (home-page "https://cran.r-project.org/web/packages/sfsmisc")
4593 (synopsis "Utilities from \"Seminar fuer Statistik\" ETH Zurich")
4594 (description
4595 "This package provides useful utilities from Seminar fuer Statistik ETH
4596 Zurich, including many that are related to graphics.")
4597 (license license:gpl2+)))
4598
4599 (define-public r-gtools
4600 (package
4601 (name "r-gtools")
4602 (version "3.9.3")
4603 (source
4604 (origin
4605 (method url-fetch)
4606 (uri (cran-uri "gtools" version))
4607 (sha256
4608 (base32
4609 "0criwc0jmbrgaslh2kdjirgdzbf0ycry8yjryi95fb9qgckm7yvs"))))
4610 (build-system r-build-system)
4611 (home-page "https://cran.r-project.org/web/packages/gtools")
4612 (synopsis "Various R programming tools")
4613 (description
4614 "This package contains a collection of various functions to assist in R
4615 programming, such as tools to assist in developing, updating, and maintaining
4616 R and R packages, calculating the logit and inverse logit transformations,
4617 tests for whether a value is missing, empty or contains only @code{NA} and
4618 @code{NULL} values, and many more.")
4619 (license license:gpl2)))
4620
4621 (define-public r-gdata
4622 (package
4623 (name "r-gdata")
4624 (version "2.18.0.1")
4625 (source
4626 (origin
4627 (method url-fetch)
4628 (uri (cran-uri "gdata" version))
4629 (sha256
4630 (base32
4631 "1n9jw136kk5ld27qvny7cx2s8l34jdgmzlx40x62mmcqjddksbsy"))))
4632 (build-system r-build-system)
4633 (inputs
4634 (list perl))
4635 (propagated-inputs
4636 (list r-gtools))
4637 (home-page "https://cran.r-project.org/web/packages/gdata")
4638 (synopsis "Various R programming tools for data manipulation")
4639 (description
4640 "This package provides various R programming tools for data manipulation,
4641 including:
4642
4643 @itemize
4644 @item medical unit conversions
4645 @item combining objects
4646 @item character vector operations
4647 @item factor manipulation
4648 @item obtaining information about R objects
4649 @item manipulating MS-Excel formatted files
4650 @item generating fixed-width format files
4651 @item extricating components of date and time objects
4652 @item operations on columns of data frames
4653 @item matrix operations
4654 @item operations on vectors and data frames
4655 @item value of last evaluated expression
4656 @item wrapper for @code{sample} that ensures consistent behavior for
4657 both scalar and vector arguments
4658 @end itemize\n")
4659 (license license:gpl2+)))
4660
4661 (define-public r-gplots
4662 (package
4663 (name "r-gplots")
4664 (version "3.1.3")
4665 (source
4666 (origin
4667 (method url-fetch)
4668 (uri (cran-uri "gplots" version))
4669 (sha256
4670 (base32
4671 "05k7a8x62qs5g6mps62vb3mwjdnfjzvjb20yws3x0r2j42g3p1cz"))))
4672 (build-system r-build-system)
4673 (propagated-inputs
4674 (list r-catools r-gtools r-kernsmooth))
4675 (native-inputs
4676 (list r-knitr))
4677 (home-page "https://cran.r-project.org/web/packages/gplots")
4678 (synopsis "Various R programming tools for plotting data")
4679 (description
4680 "This package provides various R programming tools for plotting data,
4681 including:
4682
4683 @itemize
4684 @item calculating and plotting locally smoothed summary function
4685 @item enhanced versions of standard plots
4686 @item manipulating colors
4687 @item calculating and plotting two-dimensional data summaries
4688 @item enhanced regression diagnostic plots
4689 @item formula-enabled interface to @code{stats::lowess} function
4690 @item displaying textual data in plots
4691 @item balloon plots
4692 @item plotting \"Venn\" diagrams
4693 @item displaying Open-Office style plots
4694 @item plotting multiple data on same region, with separate axes
4695 @item plotting means and confidence intervals
4696 @item spacing points in an x-y plot so they don't overlap
4697 @end itemize\n")
4698 (license license:gpl2+)))
4699
4700 (define-public r-rocr
4701 (package
4702 (name "r-rocr")
4703 (version "1.0-11")
4704 (source
4705 (origin
4706 (method url-fetch)
4707 (uri (cran-uri "ROCR" version))
4708 (sha256
4709 (base32
4710 "0amvvrkiflmr3qygrsgrsja4gaf2v6r6h6i2bgpsm8r069vmlf2p"))))
4711 (properties `((upstream-name . "ROCR")))
4712 (build-system r-build-system)
4713 (propagated-inputs
4714 (list r-gplots))
4715 (native-inputs
4716 (list r-knitr))
4717 (home-page "https://rocr.bioinf.mpi-sb.mpg.de/")
4718 (synopsis "Visualizing the performance of scoring classifiers")
4719 (description
4720 "ROCR is a flexible tool for creating cutoff-parameterized 2D performance
4721 curves by freely combining two from over 25 performance measures (new
4722 performance measures can be added using a standard interface). Curves from
4723 different cross-validation or bootstrapping runs can be averaged by different
4724 methods, and standard deviations, standard errors or box plots can be used to
4725 visualize the variability across the runs. The parameterization can be
4726 visualized by printing cutoff values at the corresponding curve positions, or
4727 by coloring the curve according to cutoff. All components of a performance
4728 plot can be quickly adjusted using a flexible parameter dispatching
4729 mechanism.")
4730 (license license:gpl2+)))
4731
4732 (define-public r-ztable
4733 (package
4734 (name "r-ztable")
4735 (version "0.2.3")
4736 (source (origin
4737 (method url-fetch)
4738 (uri (cran-uri "ztable" version))
4739 (sha256
4740 (base32
4741 "1ps7ix0hc84s0p0ra6bkjxky3cffs1rvdcagqzj78lbdq22dk5j8"))))
4742 (build-system r-build-system)
4743 (propagated-inputs
4744 (list r-flextable
4745 r-magrittr
4746 r-officer
4747 r-rcolorbrewer
4748 r-rstudioapi
4749 r-scales
4750 r-stringr))
4751 (native-inputs
4752 (list r-knitr))
4753 (home-page "https://cran.r-project.org/web/packages/ztable")
4754 (synopsis "Zebra-striped tables in LaTeX and HTML formats for R")
4755 (description
4756 "This package provides functions to make zebra-striped tables (tables
4757 with alternating row colors) in LaTeX and HTML formats easily from
4758 @code{data.frame}, @code{matrix}, @code{lm}, @code{aov}, @code{anova},
4759 @code{glm}, @code{coxph}, @code{nls}, @code{fitdistr}, @code{mytable} and
4760 @code{cbind.mytable} objects.")
4761 (license license:gpl2+)))
4762
4763 (define-public r-vipor
4764 (package
4765 (name "r-vipor")
4766 (version "0.4.5")
4767 (source (origin
4768 (method url-fetch)
4769 (uri (cran-uri "vipor" version))
4770 (sha256
4771 (base32
4772 "112gc0d7f8iavgf56pnzfxb7hy75yhd0zlyjzshdcfbnqcd2a6bx"))))
4773 (build-system r-build-system)
4774 (home-page "https://cran.r-project.org/web/packages/vipor")
4775 (synopsis "Plot categorical data using noise and density estimates")
4776 (description
4777 "This package provides tools to generate a violin point plot, a
4778 combination of a violin/histogram plot and a scatter plot by offsetting points
4779 within a category based on their density using quasirandom noise.")
4780 (license license:gpl2+)))
4781
4782 (define-public r-beeswarm
4783 (package
4784 (name "r-beeswarm")
4785 (version "0.4.0")
4786 (source (origin
4787 (method url-fetch)
4788 (uri (cran-uri "beeswarm" version))
4789 (sha256
4790 (base32
4791 "016mqcbdksialkmap56rprzna9b6cd6896ml9gl2n2h8yjdk7x2i"))))
4792 (build-system r-build-system)
4793 (home-page "https://www.cbs.dtu.dk/~eklund/beeswarm/")
4794 (synopsis "Implementation of bee swarm plots")
4795 (description
4796 "This package provides an implementation of bee swarm plots. The bee
4797 swarm plot is a one-dimensional scatter plot like stripchart, but with
4798 closely-packed, non-overlapping points.")
4799 (license license:artistic2.0)))
4800
4801 (define-public r-sourcetools
4802 (package
4803 (name "r-sourcetools")
4804 (version "0.1.7")
4805 (source
4806 (origin
4807 (method url-fetch)
4808 (uri (cran-uri "sourcetools" version))
4809 (sha256
4810 (base32
4811 "1jnjir0q2dj724f1mjm6p5h77yzyx6xcqy9r2g7gmcxkxw349627"))))
4812 (build-system r-build-system)
4813 (home-page "https://cran.r-project.org/web/packages/sourcetools")
4814 (synopsis "Tools for reading, tokenizing and parsing R code")
4815 (description
4816 "The sourcetools package provides both an R and C++ interface for the
4817 tokenization of R code, and helpers for interacting with the tokenized
4818 representation of R code.")
4819 (license license:expat)))
4820
4821 (define-public r-ggbeeswarm
4822 (package
4823 (name "r-ggbeeswarm")
4824 (version "0.6.0")
4825 (source (origin
4826 (method url-fetch)
4827 (uri (cran-uri "ggbeeswarm" version))
4828 (sha256
4829 (base32
4830 "0crk29p5vi1r3a988kms4y7r0iqwgwzsikgvh18r9wbzyr98bb5v"))))
4831 (build-system r-build-system)
4832 (propagated-inputs
4833 (list r-beeswarm r-ggplot2 r-vipor))
4834 (home-page "https://github.com/eclarke/ggbeeswarm")
4835 (synopsis "Categorical scatter (violin point) plots")
4836 (description
4837 "This package provides two methods of plotting categorical scatter plots
4838 such that the arrangement of points within a category reflects the density of
4839 data at that region, and avoids over-plotting.")
4840 (license license:gpl2+)))
4841
4842 (define-public r-ggthemes
4843 (package
4844 (name "r-ggthemes")
4845 (version "4.2.4")
4846 (source (origin
4847 (method url-fetch)
4848 (uri (cran-uri "ggthemes" version))
4849 (sha256
4850 (base32
4851 "0rw5f6axyz1pqn6qx9jwm38hjzn8bqs1nfjkvm96z3xnyn61cdbv"))))
4852 (build-system r-build-system)
4853 (propagated-inputs
4854 (list r-ggplot2 r-purrr r-scales r-stringr r-tibble))
4855 (home-page "https://cran.rstudio.com/web/packages/ggthemes")
4856 (synopsis "Extra themes, scales and geoms for @code{ggplot2}")
4857 (description "This package provides extra themes and scales for
4858 @code{ggplot2} that replicate the look of plots by Edward Tufte and
4859 Stephen Few in Fivethirtyeight, The Economist, Stata, Excel, and The
4860 Wall Street Journal, among others. This package also provides
4861 @code{geoms} for Tufte's box plot and range frame.")
4862 (license license:gpl2)))
4863
4864 (define-public r-statmod
4865 (package
4866 (name "r-statmod")
4867 (version "1.4.37")
4868 (source (origin
4869 (method url-fetch)
4870 (uri (cran-uri "statmod" version))
4871 (sha256
4872 (base32
4873 "04v9nynv3lakhnd7b17v5syrlnscrxml71jnd3r93chckskwillh"))))
4874 (build-system r-build-system)
4875 (home-page "https://cran.r-project.org/web/packages/statmod")
4876 (native-inputs
4877 (list gfortran))
4878 (synopsis "Statistical modeling")
4879 (description
4880 "This package provides a collection of algorithms and functions to aid
4881 statistical modeling. It includes growth curve comparisons, limiting dilution
4882 analysis (aka ELDA), mixed linear models, heteroscedastic regression,
4883 inverse-Gaussian probability calculations, Gauss quadrature and a secure
4884 convergence algorithm for nonlinear models. It also includes advanced
4885 generalized linear model functions that implement secure convergence,
4886 dispersion modeling and Tweedie power-law families.")
4887 ;; Statmod is distributed under either license
4888 (license (list license:gpl2 license:gpl3))))
4889
4890 (define-public r-rann
4891 (package
4892 (name "r-rann")
4893 (version "2.6.1")
4894 (source (origin
4895 (method url-fetch)
4896 (uri (cran-uri "RANN" version))
4897 (sha256
4898 (base32
4899 "10kid40w9w7vkz2hpcfkdpxr4afxzms5dzvfwr0sl5xynzgw76dj"))))
4900 (properties
4901 `((upstream-name . "RANN")))
4902 (build-system r-build-system)
4903 (home-page "https://github.com/jefferis/RANN")
4904 (synopsis "Fast nearest neighbour search")
4905 (description
4906 "This package finds the k nearest neighbours for every point in a given
4907 dataset in O(N log N) time using Arya and Mount's ANN library. Provides
4908 approximate, exact searches, fixed radius searches, bd and kb trees.")
4909 (license license:gpl3+)))
4910
4911 (define-public r-fivethirtyeight
4912 (package
4913 (name "r-fivethirtyeight")
4914 (version "0.1.0")
4915 (source
4916 (origin
4917 (method url-fetch)
4918 (uri (string-append "https://mran.microsoft.com/src/contrib/"
4919 "fivethirtyeight_" version ".tar.gz"))
4920 (sha256
4921 (base32
4922 "0fcc8rq745nsghp27dk0lgih90y4zx8hrzcvsn6ih786yv7qxhvl"))))
4923 (build-system r-build-system)
4924 (propagated-inputs
4925 (list r-knitr
4926 r-rmarkdown
4927 r-dplyr
4928 r-readr
4929 r-ggplot2
4930 r-magrittr
4931 r-stringr))
4932 (home-page "https://mran.microsoft.com/package/fivethirtyeight/")
4933 (synopsis "Data and code behind the stories at FiveThirtyEight")
4934 (description "This R package provides access to the code and data sets
4935 published by the statistics blog FiveThirtyEight.")
4936 (license license:expat)))
4937
4938 (define-public r-compquadform
4939 (package
4940 (name "r-compquadform")
4941 (version "1.4.3")
4942 (source
4943 (origin
4944 (method url-fetch)
4945 (uri (cran-uri "CompQuadForm" version))
4946 (sha256
4947 (base32
4948 "1i30hrqdk64q17vsn918c3q79brchgx2wzh1gbsgbn0dh1ncabq4"))))
4949 (properties `((upstream-name . "CompQuadForm")))
4950 (build-system r-build-system)
4951 (home-page "https://cran.r-project.org/web/packages/CompQuadForm")
4952 (synopsis "Distribution function of quadratic forms in normal variables")
4953 (description
4954 "This package provides functions to compute the distribution function of
4955 quadratic forms in normal variables using Imhof's method, Davies's algorithm,
4956 Farebrother's algorithm or Liu et al.'s algorithm.")
4957 (license license:gpl2+)))
4958
4959 (define-public r-cowplot
4960 (package
4961 (name "r-cowplot")
4962 (version "1.1.1")
4963 (source
4964 (origin
4965 (method url-fetch)
4966 (uri (cran-uri "cowplot" version))
4967 (sha256
4968 (base32
4969 "0j7d5vhzdxn1blrsfafx5z8lhq122rp8230hp9czrpsnnhjydp67"))))
4970 (build-system r-build-system)
4971 (propagated-inputs
4972 (list r-ggplot2 r-gtable r-rlang r-scales))
4973 (native-inputs
4974 (list r-knitr))
4975 (home-page "https://github.com/wilkelab/cowplot")
4976 (synopsis "Streamlined plot theme and plot annotations for ggplot2")
4977 (description
4978 "This package provides some helpful extensions and modifications to the
4979 ggplot2 package to combine multiple ggplot2 plots into one and label them with
4980 letters, as is often required for scientific publications.")
4981 (license license:gpl2)))
4982
4983 (define-public r-mixtools
4984 (package
4985 (name "r-mixtools")
4986 (version "1.2.0")
4987 (source
4988 (origin
4989 (method url-fetch)
4990 (uri (cran-uri "mixtools" version))
4991 (sha256
4992 (base32
4993 "08whic8hmmzi55b7azwj11l2x5r9s5qbyrv7s9jr08156vqkw0zg"))))
4994 (build-system r-build-system)
4995 (propagated-inputs
4996 (list r-mass r-kernlab r-segmented r-survival))
4997 (home-page "https://cran.r-project.org/web/packages/mixtools")
4998 (synopsis "Tools for analyzing finite mixture models")
4999 (description
5000 "This package provides a collection of R functions for analyzing finite
5001 mixture models.")
5002 (license license:gpl2+)))
5003
5004 (define-public r-lars
5005 (package
5006 (name "r-lars")
5007 (version "1.3")
5008 (source
5009 (origin
5010 (method url-fetch)
5011 (uri (cran-uri "lars" version))
5012 (sha256
5013 (base32
5014 "17al1g0pvfz9frs2kxicqr8dyp7ciz3x87yx2l4lqd53ls6nm7n6"))))
5015 (build-system r-build-system)
5016 (inputs
5017 (list gfortran))
5018 (home-page "https://web.stanford.edu/~hastie/Papers/LARS/")
5019 (synopsis "Least angle regression software")
5020 (description
5021 "Least Angle Regression (\"LAR\") is a model selection algorithm; a
5022 useful and less greedy version of traditional forward selection methods. A
5023 simple modification of the LAR algorithm implements Tibshirani's Lasso; the
5024 Lasso modification of LARS calculates the entire Lasso path of coefficients
5025 for a given problem at the cost of a single least squares fit. Another LARS
5026 modification efficiently implements epsilon Forward Stagewise linear
5027 regression.")
5028 (license license:gpl2)))
5029
5030 (define-public r-fastica
5031 (package
5032 (name "r-fastica")
5033 (version "1.2-3")
5034 (source
5035 (origin
5036 (method url-fetch)
5037 (uri (cran-uri "fastICA" version))
5038 (sha256
5039 (base32
5040 "0l49cmxm1n4dzrv8q3q3mq4drcjgby4f1dmpwfdb8jxn9ij85vz9"))))
5041 (properties `((upstream-name . "fastICA")))
5042 (build-system r-build-system)
5043 (home-page "https://cran.r-project.org/web/packages/fastICA")
5044 (synopsis "FastICA algorithms to perform ICA and projection pursuit")
5045 (description
5046 "This package provides an implementation of the FastICA algorithm to
5047 perform @dfn{independent component analysis} (ICA) and projection pursuit.")
5048 ;; Any GPL version.
5049 (license license:gpl3+)))
5050
5051 (define-public r-randomforest
5052 (package
5053 (name "r-randomforest")
5054 (version "4.7-1.1")
5055 (source
5056 (origin
5057 (method url-fetch)
5058 (uri (cran-uri "randomForest" version))
5059 (sha256
5060 (base32
5061 "1micz9794j7xmj755ln2692rzip8azndflxgdg6xn3j86issi7pm"))))
5062 (properties `((upstream-name . "randomForest")))
5063 (build-system r-build-system)
5064 (home-page "https://www.stat.berkeley.edu/~breiman/RandomForests/")
5065 (native-inputs
5066 (list gfortran))
5067 (synopsis "Breiman and Cutler's random forests for classification and regression")
5068 (description
5069 "This package provides the Breiman and Cutler's random forests algorithm, based on a
5070 forest of trees using random inputs, for classification and regression.")
5071 (license license:gpl2+)))
5072
5073 (define-public r-diptest
5074 (package
5075 (name "r-diptest")
5076 (version "0.76-0")
5077 (source
5078 (origin
5079 (method url-fetch)
5080 (uri (cran-uri "diptest" version))
5081 (sha256
5082 (base32
5083 "10629vwn6r2949jjrmj5slbb5v0vnm3w0v8mrl7ws68m2sxmx2jh"))))
5084 (build-system r-build-system)
5085 (home-page "https://cran.r-project.org/web/packages/diptest")
5086 (synopsis "Hartigan's dip test statistic for unimodality")
5087 (description
5088 "This package computes Hartigan's dip test statistic for unimodality,
5089 multimodality and provides a test with simulation based p-values, where the
5090 original public code has been corrected.")
5091 (license license:gpl2+)))
5092
5093 (define-public r-modeltools
5094 (package
5095 (name "r-modeltools")
5096 (version "0.2-23")
5097 (source
5098 (origin
5099 (method url-fetch)
5100 (uri (cran-uri "modeltools" version))
5101 (sha256
5102 (base32
5103 "1vqh69256h344sbj5affm0kmc77dakrxp6442xfdnfd0y5d8sgkb"))))
5104 (build-system r-build-system)
5105 (home-page "https://cran.r-project.org/web/packages/modeltools")
5106 (synopsis "Tools and classes for statistical models")
5107 (description
5108 "This package provides a collection of tools to deal with statistical
5109 models. The functionality is experimental and the user interface is likely
5110 to change in the future.")
5111 (license license:gpl2)))
5112
5113 (define-public r-flexmix
5114 (package
5115 (name "r-flexmix")
5116 (version "2.3-18")
5117 (source
5118 (origin
5119 (method url-fetch)
5120 (uri (cran-uri "flexmix" version))
5121 (sha256
5122 (base32
5123 "0lcvsvmhkbwac50l109an6prl1ng4mkyvr436344b20897ph28j6"))))
5124 (build-system r-build-system)
5125 (propagated-inputs
5126 (list r-lattice r-modeltools r-nnet))
5127 (home-page "https://cran.r-project.org/web/packages/flexmix")
5128 (synopsis "Flexible mixture modeling")
5129 (description
5130 "This package implements a general framework for finite mixtures of
5131 regression models using the EM algorithm. FlexMix provides the E-step and
5132 all data handling, while the M-step can be supplied by the user to easily
5133 define new models. Existing drivers implement mixtures of standard linear
5134 models, generalized linear models and model-based clustering.")
5135 (license license:gpl2+)))
5136
5137 (define-public r-mclust
5138 (package
5139 (name "r-mclust")
5140 (version "5.4.10")
5141 (source
5142 (origin
5143 (method url-fetch)
5144 (uri (cran-uri "mclust" version))
5145 (sha256
5146 (base32
5147 "0wh6nsbma4b0wsmqm2ynbznl2wlwdly4vg583f6z0zd1qkrvn6ra"))))
5148 (build-system r-build-system)
5149 (native-inputs
5150 (list gfortran r-knitr))
5151 (home-page "https://www.stat.washington.edu/mclust/")
5152 (synopsis "Gaussian mixture modelling for model-based clustering etc.")
5153 (description
5154 "This package provides Gaussian finite mixture models fitted via EM
5155 algorithm for model-based clustering, classification, and density estimation,
5156 including Bayesian regularization, dimension reduction for visualisation,
5157 and resampling-based inference.")
5158 (license license:gpl2+)))
5159
5160 (define-public r-prabclus
5161 (package
5162 (name "r-prabclus")
5163 (version "2.3-2")
5164 (source
5165 (origin
5166 (method url-fetch)
5167 (uri (cran-uri "prabclus" version))
5168 (sha256
5169 (base32
5170 "0hg4d7y1w18jpgvw10z8833bbbcnlkwiasx0wh6iwa2pnnybq8gl"))))
5171 (build-system r-build-system)
5172 (propagated-inputs
5173 (list r-mass r-mclust))
5174 (home-page "https://cran.r-project.org/web/packages/prabclus")
5175 (synopsis "Parametric bootstrap tests for spatial neighborhood clustering")
5176 (description
5177 "This package provides distance-based parametric bootstrap tests for
5178 clustering with spatial neighborhood information. It implements some distance
5179 measures, clustering of presence-absence, abundance and multilocus genetical
5180 data for species delimitation, nearest neighbor based noise detection.")
5181 (license license:gpl2+)))
5182
5183 (define-public r-deoptimr
5184 (package
5185 (name "r-deoptimr")
5186 (version "1.0-11")
5187 (source
5188 (origin
5189 (method url-fetch)
5190 (uri (cran-uri "DEoptimR" version))
5191 (sha256
5192 (base32
5193 "0nqn12n5qlyk2zsgh57dvizy5z71xgqrhrcqj6lbzybm9c7v6x0q"))))
5194 (properties `((upstream-name . "DEoptimR")))
5195 (build-system r-build-system)
5196 (home-page "https://cran.r-project.org/web/packages/DEoptimR")
5197 (synopsis "Differential evolution optimization in pure R")
5198 (description
5199 "This package provides a differential evolution (DE) stochastic
5200 algorithms for global optimization of problems with and without constraints.
5201 The aim is to curate a collection of its state-of-the-art variants that (1) do
5202 not sacrifice simplicity of design, (2) are essentially tuning-free, and (3)
5203 can be efficiently implemented directly in the R language.")
5204 (license license:gpl2+)))
5205
5206 (define-public r-robustbase
5207 (package
5208 (name "r-robustbase")
5209 (version "0.95-0")
5210 (source
5211 (origin
5212 (method url-fetch)
5213 (uri (cran-uri "robustbase" version))
5214 (sha256
5215 (base32
5216 "094pxwp78bmqyn6vncyzrazqxnn8abqsbzhlcq44avfz8qffmyjw"))))
5217 (build-system r-build-system)
5218 (native-inputs
5219 (list gfortran))
5220 (propagated-inputs
5221 (list r-deoptimr))
5222 (home-page "http://robustbase.r-forge.r-project.org/")
5223 (synopsis "Basic robust statistics")
5224 (description
5225 "This package analyzes data with robust methods such as
5226 regression methodology including model selections and multivariate statistics.")
5227 (license license:gpl2+)))
5228
5229 (define-public r-pcapp
5230 (package
5231 (name "r-pcapp")
5232 (version "2.0-2")
5233 (source
5234 (origin
5235 (method url-fetch)
5236 (uri (cran-uri "pcaPP" version))
5237 (sha256
5238 (base32
5239 "0jxm1cl48bzfi0s0f2b0y0r5nq7x0iypgkasa3v5myhb9sbnd2x1"))))
5240 (properties `((upstream-name . "pcaPP")))
5241 (build-system r-build-system)
5242 (propagated-inputs
5243 (list r-mvtnorm))
5244 (home-page "https://cran.r-project.org/web/packages/pcaPP")
5245 (synopsis "Robust PCA by projection pursuit")
5246 (description
5247 "This package provides functions for robust @dfn{principal component
5248 analysis} (PCA) by projection pursuit.")
5249 (license license:gpl3+)))
5250
5251 (define-public r-rrcov
5252 (package
5253 (name "r-rrcov")
5254 (version "1.7-1")
5255 (source
5256 (origin
5257 (method url-fetch)
5258 (uri (cran-uri "rrcov" version))
5259 (sha256
5260 (base32
5261 "1rd4r4acgpr25x2iy7v2mnahmmf76a378zq16gnpwv5ljycs05g1"))))
5262 (build-system r-build-system)
5263 (propagated-inputs
5264 (list r-lattice r-mvtnorm r-pcapp r-robustbase))
5265 (native-inputs
5266 (list gfortran))
5267 (home-page "https://cran.r-project.org/web/packages/rrcov")
5268 (synopsis "Scalable robust estimators with high breakdown Point")
5269 (description
5270 "This package provides an implementation of robust location and scatter
5271 estimation and robust multivariate analysis with high breakdown point.")
5272 (license license:gpl2+)))
5273
5274 (define-public r-fit-models
5275 (package
5276 (name "r-fit-models")
5277 (version "0.64")
5278 (source
5279 (origin
5280 (method url-fetch)
5281 (uri (cran-uri "fit.models" version))
5282 (sha256
5283 (base32
5284 "1nk4x2q8cv79zcls61saf627ac0fci6jcrd6lmzk61asm2zhc27p"))))
5285 (properties `((upstream-name . "fit.models")))
5286 (build-system r-build-system)
5287 (propagated-inputs
5288 (list r-lattice))
5289 (home-page "https://cran.r-project.org/web/packages/fit.models")
5290 (synopsis "Compare fitted models")
5291 (description
5292 "The @code{fit.models} function and its associated methods (coefficients, print,
5293 summary, plot, etc.) were originally provided in the @code{robust} package to
5294 compare robustly and classically fitted model objects. The aim of the
5295 @code{fit.models} package is to separate this fitted model object comparison
5296 functionality from the robust package and to extend it to support fitting
5297 methods (e.g., classical, robust, Bayesian, regularized, etc.) more
5298 generally.")
5299 ;; Any version of the GPL
5300 (license (list license:gpl2+ license:gpl3+))))
5301
5302 (define-public r-robust
5303 (package
5304 (name "r-robust")
5305 (version "0.7-1")
5306 (source
5307 (origin
5308 (method url-fetch)
5309 (uri (cran-uri "robust" version))
5310 (sha256
5311 (base32
5312 "1pv5xvns3p8dpaadf6v0fqz099ml768ahgp271wpiclrcc6cgapg"))))
5313 (build-system r-build-system)
5314 (propagated-inputs
5315 (list r-fit-models r-lattice r-mass r-robustbase r-rrcov))
5316 (native-inputs
5317 (list gfortran))
5318 (home-page "https://cran.r-project.org/web/packages/robust")
5319 (synopsis "Port of the S+ \"Robust Library\"")
5320 (description
5321 "This package is a port of the S+ \"Robust Library\". It provides
5322 methods for robust statistics, notably for robust regression and robust
5323 multivariate analysis.")
5324 (license license:gpl2)))
5325
5326 (define-public r-trimcluster
5327 (package
5328 (name "r-trimcluster")
5329 (version "0.1-5")
5330 (source
5331 (origin
5332 (method url-fetch)
5333 (uri (cran-uri "trimcluster" version))
5334 (sha256
5335 (base32
5336 "12siv8yx8dcavsz8jk96lwscbj257ar8jpaxksl2zb06987g4fcj"))))
5337 (build-system r-build-system)
5338 (home-page "https://cran.r-project.org/web/packages/trimcluster")
5339 (synopsis "Cluster analysis with trimming")
5340 (description
5341 "The trimmed k-means clustering method by Cuesta-Albertos, Gordaliza and
5342 Matran (1997). This optimizes the k-means criterion under trimming a portion
5343 of the points.")
5344 ;; Any GPL version
5345 (license (list license:gpl2+ license:gpl3+))))
5346
5347 (define-public r-fpc
5348 (package
5349 (name "r-fpc")
5350 (version "2.2-9")
5351 (source
5352 (origin
5353 (method url-fetch)
5354 (uri (cran-uri "fpc" version))
5355 (sha256
5356 (base32
5357 "0f7sfmpcycr9y7cy5gasyjm2ardxa62kglqms92mcr68jrp01c19"))))
5358 (build-system r-build-system)
5359 (propagated-inputs
5360 (list r-class
5361 r-cluster
5362 r-diptest
5363 r-flexmix
5364 r-kernlab
5365 r-mass
5366 r-mclust
5367 r-prabclus
5368 r-robustbase))
5369 (home-page "https://cran.r-project.org/web/packages/fpc")
5370 (synopsis "Flexible procedures for clustering")
5371 (description
5372 "This package provides various methods for clustering and cluster validation.
5373 For example, it provides fixed point clustering, linear regression clustering,
5374 clustering by merging Gaussian mixture components, as well as symmetric and
5375 asymmetric discriminant projections for visualisation of the separation of
5376 groupings.")
5377 (license license:gpl2+)))
5378
5379 (define-public r-vgam
5380 (package
5381 (name "r-vgam")
5382 (version "1.1-7")
5383 (source
5384 (origin
5385 (method url-fetch)
5386 (uri (cran-uri "VGAM" version))
5387 (sha256
5388 (base32 "0zkmj7crkkvi7ki88f6vfn7x8gf0ycrbg13wann7wirj4cwjvid4"))))
5389 (properties `((upstream-name . "VGAM")))
5390 (build-system r-build-system)
5391 (native-inputs
5392 (list gfortran))
5393 (home-page "https://www.stat.auckland.ac.nz/~yee/VGAM")
5394 (synopsis "Vector generalized linear and additive models")
5395 (description
5396 "This package is an implementation of about 6 major classes of statistical
5397 regression models. Currently only fixed-effects models are implemented, i.e.,
5398 no random-effects models. Many (150+) models and distributions are estimated
5399 by maximum likelihood estimation (MLE) or penalized MLE, using Fisher scoring.
5400 VGLMs can be loosely thought of as multivariate generalised linear models.")
5401 (license license:gpl2+)))
5402
5403 (define-public r-pbapply
5404 (package
5405 (name "r-pbapply")
5406 (version "1.5-0")
5407 (source
5408 (origin
5409 (method url-fetch)
5410 (uri (cran-uri "pbapply" version))
5411 (sha256
5412 (base32
5413 "0m8a0ygwl98cs0vcha5gs9f7z8whcplwxhravhs9bfp5hvigxzgg"))))
5414 (build-system r-build-system)
5415 (home-page "https://github.com/psolymos/pbapply")
5416 (synopsis "Adding progress bar to apply functions")
5417 (description
5418 "This lightweight package that adds progress bar to vectorized R
5419 functions apply. The implementation can easily be added to functions where
5420 showing the progress is useful e.g. bootstrap.")
5421 (license license:gpl2)))
5422
5423 (define-public r-minqa
5424 (package
5425 (name "r-minqa")
5426 (version "1.2.4")
5427 (source
5428 (origin
5429 (method url-fetch)
5430 (uri (cran-uri "minqa" version))
5431 (sha256
5432 (base32
5433 "036drja6xz7awja9iwb76x91415p26fb0jmg7y7v0p65m6j978fg"))))
5434 (build-system r-build-system)
5435 (propagated-inputs
5436 (list r-rcpp))
5437 (inputs
5438 (list gfortran))
5439 (home-page "http://optimizer.r-forge.r-project.org")
5440 (synopsis "Derivative-free optimization algorithms by quadratic approximation")
5441 (description
5442 "This package provides a derivative-free optimization by quadratic approximation
5443 based on an interface to Fortran implementations by M. J. D. Powell.")
5444 (license license:gpl2)))
5445
5446 (define-public r-rcppeigen
5447 (package
5448 (name "r-rcppeigen")
5449 (version "0.3.3.9.2")
5450 (source
5451 (origin
5452 (method url-fetch)
5453 (uri (cran-uri "RcppEigen" version))
5454 (sha256
5455 (base32
5456 "14ylrq7mmylmi513zkwyqqy43kqbz95fc6fzpagqvyx6snaffir5"))))
5457 (properties `((upstream-name . "RcppEigen")))
5458 (build-system r-build-system)
5459 (propagated-inputs
5460 (list r-rcpp r-matrix))
5461 (home-page "http://eigen.tuxfamily.org")
5462 (synopsis "Rcpp integration for the Eigen templated linear algebra library")
5463 (description
5464 "This package provides an integration of Eigen in R using a C++ template
5465 library for linear algebra: matrices, vectors, numerical solvers and related algorithms.
5466 It supports dense and sparse matrices on integer, floating point and complex numbers,
5467 decompositions of such matrices, and solutions of linear systems.")
5468 (license license:gpl2+)))
5469
5470 (define-public r-modelmetrics
5471 (package
5472 (name "r-modelmetrics")
5473 (version "1.2.2.2")
5474 (source
5475 (origin
5476 (method url-fetch)
5477 (uri (cran-uri "ModelMetrics" version))
5478 (sha256
5479 (base32
5480 "0mrlsw4c5y1vdsqynxr2dcvmhh5h37pnd71jw5a5djpbda9g21jy"))))
5481 (properties `((upstream-name . "ModelMetrics")))
5482 (build-system r-build-system)
5483 (propagated-inputs
5484 (list r-rcpp r-data-table))
5485 (home-page "https://cran.r-project.org/web/packages/ModelMetrics")
5486 (synopsis "Rapid calculation of model metrics")
5487 (description
5488 "Written in C++ using @code{Rcpp}, this package provides a collection of
5489 metrics for evaluating models.")
5490 (license license:gpl2+)))
5491
5492 (define-public r-matrixmodels
5493 (package
5494 (name "r-matrixmodels")
5495 (version "0.5-1")
5496 (source
5497 (origin
5498 (method url-fetch)
5499 (uri (cran-uri "MatrixModels" version))
5500 (sha256
5501 (base32
5502 "1a9ywhv1yklfcp0jgirkih3ib5scs61hkscmyddwfh5blpgmpi9z"))))
5503 (properties `((upstream-name . "MatrixModels")))
5504 (build-system r-build-system)
5505 (propagated-inputs
5506 (list r-matrix))
5507 (home-page "https://cran.r-project.org/web/packages/MatrixModels")
5508 (synopsis "Modelling with sparse and dense matrices")
5509 (description
5510 "This package models with sparse and dense matrix matrices,
5511 using modular prediction and response module classes.")
5512 (license license:gpl2+)))
5513
5514 (define-public r-quantreg
5515 (package
5516 (name "r-quantreg")
5517 (version "5.94")
5518 (source
5519 (origin
5520 (method url-fetch)
5521 (uri (cran-uri "quantreg" version))
5522 (sha256
5523 (base32 "1h8p3gzaas8gdvyh13ir8xc92hiybmizb0yhnwk7gvbjp768bmaj"))))
5524 (build-system r-build-system)
5525 (arguments
5526 `(#:phases
5527 (modify-phases %standard-phases
5528 (add-after 'unpack 'set-HOME
5529 (lambda _ (setenv "HOME" "/tmp"))))))
5530 (native-inputs
5531 (list gfortran
5532 r-r-rsp)) ;for vignettes
5533 (propagated-inputs
5534 (list r-mass r-matrix r-matrixmodels r-sparsem r-survival))
5535 (home-page "https://www.r-project.org")
5536 (synopsis "Quantile regression")
5537 (description
5538 "This package provides an estimation and inference methods for models
5539 of conditional quantiles: linear and nonlinear parametric and non-parametric
5540 models for conditional quantiles of a univariate response and several methods
5541 for handling censored survival data. Portfolio selection methods based on
5542 expected shortfall risk are also included.")
5543 (license license:gpl2+)))
5544
5545 (define-public r-nloptr
5546 (package
5547 (name "r-nloptr")
5548 (version "2.0.3")
5549 (source
5550 (origin
5551 (method url-fetch)
5552 (uri (cran-uri "nloptr" version))
5553 (sha256
5554 (base32
5555 "1mqnjswm0dl6vqc8b2s5k3n1mhanaha3l33vh68dh6zx8q9aq9kv"))))
5556 (build-system r-build-system)
5557 (native-inputs
5558 (list r-knitr ; for building vignettes
5559 pkg-config gfortran))
5560 (inputs
5561 (list nlopt))
5562 (propagated-inputs (list r-testthat))
5563 (home-page "https://cran.r-project.org/web/packages/nloptr")
5564 (synopsis "R interface to NLopt")
5565 (description
5566 "This package is interface to NLopt, a library for nonlinear
5567 optimization. NLopt is a library for nonlinear optimization, providing a
5568 common interface for a number of different free optimization routines
5569 available online as well as original implementations of various other
5570 algorithms.")
5571 (license license:lgpl3)))
5572
5573 (define-public r-lme4
5574 (package
5575 (name "r-lme4")
5576 (version "1.1-30")
5577 (source
5578 (origin
5579 (method url-fetch)
5580 (uri (cran-uri "lme4" version))
5581 (sha256
5582 (base32
5583 "03rhg6cnsvdk06a1yxkivfvfwlx9934nd9q6jnp0bzscnv2dzazx"))))
5584 (build-system r-build-system)
5585 (propagated-inputs
5586 (list r-boot
5587 r-lattice
5588 r-mass
5589 r-matrix
5590 r-minqa
5591 r-nloptr
5592 r-nlme
5593 r-rcpp
5594 r-rcppeigen))
5595 (native-inputs
5596 (list r-knitr))
5597 (home-page "https://cran.r-project.org/web/packages/lme4")
5598 (synopsis "Linear mixed-effects models using eigen and S4")
5599 (description
5600 "This package provides fit linear and generalized linear mixed-effects
5601 models. The models and their components are represented using S4 classes and
5602 methods. The core computational algorithms are implemented using the Eigen
5603 C++ library for numerical linear algebra and RcppEigen glue.")
5604 (license license:gpl2+)))
5605
5606 (define-public r-pbkrtest
5607 (package
5608 (name "r-pbkrtest")
5609 (version "0.5.1")
5610 (source
5611 (origin
5612 (method url-fetch)
5613 (uri (cran-uri "pbkrtest" version))
5614 (sha256
5615 (base32
5616 "1if7msv9i7jhg1as1f7m81a95dnwhwj3yfs24bqr0f6r0ch4b8xj"))))
5617 (build-system r-build-system)
5618 (propagated-inputs
5619 (list r-broom
5620 r-dplyr
5621 r-lme4
5622 r-magrittr
5623 r-mass
5624 r-matrix
5625 r-numderiv))
5626 (native-inputs
5627 (list r-knitr))
5628 (home-page "https://people.math.aau.dk/~sorenh/software/pbkrtest/")
5629 (synopsis "Methods for linear mixed model comparison")
5630 (description
5631 "This package implements a parametric bootstrap test and a Kenward Roger
5632 modification of F-tests for linear mixed effects models and a parametric
5633 bootstrap test for generalized linear mixed models.")
5634 (license license:gpl2+)))
5635
5636 (define-public r-cardata
5637 (package
5638 (name "r-cardata")
5639 (version "3.0-5")
5640 (source
5641 (origin
5642 (method url-fetch)
5643 (uri (cran-uri "carData" version))
5644 (sha256
5645 (base32 "06j52rpbqi6fj7chfjwjbwbr6slrbb7i3aygv66gnfiyndcp3rq2"))))
5646 (properties `((upstream-name . "carData")))
5647 (build-system r-build-system)
5648 (home-page "https://r-forge.r-project.org/projects/car/")
5649 (synopsis "Data Sets for the book Companion to Applied Regression")
5650 (description
5651 "This package provides datasets to accompany J. Fox and S. Weisberg, An R
5652 Companion to Applied Regression, Third Edition, Sage.")
5653 (license license:gpl2+)))
5654
5655 (define-public r-car
5656 (package
5657 (name "r-car")
5658 (version "3.1-0")
5659 (source
5660 (origin
5661 (method url-fetch)
5662 (uri (cran-uri "car" version))
5663 (sha256
5664 (base32 "08ga187qqnl7cih7kzzzw9jx5sq63lq4ad6rrj7q5kj6xbmb8lmx"))))
5665 (build-system r-build-system)
5666 (propagated-inputs
5667 (list r-abind
5668 r-cardata
5669 r-lme4
5670 r-maptools
5671 r-mass
5672 r-mgcv
5673 r-nlme
5674 r-nnet
5675 r-pbkrtest
5676 r-quantreg))
5677 (native-inputs
5678 (list r-knitr))
5679 (home-page "https://r-forge.r-project.org/projects/car/")
5680 (synopsis "Companion to applied regression")
5681 (description
5682 "This package provides functions and datasets from book Companion
5683 to Applied regression, Second Edition, Sage, 2011.")
5684 (license license:gpl2+)))
5685
5686 (define-public r-rcppprogress
5687 (package
5688 (name "r-rcppprogress")
5689 (version "0.4.2")
5690 (source
5691 (origin
5692 (method url-fetch)
5693 (uri (cran-uri "RcppProgress" version))
5694 (sha256
5695 (base32
5696 "0j2b37gwjpgmrnr00srdzm751hzlpsjb54ph63xxmcdfnwhlnqmi"))))
5697 (properties `((upstream-name . "RcppProgress")))
5698 (build-system r-build-system)
5699 (home-page "https://github.com/kforner/rcpp_progress")
5700 (synopsis "Interruptible progress bar for C++ in R packages")
5701 (description
5702 "This package displays a progress bar in the R console for long running
5703 computations taking place in C++ code, and support for interrupting those computations
5704 even in multithreaded code, typically using OpenMP.")
5705 (license license:gpl3+)))
5706
5707 (define-public r-tmvnsim
5708 (package
5709 (name "r-tmvnsim")
5710 (version "1.0-2")
5711 (source
5712 (origin
5713 (method url-fetch)
5714 (uri (cran-uri "tmvnsim" version))
5715 (sha256
5716 (base32
5717 "03xsvsg9bqvgl98ywid3h91mmlhax5s6wvmypp3hq91vmc5kvxlp"))))
5718 (properties `((upstream-name . "tmvnsim")))
5719 (build-system r-build-system)
5720 (native-inputs (list gfortran))
5721 (home-page "https://www.r-project.org")
5722 (synopsis "Truncated multivariate normal simulation")
5723 (description
5724 "This package implements importance sampling from the truncated
5725 multivariate normal using the @dfn{Geweke-Hajivassiliou-Keane} (GHK)
5726 simulator. Unlike Gibbs sampling which can get stuck in one truncation
5727 sub-region depending on initial values, this package allows truncation based
5728 on disjoint regions that are created by truncation of absolute values. The
5729 GHK algorithm uses simple Cholesky transformation followed by recursive
5730 simulation of univariate truncated normals hence there are also no convergence
5731 issues. Importance sample is returned along with sampling weights, based on
5732 which, one can calculate integrals over truncated regions for multivariate
5733 normals.")
5734 (license license:gpl2)))
5735
5736 (define-public r-mnormt
5737 (package
5738 (name "r-mnormt")
5739 (version "2.1.0")
5740 (source
5741 (origin
5742 (method url-fetch)
5743 (uri (cran-uri "mnormt" version))
5744 (sha256
5745 (base32
5746 "1f07ngi89px437az030anbh8afmf6n635ax1akxak2idwc2qaj9d"))))
5747 (build-system r-build-system)
5748 (native-inputs
5749 (list gfortran))
5750 (home-page "http://azzalini.stat.unipd.it/SW/Pkg-mnormt")
5751 (synopsis "Multivariate normal and \"t\" distributions")
5752 (description
5753 "This package provides functions for computing the density and the
5754 distribution function of multivariate normal and \"t\" random variables, and
5755 for generating random vectors sampled from these distributions. Probabilities
5756 are computed via non-Monte Carlo methods.")
5757 (license license:gpl2+)))
5758
5759 (define-public r-numderiv
5760 (package
5761 (name "r-numderiv")
5762 (version "2016.8-1.1")
5763 (source
5764 (origin
5765 (method url-fetch)
5766 (uri (cran-uri "numDeriv" version))
5767 (sha256
5768 (base32
5769 "0idk02pqkziik932bd8k72d1q775g1is3m4bc861pcxfz6gx3i6q"))))
5770 (properties `((upstream-name . "numDeriv")))
5771 (build-system r-build-system)
5772 (home-page "https://cran.r-project.org/web/packages/numDeriv")
5773 (synopsis "Accurate numerical derivatives")
5774 (description
5775 "This package provides methods for calculating accurate numerical
5776 first and second order derivatives.")
5777 (license license:gpl2)))
5778
5779 (define-public r-sn
5780 (package
5781 (name "r-sn")
5782 (version "2.1.0")
5783 (source
5784 (origin
5785 (method url-fetch)
5786 (uri (cran-uri "sn" version))
5787 (sha256
5788 (base32
5789 "12s4g9rfrnijdil7bqw66ikj5k3w6bdnz6fsgqsp0bkfsap9nps9"))))
5790 (build-system r-build-system)
5791 (propagated-inputs
5792 (list r-mnormt r-numderiv r-quantreg))
5793 (home-page "http://azzalini.stat.unipd.it/SN")
5794 (synopsis "The skew-normal and skew-t distributions")
5795 (description
5796 "This package provides functionalities to build and manipulate
5797 probability distributions of the skew-normal family and some related
5798 ones, notably the skew-t family, and provides related statistical
5799 methods for data fitting and diagnostics, in the univariate and the
5800 multivariate case.")
5801 (license license:gpl2+)))
5802
5803 (define-public r-tclust
5804 (package
5805 (name "r-tclust")
5806 (version "1.5-1")
5807 (source
5808 (origin
5809 (method url-fetch)
5810 (uri (cran-uri "tclust" version))
5811 (sha256
5812 (base32
5813 "09zk38gih67a8lk72k46mfgv21jpnxh2nzrxc5ypdc2bfwq8nckk"))))
5814 (build-system r-build-system)
5815 ;; These are all suggested packages, not build dependencies.
5816 (propagated-inputs
5817 (list r-cluster r-mclust r-mvtnorm r-sn))
5818 (home-page "https://cran.r-project.org/web/packages/tclust")
5819 (synopsis "Robust trimmed clustering")
5820 (description
5821 "This package implements different robust clustering
5822 algorithms (@code{tclust}) based on trimming and including some graphical
5823 diagnostic tools (@code{ctlcurves} and @code{DiscrFact}).")
5824 (license license:gpl3)))
5825
5826 (define-public r-ranger
5827 (package
5828 (name "r-ranger")
5829 (version "0.14.1")
5830 (source
5831 (origin
5832 (method url-fetch)
5833 (uri (cran-uri "ranger" version))
5834 (sha256
5835 (base32
5836 "06zf5mi6yfgb68m6m83k01r4ikj5nldrvrbh3jqwz8axalfl16ax"))))
5837 (build-system r-build-system)
5838 (propagated-inputs
5839 (list r-rcpp r-matrix r-rcppeigen))
5840 (home-page "https://github.com/imbs-hl/ranger")
5841 (synopsis "Fast implementation of random forests")
5842 (description
5843 "This package provides a fast implementation of Random Forests,
5844 particularly suited for high dimensional data. Ensembles of classification,
5845 regression, survival and probability prediction trees are supported. Data from
5846 genome-wide association studies can be analyzed efficiently.")
5847 (license license:gpl3)))
5848
5849 (define-public r-tsne
5850 (package
5851 (name "r-tsne")
5852 (version "0.1-3.1")
5853 (source
5854 (origin
5855 (method url-fetch)
5856 (uri (cran-uri "tsne" version))
5857 (sha256
5858 (base32
5859 "126q6ha25wx9mdsfngzkyp8j2fj81ri1knjdq1iyvwx3q1dwdaql"))))
5860 (build-system r-build-system)
5861 (home-page "https://github.com/jdonaldson/rtsne/")
5862 (synopsis "t-Distributed Stochastic Neighbor Embedding for R")
5863 (description
5864 "This package provides a pure R implementation of the t-SNE algorithm.")
5865 (license license:gpl2+)))
5866
5867 (define-public r-cairo
5868 (package
5869 (name "r-cairo")
5870 (version "1.6-0")
5871 (source
5872 (origin
5873 (method url-fetch)
5874 (uri (cran-uri "Cairo" version))
5875 (sha256
5876 (base32
5877 "1lxpmzy6k8y9b6g7x68x0giy8bblxmbc4q136hkzajmailfsqqn7"))))
5878 (properties `((upstream-name . "Cairo")))
5879 (build-system r-build-system)
5880 (inputs
5881 (list cairo libxt zlib))
5882 (native-inputs
5883 (list pkg-config))
5884 (home-page "https://www.rforge.net/Cairo/")
5885 (synopsis "R graphics device using Cairo graphics library")
5886 (description
5887 "This package provides a Cairo graphics device that can be use to
5888 create high-quality vector (PDF, PostScript and SVG) and bitmap
5889 output (PNG,JPEG,TIFF), and high-quality rendering in displays (X11
5890 and Win32). Since it uses the same back-end for all output, copying
5891 across formats is WYSIWYG. Files are created without the dependence
5892 on X11 or other external programs. This device supports alpha
5893 channel (semi-transparent drawing) and resulting images can contain
5894 transparent and semi-transparent regions. It is ideal for use in
5895 server environments (file output) and as a replacement for other
5896 devices that don't have Cairo's capabilities such as alpha support or
5897 anti-aliasing. Backends are modular such that any subset of backends
5898 is supported.")
5899 (license license:gpl2)))
5900
5901 (define-public r-lubridate
5902 (package
5903 (name "r-lubridate")
5904 (version "1.8.0")
5905 (source
5906 (origin
5907 (method url-fetch)
5908 (uri (cran-uri "lubridate" version))
5909 (sha256
5910 (base32
5911 "199b00cql07gf3rf4hh5ba34amnk0ai40zhx73dq1mpkn7ynxml7"))))
5912 (build-system r-build-system)
5913 (propagated-inputs
5914 (list r-generics r-cpp11))
5915 (native-inputs
5916 (list r-knitr))
5917 (home-page "https://cran.r-project.org/web/packages/lubridate/")
5918 (synopsis "Make dealing with dates a little easier")
5919 (description
5920 "This package provides functions to work with date-times and time-spans:
5921 fast and user friendly parsing of date-time data, extraction and updating of
5922 components of a date-time (years, months, days, hours, minutes, and seconds),
5923 algebraic manipulation on date-time and time-span objects. The @code{lubridate}
5924 package has a consistent and memorable syntax that makes working with dates
5925 easy and fun.")
5926 (license license:gpl2)))
5927
5928 (define-public r-fdrtool
5929 (package
5930 (name "r-fdrtool")
5931 (version "1.2.17")
5932 (source
5933 (origin
5934 (method url-fetch)
5935 (uri (cran-uri "fdrtool" version))
5936 (sha256
5937 (base32
5938 "1pf554vb902vavgqc4c0kgghywbgcvr3lkkr414bxngavcd60lil"))))
5939 (build-system r-build-system)
5940 (home-page "http://strimmerlab.org/software/fdrtool/")
5941 (synopsis "Estimation of false discovery rates and higher criticism")
5942 (description
5943 "This package provides tools to estimate tail area-based false discovery
5944 rates as well as local false discovery rates for a variety of null
5945 models (p-values, z-scores, correlation coefficients, t-scores). The
5946 proportion of null values and the parameters of the null distribution are
5947 adaptively estimated from the data. In addition, the package contains
5948 functions for non-parametric density estimation (Grenander estimator), for
5949 monotone regression (isotonic regression and antitonic regression with
5950 weights), for computing the @dfn{greatest convex minorant} (GCM) and the
5951 @dfn{least concave majorant} (LCM), for the half-normal and correlation
5952 distributions, and for computing empirical @dfn{higher criticism} (HC) scores
5953 and the corresponding decision threshold.")
5954 (license license:gpl3+)))
5955
5956 (define-public r-forcats
5957 (package
5958 (name "r-forcats")
5959 (version "0.5.2")
5960 (source
5961 (origin
5962 (method url-fetch)
5963 (uri (cran-uri "forcats" version))
5964 (sha256
5965 (base32
5966 "0hb1m16il1n8nmhp7hx8k2xxq8bd8kp3qqs2pw7xm0iz311hm9hl"))))
5967 (build-system r-build-system)
5968 (propagated-inputs
5969 (list r-cli
5970 r-ellipsis
5971 r-glue
5972 r-lifecycle
5973 r-magrittr
5974 r-tibble
5975 r-rlang
5976 r-withr))
5977 (native-inputs
5978 (list r-knitr))
5979 (home-page "https://forcats.tidyverse.org")
5980 (synopsis "Tools for working with factors")
5981 (description "This package provides helpers for reordering factor
5982 levels (including moving specified levels to front, ordering by first
5983 appearance, reversing, and randomly shuffling), and tools for modifying factor
5984 levels (including collapsing rare levels into other, \"anonymizing\", and
5985 manually \"recoding\").")
5986 (license license:gpl3)))
5987
5988 (define-public r-tgstat
5989 (let ((changeset "4f8e60c03598f49aff6f5beeab40f2b995377e9f")
5990 (revision "1"))
5991 (package
5992 (name "r-tgstat")
5993 (version (string-append "1.0.2-" revision "." (string-take changeset 7)))
5994 (source
5995 (origin
5996 (method hg-fetch)
5997 (uri (hg-reference
5998 (url "https://bitbucket.org/tanaylab/tgstat")
5999 (changeset changeset)))
6000 (file-name (string-append name "-" version "-checkout"))
6001 (sha256
6002 (base32
6003 "0ilkkyximy77zbncm91kdfqbxf0qyndg16pd3q3p6a3xc9qcmxvn"))))
6004 (build-system r-build-system)
6005 (arguments
6006 `(#:phases
6007 (modify-phases %standard-phases
6008 (add-after 'unpack 'fix-isnan
6009 (lambda _
6010 (substitute* "src/tgstat.h"
6011 (("#define isnan ::isnan")
6012 "#define isnan std::isnan"))
6013 #t)))))
6014 (propagated-inputs
6015 (list r-rcpp))
6016 (home-page "https://bitbucket.org/tanaylab/tgstat/")
6017 (synopsis "Tanay's group statistical utilities")
6018 (description
6019 "The goal of tgstat is to provide fast and efficient statistical
6020 tools.")
6021 (license license:gpl2))))
6022
6023 (define-public r-tgconfig
6024 (let ((changeset "1e02c7614713bd0866c46f0c679a058f8c6d627e")
6025 (revision "1"))
6026 (package
6027 (name "r-tgconfig")
6028 (version (string-append "0.0.0.9000-" revision "." (string-take changeset 7)))
6029 (source
6030 (origin
6031 (method hg-fetch)
6032 (uri (hg-reference
6033 (url "https://bitbucket.org/tanaylab/tgconfig")
6034 (changeset changeset)))
6035 (file-name (string-append name "-" version "-checkout"))
6036 (sha256
6037 (base32
6038 "0xy6c7s7mn1yx191154bwbv1bl424bnvc80syqpl1vdl28ba46rj"))))
6039 (build-system r-build-system)
6040 (propagated-inputs
6041 (list r-yaml))
6042 (home-page "https://bitbucket.org/tanaylab/tgconfig/")
6043 (synopsis "Infrastructure for managing package parameters")
6044 (description
6045 "The goal of tgconfig is to provide infrastructure for managing package
6046 parameters.")
6047 (license license:gpl3))))
6048
6049 (define-public r-catterplots
6050 (let ((commit "ae17cd5e49ddda4ecfe0eba8a4c21df8c88e72c4")
6051 (revision "3"))
6052 (package
6053 (name "r-catterplots")
6054 (version (git-version "0" revision commit))
6055 (source (origin
6056 (method git-fetch)
6057 (uri (git-reference
6058 (url "https://github.com/Gibbsdavidl/CatterPlots")
6059 (commit commit)))
6060 (file-name (git-file-name name version))
6061 (sha256
6062 (base32
6063 "0qa8liylffpxgdg8xcgjar5dsvczqhn3akd4w35113hnyg1m4xyg"))))
6064 (build-system r-build-system)
6065 (propagated-inputs
6066 (list r-png))
6067 (home-page "https://github.com/Gibbsdavidl/CatterPlots")
6068 (synopsis "Scatter plots with cat shaped points")
6069 (description "Did you ever wish you could make scatter plots with cat
6070 shaped points? Now you can!")
6071 (license license:asl2.0))))
6072
6073 (define-public r-colorout
6074 (package
6075 (name "r-colorout")
6076 (version "1.2-2")
6077 (source
6078 (origin
6079 (method git-fetch)
6080 (uri (git-reference
6081 (url "https://github.com/jalvesaq/colorout")
6082 (commit (string-append "v" version))))
6083 (file-name (git-file-name name version))
6084 (sha256
6085 (base32 "1rsx69wjpa73c6x2hacvvvbzdzxn7wg06gizf97kasjdlb7azmp3"))))
6086 (build-system r-build-system)
6087 (home-page "https://github.com/jalvesaq/colorout")
6088 (synopsis "Colorize output in the R REPL")
6089 (description "@code{colorout} is an R package that colorizes R output when
6090 running in terminal emulator.
6091
6092 R STDOUT is parsed and numbers, negative numbers, dates in the standard
6093 format, strings, and R constants are identified and wrapped by special ANSI
6094 scape codes that are interpreted by terminal emulators as commands to colorize
6095 the output. R STDERR is also parsed to identify the expressions warning and
6096 error and their translations to many languages. If these expressions are
6097 found, the output is colorized accordingly; otherwise, it is colorized as
6098 STDERROR (blue, by default).
6099
6100 You can customize the colors according to your taste, guided by the color
6101 table made by the command @code{show256Colors()}. You can also set the colors
6102 to any arbitrary string. In this case, it is up to you to set valid values.")
6103 (license license:gpl3+)))
6104
6105 (define-public r-nnlm
6106 (let ((commit "4574bca9456fe2285b668b4c22a908cffbad10a0")
6107 (revision "1"))
6108 (package
6109 (name "r-nnlm")
6110 (version (git-version "0.4.4" revision commit))
6111 (source
6112 (origin
6113 (method git-fetch)
6114 (uri (git-reference
6115 (url "https://github.com/linxihui/NNLM")
6116 (commit commit)))
6117 (file-name (git-file-name name version))
6118 (sha256
6119 (base32 "1qzvav4ch0j1k7jcqzk9cvl8dx79fapmvdzmzzyl8smscybhfgba"))))
6120 (properties `((upstream-name . "NNLM")))
6121 (build-system r-build-system)
6122 (propagated-inputs (list r-rcpp r-rcpparmadillo r-rcppprogress))
6123 (native-inputs (list r-knitr))
6124 (home-page "https://github.com/linxihui/NNLM")
6125 (synopsis "Fast and versatile non-negative matrix factorization")
6126 (description
6127 "This is a package for @dfn{Non-Negative Linear Models} (NNLM). It
6128 implements fast sequential coordinate descent algorithms for non-negative
6129 linear regression and @dfn{non-negative matrix factorization} (NMF). It
6130 supports mean square error and Kullback-Leibler divergence loss. Many other
6131 features are also implemented, including missing value imputation, domain
6132 knowledge integration, designable W and H matrices and multiple forms of
6133 regularizations.")
6134 (license license:bsd-2))))
6135
6136 (define-public r-swne
6137 (let ((commit "05fc3ee4e09b2c34d99c69d3b97cece4c1c34143")
6138 (revision "1"))
6139 (package
6140 (name "r-swne")
6141 (version (git-version "0.6.20" revision commit))
6142 (source
6143 (origin
6144 (method git-fetch)
6145 (uri (git-reference
6146 (url "https://github.com/yanwu2014/swne")
6147 (commit commit)))
6148 (file-name (git-file-name name version))
6149 (sha256
6150 (base32 "0crlpg9kclbv4v8250p3086a3lk6f2hcq79psqkdylc1qnrx3kfx"))))
6151 (properties `((upstream-name . "swne")))
6152 (build-system r-build-system)
6153 (propagated-inputs
6154 (list r-fnn
6155 r-ggplot2
6156 r-ggrepel
6157 r-hash
6158 r-ica
6159 r-igraph
6160 r-irlba
6161 r-jsonlite
6162 r-liger
6163 r-mass
6164 r-matrix
6165 r-mgcv
6166 r-nnlm ;not listed but required at install time
6167 r-plyr
6168 r-proxy
6169 r-rcolorbrewer
6170 r-rcpp
6171 r-rcpparmadillo
6172 r-rcppeigen
6173 r-reshape
6174 r-reshape2
6175 r-snow
6176 r-umap
6177 r-usedist))
6178 (home-page "https://github.com/yanwu2014/swne")
6179 (synopsis "Visualize high dimensional datasets")
6180 (description
6181 "@dfn{Similarity Weighted Nonnegative Embedding} (SWNE) is a method for
6182 visualizing high dimensional datasets. SWNE uses Nonnegative Matrix
6183 Factorization to decompose datasets into latent factors, projects those
6184 factors onto 2 dimensions, and embeds samples and key features in 2 dimensions
6185 relative to the factors. SWNE can capture both the local and global dataset
6186 structure, and allows relevant features to be embedded directly onto the
6187 visualization, facilitating interpretation of the data.")
6188 (license license:gpl2))))
6189
6190 (define-public r-languageserver
6191 (let ((commit "004da9388f9b19990f031c8dc9b527fb406378ba")
6192 (revision "1"))
6193 (package
6194 (name "r-languageserver")
6195 (version (git-version "0.3.12" revision commit))
6196 (source
6197 (origin
6198 (method git-fetch)
6199 (uri (git-reference
6200 (url "https://github.com/REditorSupport/languageserver")
6201 (commit commit)))
6202 (file-name (git-file-name name version))
6203 (sha256
6204 (base32 "05f22bjpc87fngzq4jsk2q2yb2i3ha03b377r0wx15d0b8xaa1ix"))))
6205 (properties `((upstream-name . "languageserver")))
6206 (build-system r-build-system)
6207 (propagated-inputs
6208 (list r-callr
6209 r-collections
6210 r-fs
6211 r-jsonlite
6212 r-lintr
6213 r-r6
6214 r-roxygen2
6215 r-stringi
6216 r-styler
6217 r-xml2
6218 r-xmlparsedata))
6219 (home-page "https://github.com/REditorSupport/languageserver")
6220 (synopsis "Language Server for R")
6221 (description
6222 "This package provides an implementation of the Language Server
6223 Protocol for R. The
6224 @url{https://microsoft.github.io/language-server-protocol/,Language Server
6225 protocol} is used by an editor client to integrate features like auto
6226 completion.")
6227 (license license:expat))))
6228
6229 (define-public python-rpy2
6230 (package
6231 (name "python-rpy2")
6232 (version "3.4.5")
6233 (source
6234 (origin
6235 (method url-fetch)
6236 (uri (pypi-uri "rpy2" version))
6237 (sha256
6238 (base32
6239 "1cysswxr5glrdblyl2zsmywcj7xhxn3wmyihxinrz9gm8gmaacax"))))
6240 (build-system python-build-system)
6241 (arguments
6242 '(#:phases
6243 (modify-phases %standard-phases
6244 (replace 'check
6245 (lambda* (#:key outputs inputs #:allow-other-keys)
6246 (let ((cwd (getcwd)))
6247 (setenv "TZ" "UTC"))
6248 ;; test_vector_complex has issues when run in our environment.
6249 (invoke "pytest" "-v" "rpy2/tests/"
6250 "-k" "not test_vector_complex"))))))
6251 (propagated-inputs
6252 (list python-cffi
6253 python-six
6254 python-jinja2
6255 python-numpy
6256 python-pandas
6257 python-pytz
6258 python-ipython
6259 python-tzlocal))
6260 (inputs
6261 (list readline
6262 icu4c
6263 pcre
6264 r-minimal
6265 r-survival
6266 r-ggplot2
6267 r-rsqlite
6268 r-dplyr
6269 r-dbplyr
6270 python-numpy))
6271 (native-inputs
6272 (list zlib python-pytest))
6273 (home-page "https://rpy2.github.io")
6274 (synopsis "Python interface to the R language")
6275 (description "rpy2 is a redesign and rewrite of rpy. It is providing a
6276 low-level interface to R from Python, a proposed high-level interface,
6277 including wrappers to graphical libraries, as well as R-like structures and
6278 functions.")
6279 ;; Any of these licenses can be picked for the R interface. The whole
6280 ;; project is released under GPLv2+ according to the license declaration
6281 ;; in "setup.py".
6282 (license (list license:mpl2.0 license:gpl2+ license:lgpl2.1+))))
6283
6284 (define-public java-jdistlib
6285 (package
6286 (name "java-jdistlib")
6287 (version "0.4.5")
6288 (source (origin
6289 (method url-fetch)
6290 (uri (string-append "mirror://sourceforge/jdistlib/jdistlib-"
6291 version "-src.jar"))
6292 (sha256
6293 (base32
6294 "1pkj8aahw9ydr1isbaqrkd05nvq98ik5jwwhf3yf3rky3z869v11"))))
6295 (build-system ant-build-system)
6296 (arguments
6297 `(#:jar-name "jdistlib.jar"
6298 #:jdk ,icedtea-8
6299 #:tests? #f ; no dedicated test directory
6300 #:phases
6301 (modify-phases %standard-phases
6302 (add-after 'unpack 'fix-broken-encoding
6303 (lambda _
6304 (with-fluids ((%default-port-encoding "ISO-8859-1"))
6305 (substitute* "src/jdistlib/Beta.java"
6306 (("Scheff.+-Tukey") "Scheffe-Tukey")))
6307 #t)))))
6308 (propagated-inputs
6309 (list java-jtransforms))
6310 (native-inputs
6311 (list java-junit))
6312 (home-page "http://jdistlib.sourceforge.net/")
6313 (synopsis "Java library of statistical distributions")
6314 (description "JDistlib is the Java Statistical Distribution Library, a
6315 Java package that provides routines for various statistical distributions.")
6316 ;; The files that were translated from R code are under GPLv2+; some files
6317 ;; are under the GPLv3, which is a mistake. The author confirmed in an
6318 ;; email that this whole project should be under GPLv2+.
6319 (license license:gpl2+)))
6320
6321 (define-public emacs-ess
6322 ;; Latest release is old. This is not the latest commit either due to bug
6323 ;; reported here: <https://github.com/emacs-ess/ESS/issues/987>.
6324 (let ((commit "24da603184ce39246611dd5b8602e769d7ebd5bf")
6325 (version "18.10.2")
6326 (revision "0"))
6327 (package
6328 (name "emacs-ess")
6329 (version (git-version version revision commit))
6330 (source
6331 (origin
6332 (method git-fetch)
6333 (uri (git-reference
6334 (url "https://github.com/emacs-ess/ESS")
6335 (commit commit)))
6336 (sha256
6337 (base32 "0j98lv07nzwzd54d4dgcfz01wy5gj48m0mnirxzh5r45ik2myh1r"))
6338 (file-name (git-file-name name version))
6339 (modules '((guix build utils)))
6340 (snippet
6341 '(begin
6342 ;; Stop ESS from trying to bundle an external julia-mode.el.
6343 (substitute* "lisp/Makefile"
6344 ((" \\$\\(JULIAS)") "")
6345 (("\ttest.*julia-mode.*\\.el") ""))
6346 ;; Only build docs in info format.
6347 (substitute* "doc/Makefile"
6348 (("all : info text")
6349 "all : info")
6350 (("install: install-info install-other-docs")
6351 "install: install-info"))
6352 ;; Stop install-info from trying to update the info directory.
6353 (substitute* "doc/Makefile"
6354 ((".*/dir.*") ""))
6355 ;; Fix r-help-mode test.
6356 (substitute* "test/ess-test-r.el"
6357 (("\\(equal ess-help-object \"plot.default\")") "t"))
6358 ;; Avoid generating ess-autoloads.el twice.
6359 (substitute* "Makefile"
6360 (("all: lisp doc etc autoloads")
6361 "all: lisp doc etc"))
6362 ;; Install to correct directories.
6363 (substitute* "Makefile"
6364 (("mkdir -p \\$\\(ESSDESTDIR)")
6365 "$(MAKE) -C lisp install; $(MAKE) -C doc install")
6366 (("\\$\\(INSTALL) -R \\./\\* \\$\\(ESSDESTDIR)/")
6367 "$(MAKE) -C etc install"))
6368 #t))
6369 (patches
6370 (search-patches "emacs-ess-fix-obsolete-function-alias.patch"))))
6371 (build-system gnu-build-system)
6372 (arguments
6373 (let ((base-directory "/share/emacs/site-lisp"))
6374 `(#:make-flags (list (string-append "PREFIX=" %output)
6375 (string-append "ETCDIR=" %output
6376 ,base-directory "/etc")
6377 (string-append "LISPDIR=" %output
6378 ,base-directory)
6379 (string-append "INFODIR=" %output
6380 "/share/info"))
6381 #:phases
6382 (modify-phases %standard-phases
6383 (delete 'configure)
6384 (replace 'check
6385 (lambda _ (invoke "make" "test")))))))
6386 (native-inputs
6387 (list perl r-roxygen2 texinfo))
6388 (inputs
6389 `(("emacs" ,emacs-minimal)
6390 ("r-minimal" ,r-minimal)))
6391 (propagated-inputs
6392 (list emacs-julia-mode))
6393 (home-page "https://ess.r-project.org/")
6394 (synopsis "Emacs mode for statistical analysis programs")
6395 (description
6396 "Emacs Speaks Statistics (ESS) is an add-on package for GNU Emacs. It
6397 is designed to support editing of scripts and interaction with various
6398 statistical analysis programs such as R, Julia, and JAGS.")
6399 (license license:gpl3+))))
6400
6401 (define-public emacs-poly-r
6402 (package
6403 (name "emacs-poly-r")
6404 (version "0.2.2")
6405 (source
6406 (origin
6407 (method git-fetch)
6408 (uri (git-reference
6409 (url "https://github.com/polymode/poly-R")
6410 (commit (string-append "v" version))))
6411 (file-name (git-file-name name version))
6412 (sha256
6413 (base32 "0a4wx73jkngw5nbq1fa4jfhba6bsmyn6vnsf887x3xhb5v3ykhsg"))))
6414 (build-system emacs-build-system)
6415 (propagated-inputs
6416 (list emacs-ess emacs-poly-noweb emacs-polymode-markdown
6417 emacs-polymode))
6418 (properties '((upstream-name . "poly-R")))
6419 (home-page "https://github.com/polymode/poly-markdown")
6420 (synopsis "Polymodes for the R language")
6421 (description
6422 "This package provides a number of polymodes for working with mixed R
6423 files, including Rmarkdown files.")
6424 (license license:gpl3+)))
6425
6426 (define-public readstat
6427 (package
6428 (name "readstat")
6429 (version "1.1.8")
6430 (source
6431 (origin
6432 (method git-fetch)
6433 (uri (git-reference
6434 (url "https://github.com/WizardMac/ReadStat")
6435 (commit (string-append "v" version))))
6436 (file-name (git-file-name name version))
6437 (sha256
6438 (base32 "1r04lq45h1yn34v1mgfiqjfzyaqv4axqlby0nkandamcsqyhc7y4"))))
6439 (build-system gnu-build-system)
6440 (native-inputs
6441 (list autoconf automake gnu-gettext libtool))
6442 (inputs
6443 (list zlib)) ; libz
6444 (synopsis "Convert SAS, Stata, and SPSS files")
6445 (description "Command-line tool and C library for reading files from
6446 popular stats packages like SAS, Stata and SPSS.")
6447 (home-page "https://github.com/WizardMac/ReadStat")
6448 (license license:expat)))
6449
6450 (define-public r-quantpsyc
6451 (package
6452 (name "r-quantpsyc")
6453 (version "1.6")
6454 (source
6455 (origin
6456 (method url-fetch)
6457 (uri (cran-uri "QuantPsyc" version))
6458 (sha256
6459 (base32
6460 "1dbj830p5837fiwa800nzsaf19lf95vc3n7jmds2q9v06mrz6syq"))))
6461 (properties `((upstream-name . "QuantPsyc")))
6462 (build-system r-build-system)
6463 (propagated-inputs
6464 (list r-boot
6465 r-dplyr
6466 r-mass
6467 r-purrr))
6468 (home-page "https://cran.r-project.org/web/packages/QuantPsyc/")
6469 (synopsis "Quantitative Psychology Tools")
6470 (description
6471 "Contains functions useful for data screening, testing moderation,
6472 mediation and estimating power.")
6473 (license license:gpl2+)))
6474
6475 (define-public r-clubsandwich
6476 (package
6477 (name "r-clubsandwich")
6478 (version "0.5.8")
6479 (source
6480 (origin
6481 (method url-fetch)
6482 (uri (cran-uri "clubSandwich" version))
6483 (sha256
6484 (base32
6485 "1y894n35l4lzqm15ifxjnpnh95dldsfivv4098571yqf1z4a253q"))))
6486 (properties `((upstream-name . "clubSandwich")))
6487 (build-system r-build-system)
6488 (propagated-inputs
6489 (list r-sandwich))
6490 (native-inputs (list r-knitr))
6491 (home-page "https://github.com/jepusto/clubSandwich")
6492 (synopsis "Cluster-Robust (Sandwich) Variance Estimators with Small-Sample
6493 Corrections")
6494 (description
6495 "Provides several cluster-robust variance estimators (i.e.,
6496 sandwich estimators) for ordinary and weighted least squares linear regression
6497 models, including the bias-reduced linearization estimator introduced by Bell
6498 and McCaffrey (2002)
6499 @url{http://www.statcan.gc.ca/pub/12-001-x/2002002/article/9058-eng.pdf} and
6500 developed further by Pustejovsky and Tipton (2017)
6501 @url{doi:10.1080/07350015.2016.1247004}. The package includes functions for estimating
6502 the variance- covariance matrix and for testing single- and multiple-
6503 contrast hypotheses based on Wald test statistics. Tests of single regression
6504 coefficients use Satterthwaite or saddle-point corrections. Tests of multiple-
6505 contrast hypotheses use an approximation to Hotelling's T-squared distribution.
6506 Methods are provided for a variety of fitted models, including @code{lm()} and
6507 @code{mlm} objects, @code{glm()}, ivreg (from package @code{AER}), @code{plm()}
6508 (from package @code{plm}), @code{gls()} and @code{lme()} (from @code{nlme}),
6509 @code{robu()} (from @code{robumeta}), and @code{rma.uni()} and @code{rma.mv()}
6510 (from @code{metafor}).")
6511 (license license:gpl3)))
6512
6513 (define-public r-puniform
6514 (package
6515 (name "r-puniform")
6516 (version "0.2.5")
6517 (source
6518 (origin
6519 (method url-fetch)
6520 (uri (cran-uri "puniform" version))
6521 (sha256
6522 (base32
6523 "1zw8qbqnyhyvzrw6izrqgnmbawcqg2jdhcb8lxs1rd8y7cn4v4wj"))))
6524 (properties `((upstream-name . "puniform")))
6525 (build-system r-build-system)
6526 (propagated-inputs
6527 (list r-adgoftest r-metafor r-rcpp r-rcpparmadillo))
6528 (home-page
6529 "https://github.com/RobbievanAert/puniform")
6530 (synopsis
6531 "Meta-Analysis Methods Correcting for Publication Bias")
6532 (description
6533 "This package provides meta-analysis methods that correct for publication
6534 bias and outcome reporting bias. Four methods and a visual tool are currently
6535 included in the package.
6536
6537 @enumerate
6538 @item The p-uniform method as described in van Assen, van Aert, and Wicherts
6539 (2015) @url{doi:10.1037/met0000025} can be used for estimating the average
6540 effect size, testing the null hypothesis of no effect, and testing for
6541 publication bias using only the statistically significant effect sizes of
6542 primary studies.
6543
6544 @item The p-uniform* method as described in van Aert and van Assen (2019)
6545 @url{doi:10.31222/osf.io/zqjr9}. This method is an extension of the p-uniform
6546 method that allows for estimation of the average effect size and the
6547 between-study variance in a meta-analysis, and uses both the statistically
6548 significant and nonsignificant effect sizes.
6549
6550 @item The hybrid method as described in van Aert and van Assen (2017)
6551 @url{doi:10.3758/s13428-017-0967-6}. The hybrid method is a meta-analysis
6552 method for combining an original study and replication and while taking into
6553 account statistical significance of the original study. The p-uniform and
6554 hybrid method are based on the statistical theory that the distribution of
6555 p-values is uniform conditional on the population effect size.
6556
6557 @item
6558 The fourth method in the package is the Snapshot Bayesian Hybrid Meta-Analysis
6559 Method as described in van Aert and van Assen (2018)
6560 @url{doi:10.1371/journal.pone.0175302}. This method computes posterior
6561 probabilities for four true effect sizes (no, small, medium, and large) based
6562 on an original study and replication while taking into account publication bias
6563 in the original study. The method can also be used for computing the required
6564 sample size of the replication akin to power analysis in null hypothesis
6565 significance testing.
6566 @end enumerate
6567
6568 The meta-plot is a visual tool for meta-analysis that
6569 provides information on the primary studies in the meta-analysis, the results
6570 of the meta-analysis, and characteristics of the research on the effect under
6571 study (van Assen and others, 2020).
6572
6573 Helper functions to apply the Correcting for Outcome Reporting Bias (CORB)
6574 method to correct for outcome reporting bias in a meta-analysis (van Aert &
6575 Wicherts, 2020).")
6576 (license license:gpl2+)))
6577
6578 (define-public r-esc
6579 (package
6580 (name "r-esc")
6581 (version "0.5.1")
6582 (source
6583 (origin
6584 (method url-fetch)
6585 (uri (cran-uri "esc" version))
6586 (sha256
6587 (base32
6588 "0gns7gz55p6pha05413r3hlvd7f2v1amxkg13d197mab1ypqic7q"))))
6589 (properties `((upstream-name . "esc")))
6590 (build-system r-build-system)
6591 (home-page "https://strengejacke.github.io/esc/")
6592 (synopsis
6593 "Effect Size Computation for Meta Analysis")
6594 (description
6595 "Implementation of the web-based
6596 @url{http://www.campbellcollaboration.org/escalc/html/EffectSizeCalculator-Home.php,'Practical
6597 Meta-Analysis Effect Size Calculator'} from David B. Wilson in R. Based on the
6598 input, the effect size can be returned as standardized mean difference, Cohen's
6599 f, Hedges' g, Pearson's r or Fisher's transformation z, odds ratio or log odds,
6600 or eta squared effect size.")
6601 (license license:gpl3)))
6602
6603 (define-public r-kknn
6604 (package
6605 (name "r-kknn")
6606 (version "1.3.1")
6607 (source
6608 (origin
6609 (method url-fetch)
6610 (uri (cran-uri "kknn" version))
6611 (sha256
6612 (base32
6613 "1nzkg3dxaiqp87p56wm895qx5xn86hv5hjr73qvl1yiaxiq0x112"))))
6614 (properties `((upstream-name . "kknn")))
6615 (build-system r-build-system)
6616 (propagated-inputs
6617 (list r-igraph r-matrix))
6618 (home-page "https://github.com/KlausVigo/kknn")
6619 (synopsis "Weighted k-Nearest Neighbors")
6620 (description
6621 "Weighted k-Nearest Neighbors for Classification, Regression and Clustering.")
6622 (license license:gpl2+)))
6623
6624 (define-public r-logspline
6625 (package
6626 (name "r-logspline")
6627 (version "2.1.17")
6628 (source
6629 (origin
6630 (method url-fetch)
6631 (uri (cran-uri "logspline" version))
6632 (sha256
6633 (base32
6634 "05c8l22zcvb086909h9vw7icphww703vkcxp2h881y4n1232pdq3"))))
6635 (properties `((upstream-name . "logspline")))
6636 (build-system r-build-system)
6637 (native-inputs (list gfortran))
6638 (home-page
6639 "https://cran.r-project.org/web/packages/logspline/")
6640 (synopsis
6641 "Routines for Logspline Density Estimation")
6642 (description
6643 "Contains routines for logspline density estimation. The function
6644 @code{oldlogspline()} uses the same algorithm as the logspline package version
6645 1.0.x; i.e., the Kooperberg and Stone (1992) algorithm (with an improved
6646 interface). The recommended routine @code{logspline()} uses an algorithm from
6647 @url{doi:10.1214/aos/1031594728,Stone et al (1997)}.")
6648 (license license:asl2.0)))
6649
6650 (define-public r-effects
6651 (package
6652 (name "r-effects")
6653 (version "4.2-2")
6654 (source
6655 (origin
6656 (method url-fetch)
6657 (uri (cran-uri "effects" version))
6658 (sha256
6659 (base32
6660 "0nlj79am9a1yg737dhfa8dj1kj2hly9pfknmphsbcvlgxqn35vig"))))
6661 (properties `((upstream-name . "effects")))
6662 (build-system r-build-system)
6663 (propagated-inputs
6664 (list r-cardata
6665 r-colorspace
6666 r-estimability
6667 r-insight
6668 r-lattice
6669 r-lme4
6670 r-nnet
6671 r-survey))
6672 (native-inputs
6673 (list r-knitr))
6674 (home-page "https://www.r-project.org")
6675 (synopsis
6676 "Effect Displays for Linear, Generalized Linear, and Other Models")
6677 (description
6678 "Graphical and tabular effect displays, e.g., of interactions, for
6679 various statistical models with linear predictors.")
6680 (license license:gpl2+)))
6681
6682 (define-public r-bayesfactor
6683 (package
6684 (name "r-bayesfactor")
6685 (version "0.9.12-4.4")
6686 (source
6687 (origin
6688 (method url-fetch)
6689 (uri (cran-uri "BayesFactor" version))
6690 (sha256
6691 (base32
6692 "02bhlamnkxp9wqi2cp1i0dxmqdf3y3l872ad9z39xwripbi4kc7a"))))
6693 (properties `((upstream-name . "BayesFactor")))
6694 (build-system r-build-system)
6695 (propagated-inputs
6696 (list r-coda
6697 r-hypergeo
6698 r-matrix
6699 r-matrixmodels
6700 r-mvtnorm
6701 r-pbapply
6702 r-rcpp
6703 r-rcppeigen
6704 r-stringr))
6705 (native-inputs (list r-knitr))
6706 (home-page
6707 "https://richarddmorey.github.io/BayesFactor/")
6708 (synopsis
6709 "Computation of Bayes Factors for Common Designs")
6710 (description
6711 "This package provides a suite of functions for computing various Bayes
6712 factors for simple designs, including contingency tables, one- and two-sample
6713 designs, one-way designs, general ANOVA designs, and linear regression.")
6714 (license license:gpl2)))
6715
6716 (define-public r-norm
6717 (package
6718 (name "r-norm")
6719 (version "1.0-10.0")
6720 (source (origin
6721 (method url-fetch)
6722 (uri (cran-uri "norm" version))
6723 (sha256
6724 (base32
6725 "1iqcsa7mj9ahnkbsri0cf2wlhh2bv86vwsh3iwihh42cywd7k123"))))
6726 (build-system r-build-system)
6727 (native-inputs
6728 (list gfortran))
6729 (home-page "https://cran.r-project.org/web/packages/norm/")
6730 (synopsis "Analysis of multivariate normal datasets with missing values")
6731 (description "Multiple imputation of multivariate continuous data under a
6732 normal model.")
6733 ;; Custom license, see https://cran.r-project.org/web/packages/norm/LICENSE.
6734 (license (license:non-copyleft "file://LICENSE"))))
6735
6736 (define-public r-naniar
6737 (package
6738 (name "r-naniar")
6739 (version "0.6.1")
6740 (source (origin
6741 (method url-fetch)
6742 (uri (cran-uri "naniar" version))
6743 (sha256
6744 (base32
6745 "0l3l2x85v3srilww483kpgp4zlwixyml257b0cqly8kcpwawlinm"))))
6746 (build-system r-build-system)
6747 (propagated-inputs
6748 (list r-dplyr
6749 r-norm
6750 r-forcats
6751 r-ggplot2
6752 r-glue
6753 r-magrittr
6754 r-purrr
6755 r-rlang
6756 r-tibble
6757 r-tidyr
6758 r-upsetr
6759 r-viridis
6760 r-visdat))
6761 (native-inputs
6762 (list r-knitr))
6763 (home-page "https://github.com/njtierney/naniar")
6764 (synopsis
6765 "Data structures, summaries, and visualisations for missing data")
6766 (description
6767 "Missing values are ubiquitous in data and need to be explored and
6768 handled in the initial stages of analysis. The package provides data structures
6769 and functions that facilitate the plotting of missing values and examination of
6770 imputations. This allows missing data dependencies to be explored with minimal
6771 deviation from the common work patterns of @code{ggplot2} and tidy data.")
6772 (license license:expat)))
6773
6774 (define-public r-glinternet
6775 (package
6776 (name "r-glinternet")
6777 (version "1.0.12")
6778 (source
6779 (origin
6780 (method url-fetch)
6781 (uri (cran-uri "glinternet" version))
6782 (sha256
6783 (base32
6784 "0aphdscj0s6kqxlkgqkw2d6snrylz6hiis6307pl8ldh7q5cvm33"))))
6785 (build-system r-build-system)
6786 (home-page "http://web.stanford.edu/~hastie/Papers/glinternet_jcgs.pdf")
6787 (synopsis "Learning interactions via hierarchical group-lasso regularization")
6788 (description "Group-Lasso INTERaction-NET. Fits linear pairwise-interaction
6789 models that satisfy strong hierarchy: if an interaction coefficient is estimated
6790 to be nonzero, then its two associated main effects also have nonzero estimated
6791 coefficients. Accommodates categorical variables (factors) with arbitrary
6792 numbers of levels, continuous variables, and combinations thereof. Implements
6793 the machinery described in the paper \"Learning interactions via hierarchical
6794 group-lasso regularization\" (JCGS 2015, Volume 24, Issue 3).
6795 Michael Lim & Trevor Hastie (2015)")
6796 (license license:gpl2)))
6797
6798 (define-public r-datasaurus
6799 (package
6800 (name "r-datasaurus")
6801 (version "0.1.6")
6802 (source
6803 (origin
6804 (method url-fetch)
6805 (uri (cran-uri "datasauRus" version))
6806 (sha256
6807 (base32
6808 "0vgylf3bab0xcfg08xwvfq9yhxy6w0fxi7wp4kkxfyjb0pw15qxk"))))
6809 (properties `((upstream-name . "datasauRus")))
6810 (build-system r-build-system)
6811 (native-inputs (list r-knitr))
6812 (home-page
6813 "https://github.com/lockedata/datasauRus")
6814 (synopsis "Datasets from the Datasaurus Dozen")
6815 (description
6816 "The Datasaurus Dozen is a set of datasets with the same summary
6817 statistics. They retain the same summary statistics despite having radically
6818 different distributions. The datasets represent a larger and quirkier object
6819 lesson that is typically taught via Anscombe's Quartet (available in the
6820 'datasets' package). Anscombe's Quartet contains four very different
6821 distributions with the same summary statistics and as such highlights the value
6822 of visualisation in understanding data, over and above summary statistics. As
6823 well as being an engaging variant on the Quartet, the data is generated in a
6824 novel way. The simulated annealing process used to derive datasets from the
6825 original Datasaurus is detailed in \"Same Stats, Different Graphs: Generating
6826 Datasets with Varied Appearance and Identical Statistics through Simulated
6827 Annealing\" @url{doi:10.1145/3025453.3025912}.")
6828 (license license:expat)))
6829
6830 (define-public r-lmom
6831 (package
6832 (name "r-lmom")
6833 (version "2.9")
6834 (source
6835 (origin
6836 (method url-fetch)
6837 (uri (cran-uri "lmom" version))
6838 (sha256
6839 (base32 "145va4dhl767mywk36xcmqilm21sfkqhcqi0s07qgq3k39sn4gin"))))
6840 (properties `((upstream-name . "lmom")))
6841 (build-system r-build-system)
6842 (native-inputs (list gfortran))
6843 (home-page "https://cran.r-project.org/package=lmom")
6844 (synopsis "L-Moments for R")
6845 (description
6846 "This package provides functions related to L-moments: computation
6847 of L-moments and trimmed L-moments of distributions and data samples;
6848 parameter estimation; L-moment ratio diagram; plot vs. quantiles of an
6849 extreme-value distribution.")
6850 (license license:cpl1.0)))
6851
6852 (define-public r-gld
6853 (package
6854 (name "r-gld")
6855 (version "2.6.5")
6856 (source
6857 (origin
6858 (method url-fetch)
6859 (uri (cran-uri "gld" version))
6860 (sha256
6861 (base32 "1scflrfhvf26psnh7ayi4x2j706k8sfyqlmib6ssjyhl6g0gg542"))))
6862 (properties `((upstream-name . "gld")))
6863 (build-system r-build-system)
6864 (propagated-inputs (list r-e1071 r-lmom))
6865 (home-page
6866 "https://cran.r-project.org/package=gld")
6867 (synopsis
6868 "Estimation and Use of the Generalised (Tukey) Lambda Distribution")
6869 (description
6870 "The generalised lambda distribution, or Tukey lambda distribution,
6871 provides a wide variety of shapes with one functional form. This package
6872 provides random numbers, quantiles, probabilities, densities and
6873 density quantiles for four different types of the distribution, the FKML
6874 (Freimer et al 1988), RS (Ramberg and Schmeiser 1974), GPD (van Staden
6875 and Loots 2009) and FM5 - see documentation for details. It provides the
6876 density function, distribution function, and Quantile-Quantile plots.
6877 It implements a variety of estimation methods for the distribution,
6878 including diagnostic plots. Estimation methods include the starship (all
6879 4 types), method of L-Moments for the GPD and FKML types, and a number
6880 of methods for only the FKML type. These include maximum likelihood,
6881 maximum product of spacings, Titterington's method, Moments, Trimmed
6882 L-Moments and Distributional Least Absolutes.")
6883 (license license:gpl2+)))
6884
6885 (define-public r-exact
6886 (package
6887 (name "r-exact")
6888 (version "3.1")
6889 (source
6890 (origin
6891 (method url-fetch)
6892 (uri (cran-uri "Exact" version))
6893 (sha256
6894 (base32 "1kz3hw11sl142mai4ly2r85rwdbjz8q7b38ybmjym6r0n5qmqzyn"))))
6895 (properties `((upstream-name . "Exact")))
6896 (build-system r-build-system)
6897 (propagated-inputs (list r-rootsolve))
6898 (home-page "https://cran.r-project.org/package=Exact")
6899 (synopsis "Unconditional Exact Test")
6900 (description
6901 "Performs unconditional exact tests and power calculations for 2x2
6902 contingency tables. For comparing two independent proportions, performs
6903 @url{doi:10.1038/156177a0, Barnard's test (1945)} using the original CSM
6904 test (@url{doi:10.1093/biomet/34.1-2.123, Barnard (1947)}), using Fisher's
6905 p-value referred to as @url{doi:10.1111/j.1467-9574.1970.tb00104.x,
6906 Boschloo's test (1970)}, or using a Z-statistic (@url{doi:10.2307/2981892,
6907 Suissa and Shuster (1985)}). For comparing two binary proportions,
6908 performs unconditional exact test using McNemar's Z-statistic
6909 (@url{doi:10.1191/0962280203sm312ra, Berger and Sidik (2003)}), using
6910 McNemar's Z-statistic with continuity correction, or using CSM test.
6911 Calculates confidence intervals for the difference in proportion.")
6912 (license license:gpl2)))
6913
6914 (define-public r-desctools
6915 (package
6916 (name "r-desctools")
6917 (version "0.99.46")
6918 (source
6919 (origin
6920 (method url-fetch)
6921 (uri (cran-uri "DescTools" version))
6922 (sha256
6923 (base32 "1f6jhvwgzv8mw5vmy7nqh8bpmrrzl36x1bq1ggnk3va24fcd01jq"))))
6924 (properties `((upstream-name . "DescTools")))
6925 (build-system r-build-system)
6926 (propagated-inputs
6927 (list r-bh
6928 r-boot
6929 r-data-table
6930 r-exact
6931 r-expm
6932 r-gld
6933 r-httr
6934 r-mass
6935 r-mvtnorm
6936 r-rcpp
6937 r-readxl
6938 r-rstudioapi))
6939 (native-inputs (list gfortran))
6940 (home-page "https://andrisignorell.github.io/DescTools/")
6941 (synopsis "Tools for Descriptive Statistics")
6942 (description
6943 "This package provides a collection of miscellaneous basic statistic
6944 functions and convenience wrappers for efficiently describing data.
6945 The author's intention was to create a toolbox, which facilitates the
6946 (notoriously time consuming) first descriptive tasks in data analysis,
6947 consisting of calculating descriptive statistics, drawing graphical
6948 summaries and reporting the results. The package contains furthermore
6949 functions to produce documents using MS Word (or PowerPoint) and functions
6950 to import data from Excel. Many of the included functions can be found
6951 scattered in other packages and other sources written partly by Titans
6952 of R. The reason for collecting them here, was primarily to have them
6953 consolidated in ONE instead of dozens of packages (which themselves might
6954 depend on other packages which are not needed at all), and to provide a
6955 common and consistent interface as far as function and arguments naming,
6956 NA handling, recycling rules etc. are concerned. Google style guides
6957 were used as naming rules (in absence of convincing alternatives).
6958 The BigCamelCase style was consequently applied to functions borrowed
6959 from contributed R packages as well.")
6960 (license license:gpl2+)))
6961
6962 (define-public xlispstat
6963 (let ((commit "f1bea6053df658ee48612bf1f63c35de99e2c649")
6964 (revision "0"))
6965 (package
6966 (name "xlispstat")
6967 (version (git-version "3.52.23" revision commit))
6968 (source (origin
6969 (method git-fetch)
6970 (uri (git-reference
6971 (url "https://github.com/jhbadger/xlispstat.git")
6972 (commit commit)))
6973 (file-name (git-file-name name version))
6974 (sha256
6975 (base32
6976 "1p0cmgy19kbkxia139cb5w9dnkp2cdqp5n3baag6cq3prn3n71mf"))))
6977 (build-system gnu-build-system)
6978 (arguments
6979 `(#:parallel-build? #f ; Parallel builds are not supported
6980 #:configure-flags (list "--with-gcc")
6981 #:phases
6982 (modify-phases %standard-phases
6983 (replace 'check
6984 (lambda* (#:key tests? #:allow-other-keys)
6985 (when tests?
6986 (with-output-to-file "exit.lsp"
6987 (lambda () (display "(exit)")))
6988 (invoke "./xlisp" "tests/test" "exit")))))))
6989 (inputs (list tcsh
6990 libx11
6991 libxmu
6992 libxext
6993 libxpm
6994 libxaw
6995 ncurses
6996 gnuplot))
6997 (native-inputs (list pkg-config))
6998 (synopsis "Statistical analysis environment with interactive graphics")
6999 (description "XLISP-STAT is a statistical environment based on a Lisp
7000 dialect called XLISP. To facilitate statistical computations, standard
7001 functions for addition, logarithms, etc., have been modified to operate on
7002 lists and arrays of numbers, and a number of basic statistical functions have
7003 been added. Many of these functions have been written in Lisp, and additional
7004 functions can be added easily by a user. Several basic forms of plots,
7005 including histograms, scatterplots, rotatable plots and scatterplot matrices
7006 are provided. These plots support various forms of interactive highlighting
7007 operations and can be linked so points highlighted in one plot will be
7008 highlighted in all linked plots. Interactions with the plots are controlled
7009 by the mouse, menus and dialog boxes. An object-oriented programming system
7010 is used to allow menus, dialogs, and the response to mouse actions to be
7011 customized.")
7012 (home-page "http://homepage.divms.uiowa.edu/~luke/xls/xlsinfo/")
7013 (license license:expat))))
7014
7015 (define-public r-rlrsim
7016 (package
7017 (name "r-rlrsim")
7018 (version "3.1-8")
7019 (source
7020 (origin
7021 (method url-fetch)
7022 (uri (cran-uri "RLRsim" version))
7023 (sha256
7024 (base32 "06i4slc7fj8xifq20i1vqfadfw2p81b0kfzga60139hnryz1zpva"))))
7025 (properties `((upstream-name . "RLRsim")))
7026 (build-system r-build-system)
7027 (propagated-inputs (list r-lme4 r-mgcv r-nlme r-rcpp))
7028 (home-page "https://github.com/fabian-s/RLRsim")
7029 (synopsis
7030 "Exact (Restricted) Likelihood Ratio Tests for Mixed and Additive Models")
7031 (description
7032 "Rapid, simulation-based exact (restricted) likelihood ratio tests for testing
7033 the presence of variance components/nonparametric terms for models fit with
7034 @code{nlme::lme()}, @code{lme4::lmer()}, @code{lmeTest::lmer()},
7035 @code{gamm4::gamm4()}, @code{mgcv::gamm()} and @code{SemiPar::spm()}.")
7036 (license (list license:gpl2+ license:gpl3+))))
7037
7038 (define-public r-binom
7039 (package
7040 (name "r-binom")
7041 (version "1.1-1.1")
7042 (source
7043 (origin
7044 (method url-fetch)
7045 (uri (cran-uri "binom" version))
7046 (sha256
7047 (base32 "1yxyhsd0savwirlmgnq6973slfakqyfvjm0zz60cmc9v490my8gf"))))
7048 (properties `((upstream-name . "binom")))
7049 (build-system r-build-system)
7050 (home-page "https://cran.r-project.org/package=binom")
7051 (synopsis "Binomial Confidence Intervals For Several Parameterizations")
7052 (description
7053 "Constructs confidence intervals on the probability of success in a binomial
7054 experiment via several parameterizations")
7055 (license (list license:gpl2+ license:gpl3+))))
7056
7057 (define-public r-simr
7058 (package
7059 (name "r-simr")
7060 (version "1.0.6")
7061 (source
7062 (origin
7063 (method url-fetch)
7064 (uri (cran-uri "simr" version))
7065 (sha256
7066 (base32 "1q8ip54c5pc7pjf8127jpk56nr3f8rmwqdcrr84faj4lfbr27wqb"))))
7067 (properties `((upstream-name . "simr")))
7068 (build-system r-build-system)
7069 (propagated-inputs
7070 (list r-binom
7071 r-car
7072 r-iterators
7073 r-lme4
7074 r-lmertest
7075 r-pbkrtest
7076 r-plotrix
7077 r-plyr
7078 r-rlrsim
7079 r-stringr))
7080 (native-inputs (list r-knitr))
7081 (home-page "https://github.com/pitakakariki/simr")
7082 (synopsis
7083 "Power analysis for generalized linear mixed models by simulation")
7084 (description
7085 "This package lets you calculate power for generalized linear mixed
7086 models, using simulation. It was designed to work with models fit using the
7087 @code{lme4} package. The package is described in
7088 @url{doi:10.1111/2041-210X.12504, Green and MacLeod (2016)}.")
7089 (license license:gpl2+)))
7090
7091 (define-public r-mixedpower
7092 (package
7093 (name "r-mixedpower")
7094 (version "2.0")
7095 (source
7096 (origin
7097 ;; Not available on CRAN.
7098 (method git-fetch)
7099 (uri (git-reference
7100 (url "https://github.com/DejanDraschkow/mixedpower")
7101 (commit (string-append "v" version))))
7102 (file-name (git-file-name name version))
7103 (sha256
7104 (base32 "1dy1i8lijbq59xl7482j17a0r4rsdy61smzddk8jsr8nygp2gqy8"))))
7105 (properties `((upstream-name . "mixedpower")))
7106 (build-system r-build-system)
7107 (propagated-inputs
7108 (list r-doparallel r-foreach r-ggplot2 r-lme4 r-reshape2))
7109 (home-page "https://github.com/DejanDraschkow/mixedpower")
7110 (synopsis
7111 "Pilotdata based simulations for estimating power in linear mixed models")
7112 (description
7113 "Implementation of a simulation based aproach to power analysis. Mixedpower uses
7114 lotdata and a linear mixed model fitted with lme4 to simulate new data sets.
7115 wer is computed seperate for every effect in the model output as the relation
7116 significant simulations to all simulations. More conservative simulations as
7117 protection against a bias in the pilotdata are available aswell as methods for
7118 otting the results.")
7119 (license license:gpl3)))
7120
7121 (define-public r-colorway
7122 (let ((commit "8ba8f0026aba37752c6770de45bf53b1b0f48afc")
7123 (revision "1"))
7124 (package
7125 (name "r-colorway")
7126 (version (git-version "0.2.0" revision commit))
7127 (source (origin
7128 (method git-fetch)
7129 (uri (git-reference
7130 (url "https://github.com/hypercompetent/colorway")
7131 (commit commit)))
7132 (file-name (git-file-name name version))
7133 (sha256
7134 (base32
7135 "0r6yhnzx3ll1z12pp6y8fqbrx7v18rcff2j2179bqy9ca2d2d94l"))))
7136 (properties `((upstream-name . "colorway")))
7137 (build-system r-build-system)
7138 (propagated-inputs (list r-dplyr r-ggplot2 r-rlang))
7139 (home-page "https://github.com/hypercompetent/colorway")
7140 (synopsis "Functions for colors in R")
7141 (description
7142 "This package provides a collection of (mostly simple) functions for
7143 generating and manipulating colors in R.")
7144 (license license:gpl3))))
7145
7146 (define-public r-reghelper
7147 (package
7148 (name "r-reghelper")
7149 (version "1.1.1")
7150 (source (origin
7151 (method url-fetch)
7152 (uri (cran-uri "reghelper" version))
7153 (sha256
7154 (base32
7155 "0v1987rs6kcpizfhrp3hxsyx9arn5vsbapjfgj9478j73mm844ji"))))
7156 (properties `((upstream-name . "reghelper")))
7157 (build-system r-build-system)
7158 (propagated-inputs (list r-ggplot2 r-lme4 r-mass r-nlme))
7159 (home-page "https://github.com/jeff-hughes/reghelper")
7160 (synopsis "Helper Functions for Regression Analysis")
7161 (description
7162 "This package provides a set of functions used to automate commonly used methods
7163 in regression analysis. This includes plotting interactions, and calculating
7164 simple slopes, standardized coefficients, regions of significance (Johnson &
7165 Neyman, 1936; cf. Spiller et al., 2012), etc.")
7166 (license license:gpl3)))
7167
7168 (define-public r-mumin
7169 (package
7170 (name "r-mumin")
7171 (version "1.47.1")
7172 (source (origin
7173 (method url-fetch)
7174 (uri (cran-uri "MuMIn" version))
7175 (sha256
7176 (base32
7177 "1xhsc9hmx2b3zqyvpjs64rs90ccrfcsglrq2mhh85mgplsnva8qj"))))
7178 (properties `((upstream-name . "MuMIn")))
7179 (build-system r-build-system)
7180 (propagated-inputs (list r-matrix r-nlme))
7181 (home-page "https://cran.r-project.org/package=MuMIn")
7182 (synopsis "Multi-Model Inference")
7183 (description
7184 "Tools for performing model selection and model averaging. Automated model
7185 selection through subsetting the maximum model, with optional constraints for
7186 model inclusion. Model parameter and prediction averaging based on model
7187 weights derived from information criteria (AICc and alike) or custom model
7188 weighting schemes.")
7189 (license license:gpl2)))