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