doc: Update htmlxref.cnf.
[guix.git] / gnu / packages / cran.scm
blob1cf0a59ec1e7d0b694bfc6141d6ed4929a0dfea1
1 ;;; GNU Guix --- Functional package management for GNU
2 ;;; Copyright © 2015, 2016, 2017, 2018, 2019 Ricardo Wurmus <rekado@elephly.net>
3 ;;; Copyright © 2016, 2017 Ben Woodcroft <donttrustben@gmail.com>
4 ;;; Copyright © 2017, 2018 Roel Janssen <roel@gnu.org>
5 ;;; Copyright © 2017, 2018 Tobias Geerinckx-Rice <me@tobias.gr>
6 ;;; Copyright © 2017 Raoul Bonnal <ilpuccio.febo@gmail.com>
7 ;;; Copyright © 2018 Vijayalakshmi Vedantham <vijimay12@gmail.com>
8 ;;; Copyright © 2018 Sahithi Yarlagadda <sahi@swecha.net>
9 ;;; Copyright © 2018 Sandeep Subramanian <sandeepsubramanian94@gmail.com>
10 ;;; Copyright © 2018 Charlie Ritter <chewzeirta@posteo.net>
11 ;;; Copyright © 2018 Konrad Hinsen <konrad.hinsen@fastmail.net>
12 ;;; Copyright © 2018 Mădălin Ionel Patrașcu <madalinionel.patrascu@mdc-berlin.de>
13 ;;; Copyright © 2018 Laura Lazzati <laura.lazzati.15@gmail.com>
14 ;;; Copyright © 2018 Leo Famulari <leo@famulari.name>
15 ;;; Copyright © 2018 Marius Bakke <mbakke@fastmail.com>
16 ;;; Copyright © 2018, 2019 Brett Gilio <brettg@posteo.net>
17 ;;; Copyright © 2019 Nicolò Balzarotti <anothersms@gmail.com>
18 ;;;
19 ;;; This file is part of GNU Guix.
20 ;;;
21 ;;; GNU Guix is free software; you can redistribute it and/or modify it
22 ;;; under the terms of the GNU General Public License as published by
23 ;;; the Free Software Foundation; either version 3 of the License, or (at
24 ;;; your option) any later version.
25 ;;;
26 ;;; GNU Guix is distributed in the hope that it will be useful, but
27 ;;; WITHOUT ANY WARRANTY; without even the implied warranty of
28 ;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
29 ;;; GNU General Public License for more details.
30 ;;;
31 ;;; You should have received a copy of the GNU General Public License
32 ;;; along with GNU Guix.  If not, see <http://www.gnu.org/licenses/>.
34 (define-module (gnu packages cran)
35   #:use-module ((guix licenses) #:prefix license:)
36   #:use-module (guix packages)
37   #:use-module (guix download)
38   #:use-module (guix git-download)
39   #:use-module (guix utils)
40   #:use-module (guix build-system r)
41   #:use-module (gnu packages algebra)
42   #:use-module (gnu packages base)
43   #:use-module (gnu packages bioinformatics)
44   #:use-module (gnu packages c)
45   #:use-module (gnu packages compression)
46   #:use-module (gnu packages curl)
47   #:use-module (gnu packages databases)
48   #:use-module (gnu packages fontutils)
49   #:use-module (gnu packages gcc)
50   #:use-module (gnu packages geo)
51   #:use-module (gnu packages ghostscript)
52   #:use-module (gnu packages gl)
53   #:use-module (gnu packages gnome)
54   #:use-module (gnu packages graph)
55   #:use-module (gnu packages gtk)
56   #:use-module (gnu packages haskell)
57   #:use-module (gnu packages icu4c)
58   #:use-module (gnu packages image)
59   #:use-module (gnu packages imagemagick)
60   #:use-module (gnu packages java)
61   #:use-module (gnu packages javascript)
62   #:use-module (gnu packages lisp)
63   #:use-module (gnu packages machine-learning)
64   #:use-module (gnu packages maths)
65   #:use-module (gnu packages mpi)
66   #:use-module (gnu packages multiprecision)
67   #:use-module (gnu packages networking)
68   #:use-module (gnu packages pcre)
69   #:use-module (gnu packages perl)
70   #:use-module (gnu packages pkg-config)
71   #:use-module (gnu packages python)
72   #:use-module (gnu packages python-xyz)
73   #:use-module (gnu packages statistics)
74   #:use-module (gnu packages tls)
75   #:use-module (gnu packages web)
76   #:use-module (gnu packages xorg))
78 (define-public r-clipr
79   (package
80     (name "r-clipr")
81     (version "0.6.0")
82     (source
83      (origin
84        (method url-fetch)
85        (uri (cran-uri "clipr" version))
86        (sha256
87         (base32
88          "0k9kimkmmj9k7290sxiqn4kd1vvm4w7q9a44wp0w30b7yjpavx2m"))))
89     (build-system r-build-system)
90     (home-page "https://github.com/mdlincoln/clipr")
91     (synopsis "Read and write from the system clipboard")
92     (description
93      "This package provides simple utility functions to read from and write to
94 the system clipboards.")
95     (license license:gpl3)))
97 (define-public r-ellipsis
98   (package
99     (name "r-ellipsis")
100     (version "0.1.0")
101     (source
102      (origin
103        (method url-fetch)
104        (uri (cran-uri "ellipsis" version))
105        (sha256
106         (base32
107          "0pw94qpg81xmsdsagpqxddv7m2cmdszmyyq99dk3caqqj01z7wg6"))))
108     (build-system r-build-system)
109     (home-page "https://github.com/hadley/ellipsis")
110     (synopsis "Tools for working with additional arguments")
111     (description
112      "In S3 generics, it's useful to take @code{...} so that methods can have
113 additional arguments.  But this flexibility comes at a cost: misspelled
114 arguments will be silently ignored.  The @code{ellipsis} package is an
115 experiment that allows a generic to warn if any arguments passed in @code{...}
116 are not used.")
117     (license license:gpl3)))
119 (define-public r-sys
120   (package
121     (name "r-sys")
122     (version "3.2")
123     (source
124      (origin
125        (method url-fetch)
126        (uri (cran-uri "sys" version))
127        (sha256
128         (base32
129          "1k5vk5q9wa5sin0n226i05nymg469s24f6lx64yyhb7yc624j698"))))
130     (build-system r-build-system)
131     (home-page "https://github.com/jeroen/sys")
132     (synopsis "Powerful and reliable tools for running system commands in R")
133     (description
134      "This package provides drop-in replacements for the base @code{system2()}
135 function with fine control and consistent behavior across platforms.  It
136 supports clean interruption, timeout, background tasks, and streaming STDIN /
137 STDOUT / STDERR over binary or text connections.  The package also provides
138 functions for evaluating expressions inside a temporary fork.  Such
139 evaluations have no side effects on the main R process, and support reliable
140 interrupts and timeouts.  This provides the basis for a sandboxing
141 mechanism.")
142     (license license:expat)))
144 (define-public r-askpass
145   (package
146     (name "r-askpass")
147     (version "1.1")
148     (source
149      (origin
150        (method url-fetch)
151        (uri (cran-uri "askpass" version))
152        (sha256
153         (base32
154          "07q0ik8jzk44vpwh48rr3fnpd7dzsdhjjsl4l850rffv3dyq4h6v"))))
155     (build-system r-build-system)
156     (propagated-inputs `(("r-sys" ,r-sys)))
157     (home-page "https://github.com/jeroen/askpass")
158     (synopsis "Safe password entry for R")
159     (description
160      "This package provides cross-platform utilities for prompting the user
161 for credentials or a passphrase, for example to authenticate with a server or
162 read a protected key.")
163     (license license:expat)))
165 (define-public r-vegan
166   (package
167     (name "r-vegan")
168     (version "2.5-4")
169     (source
170      (origin
171        (method url-fetch)
172        (uri (cran-uri "vegan" version))
173        (sha256
174         (base32
175          "1q4khii0xbjwmkida0b35q8rmwhg325qizjwz6slkjhz250a85ji"))))
176     (build-system r-build-system)
177     (native-inputs
178      `(("gfortran" ,gfortran)))
179     (propagated-inputs
180      `(("r-cluster" ,r-cluster)
181        ("r-knitr" ,r-knitr)             ; needed for vignettes
182        ("r-lattice" ,r-lattice)
183        ("r-mass" ,r-mass)
184        ("r-mgcv" ,r-mgcv)
185        ("r-permute" ,r-permute)))
186     (home-page "https://cran.r-project.org/web/packages/vegan")
187     (synopsis "Functions for community ecology")
188     (description
189      "The vegan package provides tools for descriptive community ecology.  It
190 has most basic functions of diversity analysis, community ordination and
191 dissimilarity analysis.  Most of its multivariate tools can be used for other
192 data types as well.")
193     (license license:gpl2+)))
195 (define-public r-tidyverse
196   (package
197     (name "r-tidyverse")
198     (version "1.2.1")
199     (source
200      (origin
201        (method url-fetch)
202        (uri (cran-uri "tidyverse" version))
203        (sha256
204         (base32
205          "0yy3fkjksgcn6wkbgsb0pbnmsyqs4m01mziqafhig578nixs4rxd"))))
206     (build-system r-build-system)
207     (propagated-inputs
208      `(("r-broom" ,r-broom)
209        ("r-cli" ,r-cli)
210        ("r-crayon" ,r-crayon)
211        ("r-dbplyr" ,r-dbplyr)
212        ("r-dplyr" ,r-dplyr)
213        ("r-forcats" ,r-forcats)
214        ("r-ggplot2" ,r-ggplot2)
215        ("r-haven" ,r-haven)
216        ("r-hms" ,r-hms)
217        ("r-httr" ,r-httr)
218        ("r-jsonlite" ,r-jsonlite)
219        ("r-lubridate" ,r-lubridate)
220        ("r-magrittr" ,r-magrittr)
221        ("r-modelr" ,r-modelr)
222        ("r-purrr" ,r-purrr)
223        ("r-readr" ,r-readr)
224        ("r-readxl" ,r-readxl)
225        ("r-reprex" ,r-reprex)
226        ("r-rlang" ,r-rlang)
227        ("r-rstudioapi" ,r-rstudioapi)
228        ("r-rvest" ,r-rvest)
229        ("r-stringr" ,r-stringr)
230        ("r-tibble" ,r-tibble)
231        ("r-tidyr" ,r-tidyr)
232        ("r-xml2" ,r-xml2)))
233     (home-page "https://tidyverse.tidyverse.org")
234     (synopsis "Install and load packages from the \"Tidyverse\"")
235     (description
236      "The @code{tidyverse} is a set of packages that work in harmony because
237 they share common data representations and API design.  This package is
238 designed to make it easy to install and load multiple tidyverse packages in a
239 single step.")
240     (license license:gpl3)))
242 (define-public r-rvest
243   (package
244     (name "r-rvest")
245     (version "0.3.3")
246     (source
247      (origin
248        (method url-fetch)
249        (uri (cran-uri "rvest" version))
250        (sha256
251         (base32
252          "0vsm38w83zf0djcrc5ymb1ysg88hmgq2w937ql7pqgvk5px8f2mi"))))
253     (build-system r-build-system)
254     (propagated-inputs
255      `(("r-httr" ,r-httr)
256        ("r-magrittr" ,r-magrittr)
257        ("r-selectr" ,r-selectr)
258        ("r-xml2" ,r-xml2)))
259     (home-page "https://github.com/hadley/rvest")
260     (synopsis "Simple web scraping for R")
261     (description
262      "@code{r-rvest} helps you scrape information from web pages.  It is
263 designed to work with @code{magrittr} to make it easy to express common web
264 scraping tasks, inspired by libraries like @code{BeautifulSoup}.")
265     (license license:gpl3)))
267 (define-public r-selectr
268   (package
269     (name "r-selectr")
270     (version "0.4-1")
271     (source
272      (origin
273        (method url-fetch)
274        (uri (cran-uri "selectr" version))
275        (sha256
276         (base32
277          "1jp27rxks4w29l47k42869hp8hnkzq2rnvsqbr44wd19fqb2zm4b"))))
278     (build-system r-build-system)
279     (propagated-inputs
280      `(("r-stringr" ,r-stringr)
281        ("r-r6" ,r-r6)))
282     (home-page "https://sjp.co.nz/projects/selectr/")
283     (synopsis "Translate CSS selectors to XPath expressions")
284     (description
285      "@code{r-selectr} translates a CSS3 selector into an equivalent XPath
286 expression.  This allows you to use CSS selectors when working with the XML
287 package as it can only evaluate XPath expressions.  Also provided are
288 convenience functions useful for using CSS selectors on XML nodes.  This
289 package is a port of the Python package @code{cssselect}.")
290     (license license:bsd-3)))
292 (define-public r-reprex
293   (package
294     (name "r-reprex")
295     (version "0.2.1")
296     (source
297      (origin
298        (method url-fetch)
299        (uri (cran-uri "reprex" version))
300        (sha256
301         (base32
302          "1ws5gds453xgfili87r35rz1wn2i7jbqissq98csbiddpkgls8sx"))))
303     (build-system r-build-system)
304     (propagated-inputs
305      `(("r-callr" ,r-callr)
306        ("r-clipr" ,r-clipr)
307        ("r-fs" ,r-fs)
308        ("r-rlang" ,r-rlang)
309        ("r-rmarkdown" ,r-rmarkdown)
310        ("r-whisker" ,r-whisker)
311        ("r-withr" ,r-withr)))
312     (home-page "https://github.com/tidyverse/reprex")
313     (synopsis "Prepare reproducible R code examples for sharing")
314     (description
315      "This package provides a convenience wrapper that uses the
316 @code{rmarkdown} package to render small snippets of code to target formats
317 that include both code and output.  The goal is to encourage the sharing of
318 small, reproducible, and runnable examples on code-oriented websites or email.
319 @code{reprex} also extracts clean, runnable R code from various common formats,
320 such as copy/paste from an R session.")
321     (license license:expat)))
323 (define-public r-callr
324   (package
325     (name "r-callr")
326     (version "3.2.0")
327     (source
328      (origin
329        (method url-fetch)
330        (uri (cran-uri "callr" version))
331        (sha256
332         (base32
333          "1s5h2k7c1vgbry90xczin66q89cbkc6mvh4679l5rsz83087pd2b"))))
334     (build-system r-build-system)
335     (propagated-inputs
336      `(("r-r6" ,r-r6)
337        ("r-processx" ,r-processx)))
338     (home-page "https://github.com/r-lib/callr#readme")
339     (synopsis "Call R from R")
340     (description
341      "It is sometimes useful to perform a computation in a separate R process,
342 without affecting the current R process at all.  This packages does exactly
343 that.")
344     (license license:expat)))
346 (define-public r-readxl
347   (package
348     (name "r-readxl")
349     (version "1.3.1")
350     (source
351      (origin
352        (method url-fetch)
353        (uri (cran-uri "readxl" version))
354        (sha256
355         (base32
356          "15mambxr8c7k2ikdfsl1w3vxvm54dsnk0cl1qvks6iig7rql3d14"))))
357     (build-system r-build-system)
358     (propagated-inputs
359      `(("r-cellranger" ,r-cellranger)
360        ("r-progress" ,r-progress)
361        ("r-rcpp" ,r-rcpp)
362        ("r-tibble" ,r-tibble)))
363     (home-page "https://readxl.tidyverse.org")
364     (synopsis "Read Excel files")
365     (description
366      "This package lets you import Excel files into R.  It supports
367 @file{.xls} via the embedded @code{libxls} C library and @file{.xlsx} via
368 the embedded @code{RapidXML} C++ library.")
369     ;; XXX: This package bundles a copy of 'libxsl' which is BSD-2 and
370     ;; 'rapidxml' which is Boost.
371     (license (list license:gpl3 license:bsd-2 license:boost1.0))))
373 (define-public r-modelr
374   (package
375     (name "r-modelr")
376     (version "0.1.4")
377     (source
378      (origin
379        (method url-fetch)
380        (uri (cran-uri "modelr" version))
381        (sha256
382         (base32
383          "1ngxphbjkv7yl1rg30sj36mfwhc76g452drjrq9abgab4k0pgnml"))))
384     (build-system r-build-system)
385     (propagated-inputs
386      `(("r-broom" ,r-broom)
387        ("r-dplyr" ,r-dplyr)
388        ("r-lazyeval" ,r-lazyeval)
389        ("r-magrittr" ,r-magrittr)
390        ("r-purrr" ,r-purrr)
391        ("r-tibble" ,r-tibble)
392        ("r-tidyr" ,r-tidyr)))
393     (home-page "https://github.com/tidyverse/modelr")
394     (synopsis "Helper functions for modelling in pipelines")
395     (description
396      "Functions for modelling that help you seamlessly integrate modelling
397 into a pipeline of data manipulation and visualisation.")
398     (license license:gpl3)))
400 (define-public r-httpuv
401   (package
402     (name "r-httpuv")
403     (version "1.5.1")
404     (source (origin
405               (method url-fetch)
406               (uri (cran-uri "httpuv" version))
407               (sha256
408                (base32
409                 "042piypg4c8sqrlcdl3dwajkafkbglsky3x7d0jpjv8s5wxnpfxm"))))
410     (build-system r-build-system)
411     (propagated-inputs
412      `(("r-bh" ,r-bh)
413        ("r-later" ,r-later)
414        ("r-promises" ,r-promises)
415        ("r-r6" ,r-r6)
416        ("r-rcpp" ,r-rcpp)))
417     (home-page "https://github.com/rstudio/httpuv")
418     (synopsis "HTTP and WebSocket server library for R")
419     (description
420      "The httpuv package provides low-level socket and protocol support for
421 handling HTTP and WebSocket requests directly from within R.  It is primarily
422 intended as a building block for other packages, rather than making it
423 particularly easy to create complete web applications using httpuv alone.")
424     ;; This package includes third-party code that was originally released
425     ;; under various non-copyleft licenses.  Full licensing information can be
426     ;; obtained here: https://github.com/rstudio/httpuv/blob/master/LICENSE
427     (license license:gpl3+)))
429 (define-public r-jsonlite
430   (package
431     (name "r-jsonlite")
432     (version "1.6")
433     (source (origin
434               (method url-fetch)
435               (uri (cran-uri "jsonlite" version))
436               (sha256
437                (base32
438                 "0lyvhnr6n57h3a89bvipii7x17nvfaycm9j5j50bfrlr48jv9ic8"))))
439     (build-system r-build-system)
440     (home-page "http://arxiv.org/abs/1403.2805")
441     (synopsis "Robust, high performance JSON parser and generator for R")
442     (description
443      "The jsonlite package provides a fast JSON parser and generator optimized
444 for statistical data and the web.  It offers flexible, robust, high
445 performance tools for working with JSON in R and is particularly powerful for
446 building pipelines and interacting with a web API.  In addition to converting
447 JSON data from/to R objects, jsonlite contains functions to stream, validate,
448 and prettify JSON data.  The unit tests included with the package verify that
449 all edge cases are encoded and decoded consistently for use with dynamic data
450 in systems and applications.")
451     (license license:expat)))
453 (define-public r-servr
454   (package
455     (name "r-servr")
456     (version "0.13")
457     (source (origin
458               (method url-fetch)
459               (uri (cran-uri "servr" version))
460               (sha256
461                (base32
462                 "1n5haqkshrxcx557f1k7nrisvq3wak8v370s2r6yv691b8hvbscs"))))
463     (build-system r-build-system)
464     (propagated-inputs
465      `(("r-httpuv" ,r-httpuv)
466        ("r-jsonlite" ,r-jsonlite)
467        ("r-mime" ,r-mime)
468        ("r-xfun" ,r-xfun)))
469     (home-page "https://github.com/yihui/servr")
470     (synopsis "Simple HTTP server to serve static files or dynamic documents")
471     (description
472      "Servr provides an HTTP server in R to serve static files, or dynamic
473 documents that can be converted to HTML files (e.g., R Markdown) under a given
474 directory.")
475     (license license:expat)))
477 (define-public r-htmltools
478   (package
479     (name "r-htmltools")
480     (version "0.3.6")
481     (source (origin
482               (method url-fetch)
483               (uri (cran-uri "htmltools" version))
484               (sha256
485                (base32
486                 "18k8r1s8sz1jy7dkz35n69wj20xhmllr53xmwb4pdzf2z61gpbs4"))))
487     (build-system r-build-system)
488     (arguments
489      `(#:phases
490        (modify-phases %standard-phases
491          ;; See https://github.com/rstudio/htmltools/pull/68
492          ;; The resource files are in the store and have mode 444.  After
493          ;; copying the files R fails to remove them again because it doesn't
494          ;; have write access to them.
495          (add-after 'unpack 'copy-files-without-mode
496            (lambda _
497              (substitute* "R/html_dependency.R"
498                (("file.copy\\(from, to, " prefix)
499                 (string-append prefix
500                                "copy.mode = FALSE, ")))
501              #t)))))
502     (propagated-inputs
503      `(("r-digest" ,r-digest)
504        ("r-rcpp" ,r-rcpp)))
505     (home-page "https://cran.r-project.org/web/packages/htmltools")
506     (synopsis "R tools for HTML")
507     (description
508      "This package provides tools for HTML generation and output in R.")
509     (license license:expat)))
511 (define-public r-htmlwidgets
512   (package
513     (name "r-htmlwidgets")
514     (version "1.3")
515     (source (origin
516               (method url-fetch)
517               (uri (cran-uri "htmlwidgets" version))
518               (sha256
519                (base32
520                 "04jsdh14l2zifbjpbbh23w7bxz1wpsas0zb2gy2zwv4yqamzzr7i"))))
521     (build-system r-build-system)
522     (propagated-inputs
523      `(("r-htmltools" ,r-htmltools)
524        ("r-jsonlite" ,r-jsonlite)
525        ("r-yaml" ,r-yaml)))
526     (home-page "https://github.com/ramnathv/htmlwidgets")
527     (synopsis "HTML Widgets for R")
528     (description
529      "HTML widgets is a framework for creating HTML widgets that render in
530 various contexts including the R console, R Markdown documents, and Shiny web
531 applications.")
532     (license license:expat)))
534 (define-public r-htmltable
535   (package
536     (name "r-htmltable")
537     (version "1.13.1")
538     (source
539      (origin
540        (method url-fetch)
541        (uri (cran-uri "htmlTable" version))
542        (sha256
543         (base32
544          "1l44b33xgj2698k6nz17r8fl0ink14ryzng803apm9d6bnv357v8"))))
545     (properties `((upstream-name . "htmlTable")))
546     (build-system r-build-system)
547     (propagated-inputs
548      `(("r-checkmate" ,r-checkmate)
549        ("r-htmltools" ,r-htmltools)
550        ("r-htmlwidgets" ,r-htmlwidgets)
551        ("r-knitr" ,r-knitr)
552        ("r-magrittr" ,r-magrittr)
553        ("r-rstudioapi" ,r-rstudioapi)
554        ("r-stringr" ,r-stringr)))
555     (home-page "http://gforge.se/packages/")
556     (synopsis "Advanced tables for Markdown/HTML")
557     (description
558      "This package provides functions to build tables with advanced layout
559 elements such as row spanners, column spanners, table spanners, zebra
560 striping, and more.  While allowing advanced layout, the underlying
561 CSS-structure is simple in order to maximize compatibility with word
562 processors such as LibreOffice.  The package also contains a few text
563 formatting functions that help outputting text compatible with HTML or
564 LaTeX.")
565     (license license:gpl3+)))
567 (define-public r-curl
568   (package
569     (name "r-curl")
570     (version "3.3")
571     (source (origin
572               (method url-fetch)
573               (uri (cran-uri "curl" version))
574               (sha256
575                (base32
576                 "1gd5i25anzi28lg1f8p7g63z9d46xi0qaw4lxpml5p0f52lvkc0c"))))
577     (build-system r-build-system)
578     (arguments
579      `(#:phases
580        (modify-phases %standard-phases
581          ;; The environment variable CURL_CA_BUNDLE is only respected when
582          ;; running Windows, so we disable the platform checks.
583          ;; This can be removed once the libcurl has been patched.
584          (add-after 'unpack 'allow-CURL_CA_BUNDLE
585            (lambda _
586              (substitute* "R/onload.R"
587                (("if \\(!grepl\\(\"mingw\".*")
588                 "if (FALSE)\n"))
589              (substitute* "src/handle.c"
590                (("#ifdef _WIN32") "#if 1"))
591              #t)))))
592     (inputs
593      `(("libcurl" ,curl)
594        ("zlib" ,zlib)))
595     (native-inputs
596      `(("pkg-config" ,pkg-config)))
597     (home-page "https://github.com/jeroenooms/curl")
598     (synopsis "HTTP client for R")
599     (description
600      "The @code{curl()} and @code{curl_download()} functions provide highly
601 configurable drop-in replacements for base @code{url()} and
602 @code{download.file()} with better performance, support for encryption, gzip
603 compression, authentication, and other @code{libcurl} goodies.  The core of
604 the package implements a framework for performing fully customized requests
605 where data can be processed either in memory, on disk, or streaming via the
606 callback or connection interfaces.")
607     (license license:expat)))
609 (define-public r-hwriter
610   (package
611     (name "r-hwriter")
612     (version "1.3.2")
613     (source
614      (origin
615        (method url-fetch)
616        (uri (cran-uri "hwriter" version))
617        (sha256
618         (base32
619          "0arjsz854rfkfqhgvpqbm9lfni97dcjs66isdsfvwfd2wz932dbb"))))
620     (build-system r-build-system)
621     (home-page "https://cran.r-project.org/web/packages/hwriter")
622     (synopsis "Output R objects in HTML format")
623     (description
624      "This package provides easy-to-use and versatile functions to output R
625 objects in HTML format.")
626     (license license:lgpl2.1+)))
628 (define-public r-rjson
629   (package
630     (name "r-rjson")
631     (version "0.2.20")
632     (source
633      (origin
634        (method url-fetch)
635        (uri (cran-uri "rjson" version))
636        (sha256
637         (base32
638          "0v1zvdd3svnavklh7y5xbwrrkbvx6053r4c5hgnk7hz7bqg7qa1s"))))
639     (build-system r-build-system)
640     (home-page "https://cran.r-project.org/web/packages/rjson")
641     (synopsis "JSON library for R")
642     (description
643      "This package provides functions to convert R objects into JSON objects
644 and vice-versa.")
645     (license license:gpl2+)))
647 (define-public r-shiny
648   (package
649     (name "r-shiny")
650     (version "1.2.0")
651     (source
652      (origin
653        (method git-fetch)
654        (uri (git-reference
655              (url "https://github.com/rstudio/shiny.git")
656              (commit (string-append "v" version))))
657        (file-name (git-file-name name version))
658        (sha256
659         (base32
660          "1kl3dh68h4cnrm3rqn9pddk5n6bsmr5x0626bkfv0qqi0q92zin4"))))
661     (build-system r-build-system)
662     (arguments
663      `(#:modules ((guix build r-build-system)
664                   (guix build minify-build-system)
665                   (guix build utils)
666                   (ice-9 match))
667        #:imported-modules (,@%r-build-system-modules
668                            (guix build minify-build-system))
669        #:phases
670        (modify-phases (@ (guix build r-build-system) %standard-phases)
671          (add-after 'unpack 'replace-bundled-minified-JavaScript
672            (lambda* (#:key inputs #:allow-other-keys)
673              (let ((replace-file (lambda (old new)
674                                    (format #t "replacing ~a with ~a\n" old new)
675                                    (delete-file old)
676                                    (symlink new old))))
677                ;; NOTE: Files in ./inst/www/shared/datepicker/js/locales/
678                ;; contain just data.  They are not minified code, so we don't
679                ;; replace them.
680                (with-directory-excursion "inst/www/shared"
681                  (replace-file "bootstrap/shim/respond.min.js"
682                                (string-append (assoc-ref inputs "js-respond")
683                                               "/share/javascript/respond.min.js"))
684                  (replace-file "bootstrap/shim/html5shiv.min.js"
685                                (string-append (assoc-ref inputs "js-html5shiv")
686                                               "/share/javascript/html5shiv.min.js"))
687                  (replace-file "json2-min.js"
688                                (string-append (assoc-ref inputs "js-json2")
689                                               "/share/javascript/json2.min.js"))
690                  (replace-file "strftime/strftime-min.js"
691                                (string-append (assoc-ref inputs "js-strftime")
692                                               "/share/javascript/strftime.min.js"))
693                  (replace-file "highlight/highlight.pack.js"
694                                (string-append (assoc-ref inputs "js-highlight")
695                                               "/share/javascript/highlight.min.js"))
696                  (replace-file "datatables/js/jquery.dataTables.min.js"
697                                (string-append (assoc-ref inputs "js-datatables")
698                                               "/share/javascript/jquery.dataTables.min.js"))
699                  (replace-file "selectize/js/selectize.min.js"
700                                (string-append (assoc-ref inputs "js-selectize")
701                                               "/share/javascript/selectize.min.js"))
702                  (replace-file "selectize/js/es5-shim.min.js"
703                                (string-append (assoc-ref inputs "js-es5-shim")
704                                               "/share/javascript/es5-shim.min.js"))
705                  (for-each (match-lambda
706                              ((source . target)
707                               (delete-file target)
708                               (minify source #:target target)))
709                            '(("jqueryui/jquery-ui.js" .
710                               "jqueryui/jquery-ui.min.js")
711                              ("datepicker/js/bootstrap-datepicker.js" .
712                               "datepicker/js/bootstrap-datepicker.min.js")
713                              ("ionrangeslider/js/ion.rangeSlider.js" .
714                               "ionrangeslider/js/ion.rangeSlider.min.js")
715                              ("bootstrap/js/bootstrap.js" .
716                               "bootstrap/js/bootstrap.min.js")
717                              ("shiny.js" .
718                               "shiny.min.js")
719                              ("jquery.js" .
720                               "jquery.min.js")))))
721              #t)))))
722     (propagated-inputs
723      `(("r-crayon" ,r-crayon)
724        ("r-httpuv" ,r-httpuv)
725        ("r-mime" ,r-mime)
726        ("r-jsonlite" ,r-jsonlite)
727        ("r-xtable" ,r-xtable)
728        ("r-digest" ,r-digest)
729        ("r-htmltools" ,r-htmltools)
730        ("r-r6" ,r-r6)
731        ("r-sourcetools" ,r-sourcetools)))
732     (inputs
733      `(("js-datatables" ,js-datatables)
734        ("js-html5shiv" ,js-html5shiv)
735        ("js-json2" ,js-json2)
736        ("js-respond" ,js-respond)
737        ("js-selectize" ,js-selectize)
738        ("js-strftime" ,js-strftime)
739        ("js-highlight" ,js-highlight)
740        ("js-es5-shim" ,js-es5-shim)))
741     (home-page "http://shiny.rstudio.com")
742     (synopsis "Easy interactive web applications with R")
743     (description
744      "Makes it incredibly easy to build interactive web applications
745 with R.  Automatic \"reactive\" binding between inputs and outputs and
746 extensive prebuilt widgets make it possible to build beautiful,
747 responsive, and powerful applications with minimal effort.")
748     (license license:artistic2.0)))
750 (define-public r-shinydashboard
751   (package
752     (name "r-shinydashboard")
753     (version "0.7.1")
754     (source (origin
755               (method url-fetch)
756               (uri (cran-uri "shinydashboard" version))
757               (sha256
758                (base32
759                 "0khac8b27q3swdw07kl609hm0fjfjsjv591b388q99mqqr2rk92i"))))
760     (build-system r-build-system)
761     ;; The directory inst/AdminLTE/ contains a minified JavaScript file.
762     ;; Regenerate it from the included sources.
763     (arguments
764      `(#:modules ((guix build utils)
765                   (guix build r-build-system)
766                   (ice-9 popen))
767        #:phases
768        (modify-phases %standard-phases
769          (add-after 'unpack 'generate-minified-javascript
770            (lambda _
771              (with-directory-excursion "inst/AdminLTE"
772                (delete-file "app.min.js")
773                (let ((minified (open-pipe* OPEN_READ "uglify-js" "app.js")))
774                  (call-with-output-file "app.min.js"
775                    (lambda (port)
776                      (dump-port minified port))))))))))
777     (propagated-inputs
778      `(("r-htmltools" ,r-htmltools)
779        ("r-promises" ,r-promises)
780        ("r-shiny" ,r-shiny)))
781     (native-inputs
782      `(("uglify-js" ,uglify-js)))
783     (home-page "http://rstudio.github.io/shinydashboard/")
784     (synopsis "Create dashboards with shiny")
785     (description "This package provides an extension to the Shiny web
786 application framework for R, making it easy to create attractive dashboards.")
787     ;; This package includes software that was released under the Expat
788     ;; license, but the whole package is released under GPL version 2 or
789     ;; later.
790     (license license:gpl2+)))
792 (define-public r-shinyfiles
793   (package
794     (name "r-shinyfiles")
795     (version "0.7.3")
796     (source
797      (origin
798        (method url-fetch)
799        (uri (cran-uri "shinyFiles" version))
800        (sha256
801         (base32
802          "01as3l9ffj5dwac0vviais2x5l3027zxlj67kcvkdwxaj5hql33i"))))
803     (properties `((upstream-name . "shinyFiles")))
804     (build-system r-build-system)
805     (propagated-inputs
806      `(("r-fs" ,r-fs)
807        ("r-htmltools" ,r-htmltools)
808        ("r-jsonlite" ,r-jsonlite)
809        ("r-shiny" ,r-shiny)
810        ("r-tibble" ,r-tibble)))
811     (home-page "https://github.com/thomasp85/shinyFiles")
812     (synopsis "Server-side file system viewer for Shiny")
813     (description
814      "This package provides functionality for client-side navigation of the
815 server side file system in shiny apps.  In case the app is running locally
816 this gives the user direct access to the file system without the need to
817 \"download\" files to a temporary location.  Both file and folder selection as
818 well as file saving is available.")
819     (license license:gpl2+)))
821 (define-public r-crosstalk
822   (package
823     (name "r-crosstalk")
824     (version "1.0.0")
825     (source
826      (origin
827        (method url-fetch)
828        (uri (cran-uri "crosstalk" version))
829        (sha256
830         (base32
831          "0lfa89vhrzi7a1rghmygcjr8gzddw35sinb3jx6g49mc9jias7mk"))))
832     (build-system r-build-system)
833     (propagated-inputs
834      `(("r-ggplot2" ,r-ggplot2)
835        ("r-htmltools" ,r-htmltools)
836        ("r-jsonlite" ,r-jsonlite)
837        ("r-lazyeval" ,r-lazyeval)
838        ("r-r6" ,r-r6)
839        ("r-shiny" ,r-shiny)))
840     (home-page "https://rstudio.github.io/crosstalk/")
841     (synopsis "Inter-widget interactivity for HTML widgets")
842     (description
843      "This package provides building blocks for allowing HTML widgets to
844 communicate with each other, with Shiny or without (i.e.  static @code{.html}
845 files).  It currently supports linked brushing and filtering.")
846     (license license:expat)))
848 (define-public r-rook
849   (package
850     (name "r-rook")
851     (version "1.1-1")
852     (source
853      (origin
854        (method url-fetch)
855        (uri (cran-uri "Rook" version))
856        (sha256
857         (base32
858          "00s9a0kr9rwxvlq433daxjk4ji8m0w60hjdprf502msw9kxfrx00"))))
859     (properties `((upstream-name . "Rook")))
860     (build-system r-build-system)
861     (propagated-inputs `(("r-brew" ,r-brew)))
862     (home-page "https://cran.r-project.org/web/packages/Rook")
863     (synopsis "Web server interface for R")
864     (description
865      "This package contains the Rook specification and convenience software
866 for building and running Rook applications.  A Rook application is an R
867 reference class object that implements a @code{call} method or an R closure
868 that takes exactly one argument, an environment, and returns a list with three
869 named elements: the @code{status}, the @code{headers}, and the @code{body}.")
870     (license license:gpl2)))
872 (define-public r-miniui
873   (package
874     (name "r-miniui")
875     (version "0.1.1.1")
876     (source
877      (origin
878        (method url-fetch)
879        (uri (cran-uri "miniUI" version))
880        (sha256
881         (base32
882          "1h5h2sc57h95d6bsgs95l26911g38hvjc1v50bc31xl9689l2as5"))))
883     (properties `((upstream-name . "miniUI")))
884     (build-system r-build-system)
885     (propagated-inputs
886      `(("r-htmltools" ,r-htmltools)
887        ("r-shiny" ,r-shiny)))
888     (home-page "https://cran.r-project.org/web/packages/miniUI/")
889     (synopsis "Shiny UI widgets for small screens")
890     (description
891      "This package provides UI widget and layout functions for writing Shiny apps that
892 work well on small screens.")
893     (license license:gpl3)))
895 (define-public r-feather
896   (package
897     (name "r-feather")
898     (version "0.3.3")
899     (source
900      (origin
901        (method url-fetch)
902        (uri (cran-uri "feather" version))
903        (sha256
904         (base32
905          "0ls8lmygyjq60467s88h66d7fczjp1d3a2106rfq4dx9lyfvdfsa"))))
906     (build-system r-build-system)
907     (propagated-inputs
908      `(("r-hms" ,r-hms)
909        ("r-rcpp" ,r-rcpp)
910        ("r-tibble" ,r-tibble)))
911     (home-page "https://github.com/wesm/feather")
912     (synopsis "R Bindings to the Feather API")
913     (description "Read and write feather files, a lightweight binary columnar
914 data store designed for maximum speed.")
915     (license license:asl2.0)))
917 (define-public r-maps
918   (package
919     (name "r-maps")
920     (version "3.3.0")
921     (source
922      (origin
923        (method url-fetch)
924        (uri (cran-uri "maps" version))
925        (sha256
926         (base32
927          "05i2ppl5z4p8rawgqmy3z4ia05fcblpq1vvrmrkgkkpdlhczx6hr"))))
928     (build-system r-build-system)
929     (home-page "https://cran.r-project.org/web/packages/maps")
930     (synopsis "Draw geographical maps")
931     (description "This package provides an R module for display of maps.
932 Projection code and larger maps are in separate packages (@code{mapproj} and
933 @code{mapdata}).")
934     (license license:gpl2)))
936 (define-public r-mapproj
937   (package
938     (name "r-mapproj")
939     (version "1.2.6")
940     (source
941      (origin
942        (method url-fetch)
943        (uri (cran-uri "mapproj" version))
944        (sha256
945         (base32
946          "1rggww8cbwv0vzlj5afzhbsbngg4bzj5znbkz7wmxsbshfbsm9b2"))))
947     (build-system r-build-system)
948     (propagated-inputs `(("r-maps" ,r-maps)))
949     (home-page "https://cran.r-project.org/web/packages/mapproj")
950     (synopsis "Map projection in R")
951     (description "This package converts latitude/longitude into projected
952 coordinates.")
953     (license (list license:gpl2          ; The R interface
954                    (license:non-copyleft ; The C code
955                     "https://www.gnu.org/licenses/license-list.en.html#lucent102"
956                     "Lucent Public License Version 1.02")))))
958 (define-public r-rgooglemaps
959   (package
960     (name "r-rgooglemaps")
961     (version "1.4.3")
962     (source
963      (origin
964        (method url-fetch)
965        (uri (cran-uri "RgoogleMaps" version))
966        (sha256
967         (base32
968          "06ab3lg1rwm93hkshf1vxfm8mlxq5qsjan0wx43lhnrysay65js4"))))
969     (properties `((upstream-name . "RgoogleMaps")))
970     (build-system r-build-system)
971     (propagated-inputs `(("r-png" ,r-png)))
972     (home-page "https://cran.r-project.org/web/packages/RgoogleMaps")
973     (synopsis "Use Google Maps in R")
974     (description "This package serves two purposes:
975 @enumerate
976 @item Provide a comfortable R interface to query the Google server for static
977   maps, and
978 @item Use the map as a background image to overlay plots within R.  This
979   requires proper coordinate scaling.
980 @end enumerate\n")
981     (license license:gpl2+)))
983 (define-public r-geosphere
984   (package
985     (name "r-geosphere")
986     (version "1.5-7")
987     (source
988      (origin
989        (method url-fetch)
990        (uri (cran-uri "geosphere" version))
991        (sha256
992         (base32
993          "186qdm5niq7v3d4w4rngx71znsgi44hnam7698bsx9ar5mg5b6wx"))))
994     (build-system r-build-system)
995     (propagated-inputs `(("r-sp" ,r-sp)))
996     (home-page "https://cran.r-project.org/web/packages/geosphere")
997     (synopsis "Spherical trigonometry")
998     (description "This package computes spherical trigonometry for geographic
999 applications.  That is, compute distances and related measures for angular
1000 (longitude/latitude) locations.")
1001     (license license:gpl3+)))
1003 (define-public r-ggmap
1004   (package
1005     (name "r-ggmap")
1006     (version "3.0.0")
1007     (source
1008      (origin
1009        (method url-fetch)
1010        (uri (cran-uri "ggmap" version))
1011        (sha256
1012         (base32
1013          "13dmzl6z62pzjiffilarkji46vy0sacxa8a7mhrhc3biq3ylzhln"))))
1014     (build-system r-build-system)
1015     (propagated-inputs
1016      `(("r-bitops" ,r-bitops)
1017        ("r-digest" ,r-digest)
1018        ("r-dplyr" ,r-dplyr)
1019        ("r-ggplot2" ,r-ggplot2)
1020        ("r-glue" ,r-glue)
1021        ("r-httr" ,r-httr)
1022        ("r-jpeg" ,r-jpeg)
1023        ("r-magrittr" ,r-magrittr)
1024        ("r-plyr" ,r-plyr)
1025        ("r-png" ,r-png)
1026        ("r-purrr" ,r-purrr)
1027        ("r-rgooglemaps" ,r-rgooglemaps)
1028        ("r-rjson" ,r-rjson)
1029        ("r-scales" ,r-scales)
1030        ("r-stringr" ,r-stringr)
1031        ("r-tibble" ,r-tibble)
1032        ("r-tidyr" ,r-tidyr)))
1033     (home-page "https://github.com/dkahle/ggmap")
1034     (synopsis "Spatial visualization with ggplot2")
1035     (description "This package provides a collection of functions to visualize
1036 spatial data and models on top of static maps from various online sources (e.g
1037 Google Maps and Stamen Maps).  It includes tools common to those tasks,
1038 including functions for geolocation and routing.")
1039     (license license:gpl2)))
1041 (define-public r-haven
1042   (package
1043     (name "r-haven")
1044     (version "2.1.0")
1045     (source
1046      (origin
1047        (method url-fetch)
1048        (uri (cran-uri "haven" version))
1049        (sha256
1050         (base32
1051          "0x5fwc4q2gdxwwp5sxdd6q17jhpisd769y9kv0xgnjcm0cdwz8f0"))))
1052     (build-system r-build-system)
1053     (inputs
1054      `(("zlib" ,zlib)))
1055     (propagated-inputs
1056      `(("r-forcats" ,r-forcats)
1057        ("r-hms" ,r-hms)
1058        ("r-rcpp" ,r-rcpp)
1059        ("r-readr" ,r-readr)
1060        ("r-tibble" ,r-tibble)))
1061     (home-page "https://haven.tidyverse.org")
1062     (synopsis "Import and Export 'SPSS', 'Stata' and 'SAS' Files")
1063     (description
1064      "This package lets you mport foreign statistical formats into R via the
1065 embedded @url{https://github.com/WizardMac/ReadStat,ReadStat} C library.")
1066     (license license:expat)))
1068 (define-public r-amap
1069   (package
1070     (name "r-amap")
1071     (version "0.8-16")
1072     (source (origin
1073               (method url-fetch)
1074               (uri (cran-uri "amap" version))
1075               (sha256
1076                (base32
1077                 "1qnl2x98x64iaipkx5126rsddq2sx5ml43h75xyiyn30yvbmlxyk"))))
1078     (build-system r-build-system)
1079     (inputs
1080      `(("gfortran" ,gfortran)))
1081     (home-page "http://mulcyber.toulouse.inra.fr/projects/amap/")
1082     (synopsis "Another multidimensional analysis package")
1083     (description "This package provides tools for clustering and principal
1084 component analysis (with robust methods, and parallelized functions).")
1085     (license license:gpl2+)))
1087 (define-public r-ape
1088   (package
1089     (name "r-ape")
1090     (version "5.3")
1091     (source
1092      (origin
1093        (method url-fetch)
1094        (uri (cran-uri "ape" version))
1095        (sha256
1096         (base32
1097          "08wbk1kxhs32bmmvqlqanbdg1w235amd35k8m00fngsj9h9xzc08"))))
1098     (build-system r-build-system)
1099     (propagated-inputs
1100      `(("r-lattice" ,r-lattice)
1101        ("r-nlme" ,r-nlme)
1102        ("r-rcpp" ,r-rcpp)))
1103     (home-page "http://ape-package.ird.fr/")
1104     (synopsis "Analyses of phylogenetics and evolution")
1105     (description
1106      "This package provides functions for reading, writing, plotting, and
1107 manipulating phylogenetic trees, analyses of comparative data in a
1108 phylogenetic framework, ancestral character analyses, analyses of
1109 diversification and macroevolution, computing distances from DNA sequences,
1110 and several other tools.")
1111     (license license:gpl2+)))
1113 (define-public r-abbyyr
1114   (package
1115     (name "r-abbyyr")
1116     (version "0.5.4")
1117     (source
1118      (origin
1119        (method url-fetch)
1120        (uri (cran-uri "abbyyR" version))
1121        (sha256
1122         (base32
1123          "1jh1c1ad6mgw7brdh2isnza1qpjlfxnqr7jl76yd93axyfl76xjx"))))
1124     (properties `((upstream-name . "abbyyR")))
1125     (build-system r-build-system)
1126     (propagated-inputs
1127      `(("r-curl" ,r-curl)
1128        ("r-httr" ,r-httr)
1129        ("r-plyr" ,r-plyr)
1130        ("r-progress" ,r-progress)
1131        ("r-readr" ,r-readr)
1132        ("r-xml" ,r-xml)))
1133     (home-page "https://github.com/soodoku/abbyyR")
1134     (synopsis "Access to Abbyy Optical Character Recognition (OCR) API")
1135     (description
1136      "This package provides tools to get text from images of text using Abbyy
1137 Cloud Optical Character Recognition (OCR) API.  With abbyyyR, one can easily
1138 OCR images, barcodes, forms, documents with machine readable zones, e.g.
1139 passports and get the results in a variety of formats including plain text and
1140 XML.  To learn more about the Abbyy OCR API, see @url{http://ocrsdk.com/}.")
1141     (license license:expat)))
1143 (define-public r-colorspace
1144   (package
1145     (name "r-colorspace")
1146     (version "1.4-1")
1147     (source
1148      (origin
1149        (method url-fetch)
1150        (uri (cran-uri "colorspace" version))
1151        (sha256
1152         (base32 "0wyny3ah2d74hqv80s6imrarpna09gq3j9rjnz6zx2qg0lx72gb9"))))
1153     (build-system r-build-system)
1154     (home-page "https://cran.r-project.org/web/packages/colorspace")
1155     (synopsis "Color space manipulation")
1156     (description
1157      "This package carries out a mapping between assorted color spaces
1158 including RGB, HSV, HLS, CIEXYZ, CIELUV, HCL (polar CIELUV), CIELAB and polar
1159 CIELAB.  Qualitative, sequential, and diverging color palettes based on HCL
1160 colors are provided.")
1161     (license license:bsd-3)))
1163 (define-public r-glue
1164   (package
1165     (name "r-glue")
1166     (version "1.3.1")
1167     (source
1168      (origin
1169        (method url-fetch)
1170        (uri (cran-uri "glue" version))
1171        (sha256
1172         (base32
1173          "1a1ycg9r3gd91visp49q49rsrdgyf8kr9dxdy3hk99kikn4z5hag"))))
1174     (build-system r-build-system)
1175     (home-page "https://github.com/tidyverse/glue")
1176     (synopsis "Interpreted string literals")
1177     (description
1178      "This package provides an implementation of interpreted string literals,
1179 inspired by Python's Literal String Interpolation (PEP-0498) and
1180 Docstrings (PEP-0257) and Julia's Triple-Quoted String Literals.")
1181     (license license:expat)))
1183 (define-public r-pastecs
1184   (package
1185    (name "r-pastecs")
1186    (version "1.3.21")
1187    (source (origin
1188             (method url-fetch)
1189             (uri (cran-uri "pastecs" version))
1190             (sha256
1191              (base32
1192               "0z4dic94ar646w7zc2ggi5hgvf2qnznsani94c5pyql8zspz47lc"))))
1193    (build-system r-build-system)
1194    (propagated-inputs
1195     `(("r-boot" ,r-boot)))
1196    (home-page "http://www.sciviews.org/pastecs")
1197    (synopsis "Analysis of space-time ecological series")
1198    (description
1199     "This package provides functions for regulation, decomposition and analysis
1200 of space-time series.  The @code{pastecs} library is a PNEC-Art4 and IFREMER
1201 initiative to bring PASSTEC 2000 functionalities to R.")
1202    (license license:gpl2+)))
1204 (define-public r-plogr
1205   (package
1206     (name "r-plogr")
1207     (version "0.2.0")
1208     (source
1209      (origin
1210        (method url-fetch)
1211        (uri (cran-uri "plogr" version))
1212        (sha256
1213         (base32
1214          "0a8dhzlna79ggyhfr0nncgh15a9n6r0dsz664pz0ah323wpblqqf"))))
1215     (build-system r-build-system)
1216     (home-page "https://github.com/krlmlr/plogr")
1217     (synopsis "R bindings for the plog C++ logging library")
1218     (description
1219      "This package provides the header files for a stripped-down version of
1220 the plog header-only C++ logging library, and a method to log to R's standard
1221 error stream.")
1222     (license license:expat)))
1224 (define-public r-pls
1225   (package
1226     (name "r-pls")
1227     (version "2.7-1")
1228     (source
1229      (origin
1230        (method url-fetch)
1231        (uri (cran-uri "pls" version))
1232        (sha256
1233         (base32
1234          "0jw3zl5z06023zxr74phnvwax8m3i4a4i6lsqiq6j15aq9zq3zgq"))))
1235     (build-system r-build-system)
1236     (home-page "http://mevik.net/work/software/pls.html")
1237     (synopsis "Partial Least Squares and Principal Component Regression")
1238     (description
1239      "The pls package implements multivariate regression methods: Partial Least
1240 Squares Regression (@dfn{PLSR}), Principal Component Regression (@dfn{PCR}), and
1241 Canonical Powered Partial Least Squares (@dfn{CPPLS}).  It supports:
1243 @itemize
1244 @item several algorithms: the traditional orthogonal scores (@dfn{NIPALS}) PLS
1245 algorithm, kernel PLS, wide kernel PLS, Simpls, and PCR through @code{svd}
1246 @item multi-response models (or @dfn{PLS2})
1247 @item flexible cross-validation
1248 @item Jackknife variance estimates of regression coefficients
1249 @item extensive and flexible plots: scores, loadings, predictions, coefficients,
1250 (R)MSEP, R², and correlation loadings
1251 @item formula interface, modelled after @code{lm()}, with methods for predict,
1252 print, summary, plot, update, etc.
1253 @item extraction functions for coefficients, scores, and loadings
1254 @item MSEP, RMSEP, and R² estimates
1255 @item multiplicative scatter correction (@dfn{MSC})
1256 @end itemize\n")
1257     (license license:gpl2)))
1259 (define-public r-ps
1260   (package
1261     (name "r-ps")
1262     (version "1.3.0")
1263     (source
1264      (origin
1265        (method url-fetch)
1266        (uri (cran-uri "ps" version))
1267        (sha256
1268         (base32 "1lcq7r0q4jb8x6k023zr2ydj2dg925bqqbkhx1phpnyjrk897498"))))
1269     (build-system r-build-system)
1270     (home-page "http://ps.r-lib.org")
1271     (synopsis "List, query, and manipulate system processes")
1272     (description
1273      "The ps package implements an API to list, query, and manipulate system
1274 processes.  Most of its code is based on the @code{psutil} Python package.")
1275     (license license:bsd-3)))
1277 (define-public r-pkgbuild
1278   (package
1279     (name "r-pkgbuild")
1280     (version "1.0.3")
1281     (source
1282      (origin
1283        (method url-fetch)
1284        (uri (cran-uri "pkgbuild" version))
1285        (sha256
1286         (base32
1287          "0k8zwa66rm1ncx19ld5mbaxcjxkswiczpdqyssy44vl8k6scwfn9"))))
1288     (build-system r-build-system)
1289     (propagated-inputs
1290      `(("r-callr" ,r-callr)
1291        ("r-cli" ,r-cli)
1292        ("r-crayon" ,r-crayon)
1293        ("r-desc" ,r-desc)
1294        ("r-prettyunits" ,r-prettyunits)
1295        ("r-r6" ,r-r6)
1296        ("r-rprojroot" ,r-rprojroot)
1297        ("r-withr" ,r-withr)))
1298     (home-page "https://github.com/r-pkgs/pkgbuild")
1299     (synopsis "Find tools needed to build R packages")
1300     (description
1301      "This package provides functions used to build R packages.  It locates
1302 compilers needed to build R packages on various platforms and ensures the PATH
1303 is configured appropriately so R can use them.")
1304     (license license:gpl3)))
1306 (define-public r-pkgload
1307   (package
1308     (name "r-pkgload")
1309     (version "1.0.2")
1310     (source
1311      (origin
1312        (method url-fetch)
1313        (uri (cran-uri "pkgload" version))
1314        (sha256
1315         (base32
1316          "0z7jvharafahi2gv5547mk1n499isjzw06kfwymmxc0gd575d1ii"))))
1317     (build-system r-build-system)
1318     (propagated-inputs
1319      `(("r-desc" ,r-desc)
1320        ("r-pkgbuild" ,r-pkgbuild)
1321        ("r-rlang" ,r-rlang)
1322        ("r-rprojroot" ,r-rprojroot)
1323        ("r-rstudioapi" ,r-rstudioapi)
1324        ("r-withr" ,r-withr)))
1325     (home-page "https://github.com/r-lib/pkgload")
1326     (synopsis "Simulate package installation and attach")
1327     (description
1328      "This package simulates the process of installing a package and then
1329 attaching it.  This is a key part of the @code{devtools} package as it allows
1330 you to rapidly iterate while developing a package.")
1331     (license license:gpl3)))
1333 (define-public r-rcpp
1334   (package
1335     (name "r-rcpp")
1336     (version "1.0.1")
1337     (source
1338      (origin
1339        (method url-fetch)
1340        (uri (cran-uri "Rcpp" version))
1341        (sha256
1342         (base32 "015rmxns8mhmnd9wnz9bmma4iwx2sf4bcwkkp9hcgvdmblzf0vg7"))))
1343     (build-system r-build-system)
1344     (native-inputs
1345      `(("r-knitr" ,r-knitr))) ; for vignettes
1346     (home-page "http://www.rcpp.org")
1347     (synopsis "Seamless R and C++ integration")
1348     (description
1349      "The Rcpp package provides R functions as well as C++ classes which offer
1350 a seamless integration of R and C++.  Many R data types and objects can be
1351 mapped back and forth to C++ equivalents which facilitates both writing of new
1352 code as well as easier integration of third-party libraries.  Documentation
1353 about Rcpp is provided by several vignettes included in this package, via the
1354 @code{Rcpp Gallery} site at <http://gallery.rcpp.org>, the paper by Eddelbuettel
1355 and Francois (2011, JSS), and the book by Eddelbuettel (2013, Springer); see
1356 @code{citation(\"Rcpp\")} for details on these last two.")
1357     (license license:gpl2+)))
1359 (define-public r-bindr
1360   (package
1361     (name "r-bindr")
1362     (version "0.1.1")
1363     (source
1364      (origin
1365        (method url-fetch)
1366        (uri (cran-uri "bindr" version))
1367        (sha256
1368         (base32
1369          "1l05fpk2yql3jka321c0bdgx6mqq9pvfrg2844lbjfpbgjkmqy3w"))))
1370     (build-system r-build-system)
1371     (home-page "https://github.com/krlmlr/bindr")
1372     (synopsis "Parametrized active bindings")
1373     (description
1374      "This package provides a simple interface for creating active bindings
1375 where the bound function accepts additional arguments.")
1376     (license license:expat)))
1378 (define-public r-bindrcpp
1379   (package
1380     (name "r-bindrcpp")
1381     (version "0.2.2")
1382     (source
1383      (origin
1384        (method url-fetch)
1385        (uri (cran-uri "bindrcpp" version))
1386        (sha256
1387         (base32
1388          "0rz4ibjdjsxl99ff3ha79z7cnjmilx4rx58fk9kk7ld9xc4hf4s8"))))
1389     (build-system r-build-system)
1390     (propagated-inputs
1391      `(("r-bindr" ,r-bindr)
1392        ("r-plogr" ,r-plogr)
1393        ("r-rcpp" ,r-rcpp)))
1394     (home-page "https://github.com/krlmlr/bindrcpp")
1395     (synopsis "Rcpp interface to active bindings")
1396     (description
1397      "This package provides an easy way to fill an environment with active
1398 bindings that call a C++ function.")
1399     (license license:expat)))
1401 (define-public r-auc
1402   (package
1403     (name "r-auc")
1404     (version "0.3.0")
1405     (source
1406      (origin
1407        (method url-fetch)
1408        (uri (cran-uri "AUC" version))
1409        (sha256
1410         (base32
1411          "0ripcib2qz0m7rgr1kiz68nx8f6p408l1ww7j78ljqik7p3g41g7"))))
1412     (properties `((upstream-name . "AUC")))
1413     (build-system r-build-system)
1414     (home-page "https://cran.r-project.org/web/packages/AUC")
1415     (synopsis "Compute the area under the curve of selected measures")
1416     (description
1417      "This package includes functions to compute the area under the curve of
1418 selected measures: the area under the sensitivity curve (AUSEC), the area
1419 under the specificity curve (AUSPC), the area under the accuracy
1420 curve (AUACC), and the area under the receiver operating characteristic
1421 curve (AUROC).  The curves can also be visualized.  Support for partial areas
1422 is provided.")
1423     (license license:gpl2+)))
1425 (define-public r-calibrate
1426   (package
1427     (name "r-calibrate")
1428     (version "1.7.2")
1429     (source
1430      (origin
1431        (method url-fetch)
1432        (uri (cran-uri "calibrate" version))
1433        (sha256
1434         (base32
1435          "010nb1nb9y7zhw2k6d2i2drwy5brp7b83mjj2w7i3wjp9xb6l1kq"))))
1436     (build-system r-build-system)
1437     (propagated-inputs
1438      `(("r-mass" ,r-mass)))
1439     (home-page "https://cran.r-project.org/web/packages/calibrate")
1440     (synopsis "Calibration of scatterplot and biplot axes")
1441     (description
1442      "This is a package for drawing calibrated scales with tick marks
1443 on (non-orthogonal) variable vectors in scatterplots and biplots.")
1444     (license license:gpl2)))
1446 (define-public r-shape
1447   (package
1448     (name "r-shape")
1449     (version "1.4.4")
1450     (source
1451      (origin
1452        (method url-fetch)
1453        (uri (cran-uri "shape" version))
1454        (sha256
1455         (base32
1456          "0hadk3mapkhbh8xjkiz52vxdagmmgvm15xwpzb90ikw4giyipjzl"))))
1457     (build-system r-build-system)
1458     (home-page "https://cran.r-project.org/web/packages/shape")
1459     (synopsis "Functions for plotting graphical shapes")
1460     (description
1461      "This package provides functions for plotting graphical shapes such as
1462 ellipses, circles, cylinders, arrows, ...")
1463     (license license:gpl3+)))
1465 (define-public r-globaloptions
1466   (package
1467     (name "r-globaloptions")
1468     (version "0.1.0")
1469     (source
1470      (origin
1471        (method url-fetch)
1472        (uri (cran-uri "GlobalOptions" version))
1473        (sha256
1474         (base32
1475          "1wlyqz1yhmhjwslrd7q69jbd9vsbjkjfc01g60kl3cdpyr8hlyjn"))))
1476     (properties `((upstream-name . "GlobalOptions")))
1477     (build-system r-build-system)
1478     (home-page "https://github.com/jokergoo/GlobalOptions")
1479     (synopsis "Generate functions to get or set global options")
1480     (description
1481      "This package provides more controls on the option values such as
1482 validation and filtering on the values, making options invisible or private.")
1483     (license license:gpl2+)))
1485 (define-public r-circlize
1486   (package
1487     (name "r-circlize")
1488     (version "0.4.6")
1489     (source
1490      (origin
1491        (method url-fetch)
1492        (uri (cran-uri "circlize" version))
1493        (sha256
1494         (base32
1495          "1yjnb88pnzk5c1p0vjxykc7cr3394ln5axviqcf12ajibvy8rj6f"))))
1496     (build-system r-build-system)
1497     (propagated-inputs
1498      `(("r-colorspace" ,r-colorspace)
1499        ("r-globaloptions" ,r-globaloptions)
1500        ("r-shape" ,r-shape)))
1501     (home-page "https://github.com/jokergoo/circlize")
1502     (synopsis "Circular visualization")
1503     (description
1504      "Circular layout is an efficient way to visualise huge amounts of
1505 information.  This package provides an implementation of circular layout
1506 generation in R as well as an enhancement of available software.  Its
1507 flexibility is based on the usage of low-level graphics functions such that
1508 self-defined high-level graphics can be easily implemented by users for
1509 specific purposes.  Together with the seamless connection between the powerful
1510 computational and visual environment in R, it gives users more convenience and
1511 freedom to design figures for better understanding complex patterns behind
1512 multi-dimensional data.")
1513     (license license:gpl2+)))
1515 (define-public r-powerlaw
1516   (package
1517     (name "r-powerlaw")
1518     (version "0.70.2")
1519     (source
1520      (origin
1521        (method url-fetch)
1522        (uri (cran-uri "poweRlaw" version))
1523        (sha256
1524         (base32
1525          "1asr6ikr7hmj78jyg8r1gwvcjg14addkxdiz92nh06lv71a183r4"))))
1526     (properties `((upstream-name . "poweRlaw")))
1527     (build-system r-build-system)
1528     (propagated-inputs
1529      `(("r-vgam" ,r-vgam)))
1530     (home-page "https://github.com/csgillespie/poweRlaw")
1531     (synopsis "Tools for the analysis of heavy tailed distributions")
1532     (description
1533      "This package provides an implementation of maximum likelihood estimators
1534 for a variety of heavy tailed distributions, including both the discrete and
1535 continuous power law distributions.  Additionally, a goodness-of-fit based
1536 approach is used to estimate the lower cut-off for the scaling region.")
1537     ;; Any of these GPL versions.
1538     (license (list license:gpl2 license:gpl3))))
1540 (define-public r-compare
1541   (package
1542     (name "r-compare")
1543     (version "0.2-6")
1544     (source
1545      (origin
1546        (method url-fetch)
1547        (uri (cran-uri "compare" version))
1548        (sha256
1549         (base32
1550          "0k9zms930b5dz9gy8414li21wy0zg9x9vp7301v5cvyfi0g7xzgw"))))
1551     (build-system r-build-system)
1552     (home-page "https://cran.r-project.org/web/packages/compare")
1553     (synopsis "Comparing objects for differences")
1554     (description
1555      "This package provides functions to compare a model object to a
1556 comparison object.  If the objects are not identical, the functions can be
1557 instructed to explore various modifications of the objects (e.g., sorting
1558 rows, dropping names) to see if the modified versions are identical.")
1559     (license license:gpl2+)))
1561 (define-public r-dendextend
1562   (package
1563     (name "r-dendextend")
1564     (version "1.10.0")
1565     (source
1566      (origin
1567        (method url-fetch)
1568        (uri (cran-uri "dendextend" version))
1569        (sha256
1570         (base32
1571          "091jznl549d44w1h8kk1vwddzhijkyh0wpgkykd494fnc8rzpw48"))))
1572     (build-system r-build-system)
1573     (propagated-inputs
1574      `(("r-fpc" ,r-fpc)
1575        ("r-ggplot2" ,r-ggplot2)
1576        ("r-magrittr" ,r-magrittr)
1577        ("r-viridis" ,r-viridis)
1578        ("r-whisker" ,r-whisker)))
1579     (home-page "https://cran.r-project.org/web/packages/dendextend")
1580     (synopsis "Extending 'dendrogram' functionality in R")
1581     (description
1582      "This package offers a set of functions for extending @code{dendrogram}
1583 objects in R, letting you visualize and compare trees of hierarchical
1584 clusterings.  You can adjust a tree's graphical parameters (the color, size,
1585 type, etc of its branches, nodes and labels) and visually and statistically
1586 compare different dendrograms to one another.")
1587     ;; Any of these versions
1588     (license (list license:gpl2 license:gpl3))))
1590 (define-public r-getoptlong
1591   (package
1592     (name "r-getoptlong")
1593     (version "0.1.7")
1594     (source
1595      (origin
1596        (method url-fetch)
1597        (uri (cran-uri "GetoptLong" version))
1598        (sha256
1599         (base32
1600          "1fl3w2n602ldybc5qj7qw4xmzzb804bsjkqwf6dswzj0vf0qiadr"))))
1601     (properties `((upstream-name . "GetoptLong")))
1602     (build-system r-build-system)
1603     (inputs
1604      `(("perl" ,perl)))
1605     (propagated-inputs
1606      `(("r-globaloptions" ,r-globaloptions)
1607        ("r-rjson" ,r-rjson)))
1608     (home-page "https://github.com/jokergoo/GetoptLong")
1609     (synopsis "Parsing command-line arguments and variable interpolation")
1610     (description
1611      "This is yet another command-line argument parser which wraps the
1612 powerful Perl module @code{Getopt::Long} and with some adaptation for easier
1613 use in R.  It also provides a simple way for variable interpolation in R.")
1614     (license license:gpl2+)))
1616 (define-public r-fastmatch
1617   (package
1618     (name "r-fastmatch")
1619     (version "1.1-0")
1620     (source
1621      (origin
1622        (method url-fetch)
1623        (uri (cran-uri "fastmatch" version))
1624        (sha256
1625         (base32
1626          "0z80jxkygmzn11sq0c2iz357s9bpki548lg926g85gldhfj1md90"))))
1627     (build-system r-build-system)
1628     (home-page "http://www.rforge.net/fastmatch")
1629     (synopsis "Fast match function")
1630     (description
1631      "This package provides a fast @code{match} replacement for cases that
1632 require repeated look-ups.  It is slightly faster that R's built-in
1633 @code{match} function on first match against a table, but extremely fast on
1634 any subsequent lookup as it keeps the hash table in memory.")
1635     (license license:gpl2)))
1637 (define-public r-ff
1638   (package
1639     (name "r-ff")
1640     (version "2.2-14")
1641     (source
1642      (origin
1643        (method url-fetch)
1644        (uri (cran-uri "ff" version))
1645        (sha256
1646         (base32
1647          "1w724q4jpzbvzpilb2ifviaxkjgk9lzwxz9gksnvicbmfa20fqqw"))))
1648     (build-system r-build-system)
1649     (propagated-inputs `(("r-bit" ,r-bit)))
1650     (home-page "http://ff.r-forge.r-project.org/")
1651     (synopsis "Memory-efficient storage of large data on disk and access functions")
1652     (description
1653      "This package provides data structures that are stored on disk but
1654 behave (almost) as if they were in RAM by transparently mapping only a section
1655 in main memory.")
1656     ;; error Architecture not supported.
1657     (supported-systems (delete "aarch64-linux" %supported-systems))
1658     (license license:gpl2)))
1660 (define-public r-ffbase
1661   (package
1662     (name "r-ffbase")
1663     (version "0.12.7")
1664     (source
1665      (origin
1666        (method url-fetch)
1667        (uri (cran-uri "ffbase" version))
1668        (sha256
1669         (base32
1670          "04kxx2f3f0743c5nvpb7x1x0pcd220dazpd5ag1pidxbz3xa85nw"))))
1671     (build-system r-build-system)
1672     (propagated-inputs
1673      `(("r-bit" ,r-bit)
1674        ("r-fastmatch" ,r-fastmatch)
1675        ("r-ff" ,r-ff)))
1676     (home-page "http://github.com/edwindj/ffbase")
1677     (synopsis "Basic statistical functions for package 'ff'")
1678     (description
1679      "This package extends the out of memory vectors of @code{ff} with
1680 statistical functions and other utilities to ease their usage.")
1681     (license license:gpl3)))
1683 (define-public r-prettyunits
1684   (package
1685     (name "r-prettyunits")
1686     (version "1.0.2")
1687     (source
1688      (origin
1689        (method url-fetch)
1690        (uri (cran-uri "prettyunits" version))
1691        (sha256
1692         (base32
1693          "0p3z42hnk53x7ky4d1dr2brf7p8gv3agxr71i99m01n2hq2ri91m"))))
1694     (build-system r-build-system)
1695     (propagated-inputs
1696      `(("r-assertthat" ,r-assertthat)
1697        ("r-magrittr" ,r-magrittr)))
1698     (home-page "https://github.com/gaborcsardi/prettyunits")
1699     (synopsis "Pretty, human readable formatting of quantities")
1700     (description
1701      "This package provides tools for pretty, human readable formatting of
1702 quantities.")
1703     (license license:expat)))
1705 (define-public r-reshape
1706   (package
1707     (name "r-reshape")
1708     (version "0.8.8")
1709     (source
1710      (origin
1711        (method url-fetch)
1712        (uri (cran-uri "reshape" version))
1713        (sha256
1714         (base32
1715          "0s6i0sqxg1vldxs6miv8mi0zydxbqzgpmzfiwkj8y7jix3yrfmad"))))
1716     (build-system r-build-system)
1717     (propagated-inputs
1718      `(("r-plyr" ,r-plyr)
1719        ("r-rcpp" ,r-rcpp)))
1720     (home-page "http://had.co.nz/reshape")
1721     (synopsis "Flexibly reshape data")
1722     (description
1723      "Flexibly restructure and aggregate data using just two functions:
1724 @code{melt} and @code{cast}.  This package provides them.")
1725     (license license:expat)))
1727 (define-public r-progress
1728   (package
1729     (name "r-progress")
1730     (version "1.2.0")
1731     (source
1732      (origin
1733        (method url-fetch)
1734        (uri (cran-uri "progress" version))
1735        (sha256
1736         (base32
1737          "1rhwm0bdw30z3rvl0bn56xprjl3zrdy7150w4gl4bkvn2d6h9fav"))))
1738     (build-system r-build-system)
1739     (propagated-inputs
1740      `(("r-crayon" ,r-crayon)
1741        ("r-hms" ,r-hms)
1742        ("r-prettyunits" ,r-prettyunits)
1743        ("r-r6" ,r-r6)))
1744     (home-page "https://github.com/gaborcsardi/progress")
1745     (synopsis "Terminal progress bars")
1746     (description
1747      "This package provides configurable progress bars.  They may include
1748 percentage, elapsed time, and/or the estimated completion time.  They work in
1749 terminals, in Emacs ESS, RStudio, Windows Rgui, and the macOS R.app.  The
1750 package also provides a C++ API, that works with or without Rcpp.")
1751     (license license:expat)))
1753 (define-public r-ggally
1754   (package
1755     (name "r-ggally")
1756     (version "1.4.0")
1757     (source
1758      (origin
1759        (method url-fetch)
1760        (uri (cran-uri "GGally" version))
1761        (sha256
1762         (base32
1763          "1zjmcc5bzagvy7c5cmdcl39xmx07fwi98yrj4i05w7y40kqcsiws"))))
1764     (properties `((upstream-name . "GGally")))
1765     (build-system r-build-system)
1766     (inputs
1767      `(("libressl" ,libressl)))
1768     (propagated-inputs
1769      `(("r-ggplot2" ,r-ggplot2)
1770        ("r-gtable" ,r-gtable)
1771        ("r-plyr" ,r-plyr)
1772        ("r-progress" ,r-progress)
1773        ("r-rcolorbrewer" ,r-rcolorbrewer)
1774        ("r-reshape" ,r-reshape)
1775        ("r-rlang" ,r-rlang)))
1776     (home-page "https://ggobi.github.io/ggally")
1777     (synopsis "Extension to ggplot2")
1778     (description
1779      "The R package ggplot2 is a plotting system based on the grammar of
1780 graphics.  GGally extends ggplot2 by adding several functions to reduce the
1781 complexity of combining geometric objects with transformed data.  Some of
1782 these functions include a pairwise plot matrix, a two group pairwise plot
1783 matrix, a parallel coordinates plot, a survival plot, and several functions to
1784 plot networks.")
1785     (license license:gpl2+)))
1787 (define-public r-proxy
1788   (package
1789     (name "r-proxy")
1790     (version "0.4-23")
1791     (source
1792      (origin
1793        (method url-fetch)
1794        (uri (cran-uri "proxy" version))
1795        (sha256
1796         (base32
1797          "17b6qfllqrhzrxqgx7dccffgybnkcria5a68ap5ly3plg04ypm4x"))))
1798     (build-system r-build-system)
1799     (home-page "https://cran.r-project.org/web/packages/proxy")
1800     (synopsis "Distance and similarity measures")
1801     (description
1802      "This package provides an extensible framework for the efficient
1803 calculation of auto- and cross-proximities, along with implementations of the
1804 most popular ones.")
1805     (license license:gpl2)))
1807 (define-public r-sp
1808   (package
1809     (name "r-sp")
1810     (version "1.3-1")
1811     (source
1812      (origin
1813        (method url-fetch)
1814        (uri (cran-uri "sp" version))
1815        (sha256
1816         (base32
1817          "17xm1ig80p9wc860hm3bgishz6lj9fxgwqidj7rkbk4ap99qp62p"))))
1818     (build-system r-build-system)
1819     (propagated-inputs
1820      `(("r-lattice" ,r-lattice)))
1821     (home-page "https://cran.r-project.org/web/packages/sp")
1822     (synopsis "Classes and methods for spatial data")
1823     (description
1824      "This package provides classes and methods for spatial data; the classes
1825 document where the spatial location information resides, for 2D or 3D data.
1826 Utility functions are provided, e.g. for plotting data as maps, spatial
1827 selection, as well as methods for retrieving coordinates, for subsetting,
1828 print, summary, etc.")
1829     (license license:gpl2+)))
1831 (define-public r-rmtstat
1832   (package
1833     (name "r-rmtstat")
1834     (version "0.3")
1835     (source
1836      (origin
1837        (method url-fetch)
1838        (uri (cran-uri "RMTstat" version))
1839        (sha256
1840         (base32
1841          "1nn25q4kmh9kj975sxkrpa97vh5irqrlqhwsfinbck6h6ia4rsw1"))))
1842     (properties `((upstream-name . "RMTstat")))
1843     (build-system r-build-system)
1844     (home-page "https://cran.r-project.org/web/packages/RMTstat")
1845     (synopsis "Distributions, statistics and tests derived from random matrix theory")
1846     (description
1847      "This package provides functions for working with the Tracy-Widom laws
1848 and other distributions related to the eigenvalues of large Wishart
1849 matrices.")
1850     (license license:bsd-3)))
1852 (define-public r-rmpi
1853   (package
1854     (name "r-rmpi")
1855     (version "0.6-9")
1856     (source (origin
1857               (method url-fetch)
1858               (uri (cran-uri "Rmpi" version))
1859               (sha256
1860                (base32
1861                 "1rhycla98hxgnnxlxxldr1x51djak7c2jjvlrv3jcsvgwp1ymqdj"))))
1862     (properties `((upstream-name . "Rmpi")))
1863     (build-system r-build-system)
1864     (arguments
1865      `(#:configure-flags '("--configure-args=\"--with-Rmpi-type=OPENMPI\"")
1866        #:phases (modify-phases %standard-phases
1867                   (add-before 'install 'mpi-setup
1868                     ,%openmpi-setup))))
1869     (inputs
1870      `(("openmpi" ,openmpi)))
1871     (native-inputs
1872      `(("pkg-config" ,pkg-config)))
1873     (home-page "http://www.stats.uwo.ca/faculty/yu/Rmpi")
1874     (synopsis "R interface to message-passing interface (MPI)")
1875     (description
1876      "This package provides an interface (wrapper) to MPI APIs.  It also
1877 provides an interactive R manager and worker environment.")
1878     (license license:gpl2+)))
1880 (define-public r-lmoments
1881   (package
1882     (name "r-lmoments")
1883     (version "1.3-1")
1884     (source
1885      (origin
1886        (method url-fetch)
1887        (uri (cran-uri "Lmoments" version))
1888        (sha256
1889         (base32
1890          "0pc63bj9a8hzr5m3yssrc4kin39fffwkl8rggs3sagzr12d4i7bw"))))
1891     (properties `((upstream-name . "Lmoments")))
1892     (build-system r-build-system)
1893     (propagated-inputs
1894      `(("r-rcpp" ,r-rcpp)
1895        ("r-rcpparmadillo" ,r-rcpparmadillo)))
1896     (home-page "http://www.tilastotiede.fi/juha_karvanen.html")
1897     (synopsis "L-moments and quantile mixtures")
1898     (description
1899      "This package contains functions to estimate L-moments and trimmed
1900 L-moments from the data.  It also contains functions to estimate the
1901 parameters of the normal polynomial quantile mixture and the Cauchy polynomial
1902 quantile mixture from L-moments and trimmed L-moments.")
1903     (license license:gpl2)))
1905 (define-public r-distillery
1906   (package
1907     (name "r-distillery")
1908     (version "1.0-6")
1909     (source
1910      (origin
1911        (method url-fetch)
1912        (uri (cran-uri "distillery" version))
1913        (sha256
1914         (base32
1915          "1mi3ig9jq0kd7yrwc5m37lmrw04p1b4lirnbsxi10z3n5yay4429"))))
1916     (build-system r-build-system)
1917     (home-page "http://www.ral.ucar.edu/staff/ericg")
1918     (synopsis "Functions for confidence intervals and object information")
1919     (description
1920      "This package provides some very simple method functions for confidence
1921 interval calculation and to distill pertinent information from a potentially
1922 complex object; primarily used in common with the packages extRemes and
1923 SpatialVx.")
1924     (license license:gpl2+)))
1926 (define-public r-extremes
1927   (package
1928     (name "r-extremes")
1929     (version "2.0-10")
1930     (source
1931      (origin
1932        (method url-fetch)
1933        (uri (cran-uri "extRemes" version))
1934        (sha256
1935         (base32
1936          "08fj72gpq2d6695hbm3cgwgal64z009ykrirby7g6r0akfcsx5ic"))))
1937     (properties `((upstream-name . "extRemes")))
1938     (build-system r-build-system)
1939     (propagated-inputs
1940      `(("r-distillery" ,r-distillery)
1941        ("r-lmoments" ,r-lmoments)))
1942     (home-page "http://www.assessment.ucar.edu/toolkit/")
1943     (synopsis "Extreme value analysis")
1944     (description
1945      "ExtRemes is a suite of functions for carrying out analyses on the
1946 extreme values of a process of interest; be they block maxima over long blocks
1947 or excesses over a high threshold.")
1948     (license license:gpl2+)))
1950 (define-public r-lmtest
1951   (package
1952     (name "r-lmtest")
1953     (version "0.9-37")
1954     (source
1955      (origin
1956        (method url-fetch)
1957        (uri (cran-uri "lmtest" version))
1958        (sha256
1959         (base32
1960          "02nasm0j2vwkhz11dxqixs23msy1s3yj0jps6949fmgh9gwjkjfx"))))
1961     (build-system r-build-system)
1962     (propagated-inputs
1963      `(("r-zoo" ,r-zoo)))
1964     (native-inputs
1965      `(("gfortran" ,gfortran)))
1966     (home-page "https://cran.r-project.org/web/packages/lmtest")
1967     (synopsis "Testing linear regression models")
1968     (description
1969      "This package provides a collection of tests, data sets, and examples for
1970 diagnostic checking in linear regression models.  Furthermore, some generic
1971 tools for inference in parametric models are provided.")
1972     ;; Either version is okay
1973     (license (list license:gpl2 license:gpl3))))
1975 (define-public r-idr
1976   (package
1977     (name "r-idr")
1978     (version "1.2")
1979     (source (origin
1980               (method url-fetch)
1981               (uri (cran-uri "idr" version))
1982               (sha256
1983                (base32
1984                 "05nvgw1xdg670bsjjrxkgd1mrdkciccpw4krn0zcgdf2r21dzgwb"))))
1985     (build-system r-build-system)
1986     (home-page "https://cran.r-project.org/web/packages/idr/")
1987     (synopsis "Irreproducible discovery rate")
1988     (description
1989      "This is a package for estimating the copula mixture model and plotting
1990 correspondence curves in \"Measuring reproducibility of high-throughput
1991 experiments\" (2011), Annals of Applied Statistics, Vol. 5, No. 3, 1752-1779,
1992 by Li, Brown, Huang, and Bickel")
1993     (license license:gpl2+)))
1995 (define-public r-inline
1996   (package
1997     (name "r-inline")
1998     (version "0.3.15")
1999     (source (origin
2000               (method url-fetch)
2001               (uri (cran-uri "inline" version))
2002               (sha256
2003                (base32
2004                 "0s4wssvpan189fijahknxq5s22ww9bzmdlmyhnra748r7khky17z"))))
2005     (build-system r-build-system)
2006     (home-page "https://cran.r-project.org/web/packages/inline")
2007     (synopsis "Functions to inline C, C++, Fortran function calls from R")
2008     (description
2009      "This package provides functionality to dynamically define R functions
2010 and S4 methods with inlined C, C++ or Fortran code supporting @code{.C} and
2011 @code{.Call} calling conventions.")
2012     ;; Any version of the LGPL.
2013     (license license:lgpl3+)))
2015 (define-public r-bbmle
2016   (package
2017     (name "r-bbmle")
2018     (version "1.0.20")
2019     (source
2020      (origin
2021        (method url-fetch)
2022        (uri (cran-uri "bbmle" version))
2023        (sha256
2024         (base32
2025          "1xzij7swrrzl5ly8l3lw6awh486zcm00251dwqws1y23fbgyh3vc"))))
2026     (build-system r-build-system)
2027     (propagated-inputs
2028      `(("r-lattice" ,r-lattice)
2029        ("r-mass" ,r-mass)
2030        ("r-numderiv" ,r-numderiv)))
2031     (home-page "https://cran.r-project.org/web/packages/bbmle")
2032     (synopsis "Tools for General Maximum Likelihood Estimation")
2033     (description
2034      "This package provides methods and functions for fitting maximum
2035 likelihood models in R.  This package modifies and extends the @code{mle}
2036 classes in the @code{stats4} package.")
2037     ;; Any version of the GPL
2038     (license license:gpl2+)))
2040 (define-public r-emdbook
2041   (package
2042     (name "r-emdbook")
2043     (version "1.3.11")
2044     (source
2045      (origin
2046        (method url-fetch)
2047        (uri (cran-uri "emdbook" version))
2048        (sha256
2049         (base32
2050          "0a515jdzvg87npvrh7md7zp0v5nlz7c2jr7pba5dql6slb0d8j7q"))))
2051     (build-system r-build-system)
2052     (propagated-inputs
2053      `(("r-bbmle" ,r-bbmle)
2054        ("r-coda" ,r-coda)
2055        ("r-lattice" ,r-lattice)
2056        ("r-mass" ,r-mass)
2057        ("r-plyr" ,r-plyr)
2058        ("r-rcpp" ,r-rcpp)))
2059     (home-page "http://www.math.mcmaster.ca/bolker/emdbook")
2060     (synopsis "Support functions and data for \"Ecological Models and Data\"")
2061     (description
2062      "This package provides auxiliary functions and data sets for \"Ecological
2063 Models and Data\", a book presenting maximum likelihood estimation and related
2064 topics for ecologists (ISBN 978-0-691-12522-0).")
2065     ;; Any GPL version
2066     (license (list license:gpl2 license:gpl3))))
2068 (define-public r-lpsolve
2069   (package
2070     (name "r-lpsolve")
2071     (version "5.6.13")
2072     (source
2073      (origin
2074        (method url-fetch)
2075        (uri (cran-uri "lpSolve" version))
2076        (sha256
2077         (base32
2078          "13a9ry8xf5j1f2j6imqrxdgxqz3nqp9sj9b4ivyx9sid459irm6m"))))
2079     (properties `((upstream-name . "lpSolve")))
2080     (build-system r-build-system)
2081     (home-page "https://cran.r-project.org/web/packages/lpSolve")
2082     (synopsis "R interface to Lp_solve to solve linear/integer programs")
2083     (description
2084      "Lp_solve is software for solving linear, integer and mixed integer
2085 programs.  This implementation supplies a \"wrapper\" function in C and some R
2086 functions that solve general linear/integer problems, assignment problems, and
2087 transportation problems.")
2088     (license license:lgpl2.0)))
2090 (define-public r-limsolve
2091   (package
2092     (name "r-limsolve")
2093     (version "1.5.5.3")
2094     (source
2095      (origin
2096        (method url-fetch)
2097        (uri (cran-uri "limSolve" version))
2098        (sha256
2099         (base32
2100          "1ll6ir42h3g2fzf0wqai213bm82gpwjj2hfma2np3mz024sc09rg"))))
2101     (properties `((upstream-name . "limSolve")))
2102     (build-system r-build-system)
2103     (propagated-inputs
2104      `(("r-lpsolve" ,r-lpsolve)
2105        ("r-mass" ,r-mass)
2106        ("r-quadprog" ,r-quadprog)))
2107     (native-inputs `(("gfortran" ,gfortran)))
2108     (home-page "https://cran.r-project.org/web/packages/limSolve")
2109     (synopsis "Solving linear inverse models")
2110     (description
2111      "This package provides functions that:
2113 @enumerate
2114 @item find the minimum/maximum of a linear or quadratic function,
2115 @item sample an underdetermined or overdetermined system,
2116 @item solve a linear system Ax=B for the unknown x.
2117 @end enumerate
2119 It includes banded and tridiagonal linear systems.  The package calls Fortran
2120 functions from LINPACK.")
2121     ;; Any GPL version.
2122     (license (list license:gpl2+ license:gpl3+))))
2124 (define-public r-fitdistrplus
2125   (package
2126     (name "r-fitdistrplus")
2127     (version "1.0-14")
2128     (source
2129      (origin
2130        (method url-fetch)
2131        (uri (cran-uri "fitdistrplus" version))
2132        (sha256
2133         (base32
2134          "10q08wsv8v3w7797jdvvv60bgrf1bi6438wf0jcqv81ays82a245"))))
2135     (build-system r-build-system)
2136     (propagated-inputs
2137      `(("r-mass" ,r-mass)
2138        ("r-npsurv" ,r-npsurv)
2139        ("r-survival" ,r-survival)))
2140     (home-page "http://riskassessment.r-forge.r-project.org")
2141     (synopsis "Fitting a parametric distribution from data")
2142     (description
2143      "This package extends the @code{fitdistr} function of the MASS package
2144 with several functions to help the fit of a parametric distribution to
2145 non-censored or censored data.  Censored data may contain left-censored,
2146 right-censored and interval-censored values, with several lower and upper
2147 bounds.  In addition to @dfn{maximum likelihood estimation} (MLE), the package
2148 provides moment matching (MME), quantile matching (QME) and maximum
2149 goodness-of-fit estimation (MGE) methods (available only for non-censored
2150 data).  Weighted versions of MLE, MME and QME are available.")
2151     (license license:gpl2+)))
2153 (define-public r-energy
2154   (package
2155     (name "r-energy")
2156     (version "1.7-5")
2157     (source
2158      (origin
2159        (method url-fetch)
2160        (uri (cran-uri "energy" version))
2161        (sha256
2162         (base32
2163          "15k9dg0a82cs9ypm0wpcsff3il1hzhnnv86dv5ngby1r144czhi4"))))
2164     (build-system r-build-system)
2165     (propagated-inputs
2166      `(("r-boot" ,r-boot)
2167        ("r-rcpp" ,r-rcpp)))
2168     (home-page "https://cran.r-project.org/web/packages/energy")
2169     (synopsis "Multivariate inference via the energy of data")
2170     (description
2171      "This package provides e-statistics (energy) tests and statistics for
2172 multivariate and univariate inference, including distance correlation,
2173 one-sample, two-sample, and multi-sample tests for comparing multivariate
2174 distributions, are implemented.  Measuring and testing multivariate
2175 independence based on distance correlation, partial distance correlation,
2176 multivariate goodness-of-fit tests, clustering based on energy distance,
2177 testing for multivariate normality, distance components (disco) for
2178 non-parametric analysis of structured data, and other energy
2179 statistics/methods are implemented.")
2180     (license license:gpl2+)))
2182 (define-public r-suppdists
2183   (package
2184     (name "r-suppdists")
2185     (version "1.1-9.4")
2186     (source
2187      (origin
2188        (method url-fetch)
2189        (uri (cran-uri "SuppDists" version))
2190        (sha256
2191         (base32
2192          "1ffx8wigqqvz2pnh06jjc0fnf4vq9z2rhwk2y3f9aszn18ap3dgw"))))
2193     (properties `((upstream-name . "SuppDists")))
2194     (build-system r-build-system)
2195     (home-page "https://cran.r-project.org/web/packages/SuppDists")
2196     (synopsis "Supplementary distributions")
2197     (description
2198      "This package provides ten distributions supplementing those built into
2199 R.  Inverse Gauss, Kruskal-Wallis, Kendall's Tau, Friedman's chi squared,
2200 Spearman's rho, maximum F ratio, the Pearson product moment correlation
2201 coefficient, Johnson distributions, normal scores and generalized
2202 hypergeometric distributions.  In addition two random number generators of
2203 George Marsaglia are included.")
2204     (license license:gpl2+)))
2206 (define-public r-ksamples
2207   (package
2208     (name "r-ksamples")
2209     (version "1.2-8")
2210     (source
2211      (origin
2212        (method url-fetch)
2213        (uri (cran-uri "kSamples" version))
2214        (sha256
2215         (base32
2216          "15d5q5vpp4wx5rk5kjxjdxpwc8mkq5sbdz8gi07iscrvhzb5rzfr"))))
2217     (properties `((upstream-name . "kSamples")))
2218     (build-system r-build-system)
2219     (propagated-inputs
2220      `(("r-suppdists" ,r-suppdists)))
2221     (home-page "https://cran.r-project.org/web/packages/kSamples")
2222     (synopsis "K-Sample rank tests and their combinations")
2223     (description
2224      "This package provides tools to compares k samples using the
2225 Anderson-Darling test, Kruskal-Wallis type tests with different rank score
2226 criteria, Steel's multiple comparison test, and the Jonckheere-Terpstra (JT)
2227 test.  It computes asymptotic, simulated or (limited) exact P-values, all
2228 valid under randomization, with or without ties, or conditionally under random
2229 sampling from populations, given the observed tie pattern.  Except for Steel's
2230 test and the JT test it also combines these tests across several blocks of
2231 samples.")
2232     (license license:gpl2+)))
2234 (define-public r-cvst
2235   (package
2236     (name "r-cvst")
2237     (version "0.2-2")
2238     (source
2239      (origin
2240        (method url-fetch)
2241        (uri (cran-uri "CVST" version))
2242        (sha256
2243         (base32
2244          "05l3yzkfrbds09ah9cdwn2sn4ryhq78lz33ryzrgkv176jc8qjw5"))))
2245     (properties `((upstream-name . "CVST")))
2246     (build-system r-build-system)
2247     (propagated-inputs
2248      `(("r-kernlab" ,r-kernlab)
2249        ("r-matrix" ,r-matrix)))
2250     (home-page "https://cran.r-project.org/web/packages/CVST")
2251     (synopsis "Fast cross-validation via sequential testing")
2252     (description
2253      "This package implements the fast cross-validation via sequential
2254 testing (CVST) procedure.  CVST is an improved cross-validation procedure
2255 which uses non-parametric testing coupled with sequential analysis to
2256 determine the best parameter set on linearly increasing subsets of the data.
2257 Additionally to the CVST the package contains an implementation of the
2258 ordinary k-fold cross-validation with a flexible and powerful set of helper
2259 objects and methods to handle the overall model selection process.  The
2260 implementations of the Cochran's Q test with permutations and the sequential
2261 testing framework of Wald are generic and can therefore also be used in other
2262 contexts.")
2263     (license license:gpl2+)))
2265 (define-public r-squarem
2266   (package
2267     (name "r-squarem")
2268     (version "2017.10-1")
2269     (source
2270      (origin
2271        (method url-fetch)
2272        (uri (cran-uri "SQUAREM" version))
2273        (sha256
2274         (base32
2275          "10xj26x7qjyvzndnbjl5krr9wabnb9cbrnp3m7xg673g8ddr12cv"))))
2276     (properties `((upstream-name . "SQUAREM")))
2277     (build-system r-build-system)
2278     (home-page "http://www.jhsph.edu/agingandhealth/People/Faculty_personal_pages/Varadhan.html")
2279     (synopsis "Squared Extrapolation Methods for Accelerating EM-Like Monotone Algorithms")
2280     (description
2281      "This package provides algorithms for accelerating the convergence of
2282 slow, monotone sequences from smooth, contraction mapping such as the EM
2283 algorithm.  It can be used to accelerate any smooth, linearly convergent
2284 acceleration scheme.  A tutorial style introduction to this package is
2285 available in a vignette.")
2286     (license license:gpl2+)))
2288 (define-public r-lava
2289   (package
2290     (name "r-lava")
2291     (version "1.6.5")
2292     (source
2293      (origin
2294        (method url-fetch)
2295        (uri (cran-uri "lava" version))
2296        (sha256
2297         (base32
2298          "13rlqdg42ylnz4hc932bl50xismrcr4d9ykcd9zs19cw5mckjx0f"))))
2299     (build-system r-build-system)
2300     (propagated-inputs
2301      `(("r-numderiv" ,r-numderiv)
2302        ("r-squarem" ,r-squarem)
2303        ("r-survival" ,r-survival)))
2304     (home-page "https://github.com/kkholst/lava")
2305     (synopsis "Latent variable models")
2306     (description
2307      "This package provides tools for the estimation and simulation of latent
2308 variable models.")
2309     (license license:gpl3)))
2311 (define-public r-drr
2312   (package
2313     (name "r-drr")
2314     (version "0.0.3")
2315     (source
2316      (origin
2317        (method url-fetch)
2318        (uri (cran-uri "DRR" version))
2319        (sha256
2320         (base32
2321          "1yd1fvllfkcrwg9v322n4wkk4q4q84nvy58y4vac9pdr3yf3i4vl"))))
2322     (properties `((upstream-name . "DRR")))
2323     (build-system r-build-system)
2324     (propagated-inputs
2325      `(("r-cvst" ,r-cvst)
2326        ("r-kernlab" ,r-kernlab)
2327        ("r-matrix" ,r-matrix)))
2328     (home-page "https://cran.r-project.org/web/packages/DRR")
2329     (synopsis "Dimensionality reduction via regression")
2330     (description
2331      "This package provides an implementation of dimensionality reduction via
2332 regression using Kernel Ridge Regression.")
2333     (license license:gpl3)))
2335 (define-public r-prodlim
2336   (package
2337     (name "r-prodlim")
2338     (version "2018.04.18")
2339     (source
2340      (origin
2341        (method url-fetch)
2342        (uri (cran-uri "prodlim" version))
2343        (sha256
2344         (base32
2345          "1aslq87sqwikh8chxc378r38146y7kv79zz0kcq3j93ivx7va8jb"))))
2346     (build-system r-build-system)
2347     (propagated-inputs
2348      `(("r-kernsmooth" ,r-kernsmooth)
2349        ("r-lava" ,r-lava)
2350        ("r-rcpp" ,r-rcpp)
2351        ("r-survival" ,r-survival)))
2352     (home-page "https://cran.r-project.org/web/packages/prodlim")
2353     (synopsis "Product-limit estimation for censored event history analysis")
2354     (description
2355      "This package provides a fast and user-friendly implementation of
2356 nonparametric estimators for censored event history (survival) analysis with
2357 the Kaplan-Meier and Aalen-Johansen methods.")
2358     (license license:gpl2+)))
2360 (define-public r-dimred
2361   (package
2362     (name "r-dimred")
2363     (version "0.2.2")
2364     (source
2365      (origin
2366        (method url-fetch)
2367        (uri (cran-uri "dimRed" version))
2368        (sha256
2369         (base32
2370          "0ssy2qriiy6zdawriqcbl67qiq68ipml3frq7aqlq70r2fqyyw48"))))
2371     (properties `((upstream-name . "dimRed")))
2372     (build-system r-build-system)
2373     (propagated-inputs
2374      `(("r-drr" ,r-drr)
2375        ("r-magrittr" ,r-magrittr)))
2376     (home-page "https://github.com/gdkrmr/dimRed")
2377     (synopsis "Framework for dimensionality reduction")
2378     (description
2379      "This package provides a collection of dimensionality reduction
2380 techniques from R packages and provides a common interface for calling the
2381 methods.")
2382     (license license:gpl3)))
2384 (define-public r-timedate
2385   (package
2386     (name "r-timedate")
2387     (version "3043.102")
2388     (source
2389      (origin
2390        (method url-fetch)
2391        (uri (cran-uri "timeDate" version))
2392        (sha256
2393         (base32
2394          "0wvl5pq261rvbgly7vilk3x3m9xk3ly6il1i5scwdf6srl1vlz1p"))))
2395     (properties `((upstream-name . "timeDate")))
2396     (build-system r-build-system)
2397     (home-page "https://www.rmetrics.org")
2398     (synopsis "Chronological and calendar objects")
2399     (description
2400      "This package provides an environment for teaching \"Financial
2401 Engineering and Computational Finance\" and for managing chronological and
2402 calendar objects.")
2403     (license license:gpl2+)))
2405 (define-public r-magic
2406   (package
2407     (name "r-magic")
2408     (version "1.5-9")
2409     (source
2410      (origin
2411        (method url-fetch)
2412        (uri (cran-uri "magic" version))
2413        (sha256
2414         (base32
2415          "0snmdh6vk0p6ar1swsihisinxrx7l8371dri5lk0z24ysgr5w7gs"))))
2416     (build-system r-build-system)
2417     (propagated-inputs
2418      `(("r-abind" ,r-abind)))
2419     (home-page "https://github.com/RobinHankin/magic.git")
2420     (synopsis "Create and investigate magic squares")
2421     (description
2422      "This package provides a collection of efficient, vectorized algorithms
2423 for the creation and investigation of magic squares and hypercubes, including
2424 a variety of functions for the manipulation and analysis of arbitrarily
2425 dimensioned arrays.")
2426     (license license:gpl2)))
2428 (define-public r-rmysql
2429   (package
2430     (name "r-rmysql")
2431     (version "0.10.17")
2432     (source
2433      (origin
2434        (method url-fetch)
2435        (uri (cran-uri "RMySQL" version))
2436        (sha256
2437         (base32
2438          "1xamf99ih44dvaxg5x4ivj0hkqssmabgqd7gh8b8q1srw7yg8kbm"))))
2439     (properties `((upstream-name . "RMySQL")))
2440     (build-system r-build-system)
2441     (inputs
2442      `(("mariadb" ,mariadb)
2443        ("zlib" ,zlib)))
2444     (propagated-inputs
2445      `(("r-dbi" ,r-dbi)))
2446     (home-page "https://github.com/r-dbi/RMySQL")
2447     (synopsis "Database interface and MySQL driver for R")
2448     (description
2449      "This package provides a DBI interface to MySQL / MariaDB.  The RMySQL
2450 package contains an old implementation based on legacy code from S-PLUS which
2451 is being phased out.  A modern MySQL client based on Rcpp is available from
2452 the RMariaDB package.")
2453     (license license:gpl2)))
2455 (define-public r-rpostgresql
2456   (package
2457     (name "r-rpostgresql")
2458     (version "0.6-2")
2459     (source
2460      (origin
2461        (method url-fetch)
2462        (uri (cran-uri "RPostgreSQL" version))
2463        (sha256
2464         (base32
2465          "1mdhw5821v2h7hpa53v10wz53k4i90r0vb6a3dia5gq8f9j1h088"))))
2466     (properties `((upstream-name . "RPostgreSQL")))
2467     (build-system r-build-system)
2468     (inputs
2469      `(("postgresql" ,postgresql)))
2470     (propagated-inputs
2471      `(("r-dbi" ,r-dbi)))
2472     (home-page "https://github.com/tomoakin/RPostgreSQL")
2473     (synopsis "R interface to the PostgreSQL database system")
2474     (description
2475      "This package provides a Database Interface (DBI) compliant driver for R
2476 to access PostgreSQL database systems.")
2477     ;; The whole package is released under GPL version 2.  It includes code
2478     ;; under the PostgreSQL license.
2479     (license license:gpl2)))
2481 (define-public r-geometry
2482   (package
2483     (name "r-geometry")
2484     (version "0.4.1")
2485     (source
2486      (origin
2487        (method url-fetch)
2488        (uri (cran-uri "geometry" version))
2489        (sha256
2490         (base32
2491          "0v3ivaw8vbjyxg08dd573qk3kqfyknj5hli9503dza6p6xz0dzmm"))))
2492     (build-system r-build-system)
2493     (propagated-inputs
2494      `(("r-magic" ,r-magic)
2495        ("r-lpsolve" ,r-lpsolve)
2496        ("r-rcpp" ,r-rcpp)
2497        ("r-rcppprogress" ,r-rcppprogress)))
2498     (home-page "http://geometry.r-forge.r-project.org/")
2499     (synopsis "Mesh generation and surface tesselation")
2500     (description
2501      "This package makes the qhull library available in R, in a similar manner
2502 as in Octave.  Qhull computes convex hulls, Delaunay triangulations, halfspace
2503 intersections about a point, Voronoi diagrams, furthest-site Delaunay
2504 triangulations, and furthest-site Voronoi diagrams.  It runs in 2-d, 3-d, 4-d,
2505 and higher dimensions.  It implements the Quickhull algorithm for computing
2506 the convex hull.  Qhull does not support constrained Delaunay triangulations,
2507 or mesh generation of non-convex objects, but the package does include some R
2508 functions that allow for this.  Currently the package only gives access to
2509 Delaunay triangulation and convex hull computation.")
2510     ;; The Qhull sources are included and are distributed under a custom
2511     ;; non-copyleft license.  The R sources are released under GPL version 2.
2512     (license (list license:gpl2
2513                    (license:non-copyleft "http://www.qhull.org/COPYING.txt")))))
2515 (define-public r-ddalpha
2516   (package
2517     (name "r-ddalpha")
2518     (version "1.3.9")
2519     (source
2520      (origin
2521        (method url-fetch)
2522        (uri (cran-uri "ddalpha" version))
2523        (sha256
2524         (base32
2525          "1vzs0cvl6xw3h9i00rg3hs02xwgxcnh8326y10kxmhs3qq4m7nb2"))))
2526     (build-system r-build-system)
2527     (propagated-inputs
2528      `(("r-bh" ,r-bh)
2529        ("r-class" ,r-class)
2530        ("r-geometry" ,r-geometry)
2531        ("r-mass" ,r-mass)
2532        ("r-rcpp" ,r-rcpp)
2533        ("r-robustbase" ,r-robustbase)
2534        ("r-sfsmisc" ,r-sfsmisc)))
2535     (native-inputs
2536      `(("gfortran" ,gfortran)))
2537     (home-page "https://cran.r-project.org/web/packages/ddalpha")
2538     (synopsis "Depth-Based classification and calculation of data depth")
2539     (description
2540      "This package contains procedures for depth-based supervised learning,
2541 which are entirely non-parametric, in particular the DDalpha-procedure (Lange,
2542 Mosler and Mozharovskyi, 2014).  The training data sample is transformed by a
2543 statistical depth function to a compact low-dimensional space, where the final
2544 classification is done.  It also offers an extension to functional data and
2545 routines for calculating certain notions of statistical depth functions.  50
2546 multivariate and 5 functional classification problems are included.")
2547     (license license:gpl2)))
2549 (define-public r-gower
2550   (package
2551     (name "r-gower")
2552     (version "0.2.0")
2553     (source
2554      (origin
2555        (method url-fetch)
2556        (uri (cran-uri "gower" version))
2557        (sha256
2558         (base32
2559          "0x16k0nixgbayh3g4didacn0gmnl5fdfxa0l323phphmimyj49zl"))))
2560     (build-system r-build-system)
2561     (home-page "https://github.com/markvanderloo/gower")
2562     (synopsis "Gower's distance")
2563     (description
2564      "This package provides tools to compute Gower's distance (or similarity)
2565 coefficient between records, and to compute the top-n matches between records.
2566 Core algorithms are executed in parallel on systems supporting OpenMP.")
2567     (license license:gpl3)))
2569 (define-public r-rcpproll
2570   (package
2571     (name "r-rcpproll")
2572     (version "0.3.0")
2573     (source
2574      (origin
2575        (method url-fetch)
2576        (uri (cran-uri "RcppRoll" version))
2577        (sha256
2578         (base32
2579          "0srzfhzkk42kzrdjnhbb37946jp1p688rgysy6k3i2is8jb21zyb"))))
2580     (properties `((upstream-name . "RcppRoll")))
2581     (build-system r-build-system)
2582     (propagated-inputs
2583      `(("r-rcpp" ,r-rcpp)))
2584     (home-page "https://cran.r-project.org/web/packages/RcppRoll")
2585     (synopsis "Efficient rolling and windowed operations")
2586     (description
2587      "This package provides fast and efficient routines for common rolling /
2588 windowed operations.  Routines for the efficient computation of windowed mean,
2589 median, sum, product, minimum, maximum, standard deviation and variance are
2590 provided.")
2591     (license license:gpl2+)))
2593 (define-public r-ipred
2594   (package
2595     (name "r-ipred")
2596     (version "0.9-9")
2597     (source
2598      (origin
2599        (method url-fetch)
2600        (uri (cran-uri "ipred" version))
2601        (sha256
2602         (base32
2603          "0vs1hqfx7yd0xdbmfsf2gim7spkni0845cj6gswn0nhdfdq7ma0d"))))
2604     (build-system r-build-system)
2605     (propagated-inputs
2606      `(("r-class" ,r-class)
2607        ("r-mass" ,r-mass)
2608        ("r-nnet" ,r-nnet)
2609        ("r-prodlim" ,r-prodlim)
2610        ("r-rpart" ,r-rpart)
2611        ("r-survival" ,r-survival)))
2612     (home-page "https://cran.r-project.org/web/packages/ipred")
2613     (synopsis "Improved predictors")
2614     (description
2615      "This package provides improved predictive models by indirect
2616 classification and bagging for classification, regression and survival
2617 problems as well as resampling based estimators of prediction error.")
2618     (license license:gpl2+)))
2620 (define-public r-psych
2621   (package
2622     (name "r-psych")
2623     (version "1.8.12")
2624     (source
2625      (origin
2626        (method url-fetch)
2627        (uri (cran-uri "psych" version))
2628        (sha256
2629         (base32
2630          "0hvp0dkkkn0szaf5rkirr3kb8qmr4bxwl775m5wmpvn1kc25w5vf"))))
2631     (build-system r-build-system)
2632     (propagated-inputs
2633      `(("r-foreign" ,r-foreign)
2634        ("r-lattice" ,r-lattice)
2635        ("r-mnormt" ,r-mnormt)
2636        ("r-nlme" ,r-nlme)))
2637     (home-page "https://cran.r-project.org/web/packages/psych/")
2638     (synopsis "Procedures for psychological, psychometric, and personality research")
2639     (description
2640      "This package provides a general purpose toolbox for personality,
2641 psychometric theory and experimental psychology.  Functions are primarily for
2642 multivariate analysis and scale construction using factor analysis, principal
2643 component analysis, cluster analysis and reliability analysis, although others
2644 provide basic descriptive statistics.  Item Response Theory is done using
2645 factor analysis of tetrachoric and polychoric correlations.  Functions for
2646 analyzing data at multiple levels include within and between group statistics,
2647 including correlations and factor analysis.  Functions for simulating and
2648 testing particular item and test structures are included.  Several functions
2649 serve as a useful front end for structural equation modeling.  Graphical
2650 displays of path diagrams, factor analysis and structural equation models are
2651 created using basic graphics.")
2652     (license license:gpl2+)))
2654 (define-public r-generics
2655   (package
2656     (name "r-generics")
2657     (version "0.0.2")
2658     (source
2659      (origin
2660        (method url-fetch)
2661        (uri (cran-uri "generics" version))
2662        (sha256
2663         (base32
2664          "0xk1xhpy7gpv3pvaygzhpfdxj72zmb38pb4nscfyg2ff36vx3cvi"))))
2665     (build-system r-build-system)
2666     (home-page "https://github.com/r-lib/generics")
2667     (synopsis "Common S3 generics not provided by base R methods")
2668     (description
2669      "In order to reduce potential package dependencies and conflicts,
2670 generics provides a number of commonly used S3 generics that are not provided
2671 by base R methods related to model fitting.")
2672     (license license:gpl2)))
2674 (define-public r-broom
2675   (package
2676     (name "r-broom")
2677     (version "0.5.2")
2678     (source
2679      (origin
2680        (method url-fetch)
2681        (uri (cran-uri "broom" version))
2682        (sha256
2683         (base32
2684          "0qmclih5dm5sqzy4hplcfy677kr12pm9pnpv3r319g14dd27pbqn"))))
2685     (build-system r-build-system)
2686     (propagated-inputs
2687      `(("r-backports" ,r-backports)
2688        ("r-dplyr" ,r-dplyr)
2689        ("r-generics" ,r-generics)
2690        ("r-nlme" ,r-nlme)
2691        ("r-purrr" ,r-purrr)
2692        ("r-reshape2" ,r-reshape2)
2693        ("r-stringr" ,r-stringr)
2694        ("r-tibble" ,r-tibble)
2695        ("r-tidyr" ,r-tidyr)))
2696     (home-page "https://github.com/tidyverse/broom")
2697     (synopsis "Convert statistical analysis objects into tidy data frames")
2698     (description
2699      "This package provides tools to convert statistical analysis objects from
2700 R into tidy data frames, so that they can more easily be combined, reshaped
2701 and otherwise processed with tools like @code{dplyr}, @code{tidyr} and
2702 @code{ggplot2}.  The package provides three S3 generics: @code{tidy}, which
2703 summarizes a model's statistical findings such as coefficients of a
2704 regression; @code{augment}, which adds columns to the original data such as
2705 predictions, residuals and cluster assignments; and @code{glance}, which
2706 provides a one-row summary of model-level statistics.")
2707     (license license:expat)))
2709 (define-public r-recipes
2710   (package
2711     (name "r-recipes")
2712     (version "0.1.5")
2713     (source
2714      (origin
2715        (method url-fetch)
2716        (uri (cran-uri "recipes" version))
2717        (sha256
2718         (base32
2719          "056zv4vhayyy8q9izcdknbb9hff2gxivg21g5mkssia78vw8g3mg"))))
2720     (build-system r-build-system)
2721     (propagated-inputs
2722      `(("r-dplyr" ,r-dplyr)
2723        ("r-generics" ,r-generics)
2724        ("r-glue" ,r-glue)
2725        ("r-gower" ,r-gower)
2726        ("r-ipred" ,r-ipred)
2727        ("r-lubridate" ,r-lubridate)
2728        ("r-magrittr" ,r-magrittr)
2729        ("r-matrix" ,r-matrix)
2730        ("r-purrr" ,r-purrr)
2731        ("r-rcpproll" ,r-rcpproll)
2732        ("r-rlang" ,r-rlang)
2733        ("r-tibble" ,r-tibble)
2734        ("r-tidyr" ,r-tidyr)
2735        ("r-tidyselect" ,r-tidyselect)
2736        ("r-timedate" ,r-timedate)
2737        ("r-withr" ,r-withr)))
2738     (home-page "https://github.com/topepo/recipes")
2739     (synopsis "Preprocessing tools to create design matrices")
2740     (description
2741      "Recipes is an extensible framework to create and preprocess design
2742 matrices.  Recipes consist of one or more data manipulation and analysis
2743 \"steps\".  Statistical parameters for the steps can be estimated from an
2744 initial data set and then applied to other data sets.  The resulting design
2745 matrices can then be used as inputs into statistical or machine learning
2746 models.")
2747     (license license:gpl2)))
2749 (define-public r-pdist
2750   (package
2751     (name "r-pdist")
2752     (version "1.2")
2753     (source
2754      (origin
2755        (method url-fetch)
2756        (uri (cran-uri "pdist" version))
2757        (sha256
2758         (base32
2759          "18nd3mgad11f2zmwcp0w3sxlch4a9y6wp8dfdyzvjn7y4b4bq0dd"))))
2760     (build-system r-build-system)
2761     (home-page "https://github.com/jeffwong/pdist")
2762     (synopsis "Partitioned distance function")
2763     (description
2764      "Pdist computes the euclidean distance between rows of a matrix X and
2765 rows of another matrix Y.  Previously, this could be done by binding the two
2766 matrices together and calling @code{dist}, but this creates unnecessary
2767 computation by computing the distances between a row of X and another row of
2768 X, and likewise for Y.  Pdist strictly computes distances across the two
2769 matrices, not within the same matrix, making computations significantly faster
2770 for certain use cases.")
2771     (license license:gpl3+)))
2773 (define-public r-ggrepel
2774   (package
2775     (name "r-ggrepel")
2776     (version "0.8.0")
2777     (source
2778      (origin
2779        (method url-fetch)
2780        (uri (cran-uri "ggrepel" version))
2781        (sha256
2782         (base32
2783          "1m3p84d6nh9mzzvxb82vgig3ngcvkz86rjwzl9a66ckdf5p611k3"))))
2784     (build-system r-build-system)
2785     (propagated-inputs
2786      `(("r-ggplot2" ,r-ggplot2)
2787        ("r-rcpp" ,r-rcpp)
2788        ("r-scales" ,r-scales)))
2789     (home-page "http://github.com/slowkow/ggrepel")
2790     (synopsis "Repulsive text and label geometries for ggplot2")
2791     (description
2792      "This package provides text and label geometries for ggplot2 that help to
2793 avoid overlapping text labels.  Labels repel away from each other and away
2794 from the data points.")
2795     (license license:gpl3)))
2797 (define-public r-corrplot
2798   (package
2799     (name "r-corrplot")
2800     (version "0.84")
2801     (source
2802      (origin
2803        (method url-fetch)
2804        (uri (cran-uri "corrplot" version))
2805        (sha256
2806         (base32
2807          "1k03qd8db7pwg1v318xapx5mpiypiz2n07qr19c4b45diri5xkhd"))))
2808     (build-system r-build-system)
2809     (home-page "https://github.com/taiyun/corrplot")
2810     (synopsis "Visualization of a correlation matrix")
2811     (description
2812      "This package provides a graphical display of a correlation matrix or
2813 general matrix.  It also contains some algorithms to do matrix reordering.  In
2814 addition, corrplot is good at details, including choosing color, text labels,
2815 color labels, layout, etc.")
2816     ;; Any version of the GPL
2817     (license license:gpl2+)))
2819 (define-public r-stringdist
2820   (package
2821     (name "r-stringdist")
2822     (version "0.9.5.1")
2823     (source
2824      (origin
2825        (method url-fetch)
2826        (uri (cran-uri "stringdist" version))
2827        (sha256
2828         (base32
2829          "0gap1g9xwhp0zxqsznkc2carpvi80z03prr4q8m528684lznx2xa"))))
2830     (build-system r-build-system)
2831     (home-page "https://github.com/markvanderloo/stringdist")
2832     (synopsis "Approximate string matching and string distance functions")
2833     (description
2834      "This package implements an approximate string matching version of R's
2835 native @code{match} function.  It can calculate various string distances based
2836 on edits (Damerau-Levenshtein, Hamming, Levenshtein, optimal sting alignment),
2837 qgrams (q- gram, cosine, jaccard distance) or heuristic metrics (Jaro,
2838 Jaro-Winkler).  An implementation of soundex is provided as well.  Distances
2839 can be computed between character vectors while taking proper care of encoding
2840 or between integer vectors representing generic sequences.")
2841     (license license:gpl3+)))
2843 (define-public r-ucminf
2844   (package
2845     (name "r-ucminf")
2846     (version "1.1-4")
2847     (source
2848      (origin
2849        (method url-fetch)
2850        (uri (cran-uri "ucminf" version))
2851        (sha256
2852         (base32
2853          "01vggwg1w71k98qs6fhb0x1843vi322mf4g3hbclks94kcpkisx2"))))
2854     (build-system r-build-system)
2855     (native-inputs `(("gfortran" ,gfortran)))
2856     (home-page "https://cran.r-project.org/web/packages/ucminf/")
2857     (synopsis "General-purpose unconstrained non-linear optimization")
2858     (description
2859      "This package provides an implementation of an algorithm for
2860 general-purpose unconstrained non-linear optimization.  The algorithm is of
2861 quasi-Newton type with BFGS updating of the inverse Hessian and soft line
2862 search with a trust region type monitoring of the input to the line search
2863 algorithm.  The interface of @code{ucminf} is designed for easy interchange
2864 with the package @code{optim}.")
2865     (license license:gpl2+)))
2867 (define-public r-ordinal
2868   (package
2869     (name "r-ordinal")
2870     (version "2019.4-25")
2871     (source
2872      (origin
2873        (method url-fetch)
2874        (uri (cran-uri "ordinal" version))
2875        (sha256
2876         (base32
2877          "1pvrkly4x12w32n7w1qljdwzqnlkv7rfa7rx0nz5vbiw29xas4i8"))))
2878     (build-system r-build-system)
2879     (propagated-inputs
2880      `(("r-mass" ,r-mass)
2881        ("r-matrix" ,r-matrix)
2882        ("r-numderiv" ,r-numderiv)
2883        ("r-ucminf" ,r-ucminf)))
2884     (home-page "https://github.com/runehaubo/ordinal")
2885     (synopsis "Regression models for ordinal data")
2886     (description
2887      "This package provides an implementation of cumulative link (mixed)
2888 models also known as ordered regression models, proportional odds models,
2889 proportional hazards models for grouped survival times and ordered models.
2890 Estimation is via maximum likelihood and mixed models are fitted with the
2891 Laplace approximation and adaptive Gauss-Hermite quadrature.")
2892     (license license:gpl2+)))
2894 (define-public r-jomo
2895   (package
2896     (name "r-jomo")
2897     (version "2.6-7")
2898     (source
2899      (origin
2900        (method url-fetch)
2901        (uri (cran-uri "jomo" version))
2902        (sha256
2903         (base32
2904          "0lyvi32aikkvwdj0y2hc13kmmi0cw1icg8z9lcw10l8326sxm0vf"))))
2905     (build-system r-build-system)
2906     (propagated-inputs
2907      `(("r-lme4" ,r-lme4)
2908        ("r-mass" ,r-mass)
2909        ("r-ordinal" ,r-ordinal)
2910        ("r-survival" ,r-survival)))
2911     (home-page "https://cran.r-project.org/web/packages/jomo/")
2912     (synopsis "Multilevel Joint Modelling Multiple Imputation")
2913     (description
2914      "Similarly to Schafer's package pan, jomo is a package for multilevel
2915 joint modelling multiple imputation @url{Carpenter and Kenward (2013),
2916 http://doi.org/10.1002/9781119942283}.  Novel aspects of jomo are the
2917 possibility of handling binary and categorical data through latent normal
2918 variables, the option to use cluster-specific covariance matrices and to
2919 impute compatibly with the substantive model.")
2920     (license license:gpl2)))
2922 (define-public r-pan
2923   (package
2924     (name "r-pan")
2925     (version "1.6")
2926     (source
2927      (origin
2928        (method url-fetch)
2929        (uri (cran-uri "pan" version))
2930        (sha256
2931         (base32
2932          "1dk3jjj826p7xrz10qz04vyc068xnypg7bp0pj4c32z3da0xzh5d"))))
2933     (build-system r-build-system)
2934     (native-inputs `(("gfortran" ,gfortran)))
2935     (home-page "https://cran.r-project.org/web/packages/pan/")
2936     (synopsis "Multiple imputation for multivariate panel or clustered data")
2937     (description
2938      "This package implements multiple imputation for multivariate panel or
2939 clustered data.")
2940     (license license:gpl3)))
2942 (define-public r-mitml
2943   (package
2944     (name "r-mitml")
2945     (version "0.3-7")
2946     (source
2947      (origin
2948        (method url-fetch)
2949        (uri (cran-uri "mitml" version))
2950        (sha256
2951         (base32
2952          "0yqyxkyi1kmv5k63wxj5kkg5g8igk1axk2csb4xhj6wz0p89dxy6"))))
2953     (build-system r-build-system)
2954     (propagated-inputs
2955      `(("r-haven" ,r-haven)
2956        ("r-jomo" ,r-jomo)
2957        ("r-pan" ,r-pan)))
2958     (home-page "https://cran.r-project.org/web/packages/mitml/")
2959     (synopsis "Tools for multiple imputation in multilevel modeling")
2960     (description
2961      "This package provides tools for multiple imputation of missing data in
2962 multilevel modeling.  It includes a user-friendly interface to the packages
2963 pan and jomo, and several functions for visualization, data management and the
2964 analysis of multiply imputed data sets.")
2965     (license license:gpl2+)))
2967 (define-public r-mice
2968   (package
2969     (name "r-mice")
2970     (version "3.4.0")
2971     (source
2972      (origin
2973        (method url-fetch)
2974        (uri (cran-uri "mice" version))
2975        (sha256
2976         (base32
2977          "0rdamj1j9z3kxmi27pc79v6mhh8rgxaxz4xz70ybf8kqh2x66cgm"))))
2978     (build-system r-build-system)
2979     (propagated-inputs
2980      `(("r-broom" ,r-broom)
2981        ("r-dplyr" ,r-dplyr)
2982        ("r-lattice" ,r-lattice)
2983        ("r-mass" ,r-mass)
2984        ("r-mitml" ,r-mitml)
2985        ("r-nnet" ,r-nnet)
2986        ("r-rcpp" ,r-rcpp)
2987        ("r-rlang" ,r-rlang)
2988        ("r-rpart" ,r-rpart)
2989        ("r-survival" ,r-survival)))
2990     (home-page "https://cran.r-project.org/web/packages/mice/")
2991     (synopsis "Multivariate imputation by chained equations")
2992     (description
2993      "Multiple imputation using @dfn{Fully Conditional Specification} (FCS)
2994 implemented by the MICE algorithm as described in @url{Van Buuren and
2995 Groothuis-Oudshoorn (2011), http://doi.org/10.18637/jss.v045.i03}.  Each
2996 variable has its own imputation model.  Built-in imputation models are
2997 provided for continuous data (predictive mean matching, normal), binary
2998 data (logistic regression), unordered categorical data (polytomous logistic
2999 regression) and ordered categorical data (proportional odds).  MICE can also
3000 impute continuous two-level data (normal model, pan, second-level variables).
3001 Passive imputation can be used to maintain consistency between variables.
3002 Various diagnostic plots are available to inspect the quality of the
3003 imputations.")
3004     ;; Any of these two versions.
3005     (license (list license:gpl2 license:gpl3))))
3007 (define-public r-truncnorm
3008   (package
3009     (name "r-truncnorm")
3010     (version "1.0-8")
3011     (source
3012      (origin
3013        (method url-fetch)
3014        (uri (cran-uri "truncnorm" version))
3015        (sha256
3016         (base32
3017          "0zn88wdd58223kibk085rhsikl4yhlrwiyq109hzjg06hy6lwmj9"))))
3018     (build-system r-build-system)
3019     (home-page "https://cran.r-project.org/web/packages/truncnorm/")
3020     (synopsis "Truncated normal distribution")
3021     (description "This package provides functions for the truncated normal
3022 distribution with mean equal to @code{mean} and standard deviation equal to
3023 @code{sd}.  It includes density, distribution, quantile, and expected value
3024 functions, as well as a random generation function.")
3025     (license license:gpl2)))
3027 (define-public r-rsolnp
3028   (package
3029     (name "r-rsolnp")
3030     (version "1.16")
3031     (source
3032      (origin
3033        (method url-fetch)
3034        (uri (cran-uri "Rsolnp" version))
3035        (sha256
3036         (base32
3037          "0w7nkj6igr0gi7r7jg950lsx7dj6aipgxi6vbjsf5f5yc9h7fhii"))))
3038     (properties `((upstream-name . "Rsolnp")))
3039     (build-system r-build-system)
3040     (propagated-inputs
3041      `(("r-truncnorm" ,r-truncnorm)))
3042     (home-page "https://cran.r-project.org/web/packages/Rsolnp/")
3043     (synopsis "General non-linear optimization")
3044     (description "The Rsolnp package implements a general non-linear augmented
3045 Lagrange multiplier method solver, a @dfn{sequential quadratic
3046 programming} (SQP) based solver).")
3047     ;; Any version of the GPL.
3048     (license license:gpl2+)))
3050 (define-public r-hardyweinberg
3051   (package
3052     (name "r-hardyweinberg")
3053     (version "1.6.2")
3054     (source
3055      (origin
3056        (method url-fetch)
3057        (uri (cran-uri "HardyWeinberg" version))
3058        (sha256
3059         (base32
3060          "15i7b444hikkfgqmx2ki827998xwra38k9v7a7kavwz6zmq5mmv9"))))
3061     (properties `((upstream-name . "HardyWeinberg")))
3062     (build-system r-build-system)
3063     (propagated-inputs
3064      `(("r-mice" ,r-mice)
3065        ("r-rcpp" ,r-rcpp)
3066        ("r-rsolnp" ,r-rsolnp)))
3067     (home-page "https://cran.r-project.org/package=HardyWeinberg")
3068     (synopsis "Statistical tests and graphics for Hardy-Weinberg equilibrium")
3069     (description
3070      "This package contains tools for exploring Hardy-Weinberg equilibrium for
3071 diallelic genetic marker data.  All classical tests (chi-square, exact,
3072 likelihood-ratio and permutation tests) for Hardy-Weinberg equilibrium are
3073 included in the package, as well as functions for power computation and for
3074 the simulation of marker data under equilibrium and disequilibrium.  Routines
3075 for dealing with markers on the X-chromosome are included.  Functions for
3076 testing equilibrium in the presence of missing data by using multiple
3077 imputation are also provided.  Implements several graphics for exploring the
3078 equilibrium status of a large set of diallelic markers: ternary plots with
3079 acceptance regions, log-ratio plots and Q-Q plots.")
3080     (license license:gpl2+)))
3082 (define-public r-sm
3083   (package
3084     (name "r-sm")
3085     (version "2.2-5.6")
3086     (source
3087      (origin
3088        (method url-fetch)
3089        (uri (cran-uri "sm" version))
3090        (sha256
3091         (base32
3092          "0c4whcx879gb4lwvqnzxl5n9xgpcqh2c54ip9ami3mwfprzcv45q"))))
3093     (build-system r-build-system)
3094     (native-inputs `(("gfortran" ,gfortran)))
3095     (home-page "http://www.stats.gla.ac.uk/~adrian/sm/")
3096     (synopsis "Smoothing methods for nonparametric regression and density estimation")
3097     (description
3098      "This is software accompanying the book 'Applied Smoothing Techniques for
3099 Data Analysis---The Kernel Approach with S-Plus Illustrations', Oxford
3100 University Press.  It provides smoothing methods for nonparametric regression
3101 and density estimation")
3102     (license license:gpl2+)))
3104 (define-public r-venndiagram
3105   (package
3106     (name "r-venndiagram")
3107     (version "1.6.20")
3108     (source (origin
3109               (method url-fetch)
3110               (uri (cran-uri "VennDiagram" version))
3111               (sha256
3112                (base32
3113                 "1ic1jaxzw98si2p4n1fl4n3myhd7fpw0njb634cwhviwybzv6775"))))
3114     (properties `((upstream-name . "VennDiagram")))
3115     (build-system r-build-system)
3116     (propagated-inputs
3117      `(("r-futile-logger" ,r-futile-logger)))
3118     (home-page "https://cran.r-project.org/web/packages/VennDiagram/")
3119     (synopsis "Generate High-Resolution Venn and Euler Plots")
3120     (description
3121      "This package provides a set of functions to generate high-resolution
3122 Venn and Euler plots.  It includes handling for several special cases,
3123 including two-case scaling, and extensive customization of plot shape and
3124 structure.")
3125     (license license:gpl2+)))
3127 (define-public r-vioplot
3128   (package
3129     (name "r-vioplot")
3130     (version "0.3.0")
3131     (source
3132      (origin
3133        (method url-fetch)
3134        (uri (cran-uri "vioplot" version))
3135        (sha256
3136         (base32
3137          "1ddmmqq7qrnvr5q518afnysrl7ccr8am9njknv3dpwaqzcdr9akn"))))
3138     (build-system r-build-system)
3139     (propagated-inputs
3140      `(("r-sm" ,r-sm)
3141        ("r-zoo" ,r-zoo)))
3142     (home-page "http://wsopuppenkiste.wiso.uni-goettingen.de/~dadler")
3143     (synopsis "Violin plot")
3144     (description
3145      "This package provides a violin plot, which is a combination of a box
3146 plot and a kernel density plot.")
3147     (license license:bsd-3)))
3149 (define-public r-rsofia
3150   (package
3151     (name "r-rsofia")
3152     (version "1.1")
3153     (source (origin
3154               (method url-fetch)
3155               ;; This package has been removed from CRAN, so we can
3156               ;; only fetch it from the archives.
3157               (uri (string-append "https://cran.r-project.org/src/"
3158                                   "contrib/Archive/RSofia/RSofia_"
3159                                   version ".tar.gz"))
3160               (sha256
3161                (base32
3162                 "0q931y9rcf6slb0s2lsxhgqrzy4yqwh8hb1124nxg0bjbxvjbihn"))))
3163     (properties `((upstream-name . "RSofia")))
3164     (build-system r-build-system)
3165     (propagated-inputs
3166      `(("r-rcpp" ,r-rcpp)))
3167     (home-page "https://cran.r-project.org/src/contrib/Archive/RSofia")
3168     (synopsis "Port of sofia-ml to R")
3169     (description "This package is a port of sofia-ml to R.  Sofia-ml is a
3170 suite of fast incremental algorithms for machine learning that can be used for
3171 training models for classification or ranking.")
3172     (license license:asl2.0)))
3174 (define-public r-xts
3175   (package
3176     (name "r-xts")
3177     (version "0.11-2")
3178     (source
3179      (origin
3180        (method url-fetch)
3181        (uri (cran-uri "xts" version))
3182        (sha256
3183         (base32
3184          "1f0kxrvn13py3hk2gh2m56cqm39x3bqp1i350r5viddacrm2yxqj"))))
3185     (build-system r-build-system)
3186     (propagated-inputs `(("r-zoo" ,r-zoo)))
3187     (home-page "https://github.com/joshuaulrich/xts")
3188     (synopsis "Extensible time series")
3189     (description
3190      "This package provides for uniform handling of R's different time-based
3191 data classes by extending @code{zoo}, maximizing native format information
3192 preservation and allowing for user-level customization and extension, while
3193 simplifying cross-class interoperability.")
3194     (license license:gpl2+)))
3196 (define-public r-performanceanalytics
3197   (package
3198     (name "r-performanceanalytics")
3199     (version "1.5.2")
3200     (source
3201      (origin
3202        (method url-fetch)
3203        (uri (cran-uri "PerformanceAnalytics" version))
3204        (sha256
3205         (base32
3206          "01bgm57z079g6r505w3bj293zkbd49fwa8sg55z87vizwavipml6"))))
3207     (properties
3208      `((upstream-name . "PerformanceAnalytics")))
3209     (build-system r-build-system)
3210     (propagated-inputs
3211      `(("r-quadprog" ,r-quadprog)
3212        ("r-xts" ,r-xts)
3213        ("r-zoo" ,r-zoo)))
3214     (home-page "https://r-forge.r-project.org/projects/returnanalytics/")
3215     (synopsis "Econometric tools for performance and risk analysis")
3216     (description "This is a collection of econometric functions for
3217 performance and risk analysis.  This package aims to aid practitioners and
3218 researchers in utilizing the latest research in analysis of non-normal return
3219 streams.  In general, it is most tested on return (rather than price) data on
3220 a regular scale, but most functions will work with irregular return data as
3221 well, and increasing numbers of functions will work with P&L or price data
3222 where possible.")
3223     ;; Either version may be picked.
3224     (license (list license:gpl2 license:gpl3))))
3226 (define-public r-laeken
3227   (package
3228     (name "r-laeken")
3229     (version "0.5.0")
3230     (source
3231      (origin
3232        (method url-fetch)
3233        (uri (cran-uri "laeken" version))
3234        (sha256
3235         (base32
3236          "1g9r3y7b0gl91hijk9awa8rjk97mqpkxinzq2cgmx0m38ng9ylpa"))))
3237     (build-system r-build-system)
3238     (propagated-inputs
3239      `(("r-boot" ,r-boot)
3240        ("r-mass" ,r-mass)))
3241     (home-page "https://cran.r-project.org/web/packages/laeken/")
3242     (synopsis "Estimation of indicators on social exclusion and poverty")
3243     (description "This package provides tools for the estimation of indicators
3244 on social exclusion and poverty, as well as an implementation of Pareto tail
3245 modeling for empirical income distributions.")
3246     (license license:gpl2+)))
3248 (define-public r-vcd
3249   (package
3250     (name "r-vcd")
3251     (version "1.4-4")
3252     (source
3253      (origin
3254        (method url-fetch)
3255        (uri (cran-uri "vcd" version))
3256        (sha256
3257         (base32
3258          "1lp99h0wvsc61l1dgcqjxdrcgpgw88ak430cdsv43kmm43qssqd5"))))
3259     (build-system r-build-system)
3260     (propagated-inputs
3261      `(("r-colorspace" ,r-colorspace)
3262        ("r-lmtest" ,r-lmtest)
3263        ("r-mass" ,r-mass)))
3264     (home-page "https://cran.r-project.org/web/packages/vcd/")
3265     (synopsis "Visualizing categorical data")
3266     (description "This package provides visualization techniques, data sets,
3267 summary and inference procedures aimed particularly at categorical data.
3268 Special emphasis is given to highly extensible grid graphics.  The package was
3269 originally inspired by the book \"Visualizing Categorical Data\" by Michael
3270 Friendly and is now the main support package for a new book, \"Discrete Data
3271 Analysis with R\" by Michael Friendly and David Meyer (2015).")
3272     (license license:gpl2)))
3274 (define-public r-ica
3275   (package
3276     (name "r-ica")
3277     (version "1.0-2")
3278     (source
3279      (origin
3280        (method url-fetch)
3281        (uri (cran-uri "ica" version))
3282        (sha256
3283         (base32
3284          "0ya1nph1zwhad0bfz4yxs27kl45yk1dhnphdlrq34p8pqrpmj8g7"))))
3285     (build-system r-build-system)
3286     (home-page "https://cran.r-project.org/web/packages/ica/")
3287     (synopsis "Independent component analysis")
3288     (description "This package provides tools for @dfn{Independent Component
3289 Analysis} (ICA) using various algorithms: FastICA,
3290 Information-Maximization (Infomax), and @dfn{Joint Approximate Diagonalization
3291 of Eigenmatrices} (JADE).")
3292     (license license:gpl2+)))
3294 (define-public r-dtw
3295   (package
3296     (name "r-dtw")
3297     (version "1.20-1")
3298     (source
3299      (origin
3300        (method url-fetch)
3301        (uri (cran-uri "dtw" version))
3302        (sha256
3303         (base32
3304          "1w301xwizncy5r8v9rwwdxfshydgp3l1pnjla1fjn6n8lx3imjj3"))))
3305     (build-system r-build-system)
3306     (propagated-inputs `(("r-proxy" ,r-proxy)))
3307     (home-page "http://dtw.r-forge.r-project.org/")
3308     (synopsis "Dynamic Time Warping Algorithms")
3309     (description "This package provides a comprehensive implementation of
3310 @dfn{dynamic time warping} (DTW) algorithms in R.  DTW computes the
3311 optimal (least cumulative distance) alignment between points of two time
3312 series.  Common DTW variants covered include local (slope) and global (window)
3313 constraints, subsequence matches, arbitrary distance definitions,
3314 normalizations, minimum variance matching, and so on.")
3315     (license license:gpl2+)))
3317 (define-public r-sdmtools
3318   (package
3319     (name "r-sdmtools")
3320     (version "1.1-221.1")
3321     (source
3322      (origin
3323        (method url-fetch)
3324        (uri (cran-uri "SDMTools" version))
3325        (sha256
3326         (base32
3327          "1fsgnlc7glawimzijp11j53g5bnfp1mdq9wb0754idmxcdi8a99q"))))
3328     (properties `((upstream-name . "SDMTools")))
3329     (build-system r-build-system)
3330     (propagated-inputs `(("r-r-utils" ,r-r-utils)))
3331     (home-page "http://www.rforge.net/SDMTools/")
3332     (synopsis "Species distribution modelling tools")
3333     (description "This packages provides a set of tools for post processing
3334 the outcomes of species distribution modeling exercises.  It includes novel
3335 methods for comparing models and tracking changes in distributions through
3336 time.  It further includes methods for visualizing outcomes, selecting
3337 thresholds, calculating measures of accuracy and landscape fragmentation
3338 statistics, etc.")
3339     (license license:gpl3+)))
3341 (define-public r-scatterplot3d
3342   (package
3343     (name "r-scatterplot3d")
3344     (version "0.3-41")
3345     (source
3346      (origin
3347        (method url-fetch)
3348        (uri (cran-uri "scatterplot3d" version))
3349        (sha256
3350         (base32
3351          "152xqz9c70qab86mpgng049gxsg5f4fpf1m8dh93fb9v1avjd0sc"))))
3352     (build-system r-build-system)
3353     (home-page "https://cran.r-project.org/web/packages/scatterplot3d/")
3354     (synopsis "3D scatter plot")
3355     (description "This package provides an implementation of scatter plots for
3356 plotting.  a three dimensional point cloud.")
3357     (license license:gpl2)))
3359 (define-public r-ggridges
3360   (package
3361     (name "r-ggridges")
3362     (version "0.5.1")
3363     (source
3364      (origin
3365        (method url-fetch)
3366        (uri (cran-uri "ggridges" version))
3367        (sha256
3368         (base32
3369          "0dhwcpy785ac2ny5bjp284595nnybi3554wd0yffsli0vzf7ry01"))))
3370     (build-system r-build-system)
3371     (propagated-inputs
3372      `(("r-ggplot2" ,r-ggplot2)
3373        ("r-plyr" ,r-plyr)
3374        ("r-scales" ,r-scales)
3375        ("r-withr" ,r-withr)))
3376     (home-page "https://github.com/clauswilke/ggridges")
3377     (synopsis "Ridgeline plots in ggplot2")
3378     (description
3379      "Ridgeline plots provide a convenient way of visualizing changes in
3380 distributions over time or space.  This package enables the creation of such
3381 plots in @code{ggplot2}.")
3382     (license license:gpl2)))
3384 (define-public r-ggjoy
3385   (package
3386     (name "r-ggjoy")
3387     (version "0.4.1")
3388     (source
3389      (origin
3390        (method url-fetch)
3391        (uri (cran-uri "ggjoy" version))
3392        (sha256
3393         (base32
3394          "012md2m0jqfcccb933j423m3ck31v3p0pd41gjxpyg9082y7ixyj"))))
3395     (build-system r-build-system)
3396     (propagated-inputs
3397      `(("r-ggplot2" ,r-ggplot2)
3398        ("r-ggridges" ,r-ggridges)))
3399     (home-page "https://github.com/clauswilke/ggjoy")
3400     (synopsis "Joyplots in ggplot2")
3401     (description "Joyplots provide a convenient way of visualizing changes in
3402 distributions over time or space.  This package enables the creation of such
3403 plots in @code{ggplot2}.")
3404     (license license:gpl2)))
3406 (define-public r-cli
3407   (package
3408     (name "r-cli")
3409     (version "1.1.0")
3410     (source
3411      (origin
3412        (method url-fetch)
3413        (uri (cran-uri "cli" version))
3414        (sha256
3415         (base32
3416          "02hdwvdq5nic6dhxj88jbgsc9m8yrz3yibigg6szkggxyk6hzh2g"))))
3417     (build-system r-build-system)
3418     (propagated-inputs
3419      `(("r-assertthat" ,r-assertthat)
3420        ("r-crayon" ,r-crayon)))
3421     (home-page "https://github.com/r-lib/cli#readme")
3422     (synopsis "Helpers for developing command line interfaces")
3423     (description "This package provides a suite of tools designed to build
3424 attractive command line interfaces (CLIs).  It includes tools for drawing
3425 rules, boxes, trees, and Unicode symbols with ASCII alternatives.")
3426     (license license:expat)))
3428 (define-public r-argparser
3429   (package
3430     (name "r-argparser")
3431     (version "0.4")
3432     (source
3433      (origin
3434        (method url-fetch)
3435        (uri (cran-uri "argparser" version))
3436        (sha256
3437         (base32
3438          "0s1wxshx4jk69wfxhycx973q6y8cmqrfymyjklhq1i8xrj0kmmx9"))))
3439     (build-system r-build-system)
3440     (home-page "https://bitbucket.org/djhshih/argparser")
3441     (synopsis "Command-line argument parser")
3442     (description
3443      "This package provides a cross-platform command-line argument parser
3444 written purely in R with no external dependencies.  It is useful with the
3445 Rscript front-end and facilitates turning an R script into an executable
3446 script.")
3447     (license license:gpl3+)))
3449 (define-public r-debugme
3450   (package
3451     (name "r-debugme")
3452     (version "1.1.0")
3453     (source
3454      (origin
3455        (method url-fetch)
3456        (uri (cran-uri "debugme" version))
3457        (sha256
3458         (base32
3459          "1c9sg55zvf10h8198jdnpamm6f66lzw3c3jnmdp9ls6na0j0xbjd"))))
3460     (build-system r-build-system)
3461     (propagated-inputs `(("r-crayon" ,r-crayon)))
3462     (home-page "https://github.com/r-lib/debugme#readme")
3463     (synopsis "Debug R packages")
3464     (description
3465      "This package allows the user to specify debug messages as special string
3466 constants, and control debugging of packages via environment variables.")
3467     (license license:expat)))
3469 (define-public r-processx
3470   (package
3471     (name "r-processx")
3472     (version "3.3.0")
3473     (source
3474      (origin
3475        (method url-fetch)
3476        (uri (cran-uri "processx" version))
3477        (sha256
3478         (base32
3479          "0ipdcl4080z92jdnd1w4hm4w484spxcrp6j5x9p76ksb401qdca1"))))
3480     (build-system r-build-system)
3481     (propagated-inputs
3482      `(("r-ps" ,r-ps)
3483        ("r-r6" ,r-r6)))
3484     (home-page "https://github.com/r-lib/processx3")
3485     (synopsis "Execute and control system processes")
3486     (description
3487      "This package provides portable tools to run system processes in the
3488 background.  It can check if a background process is running; wait on a
3489 background process to finish; get the exit status of finished processes; kill
3490 background processes and their children; restart processes.  It can read the
3491 standard output and error of the processes, using non-blocking connections.
3492 @code{processx} can poll a process for standard output or error, with a
3493 timeout.  It can also poll several processes at once.")
3494     (license license:expat)))
3496 (define-public r-tsp
3497   (package
3498     (name "r-tsp")
3499     (version "1.1-6")
3500     (source
3501      (origin
3502        (method url-fetch)
3503        (uri (cran-uri "TSP" version))
3504        (sha256
3505         (base32
3506          "1ym97xl2icjpfkrici0wig29w06bb704hp51v7h5liygjlwpkhlc"))))
3507     (properties `((upstream-name . "TSP")))
3508     (build-system r-build-system)
3509     (propagated-inputs `(("r-foreach" ,r-foreach)))
3510     (home-page "https://cran.r-project.org/web/packages/TSP/")
3511     (synopsis "Traveling salesperson problem (TSP)")
3512     (description "This package provides basic infrastructure and some
3513 algorithms for the @dfn{traveling salesperson problem}(TSP) (also known as the
3514 traveling salesman problem).")
3515     (license license:gpl3)))
3517 (define-public r-qap
3518   (package
3519     (name "r-qap")
3520     (version "0.1-1")
3521     (source
3522      (origin
3523        (method url-fetch)
3524        (uri (cran-uri "qap" version))
3525        (sha256
3526         (base32
3527          "0d2d1ni1camixyi45lfy00f4pn3p063k7bsi8gj5scp6n15mdgb0"))))
3528     (build-system r-build-system)
3529     (native-inputs `(("gfortran" ,gfortran)))
3530     (home-page "https://cran.r-project.org/web/packages/qap/")
3531     (synopsis "Heuristics for the quadratic assignment problem (QAP)")
3532     (description "This package implements heuristics for the @dfn{quadratic
3533 assignment problem} (QAP).  Currently only a simulated annealing heuristic is
3534 available.")
3535     (license license:gpl3)))
3537 (define-public r-gclus
3538   (package
3539     (name "r-gclus")
3540     (version "1.3.2")
3541     (source
3542      (origin
3543        (method url-fetch)
3544        (uri (cran-uri "gclus" version))
3545        (sha256
3546         (base32
3547          "1cz0g0i972955hhaji30rx8448x7f3as7z1sww9i5h86ybgirilw"))))
3548     (build-system r-build-system)
3549     (propagated-inputs `(("r-cluster" ,r-cluster)))
3550     (home-page "https://cran.r-project.org/web/packages/gclus/")
3551     (synopsis "Clustering graphics")
3552     (description "This package orders panels in scatterplot matrices and
3553 parallel coordinate displays by some merit index.  It contains various indices
3554 of merit, ordering functions, and enhanced versions of @code{pairs} and
3555 @code{parcoord} which color panels according to their merit level.")
3556     (license license:gpl2+)))
3558 (define-public r-webshot
3559   (package
3560     (name "r-webshot")
3561     (version "0.5.1")
3562     (source
3563      (origin
3564        (method url-fetch)
3565        (uri (cran-uri "webshot" version))
3566        (sha256
3567         (base32
3568          "08sb1xi376pfy1vwilk2d68zljsg9yiv04n2dkqz383gdhh0sxdr"))))
3569     (build-system r-build-system)
3570     (propagated-inputs
3571      `(("r-callr" ,r-callr)
3572        ("r-jsonlite" ,r-jsonlite)
3573        ("r-magrittr" ,r-magrittr)))
3574     (home-page "https://github.com/wch/webshot/")
3575     (synopsis "Take screenshots of web pages")
3576     (description
3577      "Webshot makes it easy to take screenshots of web pages from within R.
3578 It can also run Shiny applications locally and take screenshots of the
3579 application; and it can render and screenshot static as well as interactive R
3580 Markdown documents.")
3581     (license license:gpl2)))
3583 (define-public r-seriation
3584   (package
3585     (name "r-seriation")
3586     (version "1.2-3")
3587     (source
3588      (origin
3589        (method url-fetch)
3590        (uri (cran-uri "seriation" version))
3591        (sha256
3592         (base32
3593          "1q6hw4hjw224b4y0dc0j630v2pgj6sn455nwkilb70w8k31hpk92"))))
3594     (build-system r-build-system)
3595     (propagated-inputs
3596      `(("r-cluster" ,r-cluster)
3597        ("r-colorspace" ,r-colorspace)
3598        ("r-dendextend" ,r-dendextend)
3599        ("r-gclus" ,r-gclus)
3600        ("r-gplots" ,r-gplots)
3601        ("r-mass" ,r-mass)
3602        ("r-qap" ,r-qap)
3603        ("r-registry" ,r-registry)
3604        ("r-tsp" ,r-tsp)))
3605     (native-inputs `(("gfortran" ,gfortran)))
3606     (home-page "http://s2.smu.edu/IDA/seriation/")
3607     (synopsis "Infrastructure for ordering objects using seriation")
3608     (description
3609      "This package provides infrastructure for seriation with an
3610 implementation of several seriation/sequencing techniques to reorder matrices,
3611 dissimilarity matrices, and dendrograms.  It also provides (optimally)
3612 reordered heatmaps, color images and clustering visualizations like
3613 dissimilarity plots, and visual assessment of cluster tendency plots (VAT and
3614 iVAT).")
3615     (license license:gpl3)))
3617 (define-public r-xfun
3618   (package
3619     (name "r-xfun")
3620     (version "0.6")
3621     (source
3622      (origin
3623        (method url-fetch)
3624        (uri (cran-uri "xfun" version))
3625        (sha256
3626         (base32
3627          "123wmnykmlq9prqx1g9ij9vyqx25pib2jnqjrwy39rfmzbsypbx3"))))
3628     (build-system r-build-system)
3629     (home-page "https://github.com/yihui/xfun")
3630     (synopsis "Miscellaneous functions")
3631     (description
3632      "This package provides miscellaneous functions commonly used in other
3633 packages maintained by Yihui Xie.")
3634     (license license:expat)))
3636 (define-public r-utf8
3637   (package
3638     (name "r-utf8")
3639     (version "1.1.4")
3640     (source
3641      (origin
3642        (method url-fetch)
3643        (uri (cran-uri "utf8" version))
3644        (sha256
3645         (base32
3646          "0m0ywg8k3blfiahxvh1i4zn9dksrlc937d2lbza5fc38zjnrrnpn"))))
3647     (build-system r-build-system)
3648     (home-page "https://github.com/patperry/r-utf8")
3649     (synopsis "Unicode text processing")
3650     (description
3651      "This package provides tools to process and print UTF-8 encoded
3652 international text (Unicode).  Input, validate, normalize, encode, format, and
3653 display.")
3654     (license license:asl2.0)))
3656 (define-public r-pillar
3657   (package
3658     (name "r-pillar")
3659     (version "1.3.1")
3660     (source
3661      (origin
3662        (method url-fetch)
3663        (uri (cran-uri "pillar" version))
3664        (sha256
3665         (base32
3666          "1xnbb9sr5wn9dmp6m7cr4z7i6pmjvyabnfcx6x7i7mvdjmgvaf5k"))))
3667     (build-system r-build-system)
3668     (propagated-inputs
3669      `(("r-cli" ,r-cli)
3670        ("r-crayon" ,r-crayon)
3671        ("r-fansi" ,r-fansi)
3672        ("r-rlang" ,r-rlang)
3673        ("r-utf8" ,r-utf8)))
3674     (home-page "https://github.com/r-lib/pillar")
3675     (synopsis "Coloured formatting for columns")
3676     (description
3677      "This package provides a @code{pillar} generic designed for formatting
3678 columns of data using the full range of colours provided by modern
3679 terminals.")
3680     (license license:gpl3)))
3682 (define-public r-uuid
3683   (package
3684     (name "r-uuid")
3685     (version "0.1-2")
3686     (source
3687      (origin
3688        (method url-fetch)
3689        (uri (cran-uri "uuid" version))
3690        (sha256
3691         (base32
3692          "1gmisd630fc8ybg845hbg13wmm3pk3npaamrh5wqbc1nqd6p0wfx"))))
3693     (build-system r-build-system)
3694     (home-page "http://www.rforge.net/uuid")
3695     (synopsis "Tools for generating and handling of UUIDs")
3696     (description
3697      "This package provides tools for generating and handling of
3698 @dfn{Universally Unique Identifiers} (UUIDs).")
3699     (license license:expat)))
3701 (define-public r-tinytex
3702   (package
3703     (name "r-tinytex")
3704     (version "0.12")
3705     (source
3706      (origin
3707        (method url-fetch)
3708        (uri (cran-uri "tinytex" version))
3709        (sha256
3710         (base32
3711          "03ggxbd4y1ipcmjw5ixa6g6wg4ydargnln7g08bdrdi96zyyq1fh"))))
3712     (build-system r-build-system)
3713     (propagated-inputs
3714      `(("r-xfun" ,r-xfun)))
3715     (home-page "https://github.com/yihui/tinytex")
3716     (synopsis "Helper functions for TeX Live and compiling LaTeX documents")
3717     (description
3718      "This package provides helper functions to install and maintain the LaTeX
3719 distribution named TinyTeX, a lightweight, cross-platform, portable, and
3720 easy-to-maintain version of TeX Live.  This package also contains helper
3721 functions to compile LaTeX documents, and install missing LaTeX packages
3722 automatically.")
3723     (license license:expat)))
3725 (define-public r-metap
3726   (package
3727     (name "r-metap")
3728     (version "1.1")
3729     (source
3730      (origin
3731        (method url-fetch)
3732        (uri (cran-uri "metap" version))
3733        (sha256
3734         (base32
3735          "10kv7z8pik5iy374h399vws0ldf41y2nczlwh8axqf9dcwl084i0"))))
3736     (build-system r-build-system)
3737     (propagated-inputs
3738      `(("r-lattice" ,r-lattice)
3739        ("r-rdpack" ,r-rdpack)))
3740     (home-page "http://www.dewey.myzen.co.uk/meta/meta.html")
3741     (synopsis "Meta-analysis of significance values")
3742     (description
3743      "The canonical way to perform meta-analysis involves using effect sizes.
3744 When they are not available this package provides a number of methods for
3745 meta-analysis of significance values including the methods of Edgington,
3746 Fisher, Stouffer, Tippett, and Wilkinson; a number of data-sets to replicate
3747 published results; and a routine for graphical display.")
3748     (license license:gpl2)))
3750 (define-public r-network
3751   (package
3752     (name "r-network")
3753     (version "1.15")
3754     (source
3755      (origin
3756        (method url-fetch)
3757        (uri (cran-uri "network" version))
3758        (sha256
3759         (base32
3760          "1cscw5978fyixhkicf06c4b2g1yf6gyi8vx86cz3dy75d41mrgjw"))))
3761     (build-system r-build-system)
3762     (propagated-inputs
3763      `(("r-magrittr" ,r-magrittr)
3764        ("r-tibble" ,r-tibble)))
3765     (home-page "https://statnet.org/")
3766     (synopsis "Classes for relational data")
3767     (description
3768      "This package provides tools to create and modify network objects.  The
3769 @code{network} class can represent a range of relational data types, and
3770 supports arbitrary vertex/edge/graph attributes.")
3771     (license license:gpl2+)))
3773 (define-public r-statnet-common
3774   (package
3775     (name "r-statnet-common")
3776     (version "4.2.0")
3777     (source
3778       (origin
3779         (method url-fetch)
3780         (uri (cran-uri "statnet.common" version))
3781         (sha256
3782           (base32
3783             "0q942g6kqmqxfss1cxb3yg8y5r1k1h5cyy99s1cfisrn6hqc6xhi"))))
3784     (properties
3785       `((upstream-name . "statnet.common")))
3786     (build-system r-build-system)
3787     (propagated-inputs
3788      `(("r-coda" ,r-coda)))
3789     (home-page "https://statnet.org")
3790     (synopsis "R scripts and utilities used by the Statnet software")
3791     (description "This package provides non-statistical utilities used by the
3792 software developed by the Statnet Project.")
3793     (license license:gpl3)))
3795 (define-public r-sna
3796   (package
3797     (name "r-sna")
3798     (version "2.4")
3799     (source
3800      (origin
3801        (method url-fetch)
3802        (uri (cran-uri "sna" version))
3803        (sha256
3804         (base32
3805          "1ks8819qvpdfansfqj9p32s1rhvl26frvbi78m4rx1wd1qcv74i2"))))
3806     (build-system r-build-system)
3807     (propagated-inputs
3808      `(("r-network" ,r-network)
3809        ("r-statnet-common" ,r-statnet-common)))
3810     (home-page "https://statnet.org")
3811     (synopsis "Tools for social network analysis")
3812     (description
3813      "This package provides a range of tools for social network analysis,
3814 including node and graph-level indices, structural distance and covariance
3815 methods, structural equivalence detection, network regression, random graph
3816 generation, and 2D/3D network visualization.")
3817     (license license:gpl2+)))
3819 (define-public r-ttr
3820   (package
3821     (name "r-ttr")
3822     (version "0.23-4")
3823     (source
3824      (origin
3825        (method url-fetch)
3826        (uri (cran-uri "TTR" version))
3827        (sha256
3828         (base32
3829          "18mzyv6cmxmqyqsfwlx2b2k055887mfgc2jgj8xkn8c6m56n05zb"))))
3830     (properties `((upstream-name . "TTR")))
3831     (build-system r-build-system)
3832     (propagated-inputs
3833      `(("r-curl" ,r-curl)
3834        ("r-xts" ,r-xts)
3835        ("r-zoo" ,r-zoo)))
3836     (native-inputs `(("gfortran" ,gfortran)))
3837     (home-page "https://github.com/joshuaulrich/TTR")
3838     (synopsis "Technical trading rules")
3839     (description
3840      "This package provides functions and data to construct technical trading
3841 rules with R.")
3842     (license license:gpl2)))
3844 (define-public r-leaps
3845   (package
3846     (name "r-leaps")
3847     (version "3.0")
3848     (source
3849      (origin
3850        (method url-fetch)
3851        (uri (cran-uri "leaps" version))
3852        (sha256
3853         (base32
3854          "11gjmn1azrjw5xlvdb4gknj9985kck9x8zb9np1rnk2smp6pka2m"))))
3855     (build-system r-build-system)
3856     (native-inputs `(("gfortran" ,gfortran)))
3857     (home-page "https://cran.r-project.org/web/packages/leaps/")
3858     (synopsis "Regression subset selection")
3859     (description
3860      "This package provides tools for regression subset selection, including
3861 exhaustive search.")
3862     (license license:gpl2+)))
3864 (define-public r-splus2r
3865   (package
3866     (name "r-splus2r")
3867     (version "1.2-2")
3868     (source
3869      (origin
3870        (method url-fetch)
3871        (uri (cran-uri "splus2R" version))
3872        (sha256
3873         (base32
3874          "0xrbj8vxy0pc6hl7m8abv71d3hjw47cl51s7j7priadyqczkq6sz"))))
3875     (properties `((upstream-name . "splus2R")))
3876     (build-system r-build-system)
3877     (native-inputs `(("gfortran" ,gfortran)))
3878     (home-page "https://cran.r-project.org/web/packages/splus2R/")
3879     (synopsis "Supplemental S-PLUS functionality in R")
3880     (description
3881      "Currently there are many functions in S-PLUS that are missing in R.  To
3882 facilitate the conversion of S-PLUS packages to R packages, this package
3883 provides some missing S-PLUS functionality in R.")
3884     (license license:gpl2)))
3886 (define-public r-ifultools
3887   (package
3888     (name "r-ifultools")
3889     (version "2.0-5")
3890     (source
3891      (origin
3892        (method url-fetch)
3893        (uri (cran-uri "ifultools" version))
3894        (sha256
3895         (base32
3896          "040kvbczcmmbaiaz0k0pdq9af541pjj6iwzh1a3w4szh9w6b5a3j"))))
3897     (build-system r-build-system)
3898     (propagated-inputs
3899      `(("r-mass" ,r-mass)
3900        ("r-splus2r" ,r-splus2r)))
3901     (home-page "https://cran.r-project.org/web/packages/ifultools/")
3902     (synopsis "Insightful research tools")
3903     (description "This package provides C code used by the wmtsa, fractal, and
3904 sapa R packages.")
3905     (license license:gpl2)))
3907 (define-public r-sapa
3908   (package
3909     (name "r-sapa")
3910     (version "2.0-2")
3911     (source
3912      (origin
3913        (method url-fetch)
3914        (uri (cran-uri "sapa" version))
3915        (sha256
3916         (base32
3917          "056xlh14dnzq4x7sbp7ff2k61jxy7110a742b502vz549qfrr5ds"))))
3918     (build-system r-build-system)
3919     (propagated-inputs
3920      `(("r-ifultools" ,r-ifultools)
3921        ("r-splus2r" ,r-splus2r)))
3922     (home-page "https://cran.r-project.org/web/packages/sapa/")
3923     (synopsis "Spectral analysis for physical applications")
3924     (description "This package provides software for the book Spectral
3925 Analysis for Physical Applications, Donald B. Percival and Andrew T. Walden,
3926 Cambridge University Press, 1993.")
3927     (license license:gpl2)))
3929 (define-public r-aggregation
3930   (package
3931     (name "r-aggregation")
3932     (version "1.0.1")
3933     (source
3934      (origin
3935        (method url-fetch)
3936        (uri (cran-uri "aggregation" version))
3937        (sha256
3938         (base32
3939          "0j9g604m2ccc7hcy02539yja9cf3xcbl25gvp838bp4x8w18my46"))))
3940     (build-system r-build-system)
3941     (home-page "https://cran.r-project.org/web/packages/aggregation/")
3942     (synopsis "Methods for p-value aggregation")
3943     (description
3944      "This package contains functionality for performing the following methods
3945 of p-value aggregation: Fisher's method, the Lancaster method (weighted
3946 Fisher's method), and Sidak correction.")
3947     (license license:gpl3)))
3949 (define-public r-quantmod
3950   (package
3951     (name "r-quantmod")
3952     (version "0.4-14")
3953     (source
3954      (origin
3955        (method url-fetch)
3956        (uri (cran-uri "quantmod" version))
3957        (sha256
3958         (base32
3959          "1csljagnpkr1mmc18h70b64zbyj07kx972nip9dng39jfg7ilnyr"))))
3960     (build-system r-build-system)
3961     (propagated-inputs
3962      `(("r-curl" ,r-curl)
3963        ("r-ttr" ,r-ttr)
3964        ("r-xts" ,r-xts)
3965        ("r-zoo" ,r-zoo)))
3966     (home-page "https://cran.r-project.org/web/packages/quantmod/")
3967     (synopsis "Quantitative financial modelling framework")
3968     (description "This package provides a quantitative financial modelling
3969 framework to allow users to specify, build, trade, and analyse quantitative
3970 financial trading strategies.")
3971     (license license:gpl3)))
3973 (define-public r-tseries
3974   (package
3975     (name "r-tseries")
3976     (version "0.10-46")
3977     (source
3978      (origin
3979        (method url-fetch)
3980        (uri (cran-uri "tseries" version))
3981        (sha256
3982         (base32
3983          "08kjw0bfj5gfcrxpblwqxwna8a5g9gnr7ya61qb02r263pyhm50j"))))
3984     (build-system r-build-system)
3985     (propagated-inputs
3986      `(("r-quadprog" ,r-quadprog)
3987        ("r-quantmod" ,r-quantmod)
3988        ("r-zoo" ,r-zoo)))
3989     (native-inputs
3990      `(("gfortran" ,gfortran)))
3991     (home-page "https://cran.r-project.org/web/packages/tseries/")
3992     (synopsis "Time series analysis and computational finance")
3993     (description
3994      "This package provides functions relating to time series analysis and
3995 computational finance.")
3996     (license license:gpl2)))
3998 (define-public r-wmtsa
3999   (package
4000     (name "r-wmtsa")
4001     (version "2.0-3")
4002     (source
4003      (origin
4004        (method url-fetch)
4005        (uri (cran-uri "wmtsa" version))
4006        (sha256
4007         (base32
4008          "1q436krz5p1f4a7a7sya6a9rh9x9mi8zzcgq66gbk9w9w4hcqcj6"))))
4009     (build-system r-build-system)
4010     (propagated-inputs
4011      `(("r-ifultools" ,r-ifultools)
4012        ("r-mass" ,r-mass)
4013        ("r-splus2r" ,r-splus2r)))
4014     (home-page "https://cran.r-project.org/web/packages/wmtsa/")
4015     (synopsis "Wavelet methods for time series analysis")
4016     (description
4017      "This package provides software to accompany the book \"Wavelet Methods
4018 for Time Series Analysis\", Donald B. Percival and Andrew T. Walden, Cambridge
4019 University Press, 2000.")
4020     (license license:gpl2)))
4022 (define-public r-tsa
4023   (package
4024     (name "r-tsa")
4025     (version "1.2")
4026     (source
4027      (origin
4028        (method url-fetch)
4029        (uri (cran-uri "TSA" version))
4030        (sha256
4031         (base32
4032          "0gjfqibwdznz0nka95k4fjm935svxjpnqfywwz403crn2lh30h6q"))))
4033     (properties `((upstream-name . "TSA")))
4034     (build-system r-build-system)
4035     (propagated-inputs
4036      `(("r-leaps" ,r-leaps)
4037        ("r-locfit" ,r-locfit)
4038        ("r-mgcv" ,r-mgcv)))
4039     (home-page "http://www.stat.uiowa.edu/~kchan/TSA.htm")
4040     (synopsis "Time series analysis")
4041     (description
4042      "This package contains R functions and datasets detailed in the book
4043 \"Time Series Analysis with Applications in R (second edition)\" by Jonathan
4044 Cryer and Kung-Sik Chan.")
4045     (license license:gpl2+)))
4047 (define-public r-extradistr
4048   (package
4049     (name "r-extradistr")
4050     (version "1.8.10")
4051     (source
4052      (origin
4053        (method url-fetch)
4054        (uri (cran-uri "extraDistr" version))
4055        (sha256
4056         (base32
4057          "00lvqp5bb3iak5myiz4rqm887bkq9sdh7aybmz84mmfni6q01m28"))))
4058     (properties `((upstream-name . "extraDistr")))
4059     (build-system r-build-system)
4060     (propagated-inputs
4061      `(("r-rcpp" ,r-rcpp)))
4062     (home-page "https://github.com/twolodzko/extraDistr")
4063     (synopsis "Additional univariate and multivariate distributions")
4064     (description
4065      "This package implements density, distribution functions, quantile
4066 functions and random generation functions for a large number of univariate and
4067 multivariate distributions.")
4068     (license license:gpl2)))
4070 (define-public r-fractal
4071   (package
4072     (name "r-fractal")
4073     (version "2.0-4")
4074     (source
4075      (origin
4076        (method url-fetch)
4077        (uri (cran-uri "fractal" version))
4078        (sha256
4079         (base32
4080          "18lr9z0gslvfc3z8vyj3krqj3bfhg60zv1fzinrwwkc4cpk1w7mp"))))
4081     (build-system r-build-system)
4082     (propagated-inputs
4083      `(("r-ifultools" ,r-ifultools)
4084        ("r-mass" ,r-mass)
4085        ("r-sapa" ,r-sapa)
4086        ("r-scatterplot3d" ,r-scatterplot3d)
4087        ("r-splus2r" ,r-splus2r)
4088        ("r-wmtsa" ,r-wmtsa)))
4089     (home-page "https://cran.r-project.org/web/packages/fractal/")
4090     (synopsis "Fractal time series modeling and analysis")
4091     (description
4092      "This package provides tools for stochastic fractal and deterministic
4093 chaotic time series analysis.")
4094     (license license:gpl2)))
4096 (define-public r-urca
4097   (package
4098     (name "r-urca")
4099     (version "1.3-0")
4100     (source
4101      (origin
4102        (method url-fetch)
4103        (uri (cran-uri "urca" version))
4104        (sha256
4105         (base32
4106          "1akaqwf3fvvvx4sgfn641fd4sj51s0701pvfl6s5hnz2k0iwh732"))))
4107     (build-system r-build-system)
4108     (propagated-inputs `(("r-nlme" ,r-nlme)))
4109     (native-inputs `(("gfortran" ,gfortran)))
4110     (home-page "https://cran.r-project.org/web/packages/urca/")
4111     (synopsis "Unit root and cointegration tests for time series data")
4112     (description
4113      "This package provides unit root and cointegration tests encountered in
4114 applied econometric analysis.")
4115     (license license:gpl2+)))
4117 (define-public r-cubature
4118   (package
4119     (name "r-cubature")
4120     (version "2.0.3")
4121     (source
4122      (origin
4123        (method url-fetch)
4124        (uri (cran-uri "cubature" version))
4125        (sha256
4126         (base32
4127          "0wvs80i4axj7pdcy9gjl08qzjbcjkldha94xy4gdxc34vgmh7gvr"))))
4128     (build-system r-build-system)
4129     (propagated-inputs
4130      `(("r-rcpp" ,r-rcpp)))
4131     (home-page "https://github.com/bnaras/cubature")
4132     (synopsis "Adaptive multivariate integration over hypercubes")
4133     (description
4134      "This package is an R wrapper around the cubature C library for adaptive
4135 multivariate integration over hypercubes.  This version provides both
4136 @code{hcubature} and @code{pcubature} routines in addition to a vector
4137 interface.")
4138     ;; The included cubature C library is released under GPLv2+, but the
4139     ;; wrapper declares the license to be GPLv3+.
4140     (license (list license:gpl2+ license:gpl3+))))
4142 (define-public r-trend
4143   (package
4144     (name "r-trend")
4145     (version "1.1.1")
4146     (source
4147      (origin
4148        (method url-fetch)
4149        (uri (cran-uri "trend" version))
4150        (sha256
4151         (base32
4152          "1bd567n15k2vpmgbx02584k5kglrc58mlb5kgd07wdss3knpa48q"))))
4153     (build-system r-build-system)
4154     (propagated-inputs
4155      `(("r-extradistr" ,r-extradistr)))
4156     (native-inputs
4157      `(("gfortran" ,gfortran)))
4158     (home-page "https://cran.r-project.org/web/packages/trend/")
4159     (synopsis "Non-parametric trend tests and change-point detection")
4160     (description
4161      "The analysis of environmental data often requires the detection of
4162 trends and change-points.  This package includes tests for trend
4163 detection (Cox-Stuart Trend Test, Mann-Kendall Trend Test, (correlated)
4164 Hirsch-Slack Test, partial Mann-Kendall Trend Test, multivariate (multisite)
4165 Mann-Kendall Trend Test, (Seasonal) Sen's slope, partial Pearson and Spearman
4166 correlation trend test), change-point detection (Lanzante's test procedures,
4167 Pettitt's test, Buishand Range Test, Buishand U Test, Standard Normal
4168 Homogeinity Test), detection of non-randomness (Wallis-Moore Phase Frequency
4169 Test, Bartels rank von Neumann's ratio test, Wald-Wolfowitz Test) and the two
4170 sample Robust Rank-Order Distributional Test.")
4171     (license license:gpl3)))
4173 (define-public r-expm
4174   (package
4175     (name "r-expm")
4176     (version "0.999-4")
4177     (source
4178      (origin
4179        (method url-fetch)
4180        (uri (cran-uri "expm" version))
4181        (sha256
4182         (base32
4183          "15k0acg2aqb2ajhwal6l7vhhp03m4lg579805d34554cl0kn9l2q"))))
4184     (build-system r-build-system)
4185     (propagated-inputs `(("r-matrix" ,r-matrix)))
4186     (native-inputs `(("gfortran" ,gfortran)))
4187     (home-page "https://r-forge.r-project.org/projects/expm/")
4188     (synopsis "Tools for matrix exponentials and related quantities")
4189     (description
4190      "This package provides tools for the computation of the matrix
4191 exponential, logarithm, square root, and related quantities.")
4192     (license license:gpl2+)))
4194 (define-public r-complexplus
4195   (package
4196     (name "r-complexplus")
4197     (version "2.1")
4198     (source
4199      (origin
4200        (method url-fetch)
4201        (uri (cran-uri "complexplus" version))
4202        (sha256
4203         (base32
4204          "16w9v7d1ckavqmr86l34frr37pkvdn0iqnb17ssb8xaggns5lgqx"))))
4205     (build-system r-build-system)
4206     (propagated-inputs
4207      `(("r-expm" ,r-expm)
4208        ("r-matrix" ,r-matrix)))
4209     (home-page "https://cran.r-project.org/web/packages/complexplus/")
4210     (synopsis "Functions of complex or real variables")
4211     (description
4212      "This package extends several functions to the complex domain, including
4213 the matrix exponential and logarithm, and the determinant.")
4214     (license license:gpl2)))
4216 (define-public r-phontools
4217   (package
4218     (name "r-phontools")
4219     (version "0.2-2.1")
4220     (source
4221      (origin
4222        (method url-fetch)
4223        (uri (cran-uri "phonTools" version))
4224        (sha256
4225         (base32
4226          "01i481mhswsys3gpasw9gn6nxkfmi7bz46g5c84m13pg0cv8hxc7"))))
4227     (properties `((upstream-name . "phonTools")))
4228     (build-system r-build-system)
4229     (home-page "http://www.santiagobarreda.com/rscripts.html")
4230     (synopsis "Tools for phonetic and acoustic analyses")
4231     (description
4232      "This package contains tools for the organization, display, and analysis
4233 of the sorts of data frequently encountered in phonetics research and
4234 experimentation, including the easy creation of IPA vowel plots, and the
4235 creation and manipulation of WAVE audio files.")
4236     (license license:bsd-2)))
4238 (define-public r-np
4239   (package
4240     (name "r-np")
4241     (version "0.60-9")
4242     (source
4243      (origin
4244        (method url-fetch)
4245        (uri (cran-uri "np" version))
4246        (sha256
4247         (base32
4248          "1z4jcpx8bbgwslv42wrphfd1qfq965qjn0kmfxm5f6hbbycahcgy"))))
4249     (build-system r-build-system)
4250     (propagated-inputs
4251      `(("r-boot" ,r-boot)
4252        ("r-cubature" ,r-cubature)
4253        ("r-quadprog" ,r-quadprog)
4254        ("r-quantreg" ,r-quantreg)))
4255     (home-page "https://github.com/JeffreyRacine/R-Package-np")
4256     (synopsis "Non-parametric kernel smoothing methods for mixed data types")
4257     (description "This package provides non-parametric (and semi-parametric)
4258 kernel methods that seamlessly handle a mix of continuous, unordered, and
4259 ordered factor data types.")
4260     ;; Any version of the GPL.
4261     (license license:gpl3+)))
4263 (define-public r-powerplus
4264   (package
4265     (name "r-powerplus")
4266     (version "3.1")
4267     (source
4268      (origin
4269        (method url-fetch)
4270        (uri (cran-uri "powerplus" version))
4271        (sha256
4272         (base32
4273          "0ayp6x34hkzgris4j3zbbs0r23n81bhww3wgfyy630ri4sk6brrn"))))
4274     (build-system r-build-system)
4275     (propagated-inputs
4276      `(("r-complexplus" ,r-complexplus)
4277        ("r-expm" ,r-expm)
4278        ("r-mass" ,r-mass)
4279        ("r-matrix" ,r-matrix)
4280        ("r-phontools" ,r-phontools)))
4281     (home-page "https://cran.r-project.org/web/packages/powerplus/")
4282     (synopsis "Exponentiation operations")
4283     (description
4284      "This package provides tools for the computation of matrix and scalar
4285 exponentiation.")
4286     (license license:gpl2)))
4288 (define-public r-heatmaply
4289   (package
4290     (name "r-heatmaply")
4291     (version "0.15.2")
4292     (source
4293      (origin
4294        (method url-fetch)
4295        (uri (cran-uri "heatmaply" version))
4296        (sha256
4297         (base32
4298          "0h8s5djzj4mrmaswlcaap6jbwxrkbzc43bbqik3qf8vrqz335w04"))))
4299     (build-system r-build-system)
4300     (propagated-inputs
4301      `(("r-assertthat" ,r-assertthat)
4302        ("r-colorspace" ,r-colorspace)
4303        ("r-dendextend" ,r-dendextend)
4304        ("r-ggplot2" ,r-ggplot2)
4305        ("r-gplots" ,r-gplots)
4306        ("r-htmlwidgets" ,r-htmlwidgets)
4307        ("r-knitr" ,r-knitr) ; needed for vignettes
4308        ("r-magrittr" ,r-magrittr)
4309        ("r-plotly" ,r-plotly)
4310        ("r-rcolorbrewer" ,r-rcolorbrewer)
4311        ("r-reshape2" ,r-reshape2)
4312        ("r-scales" ,r-scales)
4313        ("r-seriation" ,r-seriation)
4314        ("r-viridis" ,r-viridis)
4315        ("r-webshot" ,r-webshot)))
4316     (home-page "https://cran.r-project.org/package=heatmaply")
4317     (synopsis "Interactive cluster heat maps using plotly")
4318     (description
4319      "This package enables you to create interactive cluster heatmaps that can
4320 be saved as a stand-alone HTML file, embedded in R Markdown documents or in a
4321 Shiny app, and made available in the RStudio viewer pane.  Hover the mouse
4322 pointer over a cell to show details or drag a rectangle to zoom.  A heatmap is
4323 a popular graphical method for visualizing high-dimensional data, in which a
4324 table of numbers is encoded as a grid of colored cells.  The rows and columns
4325 of the matrix are ordered to highlight patterns and are often accompanied by
4326 dendrograms.")
4327     ;; Either version of the license.
4328     (license (list license:gpl2 license:gpl3))))
4330 (define-public r-h5
4331   (package
4332     (name "r-h5")
4333     (version "0.9.9")
4334     (source
4335      (origin
4336        (method url-fetch)
4337        (uri (cran-uri "h5" version))
4338        (sha256
4339         (base32
4340          "14p7i1sj24ky87kd7qr3n9fc9l64s0bp0rwbyl6i2x69xn75gpsx"))))
4341     (build-system r-build-system)
4342     (inputs
4343      `(("zlib" ,zlib)
4344        ("hdf5" ,hdf5)))
4345     (native-inputs
4346      `(("which" ,which)))
4347     (propagated-inputs
4348      `(("r-rcpp" ,r-rcpp)))
4349     (home-page "https://github.com/mannau/h5")
4350     (synopsis "Interface to the HDF5 Library")
4351     (description
4352      "This package provides an S4 interface to the HDF5 library supporting
4353 fast storage and retrieval of R-objects like vectors, matrices and arrays to
4354 binary files in a language independent format.  The HDF5 format can therefore
4355 be used as an alternative to R's save/load mechanism.  Since h5 is able to
4356 access only subsets of stored data it can also handle data sets which do not
4357 fit into memory.")
4358     (license license:bsd-2)))
4360 (define-public r-cgdsr
4361   (package
4362     (name "r-cgdsr")
4363     (version "1.2.10")
4364     (source
4365      (origin
4366        (method url-fetch)
4367        (uri (cran-uri "cgdsr" version))
4368        (sha256
4369         (base32
4370          "1xyhw7mhmjichr1l6f9y1qvfj9wm87kfbm87ji7lcwf36gxh5g23"))))
4371     (build-system r-build-system)
4372     (propagated-inputs
4373      `(("r-r-methodss3" ,r-r-methodss3)
4374        ("r-r-oo" ,r-r-oo)))
4375     (home-page "https://github.com/cBioPortal/cgdsr")
4376     (synopsis "R-based API for accessing the MSKCC Cancer Genomics Data Server")
4377     (description
4378      "This package provides a basic set of R functions for querying the Cancer
4379 Genomics Data Server (CGDS), hosted by the Computational Biology Center at
4380 Memorial-Sloan-Kettering Cancer Center (MSKCC).")
4381     (license license:lgpl3)))
4383 (define-public r-import
4384   (package
4385     (name "r-import")
4386     (version "1.1.0")
4387     (source
4388      (origin
4389        (method url-fetch)
4390        (uri (cran-uri "import" version))
4391        (sha256
4392         (base32
4393          "0blf9539rbfwcmw8zsb4k58slb4pdnc075v34vmyjw752fznhcji"))))
4394     (build-system r-build-system)
4395     (home-page "https://github.com/smbache/import")
4396     (synopsis "Import mechanism for R")
4397     (description
4398      "This is an alternative mechanism for importing objects from packages.
4399 The syntax allows for importing multiple objects from a package with a single
4400 command in an expressive way.  The import package bridges some of the gap
4401 between using @code{library} (or @code{require}) and direct (single-object)
4402 imports.  Furthermore the imported objects are not placed in the current
4403 environment.  It is also possible to import objects from stand-alone @code{.R}
4404 files.")
4405     (license license:expat)))
4407 (define-public r-shinyace
4408   (package
4409     (name "r-shinyace")
4410     (version "0.3.3")
4411     (source
4412      (origin
4413        (method url-fetch)
4414        (uri (cran-uri "shinyAce" version))
4415        (sha256
4416         (base32
4417          "02q6wqw349nlyf3mbf18cxif1xv9cal5qzccrdlnv73szqn9jk7j"))))
4418     (properties `((upstream-name . "shinyAce")))
4419     (build-system r-build-system)
4420     (propagated-inputs
4421      `(("r-shiny" ,r-shiny)
4422        ("r-jsonlite" ,r-jsonlite)))
4423     (home-page "http://cran.r-project.org/web/packages/shinyAce")
4424     (synopsis "Ace editor bindings for Shiny")
4425     (description
4426      "This package provides Ace editor bindings to enable a rich text editing
4427 environment within Shiny.")
4428     (license license:expat)))
4430 (define-public r-radiant-data
4431   (package
4432     (name "r-radiant-data")
4433     (version "0.9.9")
4434     (source
4435      (origin
4436        (method url-fetch)
4437        (uri (cran-uri "radiant.data" version))
4438        (sha256
4439         (base32
4440          "17mgm0sggh4f7ihqmj9m3996p3pqc7h2cwx6ll1ha3kg5mx0znyn"))
4441        (modules '((guix build utils)))
4442        (snippet
4443         '(begin
4444            ;; Delete files that are under CC-NC-SA.
4445            (delete-file-recursively "inst/app/tools/help")
4446            #t))))
4447     (properties `((upstream-name . "radiant.data")))
4448     (build-system r-build-system)
4449     (propagated-inputs
4450      `(("r-base64enc" ,r-base64enc)
4451        ("r-broom" ,r-broom)
4452        ("r-car" ,r-car)
4453        ("r-curl" ,r-curl)
4454        ("r-dplyr" ,r-dplyr)
4455        ("r-dt" ,r-dt)
4456        ("r-glue" ,r-glue)
4457        ("r-ggplot2" ,r-ggplot2)
4458        ("r-gridextra" ,r-gridextra)
4459        ("r-import" ,r-import)
4460        ("r-jsonlite" ,r-jsonlite)
4461        ("r-knitr" ,r-knitr)
4462        ("r-lubridate" ,r-lubridate)
4463        ("r-magrittr" ,r-magrittr)
4464        ("r-markdown" ,r-markdown)
4465        ("r-plotly" ,r-plotly)
4466        ("r-psych" ,r-psych)
4467        ("r-readr" ,r-readr)
4468        ("r-readxl" ,r-readxl)
4469        ("r-rlang" ,r-rlang)
4470        ("r-rmarkdown" ,r-rmarkdown)
4471        ("r-rstudioapi" ,r-rstudioapi)
4472        ("r-scales" ,r-scales)
4473        ("r-shiny" ,r-shiny)
4474        ("r-shinyfiles" ,r-shinyfiles)
4475        ("r-shinyace" ,r-shinyace)
4476        ("r-stringi" ,r-stringi)
4477        ("r-tibble" ,r-tibble)
4478        ("r-tidyr" ,r-tidyr)
4479        ("r-writexl" ,r-writexl)))
4480     (home-page "https://github.com/radiant-rstats/radiant.data")
4481     (synopsis "Data menu for Radiant: business analytics using R and Shiny")
4482     (description
4483      "The Radiant Data menu includes interfaces for loading, saving, viewing,
4484 visualizing, summarizing, transforming, and combining data.  It also contains
4485 functionality to generate reproducible reports of the analyses conducted in
4486 the application.")
4487     (license license:agpl3)))
4489 (define-public r-algdesign
4490   (package
4491     (name "r-algdesign")
4492     (version "1.1-7.3")
4493     (source
4494      (origin
4495        (method url-fetch)
4496        (uri (cran-uri "AlgDesign" version))
4497        (sha256
4498         (base32
4499          "0bl7mx4dnmkgs2x1fj7cqnrp7jx18mqwxyga0rzlniq12h8mc3fz"))))
4500     (properties `((upstream-name . "AlgDesign")))
4501     (build-system r-build-system)
4502     (home-page "https://github.com/jvbraun/AlgDesign")
4503     (synopsis "Algorithmic experimental design")
4504     (description
4505      "This package provides tools to calculate exact and approximate theory
4506 experimental designs for D, A, and I criteria.  Very large designs may be
4507 created.  Experimental designs may be blocked or blocked designs created from
4508 a candidate list, using several criteria.  The blocking can be done when whole
4509 and within plot factors interact.")
4510     (license license:gpl2+)))
4512 (define-public r-signal
4513   (package
4514     (name "r-signal")
4515     (version "0.7-6")
4516     (source
4517      (origin
4518        (method url-fetch)
4519        (uri (cran-uri "signal" version))
4520        (sha256
4521         (base32
4522          "1vsxramz5qd9q9s3vlqzmfdpmwl2rhlb2n904zw6f0fg0xxjfq3b"))))
4523     (build-system r-build-system)
4524     (propagated-inputs `(("r-mass" ,r-mass)))
4525     (native-inputs `(("gfortran" ,gfortran)))
4526     (home-page "https://cran.r-project.org/web/packages/signal/")
4527     (synopsis "Signal processing")
4528     (description
4529      "This package provides a set of signal processing functions originally
4530 written for Matlab and GNU Octave.  It includes filter generation utilities,
4531 filtering functions, resampling routines, and visualization of filter models.
4532 It also includes interpolation functions.")
4533     (license license:gpl2)))
4535 (define-public r-gsubfn
4536   (package
4537     (name "r-gsubfn")
4538     (version "0.7")
4539     (source
4540      (origin
4541        (method url-fetch)
4542        (uri (cran-uri "gsubfn" version))
4543        (sha256
4544         (base32
4545          "00j6b8b6xsx6v370h220x233rpk6asca78165y3d48jpwvwisdc9"))))
4546     (build-system r-build-system)
4547     (propagated-inputs `(("r-proto" ,r-proto)))
4548     (home-page "http://gsubfn.googlecode.com")
4549     (synopsis "Utilities for strings and function arguments.")
4550     (description
4551      "This package provides @code{gsubfn} which is like @code{gsub} but can
4552 take a replacement function or certain other objects instead of the
4553 replacement string.  Matches and back references are input to the replacement
4554 function and replaced by the function output.  @code{gsubfn} can be used to
4555 split strings based on content rather than delimiters and for quasi-perl-style
4556 string interpolation.  The package also has facilities for translating
4557 formulas to functions and allowing such formulas in function calls instead of
4558 functions.")
4559     (license license:gpl2+)))
4561 (define-public r-sqldf
4562   (package
4563     (name "r-sqldf")
4564     (version "0.4-11")
4565     (source
4566      (origin
4567        (method url-fetch)
4568        (uri (cran-uri "sqldf" version))
4569        (sha256
4570         (base32
4571          "0q12vsb53p2wchgp8wfz5bk08wfnm0jxjrakclj4jyy6x3a7ksff"))))
4572     (build-system r-build-system)
4573     (propagated-inputs
4574      `(("r-chron" ,r-chron)
4575        ("r-dbi" ,r-dbi)
4576        ("r-gsubfn" ,r-gsubfn)
4577        ("r-proto" ,r-proto)
4578        ("r-rsqlite" ,r-rsqlite)))
4579     (home-page "https://github.com/ggrothendieck/sqldf")
4580     (synopsis "Manipulate R data frames using SQL")
4581     (description
4582      "The @code{sqldf} function is typically passed a single argument which is
4583 an SQL select statement where the table names are ordinary R data frame names.
4584 @code{sqldf} transparently sets up a database, imports the data frames into
4585 that database, performs the SQL statement and returns the result using a
4586 heuristic to determine which class to assign to each column of the returned
4587 data frame.  The @code{sqldf} or @code{read.csv.sql} functions can also be
4588 used to read filtered files into R even if the original files are larger than
4589 R itself can handle.")
4590     (license license:gpl2)))
4592 (define-public r-abind
4593   (package
4594     (name "r-abind")
4595     (version "1.4-5")
4596     (source
4597      (origin
4598        (method url-fetch)
4599        (uri (cran-uri "abind" version))
4600        (sha256
4601         (base32
4602          "0b1zd8jbnl6l292cr9rb50m09fy3ylxvzkpgi5lfb1nbzddcwfis"))))
4603     (build-system r-build-system)
4604     (home-page "https://cran.r-project.org/web/packages/abind/")
4605     (synopsis "Combine multidimensional arrays")
4606     (description
4607      "This package provides tools to combine multidimensional arrays into a
4608 single array.  This is a generalization of @code{cbind} and @code{rbind}.  It
4609 works with vectors, matrices, and higher-dimensional arrays.  It also provides
4610 the functions @code{adrop}, @code{asub}, and @code{afill} for manipulating,
4611 extracting and replacing data in arrays.")
4612     (license license:lgpl2.0+)))
4614 (define-public r-prroc
4615   (package
4616     (name "r-prroc")
4617     (version "1.3.1")
4618     (source
4619      (origin
4620        (method url-fetch)
4621        (uri (cran-uri "PRROC" version))
4622        (sha256
4623         (base32
4624          "1m28h8pcd78049lz2qixhkcr9h5b3jik3maqzfbvq9y58z71i4a7"))))
4625     (properties `((upstream-name . "PRROC")))
4626     (build-system r-build-system)
4627     (home-page "https://cran.r-project.org/web/packages/PRROC/")
4628     (synopsis "Precision-Recall and ROC curves for weighted and unweighted data")
4629     (description
4630      "This package computes the areas under the @dfn{precision-recall} (PR)
4631 and ROC curve for weighted (e.g. soft-labeled) and unweighted data.  In
4632 contrast to other implementations, the interpolation between points of the PR
4633 curve is done by a non-linear piecewise function.  In addition to the areas
4634 under the curves, the curves themselves can also be computed and plotted by a
4635 specific S3-method.")
4636     (license license:gpl3)))
4638 (define-public r-vim
4639   (package
4640     (name "r-vim")
4641     (version "4.8.0")
4642     (source
4643      (origin
4644        (method url-fetch)
4645        (uri (cran-uri "VIM" version))
4646        (sha256
4647         (base32
4648          "08x4a4yzgp8adgrv7a3666yma4b60n64mcsnvhzmwdy023f4ysrw"))))
4649     (properties `((upstream-name . "VIM")))
4650     (build-system r-build-system)
4651     (propagated-inputs
4652      `(("r-car" ,r-car)
4653        ("r-colorspace" ,r-colorspace)
4654        ("r-data-table" ,r-data-table)
4655        ("r-e1071" ,r-e1071)
4656        ("r-laeken" ,r-laeken)
4657        ("r-mass" ,r-mass)
4658        ("r-nnet" ,r-nnet)
4659        ("r-ranger" ,r-ranger)
4660        ("r-rcpp" ,r-rcpp)
4661        ("r-robustbase" ,r-robustbase)
4662        ("r-sp" ,r-sp)
4663        ("r-vcd" ,r-vcd)))
4664     (home-page "https://github.com/alexkowa/VIM")
4665     (synopsis "Visualization and imputation of missing values")
4666     (description
4667      "This package provides tools for the visualization of missing and/or
4668 imputed values are introduced, which can be used for exploring the data and
4669 the structure of the missing and/or imputed values.  Depending on this
4670 structure of the missing values, the corresponding methods may help to
4671 identify the mechanism generating the missing values and allows to explore the
4672 data including missing values.  In addition, the quality of imputation can be
4673 visually explored using various univariate, bivariate, multiple and
4674 multivariate plot methods.")
4675     (license license:gpl2+)))
4677 (define-public r-fnn
4678   (package
4679     (name "r-fnn")
4680     (version "1.1.3")
4681     (source
4682      (origin
4683        (method url-fetch)
4684        (uri (cran-uri "FNN" version))
4685        (sha256
4686         (base32
4687          "0cllqlnynm5yaj4r64mqyyfc8phkb38rwssq8k8ikgfgr4jklxny"))))
4688     (properties `((upstream-name . "FNN")))
4689     (build-system r-build-system)
4690     (home-page "https://cran.r-project.org/web/packages/FNN")
4691     (synopsis "Fast nearest neighbor search algorithms and applications")
4692     (description
4693      "This package provides cover-tree and kd-tree fast k-nearest neighbor
4694 search algorithms.  Related applications including KNN classification,
4695 regression and information measures are implemented.")
4696     ;; The DESCRIPTION file erroneously states that GPL version 2.1 or
4697     ;; later can be used.
4698     (license license:gpl2+)))
4700 (define-public r-smoother
4701   (package
4702     (name "r-smoother")
4703     (version "1.1")
4704     (source
4705      (origin
4706        (method url-fetch)
4707        (uri (cran-uri "smoother" version))
4708        (sha256
4709         (base32
4710          "0nqr1bvlr5bnasqg74zmknjjl4x28kla9h5cxpga3kq5z215pdci"))))
4711     (build-system r-build-system)
4712     (propagated-inputs
4713      `(("r-ttr" ,r-ttr)))
4714     (home-page "http://cran.r-project.org/web/packages/smoother")
4715     (synopsis "Functions relating to the smoothing of numerical data")
4716     (description
4717      "This package provides a collection of methods for smoothing numerical
4718 data, commencing with a port of the Matlab gaussian window smoothing function.
4719 In addition, several functions typically used in smoothing of financial data
4720 are included.")
4721     (license license:gpl2)))
4723 (define-public r-riverplot
4724   (package
4725     (name "r-riverplot")
4726     (version "0.6")
4727     (source
4728      (origin
4729        (method url-fetch)
4730        (uri (cran-uri "riverplot" version))
4731        (sha256
4732         (base32
4733          "0q1icpny8nkxyjhawyjzwrw8qlz0ayn2xyrsqrm4vkxyv6c9xk8z"))))
4734     (build-system r-build-system)
4735     (home-page "https://logfc.wordpress.com")
4736     (synopsis "Sankey or ribbon plots")
4737     (description
4738      "Sankey plots are a type of diagram that is convenient to illustrate how
4739 flow of information, resources etc. separates and joins, much like observing
4740 how rivers split and merge.  For example, they can be used to compare
4741 different clusterings.  This package provides an implementation of Sankey
4742 plots for R.")
4743     (license license:gpl2+)))
4745 (define-public r-dyn
4746   (package
4747     (name "r-dyn")
4748     (version "0.2-9.6")
4749     (source
4750      (origin
4751        (method url-fetch)
4752        (uri (cran-uri "dyn" version))
4753        (sha256
4754         (base32
4755          "16fqv9k7yxdgybwzafjkyqm16qpgqz13lcjpi6a1nc8xbzlzh0gb"))))
4756     (build-system r-build-system)
4757     (propagated-inputs
4758      `(("r-zoo" ,r-zoo)))
4759     (home-page "https://cran.r-project.org/web/packages/dyn")
4760     (synopsis "Time series regression")
4761     (description
4762      "This package provides the dyn class interfaces @code{ts}, @code{irts},
4763 @code{zoo} and @code{zooreg} time series classes to @code{lm}, @code{glm},
4764 @code{loess}, @code{quantreg::rq}, @code{MASS::rlm},
4765 @code{MCMCpack::MCMCregress()}, @code{quantreg::rq()},
4766 @code{randomForest::randomForest()} and other regression functions, allowing
4767 those functions to be used with time series including specifications that may
4768 contain lags, diffs and missing values.")
4769     ;; Any GPL version.
4770     (license license:gpl2+)))
4772 (define-public r-catdap
4773   (package
4774     (name "r-catdap")
4775     (version "1.3.4")
4776     (source
4777      (origin
4778        (method url-fetch)
4779        (uri (cran-uri "catdap" version))
4780        (sha256
4781         (base32
4782          "0i877l61f6c75pczi235rzci67w29zv1d7z5zn5p5ymndclvlpl2"))))
4783     (build-system r-build-system)
4784     (native-inputs
4785      `(("gfortran" ,gfortran)))
4786     (home-page "https://cran.r-project.org/web/packages/catdap/")
4787     (synopsis "Tools for categorical data analysis")
4788     (description
4789      "This package provides functions for analyzing multivariate data.
4790 Dependencies of the distribution of the specified variable (response
4791 variable) to other variables (explanatory variables) are derived and
4792 evaluated by the @dfn{Akaike Information Criterion} (AIC).")
4793     (license license:gpl2+)))
4795 (define-public r-arules
4796   (package
4797     (name "r-arules")
4798     (version "1.6-3")
4799     (source
4800      (origin
4801        (method url-fetch)
4802        (uri (cran-uri "arules" version))
4803        (sha256
4804         (base32
4805          "0dimrq1pz449z0mz9m87nhm5bpc0v789bcc3lghhh97wwi5zah9y"))))
4806     (build-system r-build-system)
4807     (propagated-inputs
4808      `(("r-matrix" ,r-matrix)))
4809     (home-page "https://github.com/mhahsler/arules")
4810     (synopsis "Mining association rules and frequent itemsets")
4811     (description
4812      "This package provides an infrastructure for representing, manipulating
4813 and analyzing transaction data and patterns (frequent itemsets and association rules).
4814 It also provides C implementations of the association mining algorithms Apriori
4815 and Eclat.")
4816     (license license:gpl3)))
4818 (define-public r-parsedate
4819   (package
4820     (name "r-parsedate")
4821     (version "1.1.3")
4822     (source
4823      (origin
4824        (method url-fetch)
4825        (uri (cran-uri "parsedate" version))
4826        (sha256
4827         (base32
4828          "0mg7hbm3903iwvmpn51gjpaaq03rsp72hjb1g8h5g84r81iha002"))))
4829     (build-system r-build-system)
4830     (home-page "https://github.com/gaborcsardi/parsedate")
4831     (synopsis
4832      "Recognize and parse dates in various formats")
4833     (description
4834      "This package provides three functions for dealing with dates:
4835 @code{parse_iso_8601} recognizes and parses all valid ISO 8601 date and
4836 time formats, @code{parse_date} parses dates in unspecified formats,
4837 and @code{format_iso_8601} formats a date in ISO 8601 format.")
4838     (license license:gpl2)))
4840 (define-public r-abc-data
4841   (package
4842     (name "r-abc-data")
4843     (version "1.0")
4844     (source
4845      (origin
4846        (method url-fetch)
4847        (uri (cran-uri "abc.data" version))
4848        (sha256
4849         (base32
4850          "1bv1n68ah714ws58cf285n2s2v5vn7382lfjca4jxph57lyg8hmj"))))
4851     (properties `((upstream-name . "abc.data")))
4852     (build-system r-build-system)
4853     (home-page "https://cran.r-project.org/web/packages/abc.data/")
4854     (synopsis "Data for Approximate Bayesian Computation (ABC) package")
4855     (description
4856      "This package contains data which are used by functions of the abc
4857 package which implements several @dfn{Approximate Bayesian Computation} (ABC)
4858 algorithms for performing parameter estimation, model selection, and
4859 goodness-of-fit.")
4860     (license license:gpl3+)))
4862 (define-public r-abc
4863   (package
4864     (name "r-abc")
4865     (version "2.1")
4866     (source
4867      (origin
4868        (method url-fetch)
4869        (uri (cran-uri "abc" version))
4870        (sha256
4871         (base32
4872          "0ngzaaz2y2s03fhngvwipmy4kq38xrmyddaz6a6l858rxvadrlhb"))))
4873     (build-system r-build-system)
4874     (propagated-inputs
4875      `(("r-abc-data" ,r-abc-data)
4876        ("r-locfit" ,r-locfit)
4877        ("r-mass" ,r-mass)
4878        ("r-nnet" ,r-nnet)
4879        ("r-quantreg" ,r-quantreg)))
4880     (home-page "https://cran.r-project.org/web/packages/abc/")
4881     (synopsis "Tools for Approximate Bayesian Computation (ABC)")
4882     (description
4883      "This package implements several @dfn{Approximate Bayesian
4884 Computation} (ABC) algorithms for performing parameter estimation, model
4885 selection, and goodness-of-fit.  Cross-validation tools are also available for
4886 measuring the accuracy of ABC estimates, and to calculate the
4887 misclassification probabilities of different models.")
4888     (license license:gpl3+)))
4890 (define-public r-zip
4891   (package
4892     (name "r-zip")
4893     (version "2.0.1")
4894     (source
4895      (origin
4896        (method url-fetch)
4897        (uri (cran-uri "zip" version))
4898        (sha256
4899         (base32
4900          "0cchbzp2s2qz7r4n9qdwgfgik5xzr0dzxmj25r8435i85k86ysi1"))))
4901     (build-system r-build-system)
4902     (home-page "https://github.com/gaborcsardi/zip")
4903     (synopsis "Cross-platform Zip compression")
4904     (description
4905      "This package provides a cross-platform Zip compression library for R.
4906 It is a replacement for the @code{zip} function, that does not require any
4907 additional external tools on any platform.")
4908     (license license:cc0)))
4910 (define-public r-openxlsx
4911   (package
4912     (name "r-openxlsx")
4913     (version "4.1.0")
4914     (source
4915      (origin
4916        (method url-fetch)
4917        (uri (cran-uri "openxlsx" version))
4918        (sha256
4919         (base32
4920          "1n7z22pm78xa77fvn77kdn68az6xzxk36y11sqf0w6h6adri4yxb"))))
4921     (build-system r-build-system)
4922     (propagated-inputs
4923      `(("r-rcpp" ,r-rcpp)
4924        ("r-zip" ,r-zip)))
4925     (home-page "https://github.com/awalker89/openxlsx")
4926     (synopsis "Read, write and edit XLSX files")
4927     (description
4928      "This package simplifies the creation of Excel @code{.xlsx} files by
4929 providing a high level interface to writing, styling and editing worksheets.
4930 Through the use of Rcpp, read/write times are comparable to the @code{xlsx}
4931 and @code{XLConnect} packages with the added benefit of removing the
4932 dependency on Java.")
4933     (license license:gpl3)))
4935 (define-public r-rio
4936   (package
4937     (name "r-rio")
4938     (version "0.5.16")
4939     (source
4940      (origin
4941        (method url-fetch)
4942        (uri (cran-uri "rio" version))
4943        (sha256
4944         (base32
4945          "0rfl56fdawlhc98451a9lcb6a6m56kw0i7dvd5hx58z025d8vsyk"))))
4946     (build-system r-build-system)
4947     (propagated-inputs
4948      `(("r-curl" ,r-curl)
4949        ("r-data-table" ,r-data-table)
4950        ("r-foreign" ,r-foreign)
4951        ("r-haven" ,r-haven)
4952        ("r-openxlsx" ,r-openxlsx)
4953        ("r-readxl" ,r-readxl)
4954        ("r-tibble" ,r-tibble)))
4955     (home-page "https://github.com/leeper/rio")
4956     (synopsis "Swiss-army knife for data I/O")
4957     (description
4958      "This package provides streamlined data import and export infrastructure
4959 by making assumptions that the user is probably willing to make: @code{import}
4960 and @code{export} determine the data structure from the file extension,
4961 reasonable defaults are used for data import and export (e.g.,
4962 @code{stringsAsFactors=FALSE}), web-based import is natively
4963 supported (including from SSL/HTTPS), compressed files can be read directly
4964 without explicit decompression, and fast import packages are used where
4965 appropriate.  An additional convenience function, @code{convert}, provides a
4966 simple method for converting between file types.")
4967     (license license:gpl2)))
4969 (define-public r-maptools
4970   (package
4971     (name "r-maptools")
4972     (version "0.9-5")
4973     (source
4974      (origin
4975        (method url-fetch)
4976        (uri (cran-uri "maptools" version))
4977        (sha256
4978         (base32
4979          "1pbvcn9xfx0hxq1ppbfg9xm5j04q4c15nj983yjmg7dlkzq135ax"))))
4980     (build-system r-build-system)
4981     (propagated-inputs
4982      `(("r-foreign" ,r-foreign)
4983        ("r-lattice" ,r-lattice)
4984        ("r-sp" ,r-sp)))
4985     (home-page "http://r-forge.r-project.org/projects/maptools/")
4986     (synopsis "Tools for reading and handling spatial objects")
4987     (description
4988      "This package provides a set of tools for manipulating and reading
4989 geographic data, in particular ESRI Shapefiles.  It includes binary access to
4990 GSHHG shoreline files.  The package also provides interface wrappers for
4991 exchanging spatial objects with other R packages.")
4992     ;; The C source files from shapelib are released under the Expat license.
4993     ;; The R code is released under GPL version 2 or later.
4994     (license (list license:gpl2+
4995                    license:expat))))
4997 (define-public r-later
4998   (package
4999     (name "r-later")
5000     (version "0.8.0")
5001     (source
5002      (origin
5003        (method url-fetch)
5004        (uri (cran-uri "later" version))
5005        (sha256
5006         (base32
5007          "08g503xjxrfxvrzj0cavsrz4m8ykbha64344j1w2r6v17js2hakb"))))
5008     (build-system r-build-system)
5009     (propagated-inputs
5010      `(("r-bh" ,r-bh)
5011        ("r-rcpp" ,r-rcpp)
5012        ("r-rlang" ,r-rlang)))
5013     (home-page "https://github.com/r-lib/later")
5014     (synopsis "Utilities for delaying function execution")
5015     (description
5016      "This package provides tools to execute arbitrary R or C functions some
5017 time after the current time, after the R execution stack has emptied.")
5018     (license license:gpl2+)))
5020 (define-public r-promises
5021   (package
5022     (name "r-promises")
5023     (version "1.0.1")
5024     (source
5025      (origin
5026        (method url-fetch)
5027        (uri (cran-uri "promises" version))
5028        (sha256
5029         (base32
5030          "0n2mlv6bvfb4yhgcml696l9vkbw21pz0smqylivr606z99rwgny2"))))
5031     (build-system r-build-system)
5032     (propagated-inputs
5033      `(("r-later" ,r-later)
5034        ("r-magrittr" ,r-magrittr)
5035        ("r-r6" ,r-r6)
5036        ("r-rcpp" ,r-rcpp)
5037        ("r-rlang" ,r-rlang)))
5038     (home-page "https://rstudio.github.io/promises")
5039     (synopsis "Abstractions for promise-based asynchronous programming")
5040     (description
5041      "This package provides fundamental abstractions for doing asynchronous
5042 programming in R using promises.  Asynchronous programming is useful for
5043 allowing a single R process to orchestrate multiple tasks in the background
5044 while also attending to something else.  Semantics are similar to JavaScript
5045 promises, but with a syntax that is idiomatic R.")
5046     (license license:expat)))
5048 (define-public r-dosnow
5049   (package
5050     (name "r-dosnow")
5051     (version "1.0.16")
5052     (source
5053      (origin
5054        (method url-fetch)
5055        (uri (cran-uri "doSNOW" version))
5056        (sha256
5057         (base32
5058          "13ir4a8252h4yvp5ir9xnwack1kn58i4ny6sf2qdc12zspn3850n"))))
5059     (properties `((upstream-name . "doSNOW")))
5060     (build-system r-build-system)
5061     (propagated-inputs
5062      `(("r-foreach" ,r-foreach)
5063        ("r-iterators" ,r-iterators)
5064        ("r-snow" ,r-snow)))
5065     (home-page "https://cran.r-project.org/web/packages/doSNOW")
5066     (synopsis "Foreach parallel adaptor for the snow package")
5067     (description
5068      "This package provides a parallel backend for the @code{%dopar%} function
5069 using the @code{snow} package.")
5070     (license license:gpl2)))
5072 (define-public r-snowfall
5073   (package
5074    (name "r-snowfall")
5075    (version "1.84-6.1")
5076    (source (origin
5077             (method url-fetch)
5078             (uri (cran-uri "snowfall" version))
5079             (sha256
5080              (base32 "13941rlw1jsdjsndp1plzj1cq5aqravizkrqn6l25r9im7rnsi2w"))))
5081    (build-system r-build-system)
5082    (propagated-inputs
5083     `(("r-snow" ,r-snow)))
5084    (home-page "http://cran.r-project.org/web/packages/snowfall/")
5085    (synopsis "Easier cluster computing")
5086    (description "This package is a usability wrapper around snow for easier
5087 development of parallel R programs.  This package offers e.g. extended error
5088 checks, and additional functions.  All functions work in sequential mode, too,
5089 if no cluster is present or wished.  The package is also designed as connector
5090 to the cluster management tool @code{sfCluster}, but can also used without
5091 it.")
5092    (license license:gpl2+)))
5094 (define-public r-rappdirs
5095   (package
5096     (name "r-rappdirs")
5097     (version "0.3.1")
5098     (source
5099      (origin
5100        (method url-fetch)
5101        (uri (cran-uri "rappdirs" version))
5102        (sha256
5103         (base32
5104          "0ji6sg3bdn5gazkq14xmmcq7jnbsyxw4lzmmbgv6526j2vn93n1g"))))
5105     (build-system r-build-system)
5106     (home-page "https://cran.r-project.org/web/packages/rappdirs/")
5107     (synopsis "Determine where to save data, caches, and logs")
5108     (description
5109      "This package provides an easy way to determine which directories on the
5110 user's computer should be used to save data, caches and logs.  It is a port of
5111 Python's @url{https://github.com/ActiveState/appdirs,Appdirs} to R.")
5112     (license license:expat)))
5114 (define-public r-learnr
5115   (package
5116     (name "r-learnr")
5117     (version "0.9.2.1")
5118     (source
5119      (origin
5120        (method url-fetch)
5121        (uri (cran-uri "learnr" version))
5122        (sha256
5123         (base32
5124          "0jbk0g6fkw7zs8ykzhsvh9vvz8xmc4v03bqzjsa5mmpxpqan5vx5"))))
5125     (build-system r-build-system)
5126     (propagated-inputs
5127      `(("r-evaluate" ,r-evaluate)
5128        ("r-htmltools" ,r-htmltools)
5129        ("r-htmlwidgets" ,r-htmlwidgets)
5130        ("r-jsonlite" ,r-jsonlite)
5131        ("r-knitr" ,r-knitr)
5132        ("r-markdown" ,r-markdown)
5133        ("r-rappdirs" ,r-rappdirs)
5134        ("r-rmarkdown" ,r-rmarkdown)
5135        ("r-rprojroot" ,r-rprojroot)
5136        ("r-shiny" ,r-shiny)
5137        ("r-withr" ,r-withr)))
5138     (home-page "https://rstudio.github.io/learnr/")
5139     (synopsis "Interactive tutorials for R")
5140     (description
5141      "This package provides tools to create interactive tutorials using R
5142 Markdown.  Use a combination of narrative, figures, videos, exercises, and
5143 quizzes to create self-paced tutorials for learning about R and R packages.")
5144     (license license:asl2.0)))
5146 (define-public r-analytics
5147   (package
5148     (name "r-analytics")
5149     (version "3.0")
5150     (source
5151      (origin
5152        (method url-fetch)
5153        (uri (cran-uri "analytics" version))
5154        (sha256
5155         (base32
5156          "0js3c8lwj3knccb55nq03cbjlf4w390p9aid2mi5x80l3ayd9in1"))))
5157     (build-system r-build-system)
5158     (propagated-inputs
5159      `(("r-car" ,r-car)
5160        ("r-cluster" ,r-cluster)
5161        ("r-fractal" ,r-fractal)
5162        ("r-lmtest" ,r-lmtest)
5163        ("r-mass" ,r-mass)
5164        ("r-np" ,r-np)
5165        ("r-powerplus" ,r-powerplus)
5166        ("r-robust" ,r-robust)
5167        ("r-trend" ,r-trend)
5168        ("r-tsa" ,r-tsa)
5169        ("r-urca" ,r-urca)
5170        ("r-vim" ,r-vim)))
5171     (home-page "https://cran.r-project.org/web/packages/analytics/")
5172     (synopsis "Collection of data analysis tools")
5173     (description
5174      "This package is a collection of data analysis tools.  It includes tools
5175 for regression outlier detection in a fitted linear model, stationary
5176 bootstrap using a truncated geometric distribution, a comprehensive test for
5177 weak stationarity, column means by group, weighted biplots, and a heuristic to
5178 obtain a better initial configuration in non-metric MDS.")
5179     (license license:gpl2)))
5181 (define-public r-reticulate
5182   (package
5183     (name "r-reticulate")
5184     (version "1.12")
5185     (source
5186      (origin
5187        (method url-fetch)
5188        (uri (cran-uri "reticulate" version))
5189        (sha256
5190         (base32
5191          "0pqr1rcs8yg9nlh729mvlws93cqhpmv49j9bcgarh7vxzkwyv0kb"))))
5192     (build-system r-build-system)
5193     (inputs `(("python" ,python)))
5194     (propagated-inputs
5195      `(("r-jsonlite" ,r-jsonlite)
5196        ("r-matrix" ,r-matrix)
5197        ("r-rcpp" ,r-rcpp)))
5198     (home-page "https://github.com/rstudio/reticulate")
5199     (synopsis "R interface to Python")
5200     (description
5201      "This package provides an interface from R to Python modules, classes,
5202 and functions.  When calling into Python, R data types are automatically
5203 converted to their equivalent Python types.  When values are returned from
5204 Python to R they are converted back to R types.")
5205     (license license:asl2.0)))
5207 (define-public r-bibtex
5208   (package
5209     (name "r-bibtex")
5210     (version "0.4.2")
5211     (source
5212      (origin
5213        (method url-fetch)
5214        (uri (cran-uri "bibtex" version))
5215        (sha256
5216         (base32
5217          "0wl3925ryd54g1nv3ncwllc493d39dpgy5md61940h69c0van1hz"))))
5218     (build-system r-build-system)
5219     (propagated-inputs `(("r-stringr" ,r-stringr)))
5220     (home-page "https://github.com/romainfrancois/bibtex")
5221     (synopsis "Bibtex parser")
5222     (description "This package provides a utility for R to parse a bibtex
5223 file.")
5224     (license license:gpl2+)))
5226 (define-public r-ggseqlogo
5227   (package
5228     (name "r-ggseqlogo")
5229     (version "0.1")
5230     (source
5231      (origin
5232        (method url-fetch)
5233        (uri (cran-uri "ggseqlogo" version))
5234        (sha256
5235         (base32
5236          "13q6kcpxrqxqbji889fx63p0nsi08lk5yymkchig75r5k1d18ky1"))))
5237     (build-system r-build-system)
5238     (propagated-inputs `(("r-ggplot2" ,r-ggplot2)))
5239     (home-page "https://github.com/omarwagih/ggseqlogo")
5240     (synopsis "ggplot2 extension for drawing genetic sequence logos")
5241     (description
5242      "The range of functions provided by this package makes it possible to
5243 draw highly versatile genomic sequence logos.  Features include, but are not
5244 limited to, modifying colour schemes and fonts used to draw the logo,
5245 generating multiple logo plots, and aiding the visualisation with annotations.
5246 Sequence logos can easily be combined with other ggplot2 plots.")
5247     ;; Unspecified version of the LGPL.
5248     (license license:lgpl3+)))
5250 (define-public r-ggsci
5251   (package
5252     (name "r-ggsci")
5253     (version "2.9")
5254     (source
5255      (origin
5256        (method url-fetch)
5257        (uri (cran-uri "ggsci" version))
5258        (sha256
5259         (base32
5260          "0g73x6grbka7ahjh6z23m3wrcifp5rdfdiasbl8lq4sp6rplxwaa"))))
5261     (build-system r-build-system)
5262     (propagated-inputs
5263      `(("r-ggplot2" ,r-ggplot2)
5264        ("r-scales" ,r-scales)))
5265     (home-page "https://nanx.me/ggsci/")
5266     (synopsis "Scientific journal and sci-fi themed color palettes for ggplot2")
5267     (description
5268      "This package provides a collection of ggplot2 color palettes inspired by
5269 plots in scientific journals, data visualization libraries, science fiction
5270 movies, and TV shows.")
5271     (license license:gpl3)))
5273 (define-public r-ggsignif
5274   (package
5275     (name "r-ggsignif")
5276     (version "0.5.0")
5277     (source
5278      (origin
5279        (method url-fetch)
5280        (uri (cran-uri "ggsignif" version))
5281        (sha256
5282         (base32
5283          "0z04g5kqdj66fyfxb5d2m7njkqd7idbiy4xgsnxdh5pbh3cr643x"))))
5284     (build-system r-build-system)
5285     (propagated-inputs
5286      `(("r-ggplot2" ,r-ggplot2)))
5287     (home-page "https://github.com/const-ae/ggsignif")
5288     (synopsis "Significance brackets for ggplot2")
5289     (description
5290      "Enrich your ggplots with group-wise comparisons.  This package provides
5291 an easy way to indicate if two groups are significantly different.  Commonly
5292 this is shown by a bracket on top connecting the groups of interest which
5293 itself is annotated with the level of significance.  The package provides a
5294 single layer that takes the groups for comparison and the test as arguments
5295 and adds the annotation to the plot.")
5296     (license license:gpl3)))
5298 (define-public r-ggpubr
5299   (package
5300     (name "r-ggpubr")
5301     (version "0.2")
5302     (source
5303      (origin
5304        (method url-fetch)
5305        (uri (cran-uri "ggpubr" version))
5306        (sha256
5307         (base32
5308          "0rkpcjb1x7lvhj68aam5airbi534jqyiq12x5xk40a25iifhghq6"))))
5309     (build-system r-build-system)
5310     (propagated-inputs
5311      `(("r-cowplot" ,r-cowplot)
5312        ("r-dplyr" ,r-dplyr)
5313        ("r-ggplot2" ,r-ggplot2)
5314        ("r-ggrepel" ,r-ggrepel)
5315        ("r-ggsci" ,r-ggsci)
5316        ("r-ggsignif" ,r-ggsignif)
5317        ("r-glue" ,r-glue)
5318        ("r-gridextra" ,r-gridextra)
5319        ("r-magrittr" ,r-magrittr)
5320        ("r-polynom" ,r-polynom)
5321        ("r-purrr" ,r-purrr)
5322        ("r-scales" ,r-scales)
5323        ("r-tidyr" ,r-tidyr)))
5324     (home-page "http://www.sthda.com/english/rpkgs/ggpubr")
5325     (synopsis "ggplot2-based publication-ready plots")
5326     (description
5327      "The ggplot2 package is an excellent and flexible package for elegant
5328 data visualization in R.  However the default generated plots require some
5329 formatting before we can send them for publication.  The ggpubr package
5330 provides some easy-to-use functions for creating and customizing ggplot2-based
5331 publication-ready plots.")
5332     (license license:gpl2)))
5334 (define-public r-ellipse
5335   (package
5336     (name "r-ellipse")
5337     (version "0.4.1")
5338     (source
5339      (origin
5340        (method url-fetch)
5341        (uri (cran-uri "ellipse" version))
5342        (sha256
5343         (base32
5344          "0g82vc51m3c1k0hnpp2zla6amxxgk2mmkl8ssnsc49jv3599r6hs"))))
5345     (build-system r-build-system)
5346     (home-page "https://cran.r-project.org/web/packages/ellipse/")
5347     (synopsis "Functions for drawing ellipses and ellipse-like confidence regions")
5348     (description
5349      "This package contains various routines for drawing ellipses and
5350 ellipse-like confidence regions, implementing the plots described in Murdoch
5351 and Chow (1996), A graphical display of large correlation matrices, The
5352 American Statistician 50, 178-180.  There are also routines implementing the
5353 profile plots described in Bates and Watts (1988), Nonlinear Regression
5354 Analysis and its Applications.")
5355     (license license:gpl2+)))
5357 (define-public r-flashclust
5358   (package
5359     (name "r-flashclust")
5360     (version "1.01-2")
5361     (source
5362      (origin
5363        (method url-fetch)
5364        (uri (cran-uri "flashClust" version))
5365        (sha256
5366         (base32
5367          "0l4lpz451ll7f7lfxmb7ds24ppzhfg1c3ypvydglcc35p2dq99s8"))))
5368     (properties `((upstream-name . "flashClust")))
5369     (build-system r-build-system)
5370     (native-inputs `(("gfortran" ,gfortran)))
5371     (home-page "https://cran.r-project.org/web/packages/flashClust/")
5372     (synopsis "Implementation of optimal hierarchical clustering")
5373     (description
5374      "This package provides a fast implementation of hierarchical
5375 clustering.")
5376     (license license:gpl2+)))
5378 (define-public r-factominer
5379   (package
5380     (name "r-factominer")
5381     (version "1.41")
5382     (source
5383      (origin
5384        (method url-fetch)
5385        (uri (cran-uri "FactoMineR" version))
5386        (sha256
5387         (base32
5388          "1h20hydav6l2b7bngqw1av4l5rrh0wk58nhailga1f4qw9lrv259"))))
5389     (properties `((upstream-name . "FactoMineR")))
5390     (build-system r-build-system)
5391     (propagated-inputs
5392      `(("r-car" ,r-car)
5393        ("r-cluster" ,r-cluster)
5394        ("r-ellipse" ,r-ellipse)
5395        ("r-flashclust" ,r-flashclust)
5396        ("r-lattice" ,r-lattice)
5397        ("r-leaps" ,r-leaps)
5398        ("r-mass" ,r-mass)
5399        ("r-scatterplot3d" ,r-scatterplot3d)))
5400     (home-page "http://factominer.free.fr")
5401     (synopsis "Multivariate exploratory data analysis and data mining")
5402     (description
5403      "This package provides exploratory data analysis methods to summarize,
5404 visualize and describe datasets.  The main principal component methods are
5405 available, those with the largest potential in terms of applications:
5406 principal component analysis (PCA) when variables are quantitative,
5407 correspondence analysis (CA) and multiple correspondence analysis (MCA) when
5408 variables are categorical, Multiple Factor Analysis when variables are
5409 structured in groups, etc. and hierarchical cluster analysis.")
5410     (license license:gpl2+)))
5412 (define-public r-factoextra
5413   (package
5414     (name "r-factoextra")
5415     (version "1.0.5")
5416     (source
5417      (origin
5418        (method url-fetch)
5419        (uri (cran-uri "factoextra" version))
5420        (sha256
5421         (base32
5422          "1l6m8k7qhdw8ndar8nhmym0lfyd1i2iszl1cicjax0vq23ss6xw1"))))
5423     (build-system r-build-system)
5424     (propagated-inputs
5425      `(("r-abind" ,r-abind)
5426        ("r-cluster" ,r-cluster)
5427        ("r-dendextend" ,r-dendextend)
5428        ("r-factominer" ,r-factominer)
5429        ("r-ggplot2" ,r-ggplot2)
5430        ("r-ggpubr" ,r-ggpubr)
5431        ("r-ggrepel" ,r-ggrepel)
5432        ("r-reshape2" ,r-reshape2)
5433        ("r-tidyr" ,r-tidyr)))
5434     (home-page "http://www.sthda.com/english/rpkgs/factoextra")
5435     (synopsis "Extract and visualize the results of multivariate data analyses")
5436     (description
5437      "This package provides some easy-to-use functions to extract and
5438 visualize the output of multivariate data analyses, including
5439 @code{PCA} (Principal Component Analysis), @code{CA} (Correspondence
5440 Analysis), @code{MCA} (Multiple Correspondence Analysis), @code{FAMD} (Factor
5441 Analysis of Mixed Data), @code{MFA} (Multiple Factor Analysis) and
5442 @code{HMFA} (Hierarchical Multiple Factor Analysis) functions from different R
5443 packages.  It contains also functions for simplifying some clustering analysis
5444 steps and provides ggplot2-based elegant data visualization.")
5445     (license license:gpl2)))
5447 (define-public r-fansi
5448   (package
5449     (name "r-fansi")
5450     (version "0.4.0")
5451     (source
5452      (origin
5453        (method url-fetch)
5454        (uri (cran-uri "fansi" version))
5455        (sha256
5456         (base32
5457          "02f2rx7v7wz6w97m2slwky2i5y8f9iafycmkyr3siy3z3k8fj171"))))
5458     (build-system r-build-system)
5459     (native-inputs
5460      `(("r-knitr" ,r-knitr))) ; for vignettes
5461     (home-page "https://github.com/brodieG/fansi")
5462     (synopsis "ANSI control sequence aware string functions")
5463     (description
5464      "This package provides counterparts to R string manipulation functions
5465 that account for the effects of ANSI text formatting control sequences.")
5466     (license license:gpl2+)))
5468 (define-public r-nbclust
5469   (package
5470     (name "r-nbclust")
5471     (version "3.0")
5472     (source
5473      (origin
5474        (method url-fetch)
5475        (uri (cran-uri "NbClust" version))
5476        (sha256
5477         (base32
5478          "1vwb48zy6ln1ddpqmfngii1i80n8qmqyxnzdp6gbaq96lakl3w3c"))))
5479     (properties `((upstream-name . "NbClust")))
5480     (build-system r-build-system)
5481     (home-page "https://sites.google.com/site/malikacharrad/research/nbclust-package")
5482     (synopsis "Determine the best number of clusters in a data set")
5483     (description
5484      "NbClust provides 30 indexes for determining the optimal number of
5485 clusters in a data set and offers the best clustering scheme from different
5486 results to the user.")
5487     (license license:gpl2)))
5489 (define-public r-hdf5r
5490   (package
5491     (name "r-hdf5r")
5492     (version "1.2.0")
5493     (source
5494      (origin
5495        (method url-fetch)
5496        (uri (cran-uri "hdf5r" version))
5497        (sha256
5498         (base32
5499          "10gynjwaaxks8y9c2fl8k040j0nbwn372nil70009yfk9wrkx0aq"))))
5500     (build-system r-build-system)
5501     (inputs
5502      `(("hdf5" ,hdf5)
5503        ("zlib" ,zlib)))
5504     (propagated-inputs
5505      `(("r-bit64" ,r-bit64)
5506        ("r-r6" ,r-r6)))
5507     (home-page "https://hhoeflin.github.io/hdf5r")
5508     (synopsis "Interface to the HDF5 binary data format")
5509     (description
5510      "HDF5 is a data model, library and file format for storing and managing
5511 large amounts of data.  This package provides a nearly feature complete,
5512 object oriented wrapper for the HDF5 API using R6 classes.  Additionally,
5513 functionality is added so that HDF5 objects behave very similar to their
5514 corresponding R counterparts.")
5515     (license license:asl2.0)))
5517 (define-public r-itertools
5518   (package
5519     (name "r-itertools")
5520     (version "0.1-3")
5521     (source
5522      (origin
5523        (method url-fetch)
5524        (uri (cran-uri "itertools" version))
5525        (sha256
5526         (base32
5527          "1ls5biiva10pb1dj3ph4griykb9vam02hkrdmlr5a5wf660hg6xn"))))
5528     (build-system r-build-system)
5529     (propagated-inputs
5530      `(("r-iterators" ,r-iterators)))
5531     (home-page "https://cran.r-project.org/web/packages/itertools/")
5532     (synopsis "Iterator tools")
5533     (description
5534      "This package provides various tools for creating iterators, many
5535 patterned after functions in the Python @code{itertools} module, and others
5536 patterned after functions in the snow package.")
5537     (license license:gpl2)))
5539 (define-public r-polynom
5540   (package
5541     (name "r-polynom")
5542     (version "1.4-0")
5543     (source
5544      (origin
5545        (method url-fetch)
5546        (uri (cran-uri "polynom" version))
5547        (sha256
5548         (base32
5549          "1pflscwc0qzdf0y60j7s0dkglgmz18xajywfbn6s263idyr8idy5"))))
5550     (build-system r-build-system)
5551     (home-page "https://cran.r-project.org/web/packages/polynom/")
5552     (synopsis "Functions for univariate polynomial manipulations")
5553     (description
5554      "This package provides a collection of functions to implement a class for
5555 univariate polynomial manipulations.")
5556     (license license:gpl2)))
5558 (define-public r-gbrd
5559   (package
5560     (name "r-gbrd")
5561     (version "0.4-11")
5562     (source
5563      (origin
5564        (method url-fetch)
5565        (uri (cran-uri "gbRd" version))
5566        (sha256
5567         (base32
5568          "06x97rw5i6v6cgjxkfhxnw4dn7lghn5q6ra7ri5ag1x9dkfzcl82"))))
5569     (properties `((upstream-name . "gbRd")))
5570     (build-system r-build-system)
5571     (home-page "https://cran.r-project.org/web/packages/gbRd/")
5572     (synopsis "Utilities for processing Rd objects and files")
5573     (description
5574      "This package provides utilities for processing Rd objects and files.
5575 Extract argument descriptions and other parts of the help pages of
5576 functions.")
5577     (license license:gpl2+)))
5579 (define-public r-rjags
5580   (package
5581     (name "r-rjags")
5582     (version "4-8")
5583     (source
5584      (origin
5585        (method url-fetch)
5586        (uri (cran-uri "rjags" version))
5587        (sha256
5588         (base32
5589          "17xmjksj69f9wk4x71jxk4cgiqhaf2fj6bjm0mgzp4qln5x84a8m"))))
5590     (build-system r-build-system)
5591     (propagated-inputs
5592      `(("r-coda" ,r-coda)))
5593     (inputs
5594      `(("jags" ,jags)))
5595     (native-inputs
5596      `(("pkg-config" ,pkg-config)))
5597     (home-page "http://mcmc-jags.sourceforge.net")
5598     (synopsis "Bayesian graphical models using MCMC")
5599     (description
5600      "This package provides an R interface to the JAGS MCMC library.  JAGS is
5601 Just Another Gibbs Sampler.  It is a program for analysis of Bayesian
5602 hierarchical models using Markov Chain Monte Carlo (MCMC) simulation.")
5603     (license license:gpl2)))
5605 (define-public r-rdpack
5606   (package
5607     (name "r-rdpack")
5608     (version "0.11-0")
5609     (source
5610      (origin
5611        (method url-fetch)
5612        (uri (cran-uri "Rdpack" version))
5613        (sha256
5614         (base32
5615          "11cd27s6zp5cxnwxcvz6rjf00y0r7aq8ywhzwpf1r4xy1z44kd4g"))))
5616     (properties `((upstream-name . "Rdpack")))
5617     (build-system r-build-system)
5618     (propagated-inputs
5619      `(("r-bibtex" ,r-bibtex)
5620        ("r-gbrd" ,r-gbrd)))
5621     (home-page "https://github.com/GeoBosh/Rdpack")
5622     (synopsis "Update and manipulate Rd documentation objects")
5623     (description
5624      "This package provides functions for manipulation of R documentation
5625 objects, including functions @code{reprompt()} and @code{ereprompt()} for
5626 updating Rd documentation for functions, methods and classes; it also includes
5627 Rd macros for citations and import of references from bibtex files for use in
5628 Rd files and roxygen2 comments, as well as many functions for manipulation of
5629 references and Rd files.")
5630     (license license:gpl2+)))
5632 (define-public r-officer
5633   (package
5634     (name "r-officer")
5635     (version "0.3.4")
5636     (source
5637      (origin
5638        (method url-fetch)
5639        (uri (cran-uri "officer" version))
5640        (sha256
5641         (base32
5642          "1m4b3mcn5j5q3nq0jp1nranh4rdb8vxcpabn6ryqk9m6709fvhjz"))))
5643     (build-system r-build-system)
5644     (propagated-inputs
5645      `(("r-base64enc" ,r-base64enc)
5646        ("r-digest" ,r-digest)
5647        ("r-htmltools" ,r-htmltools)
5648        ("r-magrittr" ,r-magrittr)
5649        ("r-r6" ,r-r6)
5650        ("r-rcpp" ,r-rcpp)
5651        ("r-rlang" ,r-rlang)
5652        ("r-uuid" ,r-uuid)
5653        ("r-xml2" ,r-xml2)
5654        ("r-zip" ,r-zip)))
5655     (home-page "https://davidgohel.github.io/officer")
5656     (synopsis "Manipulation of Word and PowerPoint documents")
5657     (description
5658      "This package provides tools to access and manipulate Word and PowerPoint
5659 documents from R.  The package focuses on tabular and graphical reporting from
5660 R; it also provides two functions that let users get document content into
5661 data objects.  A set of functions lets add and remove images, tables and
5662 paragraphs of text in new or existing documents.  When working with PowerPoint
5663 presentations, slides can be added or removed; shapes inside slides can also
5664 be added or removed.  When working with Word documents, a cursor can be used
5665 to help insert or delete content at a specific location in the document.")
5666     (license license:gpl3)))
5668 (define-public r-abn
5669   (package
5670     (name "r-abn")
5671     (version "1.3")
5672     (source
5673      (origin
5674        (method url-fetch)
5675        (uri (cran-uri "abn" version))
5676        (sha256
5677         (base32
5678          "1q9hzpxwg835711kxwygd0l2awal6f015f8s6fprwz7graz1wbbm"))))
5679     (build-system r-build-system)
5680     (inputs
5681      `(("gsl" ,gsl)))
5682     (propagated-inputs
5683      `(("r-cairo" ,r-cairo)
5684        ("r-lme4" ,r-lme4)
5685        ("r-mass" ,r-mass)
5686        ("r-nnet" ,r-nnet)
5687        ("r-rcpp" ,r-rcpp)
5688        ("r-rcpparmadillo" ,r-rcpparmadillo)
5689        ("r-rjags" ,r-rjags)))
5690     (home-page "http://www.r-bayesian-networks.org")
5691     (synopsis "Modelling multivariate data with additive bayesian networks")
5692     (description
5693      "Bayesian network analysis is a form of probabilistic graphical models
5694 which derives from empirical data a directed acyclic graph, DAG, describing
5695 the dependency structure between random variables.  An additive Bayesian
5696 network model consists of a form of a DAG where each node comprises a
5697 @dfn{generalized linear model} (GLM).  Additive Bayesian network models are
5698 equivalent to Bayesian multivariate regression using graphical modelling, they
5699 generalises the usual multivariable regression, GLM, to multiple dependent
5700 variables.  This package provides routines to help determine optimal Bayesian
5701 network models for a given data set, where these models are used to identify
5702 statistical dependencies in messy, complex data.")
5703     (license license:gpl2+)))
5705 (define-public r-acd
5706   (package
5707     (name "r-acd")
5708     (version "1.5.3")
5709     (source
5710      (origin
5711        (method url-fetch)
5712        (uri (cran-uri "ACD" version))
5713        (sha256
5714         (base32
5715          "1a67bi3hklq8nlc50r0qnyr4k7m9kpvijy8sqqpm54by5hsysfd6"))))
5716     (properties `((upstream-name . "ACD")))
5717     (build-system r-build-system)
5718     (home-page "https://cran.r-project.org/web/packages/ACD/")
5719     (synopsis "Categorical data analysis with complete or missing responses")
5720     (description
5721      "This package provides tools for categorical data analysis with complete
5722 or missing responses.")
5723     (license license:gpl2+)))
5725 (define-public r-acdm
5726   (package
5727     (name "r-acdm")
5728     (version "1.0.4")
5729     (source
5730      (origin
5731        (method url-fetch)
5732        (uri (cran-uri "ACDm" version))
5733        (sha256
5734         (base32
5735          "0b4f02ga5ra66mbrm79g0bnlzmii82rks9kmxixxqgf18yhlyjil"))))
5736     (properties `((upstream-name . "ACDm")))
5737     (build-system r-build-system)
5738     (propagated-inputs
5739      `(("r-dplyr" ,r-dplyr)
5740        ("r-ggplot2" ,r-ggplot2)
5741        ("r-plyr" ,r-plyr)
5742        ("r-rsolnp" ,r-rsolnp)
5743        ("r-zoo" ,r-zoo)))
5744     (home-page "https://cran.r-project.org/web/packages/ACDm/")
5745     (synopsis "Tools for Autoregressive Conditional Duration Models")
5746     (description
5747      "ACDm is a package for Autoregressive Conditional Duration (ACD, Engle
5748 and Russell, 1998) models.  It creates trade, price or volume durations from
5749 transactions (tic) data, performs diurnal adjustments, fits various ACD models
5750 and tests them.")
5751     (license license:gpl2+)))
5753 (define-public r-overlap
5754   (package
5755     (name "r-overlap")
5756     (version "0.3.2")
5757     (source
5758      (origin
5759        (method url-fetch)
5760        (uri (cran-uri "overlap" version))
5761        (sha256
5762         (base32
5763          "1j3m6ir1chdz0si2fhcw6gs7c9h09bv0chz18rpzxsywww6d4rzy"))))
5764     (build-system r-build-system)
5765     (home-page "https://cran.r-project.org/web/packages/overlap/")
5766     (synopsis "Estimates of coefficient of overlapping for animal activity patterns")
5767     (description
5768      "This package provides functions to fit kernel density functions to data
5769 on temporal activity patterns of animals; estimate coefficients of overlapping
5770 of densities for two species; and calculate bootstrap estimates of confidence
5771 intervals.")
5772     (license license:gpl3+)))
5774 (define-public r-snakecase
5775   (package
5776     (name "r-snakecase")
5777     (version "0.9.2")
5778     (source
5779      (origin
5780        (method url-fetch)
5781        (uri (cran-uri "snakecase" version))
5782        (sha256
5783         (base32
5784          "1g6xai53dl24ws0mwhqrkcv583ziaq505cv3z8v5dhjgy98kilyj"))))
5785     (build-system r-build-system)
5786     (propagated-inputs
5787      `(("r-stringi" ,r-stringi)
5788        ("r-stringr" ,r-stringr)))
5789     (home-page "https://github.com/Tazinho/snakecase")
5790     (synopsis "Convert strings into any case")
5791     (description
5792      "This package provides a consistent, flexible and easy to use tool to
5793 parse and convert strings into cases like snake or camel among others.")
5794     (license license:gpl3)))
5796 (define-public r-prediction
5797   (package
5798     (name "r-prediction")
5799     (version "0.3.6.2")
5800     (source
5801      (origin
5802        (method url-fetch)
5803        (uri (cran-uri "prediction" version))
5804        (sha256
5805         (base32
5806          "0kx7xbm2j6c8h6gk1iig4vfpg877psg16j74hl7zc2mv40sc6dy5"))))
5807     (build-system r-build-system)
5808     (propagated-inputs
5809      `(("r-data-table" ,r-data-table)))
5810     (home-page "https://github.com/leeper/prediction")
5811     (synopsis "Tidy, type-safe prediction methods")
5812     (description
5813      "This package provides the @code{prediction()} function, a type-safe
5814 alternative to @code{predict()} that always returns a data frame.  The package
5815 currently supports common model types (e.g., @code{\"lm\"}, @code{\"glm\"})
5816 from the @code{stats} package, as well as numerous other model classes from
5817 other add-on packages.")
5818     (license license:expat)))
5820 (define-public r-insight
5821   (package
5822     (name "r-insight")
5823     (version "0.2.0")
5824     (source
5825      (origin
5826        (method url-fetch)
5827        (uri (cran-uri "insight" version))
5828        (sha256
5829         (base32
5830          "0fn9cd5qxqlpjv3d05mk66k5z5ll60x5la51mby5h7k4l6bqmsiz"))))
5831     (build-system r-build-system)
5832     (home-page "https://easystats.github.io/insight/")
5833     (synopsis "Easy access to model information for various model objects")
5834     (description
5835      "This package provides a tool to provide an easy, intuitive and
5836 consistent access to information contained in various R models, like model
5837 formulas, model terms, information about random effects, data that was used to
5838 fit the model or data from response variables.  The package mainly revolves
5839 around two types of functions: Functions that find (the names of) information,
5840 starting with @code{find_}, and functions that get the underlying data,
5841 starting with @code{get_}.  The package has a consistent syntax and works with
5842 many different model objects, where otherwise functions to access these
5843 information are missing.")
5844     (license license:gpl3)))
5846 (define-public r-sjlabelled
5847   (package
5848     (name "r-sjlabelled")
5849     (version "1.0.17")
5850     (source
5851      (origin
5852        (method url-fetch)
5853        (uri (cran-uri "sjlabelled" version))
5854        (sha256
5855         (base32
5856          "00c0c22ynpihgf2bvmcfnkvqwqvxax2zzb7wldsmg2f7z5a32aa6"))))
5857     (build-system r-build-system)
5858     (propagated-inputs
5859      `(("r-dplyr" ,r-dplyr)
5860        ("r-haven" ,r-haven)
5861        ("r-insight" ,r-insight)
5862        ("r-magrittr" ,r-magrittr)
5863        ("r-purrr" ,r-purrr)
5864        ("r-rlang" ,r-rlang)))
5865     (home-page "https://github.com/strengejacke/sjlabelled")
5866     (synopsis "Labelled data utility functions")
5867     (description
5868      "This package provides a collection of functions dealing with labelled
5869 data, like reading and writing data between R and other statistical software
5870 packages.  This includes easy ways to get, set or change value and variable
5871 label attributes, to convert labelled vectors into factors or numeric (and
5872 vice versa), or to deal with multiple declared missing values.")
5873     (license license:gpl3)))
5875 (define-public r-sjmisc
5876   (package
5877     (name "r-sjmisc")
5878     (version "2.7.9")
5879     (source
5880      (origin
5881        (method url-fetch)
5882        (uri (cran-uri "sjmisc" version))
5883        (sha256
5884         (base32
5885          "11iiap0w5v0dszgwx4pi3j1zf9vnlw1ml1wjvq1hg9iz1plgbfnc"))))
5886     (build-system r-build-system)
5887     (propagated-inputs
5888      `(("r-dplyr" ,r-dplyr)
5889        ("r-haven" ,r-haven)
5890        ("r-magrittr" ,r-magrittr)
5891        ("r-purrr" ,r-purrr)
5892        ("r-rlang" ,r-rlang)
5893        ("r-sjlabelled" ,r-sjlabelled)))
5894     (home-page "https://github.com/strengejacke/sjmisc")
5895     (synopsis "Data and variable transformation functions")
5896     (description
5897      "This package is a collection of miscellaneous utility functions,
5898 supporting data transformation tasks like recoding, dichotomizing or grouping
5899 variables, setting and replacing missing values.  The data transformation
5900 functions also support labelled data, and all integrate seamlessly into a
5901 tidyverse workflow.")
5902     (license license:gpl3)))
5904 (define-public r-nortest
5905   (package
5906     (name "r-nortest")
5907     (version "1.0-4")
5908     (source
5909      (origin
5910        (method url-fetch)
5911        (uri (cran-uri "nortest" version))
5912        (sha256
5913         (base32
5914          "17r0wpz72z9312c70nwi1i1kp1v9fm1h6jg7q5cx1mc1h420m1d3"))))
5915     (build-system r-build-system)
5916     (home-page "https://cran.r-project.org/web/packages/nortest/")
5917     (synopsis "Tests for normality")
5918     (description
5919      "This package provides five omnibus tests for testing the composite
5920 hypothesis of normality.")
5921     (license license:gpl2+)))
5923 (define-public r-moonbook
5924   (package
5925     (name "r-moonbook")
5926     (version "0.2.3")
5927     (source
5928      (origin
5929        (method url-fetch)
5930        (uri (cran-uri "moonBook" version))
5931        (sha256
5932         (base32
5933          "0hys56mwbm776ff7dibi8wzyf69qiais9rs1jazv79lk6h56s9s6"))))
5934     (properties `((upstream-name . "moonBook")))
5935     (build-system r-build-system)
5936     (propagated-inputs
5937      `(("r-magrittr" ,r-magrittr)
5938        ("r-nortest" ,r-nortest)
5939        ("r-purrr" ,r-purrr)
5940        ("r-sjmisc" ,r-sjmisc)
5941        ("r-stringr" ,r-stringr)
5942        ("r-survival" ,r-survival)))
5943     (home-page "https://github.com/cardiomoon/moonBook")
5944     (synopsis "Functions and datasets for the book by Keon-Woong Moon")
5945     (description
5946      "This package provides several analysis-related functions for the book
5947 entitled \"R statistics and graph for medical articles\" (written in Korean),
5948 version 1, by Keon-Woong Moon with Korean demographic data with several plot
5949 functions.")
5950     (license license:gpl2)))
5952 (define-public r-flextable
5953   (package
5954     (name "r-flextable")
5955     (version "0.5.2")
5956     (source
5957      (origin
5958        (method url-fetch)
5959        (uri (cran-uri "flextable" version))
5960        (sha256
5961         (base32
5962          "0sabdvkdlx5i1nr7nz68cappwsibzsjxpmiz3yp948ckbfmkdb27"))))
5963     (build-system r-build-system)
5964     (propagated-inputs
5965      `(("r-base64enc" ,r-base64enc)
5966        ("r-data-table" ,r-data-table)
5967        ("r-gdtools" ,r-gdtools)
5968        ("r-htmltools" ,r-htmltools)
5969        ("r-knitr" ,r-knitr)
5970        ("r-officer" ,r-officer)
5971        ("r-rlang" ,r-rlang)
5972        ("r-rmarkdown" ,r-rmarkdown)
5973        ("r-xml2" ,r-xml2)))
5974     (home-page "https://davidgohel.github.io/flextable")
5975     (synopsis "Functions for tabular reporting")
5976     (description
5977      "This package provides tools to create pretty tables for HTML documents
5978 and other formats.  Functions are provided to let users create tables, modify
5979 and format their content.  It extends the @code{officer} package and can be
5980 used within R markdown documents when rendering to HTML and to Word
5981 documents.")
5982     (license license:gpl3)))
5984 (define-public r-writexl
5985   (package
5986     (name "r-writexl")
5987     (version "1.1")
5988     (source
5989      (origin
5990        (method url-fetch)
5991        (uri (cran-uri "writexl" version))
5992        (sha256
5993         (base32
5994          "0w4wnpl3yhaqp63p32bk60xrbmd7xd11kxifjbzrghi7d4483a46"))))
5995     (build-system r-build-system)
5996     (inputs `(("zlib" ,zlib)))
5997     (home-page "https://github.com/ropensci/writexl")
5998     (synopsis "Export data frames to xlsx format")
5999     (description
6000      "This package provides a data frame to xlsx exporter based on
6001 libxlsxwriter.")
6002     (license license:bsd-2)))
6004 (define-public r-biasedurn
6005   (package
6006     (name "r-biasedurn")
6007     (version "1.07")
6008     (source
6009      (origin
6010        (method url-fetch)
6011        (uri (cran-uri "BiasedUrn" version))
6012        (sha256
6013         (base32
6014          "13i2lgfnjhlbbm2yxfc2l5hswqw6x03pwba5csjmirv8kpjw4xr3"))))
6015     (properties `((upstream-name . "BiasedUrn")))
6016     (build-system r-build-system)
6017     (home-page "https://cran.r-project.org/web/packages/BiasedUrn/")
6018     (synopsis "Biased Urn model distributions")
6019     (description
6020      "This package provides statistical models of biased sampling in the form
6021 of univariate and multivariate noncentral hypergeometric distributions,
6022 including Wallenius' noncentral hypergeometric distribution and Fisher's
6023 noncentral hypergeometric distribution (also called extended hypergeometric
6024 distribution).")
6025     (license license:gpl3)))
6027 (define-public r-goplot
6028   (package
6029     (name "r-goplot")
6030     (version "1.0.2")
6031     (source
6032      (origin
6033        (method url-fetch)
6034        (uri (cran-uri "GOplot" version))
6035        (sha256
6036         (base32
6037          "1y8dv0kbzpr9za91njw0x233vx5d13vqml9hmpddcyi9s6va5nix"))))
6038     (properties `((upstream-name . "GOplot")))
6039     (build-system r-build-system)
6040     (propagated-inputs
6041      `(("r-ggdendro" ,r-ggdendro)
6042        ("r-ggplot2" ,r-ggplot2)
6043        ("r-gridextra" ,r-gridextra)
6044        ("r-rcolorbrewer" ,r-rcolorbrewer)))
6045     (home-page "https://github.com/wencke/wencke.github.io")
6046     (synopsis "Visualization of functional analysis data")
6047     (description
6048      "This package provides an implementation of multilayered visualizations
6049 for enhanced graphical representation of functional analysis data.  It
6050 combines and integrates omics data derived from expression and functional
6051 annotation enrichment analyses.  Its plotting functions have been developed
6052 with an hierarchical structure in mind: starting from a general overview to
6053 identify the most enriched categories (modified bar plot, bubble plot) to a
6054 more detailed one displaying different types of relevant information for the
6055 molecules in a given set of categories (circle plot, chord plot, cluster plot,
6056 Venn diagram, heatmap).")
6057     (license license:gpl2)))
6059 (define-public r-getopt
6060   (package
6061     (name "r-getopt")
6062     (version "1.20.3")
6063     (source
6064      (origin
6065        (method url-fetch)
6066        (uri (cran-uri "getopt" version))
6067        (sha256
6068         (base32
6069          "0zzmzgwl9a4y3s34600vmih22d6y32294f9bvxrnmffnvkgmy7sk"))))
6070     (build-system r-build-system)
6071     (home-page "https://github.com/trevorld/getopt")
6072     (synopsis "Command-line option processor for R")
6073     (description
6074      "This package is designed to be used with Rscript to write shebang
6075 scripts that accept short and long options.  Many users will prefer to
6076 use the packages @code{optparse} or @code{argparse} which add extra
6077 features like automatically generated help options and usage texts,
6078 support for default values, positional argument support, etc.")
6079     (license license:gpl2+)))
6081 (define-public r-findpython
6082   (package
6083     (name "r-findpython")
6084     (version "1.0.5")
6085     (source
6086      (origin
6087        (method url-fetch)
6088        (uri (cran-uri "findpython" version))
6089        (sha256
6090         (base32
6091          "0icifm4z6hhpmcjrg75a875iph0ci890ss02kdv3725pijc236iy"))))
6092     (build-system r-build-system)
6093     (home-page "https://github.com/trevorld/findpython")
6094     (synopsis "Functions to find an acceptable Python binary")
6095     (description
6096      "This package was designed to find an acceptable Python binary that
6097 matches version and feature constraints.")
6098     (license license:expat)))
6100 ;; This in not the same as "r-argparser"
6101 (define-public r-argparse
6102   (package
6103     (name "r-argparse")
6104     (version "2.0.1")
6105     (source
6106      (origin
6107        (method url-fetch)
6108        (uri (cran-uri "argparse" version))
6109        (sha256
6110         (base32
6111          "1as7h6z7kzgv0fqzpnp76qbm96b4jcd37azd58b7rz0l1n94764l"))))
6112     (build-system r-build-system)
6113     (inputs `(("python" ,python)))
6114     (propagated-inputs
6115      `(("r-findpython" ,r-findpython)
6116        ("r-jsonlite" ,r-jsonlite)
6117        ("r-r6" ,r-r6)))
6118     (home-page "https://github.com/trevorld/argparse")
6119     (synopsis "Command line optional and positional argument parser")
6120     (description
6121      "This package provides a command line parser to be used with Rscript to
6122 write shebang scripts that gracefully accept positional and optional arguments
6123 and automatically generate usage notices.")
6124     (license license:gpl2+)))
6126 (define-public r-hash
6127   (package
6128     (name "r-hash")
6129     (version "2.2.6.1")
6130     (source
6131      (origin
6132        (method url-fetch)
6133        (uri (cran-uri "hash" version))
6134        (sha256
6135         (base32
6136          "0b3fl0rvgwb992knl81vm99lsldg5clvaqjh6mamm6zqmb6dz056"))))
6137     (build-system r-build-system)
6138     (home-page "https://cran.r-project.org/web/packages/hash/")
6139     (synopsis "Implementation of hash/associated arrays/dictionaries")
6140     (description
6141      "This package implements a data structure similar to hashes in Perl and
6142 dictionaries in Python but with a purposefully R flavor.  For objects of
6143 appreciable size, access using hashes outperforms native named lists and
6144 vectors.")
6145     (license license:gpl2+)))
6147 (define-public r-orddom
6148   (package
6149     (name "r-orddom")
6150     (version "3.1")
6151     (source
6152      (origin
6153        (method url-fetch)
6154        (uri (cran-uri "orddom" version))
6155        (sha256
6156         (base32
6157          "165axs15fvwhrp89xd87l81q3h2qjll1vrwcsap645cwvb85nwsh"))))
6158     (build-system r-build-system)
6159     (propagated-inputs `(("r-psych" ,r-psych)))
6160     (home-page "https://cran.r-project.org/web/packages/orddom/")
6161     (synopsis "Ordinal dominance statistics")
6162     (description
6163      "This package provides tools to compute ordinal, statistics and effect
6164 sizes as an alternative to mean comparison: Cliff's delta or success rate
6165 difference (SRD), Vargha and Delaney's A or the Area Under a Receiver
6166 Operating Characteristic Curve (AUC), the discrete type of McGraw & Wong's
6167 Common Language Effect Size (CLES) or Grissom & Kim's Probability of
6168 Superiority (PS), and the Number needed to treat (NNT) effect size.  Moreover,
6169 comparisons to Cohen's d are offered based on Huberty & Lowman's Percentage of
6170 Group (Non-)Overlap considerations.")
6171     (license license:gpl2)))
6173 (define-public r-doby
6174   (package
6175     (name "r-doby")
6176     (version "4.6-2")
6177     (source
6178      (origin
6179        (method url-fetch)
6180        (uri (cran-uri "doBy" version))
6181        (sha256
6182         (base32
6183          "02vbv9nfgywg6lsiialkmfnax5z3rkyb9nr8j9l2cp8xi6ml95mb"))))
6184     (properties `((upstream-name . "doBy")))
6185     (build-system r-build-system)
6186     (propagated-inputs
6187      `(("r-dplyr" ,r-dplyr)
6188        ("r-magrittr" ,r-magrittr)
6189        ("r-mass" ,r-mass)
6190        ("r-matrix" ,r-matrix)
6191        ("r-plyr" ,r-plyr)))
6192     (home-page "http://people.math.aau.dk/~sorenh/software/doBy/")
6193     (synopsis "Groupwise statistics, LSmeans, linear contrasts, and utilities")
6194     (description
6195      "This package contains:
6197 @itemize
6198 @item facilities for working with grouped data: @code{do}
6199   something to data stratified @code{by} some variables.
6200 @item implementations of least-squares means, general linear contrasts, and
6201 @item miscellaneous other utilities.
6202 @end itemize\n")
6203     (license license:gpl2+)))
6205 (define-public r-refgenome
6206   (package
6207     (name "r-refgenome")
6208     (version "1.7.3.1")
6209     (source
6210      (origin
6211        (method url-fetch)
6212        (uri (cran-uri "refGenome" version))
6213        (sha256
6214         (base32
6215          "1s4lxv5pqk6d0f0a9iclgv88yl346fwvzgraxh0gwpbym1yhh787"))))
6216     (properties `((upstream-name . "refGenome")))
6217     (build-system r-build-system)
6218     (propagated-inputs
6219      `(("r-dbi" ,r-dbi)
6220        ("r-doby" ,r-doby)
6221        ("r-rsqlite" ,r-rsqlite)))
6222     (home-page "https://cran.r-project.org/web/packages/refGenome/")
6223     (synopsis
6224      "Gene and splice site annotation using annotation data from Ensembl and UCSC")
6225     (description
6226      "This package contains functionality for importing and managing of
6227 downloaded genome annotation data from the Ensembl genome browser (European
6228 Bioinformatics Institute) and from the UCSC genome browser (University of
6229 California, Santa Cruz) and annotation routines for genomic positions and
6230 splice site positions.")
6231     (license license:gpl2)))
6233 (define-public r-basix
6234   (package
6235     (name "r-basix")
6236     (version "1.1")
6237     (source
6238      (origin
6239        (method url-fetch)
6240        (uri (cran-uri "BASIX" version))
6241        (sha256
6242         (base32
6243          "18dkvv1iwskfnlpl6xridcgqpalbbpm2616mvc3hfrc0b26v01id"))))
6244     (properties `((upstream-name . "BASIX")))
6245     (build-system r-build-system)
6246     (home-page "https://cran.r-project.org/web/packages/BASIX/")
6247     (synopsis "Efficient C/C++ toolset for R")
6248     (description
6249      "BASIX provides some efficient C/C++ implementations of native R
6250 procedures to speed up calculations in R.")
6251     (license license:gpl2)))
6253 (define-public r-blockfest
6254   (package
6255     (name "r-blockfest")
6256     (version "1.6")
6257     (source
6258      (origin
6259        (method url-fetch)
6260        (uri (cran-uri "BlockFeST" version))
6261        (sha256
6262         (base32
6263          "0hj7a5as7nxbgjac7lbj6qfwffx3g8x8phpf9a55f1c9cdzi73a5"))))
6264     (properties `((upstream-name . "BlockFeST")))
6265     (build-system r-build-system)
6266     (propagated-inputs `(("r-basix" ,r-basix)))
6267     (home-page "https://cran.r-project.org/web/packages/BlockFeST/")
6268     (synopsis "Bayesian calculation of region-specific fixation index")
6269     (description
6270      "This package provides an R implementation of an extension of the
6271 BayeScan software for codominant markers, adding the option to group
6272 individual SNPs into pre-defined blocks.  A typical application of this new
6273 approach is the identification of genomic regions, genes, or gene sets
6274 containing one or more SNPs that evolved under directional selection.")
6275     (license license:gpl2)))
6277 (define-public r-proc
6278   (package
6279     (name "r-proc")
6280     (version "1.14.0")
6281     (source
6282      (origin
6283        (method url-fetch)
6284        (uri (cran-uri "pROC" version))
6285        (sha256
6286         (base32
6287          "0ki1pvj5iaki81crapvwqllg5avn5qlvv62axnsdkdcmv9xc3wg0"))))
6288     (properties `((upstream-name . "pROC")))
6289     (build-system r-build-system)
6290     (propagated-inputs
6291      `(("r-plyr" ,r-plyr)
6292        ("r-rcpp" ,r-rcpp)))
6293     (home-page "http://expasy.org/tools/pROC/")
6294     (synopsis "Display and analyze ROC curves")
6295     (description
6296      "This package provides tools for visualizing, smoothing and comparing
6297 receiver operating characteristic (ROC curves).  The area under the
6298 curve (AUC) can be compared with statistical tests based on U-statistics or
6299 bootstrap.  Confidence intervals can be computed for (p)AUC or ROC curves.")
6300     (license license:gpl3+)))
6302 (define-public r-rootsolve
6303   (package
6304     (name "r-rootsolve")
6305     (version "1.7")
6306     (source
6307      (origin
6308        (method url-fetch)
6309        (uri (cran-uri "rootSolve" version))
6310        (sha256
6311         (base32
6312          "08ic6ggcc5dw4nv9xsqkm3vnvswmxyhnqnv1rdjv1h2gy1ivpcq8"))))
6313     (properties `((upstream-name . "rootSolve")))
6314     (build-system r-build-system)
6315     (native-inputs `(("gfortran" ,gfortran)))
6316     (home-page "https://cran.r-project.org/web/packages/rootSolve/")
6317     (synopsis "Tools for the analysis of ordinary differential equations")
6318     (description
6319      "This package provides routines to find the root of nonlinear functions,
6320 and to perform steady-state and equilibrium analysis of @dfn{ordinary
6321 differential equations} (ODE).  It includes routines that:
6323 @enumerate
6324 @item generate gradient and jacobian matrices (full and banded),
6325 @item find roots of non-linear equations by the Newton-Raphson method,
6326 @item estimate steady-state conditions of a system of (differential) equations
6327   in full, banded or sparse form, using the Newton-Raphson method, or by
6328   dynamically running,
6329 @item solve the steady-state conditions for uni- and multicomponent 1-D, 2-D,
6330   and 3-D partial differential equations, that have been converted to ordinary
6331   differential equations by numerical differencing (using the method-of-lines
6332   approach).
6333 @end enumerate\n")
6334     (license license:gpl2+)))
6336 (define-public r-abcanalysis
6337   (package
6338     (name "r-abcanalysis")
6339     (version "1.2.1")
6340     (source
6341      (origin
6342        (method url-fetch)
6343        (uri (cran-uri "ABCanalysis" version))
6344        (sha256
6345         (base32 "0wac1ksmnxa36v99ca4hv8k0rsh3igwpcllmlv9wf7i9kgqviqwi"))))
6346     (properties `((upstream-name . "ABCanalysis")))
6347     (build-system r-build-system)
6348     (propagated-inputs `(("r-plotrix" ,r-plotrix)))
6349     (home-page "https://www.uni-marburg.de/fb12/arbeitsgruppen/datenbionik/software-en/")
6350     (synopsis "Computed ABC Analysis")
6351     (description
6352      "Multivariate data sets often differ in several factors or derived statistical
6353 parameters, which have to be selected for a valid interpretation.  Basing this
6354 selection on traditional statistical limits leads occasionally to the perception
6355 of losing information from a data set.  This package provides tools to calculate
6356 these limits on the basis of the mathematical properties of the distribution of
6357 the analyzed items.")
6358     (license license:gpl3)))
6360 (define-public r-slam
6361   (package
6362     (name "r-slam")
6363     (version "0.1-45")
6364     (source
6365      (origin
6366        (method url-fetch)
6367        (uri (cran-uri "slam" version))
6368        (sha256
6369         (base32 "0xvj8va6xd7zkn3l4a5ad7v62s7xmkz8frq7gpcl3b6vqwckkaw4"))))
6370     (build-system r-build-system)
6371     (home-page "https://cran.r-project.org/web/packages/slam/")
6372     (synopsis "Sparse lightweight arrays and matrices")
6373     (description
6374      "This package contains data structures and algorithms for sparse arrays and matrices,
6375 based on index arrays and simple triplet representations, respectively.")
6376     (license license:gpl2)))
6378 (define-public r-manipulatewidget
6379   (package
6380     (name "r-manipulatewidget")
6381     (version "0.10.0")
6382     (source
6383      (origin
6384        (method url-fetch)
6385        (uri (cran-uri "manipulateWidget" version))
6386        (sha256
6387         (base32 "1zagrbwkn2d50zzw8i2vyb1hsq4cydmfsqiy1a2qlp6zrv8a6q9x"))))
6388     (properties
6389      `((upstream-name . "manipulateWidget")))
6390     (build-system r-build-system)
6391     (propagated-inputs
6392      `(("r-base64enc" ,r-base64enc)
6393        ("r-codetools" ,r-codetools)
6394        ("r-htmltools" ,r-htmltools)
6395        ("r-htmlwidgets" ,r-htmlwidgets)
6396        ("r-knitr" ,r-knitr)
6397        ("r-miniui" ,r-miniui)
6398        ("r-shiny" ,r-shiny)
6399        ("r-webshot" ,r-webshot)))
6400     (home-page "https://github.com/rte-antares-rpackage/manipulateWidget/")
6401     (synopsis "Add even more interactivity to interactive charts")
6402     (description
6403      "This package lets you create in just a few lines of R code a nice user interface to
6404 modify the data or the graphical parameters of one or multiple interactive
6405 charts.  It is useful to quickly explore visually some data or for package
6406 developers to generate user interfaces easy to maintain.")
6407     (license license:gpl2+)))
6409 (define-public r-a3
6410   (package
6411     (name "r-a3")
6412     (version "1.0.0")
6413     (source
6414      (origin
6415        (method url-fetch)
6416        (uri (cran-uri "A3" version))
6417        (sha256
6418         (base32 "017hq9pjsv1h9i7cqk5cfx27as54shlhdsdvr6jkhb8jfkpdb6cw"))))
6419     (properties `((upstream-name . "A3")))
6420     (build-system r-build-system)
6421     (propagated-inputs
6422      `(("r-pbapply" ,r-pbapply)
6423        ("r-xtable" ,r-xtable)))
6424     (home-page "https://cran.r-project.org/web/packages/A3/")
6425     (synopsis "Error metrics for predictive models")
6426     (description
6427      "This package supplies tools for tabulating and analyzing the results of predictive
6428 models.  The methods employed are applicable to virtually any predictive model
6429 and make comparisons between different methodologies straightforward.")
6430     (license license:gpl2+)))
6432 (define-public r-infotheo
6433   (package
6434     (name "r-infotheo")
6435     (version "1.2.0")
6436     (source
6437      (origin
6438        (method url-fetch)
6439        (uri (cran-uri "infotheo" version))
6440        (sha256
6441         (base32
6442          "18xacczfq3z3xpy434js4nf3l19lczngzd0lq26wh22pvg1yniwv"))))
6443     (build-system r-build-system)
6444     (home-page "http://homepage.meyerp.com/software")
6445     (synopsis "Information-theoretic measures")
6446     (description
6447      "This package implements various measures of information theory based on
6448 several entropy estimators.")
6449     (license license:gpl3+)))
6451 (define-public r-abcoptim
6452   (package
6453     (name "r-abcoptim")
6454     (version "0.15.0")
6455     (source
6456      (origin
6457        (method url-fetch)
6458        (uri (cran-uri "ABCoptim" version))
6459        (sha256
6460         (base32 "1ih0xk88qhsmpvnxf56041wx5sk8as2f4f2gdnpnwdym9mbr9n4b"))))
6461     (properties `((upstream-name . "ABCoptim")))
6462     (build-system r-build-system)
6463     (propagated-inputs `(("r-rcpp" ,r-rcpp)))
6464     (home-page "https://github.com/gvegayon/ABCoptim/")
6465     (synopsis "Optimization of Artificial Bee Colony algorithm")
6466     (description
6467      "Artificial Bee Colony (ABC) is one of the most recently defined algorithms by Dervis
6468 Karaboga in 2005, motivated by the intelligent behavior of honey bees.  It is as
6469 simple as Particle Swarm Optimization (PSO) and Differential Evolution (DE)
6470 algorithms, and uses only common control parameters such as colony size and
6471 maximum cycle number.  The @code{r-abcoptim} implements the Artificial bee
6472 colony optimization algorithm @url{http://mf.erciyes.edu.tr/abc/pub/tr06_2005.pdf}.
6473   This version is a work-in-progress and is written in R code.")
6474     (license license:expat)))
6476 (define-public r-abcp2
6477   (package
6478     (name "r-abcp2")
6479     (version "1.2")
6480     (source
6481      (origin
6482        (method url-fetch)
6483        (uri (cran-uri "ABCp2" version))
6484        (sha256
6485         (base32 "1s2skkxpzss7c29i8600psgrp0hl46jcrxqrmy2b4db8hc0kcnbx"))))
6486     (properties `((upstream-name . "ABCp2")))
6487     (build-system r-build-system)
6488     (propagated-inputs `(("r-mass" ,r-mass)))
6489     (home-page "https://cran.r-project.org/web/packages/ABCp2/")
6490     (synopsis "Approximate Bayesian Computational Model for Estimating P2")
6491     (description
6492      "This package tests the goodness of fit of a distribution of offspring to the Normal,
6493 Poisson, and Gamma distribution and estimates the proportional paternity of the
6494 second male (P2) based on the best fit distribution.")
6495     (license license:gpl2)))
6497 (define-public r-abcrf
6498   (package
6499     (name "r-abcrf")
6500     (version "1.7.1")
6501     (source
6502      (origin
6503        (method url-fetch)
6504        (uri (cran-uri "abcrf" version))
6505        (sha256
6506         (base32 "06vy3inikrr9hv36q4djhrgzi9zizdfnhz17wpra8kadmr7qj441"))))
6507     (build-system r-build-system)
6508     (propagated-inputs
6509      `(("r-mass" ,r-mass)
6510        ("r-matrixstats" ,r-matrixstats)
6511        ("r-ranger" ,r-ranger)
6512        ("r-rcpp" ,r-rcpp)
6513        ("r-rcpparmadillo" ,r-rcpparmadillo)
6514        ("r-readr" ,r-readr)
6515        ("r-stringr" ,r-stringr)))
6516     (home-page "https://cran.r-project.org/web/packages/abcrf/")
6517     (synopsis "Approximate bayesian computation via random forests")
6518     (description
6519      "This package performs approximate bayesian computation (ABC) model choice and
6520 parameter inference via random forests.  This machine learning tool named random
6521 forests (RF) can conduct selection among the highly complex models covered by
6522 ABC algorithms.")
6523     (license license:gpl2+)))
6525 (define-public r-abctools
6526   (package
6527     (name "r-abctools")
6528     (version "1.1.3")
6529     (source
6530      (origin
6531        (method url-fetch)
6532        (uri (cran-uri "abctools" version))
6533        (sha256
6534         (base32 "07s9dg10i8lsxl73b4n2hynca2fjgb0ykb0dz8c3zv6cgw3cyx97"))))
6535     (build-system r-build-system)
6536     (propagated-inputs
6537      `(("r-abc" ,r-abc)
6538        ("r-abind" ,r-abind)
6539        ("r-hmisc" ,r-hmisc)
6540        ("r-plyr" ,r-plyr)))
6541     (home-page "https://github.com/dennisprangle/abctools/")
6542     (synopsis "Tools for ABC analyses")
6543     (description
6544      "This @code{r-abctools} package provides tools for approximate Bayesian computation
6545 including summary statistic selection and assessing coverage.  This includes
6546 recent dimension reduction algorithms to tune the choice of summary statistics,
6547 and coverage methods to tune the choice of threshold.")
6548     (license license:gpl2+)))
6550 (define-public r-ggstance
6551   (package
6552     (name "r-ggstance")
6553     (version "0.3.1")
6554     (source
6555      (origin
6556        (method url-fetch)
6557        (uri (cran-uri "ggstance" version))
6558        (sha256
6559         (base32 "0v7f3xdaaridw6d4jvnsfwxmpjrasvx5vl555wsrn50aah17fkvh"))))
6560     (build-system r-build-system)
6561     (propagated-inputs
6562      `(("r-ggplot2" ,r-ggplot2)
6563        ("r-plyr" ,r-plyr)
6564        ("r-rlang" ,r-rlang)
6565        ("r-withr" ,r-withr)))
6566     (home-page "https://cran.r-project.org/web/packages/ggstance/")
6567     (synopsis "Horizontal and vertical versions of @code{r-ggplot2}")
6568     (description
6569      "This package is a @code{r-ggplot2} extension that provides flipped components:
6570 @enumerate
6571 @item horizontal versions of @code{r-ggplot2} stats and @code{r-ggplot2} geoms;
6572 @item vertical versions of @code{r-ggplot2} positions.
6573 @end enumerate")
6574     (license license:gpl3)))
6576 (define-public r-mosaiccore
6577   (package
6578     (name "r-mosaiccore")
6579     (version "0.6.0")
6580     (source
6581      (origin
6582        (method url-fetch)
6583        (uri (cran-uri "mosaicCore" version))
6584        (sha256
6585         (base32 "1klw97h6lchw1cpcl8s637ikcl428cckmjq0czi7mibh9q9mw72z"))))
6586     (properties `((upstream-name . "mosaicCore")))
6587     (build-system r-build-system)
6588     (propagated-inputs
6589      `(("r-dplyr" ,r-dplyr)
6590        ("r-lazyeval" ,r-lazyeval)
6591        ("r-mass" ,r-mass)
6592        ("r-rlang" ,r-rlang)
6593        ("r-tidyr" ,r-tidyr)))
6594     (home-page "https://github.com/ProjectMOSAIC/mosaicCore/")
6595     (synopsis "Common utilities for mosaic family packages")
6596     (description
6597      "Common utilities used in other Mosaic family packages are collected here.")
6598     (license license:gpl2+)))
6600 (define-public r-ggformula
6601   (package
6602     (name "r-ggformula")
6603     (version "0.9.1")
6604     (source
6605      (origin
6606        (method url-fetch)
6607        (uri (cran-uri "ggformula" version))
6608        (sha256
6609         (base32 "01ngx8qh9lhmagng6abx2ky54zi3iyj5bpxlnw59slagwv7l6icx"))))
6610     (build-system r-build-system)
6611     (propagated-inputs
6612      `(("r-ggplot2" ,r-ggplot2)
6613        ("r-ggstance" ,r-ggstance)
6614        ("r-magrittr" ,r-magrittr)
6615        ("r-mosaiccore" ,r-mosaiccore)
6616        ("r-rlang" ,r-rlang)
6617        ("r-stringr" ,r-stringr)
6618        ("r-tibble" ,r-tibble)
6619        ("r-tidyr" ,r-tidyr)))
6620     (home-page "https://github.com/ProjectMOSAIC/ggformula/")
6621     (synopsis "Formula interface for the @code{r-ggplot2}")
6622     (description
6623      "The @code{r-ggformula} introduces a family of graphics functions, gf_point(),
6624 gf_density(), and so on, bring the formula interface to ggplot().  This captures
6625 and extends the excellent simplicity of the lattice-graphics formula interface,
6626 while providing the intuitive capabilities of @code{r-ggplot2}.")
6627     (license license:expat)))
6629 (define-public r-mosaicdata
6630   (package
6631     (name "r-mosaicdata")
6632     (version "0.17.0")
6633     (source
6634      (origin
6635        (method url-fetch)
6636        (uri (cran-uri "mosaicData" version))
6637        (sha256
6638         (base32 "04z0mdm52mykqsxsinhmsihn181zf6cw321gayk2rjp7lj7mwdq9"))))
6639     (properties `((upstream-name . "mosaicData")))
6640     (build-system r-build-system)
6641     (home-page "https://cran.r-project.org/web/packages/mosaicData/")
6642     (synopsis "Data sets for project Mosaic")
6643     (description
6644      "This package provides data sets from project Mosaic @url{http://mosaic-web.org}
6645 used to teach mathematics, statistics, computation and modeling.")
6646     (license license:gpl2+)))
6648 (define-public r-raster
6649   (package
6650     (name "r-raster")
6651     (version "2.8-19")
6652     (source
6653      (origin
6654        (method url-fetch)
6655        (uri (cran-uri "raster" version))
6656        (sha256
6657         (base32
6658          "1lmhf7p7is8ai7lv7zsj2rdzf83j7ccl4x7a9vwxxa824zy4bkf4"))))
6659     (build-system r-build-system)
6660     (propagated-inputs
6661      `(("r-rcpp" ,r-rcpp)
6662        ("r-sp" ,r-sp)))
6663     (home-page "https://www.rspatial.org/")
6664     (synopsis "Geographic data analysis and modeling")
6665     (description
6666      "The package implements basic and high-level functions for reading,
6667 writing, manipulating, analyzing and modeling of gridded spatial data.
6668 Processing of very large files is supported.")
6669     (license license:gpl3+)))
6671 (define-public r-mosaic
6672   (package
6673    (name "r-mosaic")
6674    (version "1.4.0")
6675    (source
6676     (origin
6677      (method url-fetch)
6678      (uri (cran-uri "mosaic" version))
6679      (sha256
6680       (base32 "10jbrg8kli00kfgbh2f67bymm5cnlancc9dplb1j7fl552yjddn2"))))
6681    (build-system r-build-system)
6682    (propagated-inputs
6683     `(("r-broom" ,r-broom)
6684       ("r-dplyr" ,r-dplyr)
6685       ("r-ggdendro" ,r-ggdendro)
6686       ("r-ggformula" ,r-ggformula)
6687       ("r-ggplot2" ,r-ggplot2)
6688       ("r-ggrepel" ,r-ggrepel)
6689       ("r-glue" ,r-glue)
6690       ("r-gridextra" ,r-gridextra)
6691       ("r-lattice" ,r-lattice)
6692       ("r-latticeextra" ,r-latticeextra)
6693       ("r-lazyeval" ,r-lazyeval)
6694       ("r-mass" ,r-mass)
6695       ("r-matrix" ,r-matrix)
6696       ("r-mosaiccore" ,r-mosaiccore)
6697       ("r-mosaicdata" ,r-mosaicdata)
6698       ("r-readr" ,r-readr)
6699       ("r-tidyr" ,r-tidyr)))
6700    (home-page "https://github.com/ProjectMOSAIC/mosaic/")
6701    (synopsis "Mathematics, statistics, and computation teaching utilities")
6702    (description
6703     "This package contain data sets and utilities from
6704 @url{http://mosaic-web.org, Project MOSAIC} used to teach mathematics,
6705 statistics, computation and modeling.  Project MOSAIC is a community of
6706 educators working to tie together aspects of quantitative work that students
6707 in science, technology, engineering and mathematics will need in their
6708 professional lives, but which are usually taught in isolation, if at all.")
6709    (license license:gpl2+)))
6711 (define-public r-abd
6712   (package
6713     (name "r-abd")
6714     (version "0.2-8")
6715     (source
6716      (origin
6717        (method url-fetch)
6718        (uri (cran-uri "abd" version))
6719        (sha256
6720         (base32 "191gspqzdv573vaw624ri0f5cm6v4j524bjs74d4a1hn3kn6r9b7"))))
6721     (build-system r-build-system)
6722     (propagated-inputs
6723      `(("r-lattice" ,r-lattice)
6724        ("r-mosaic" ,r-mosaic)
6725        ("r-nlme" ,r-nlme)))
6726     (home-page "https://cran.r-project.org/web/packages/abd/")
6727     (synopsis "Analysis of biological data")
6728     (description
6729      "The @code{r-abd} package contains data sets and sample code for the Analysis of
6730 biological data by Michael Whitlock and Dolph Schluter.")
6731     (license license:gpl2)))
6733 (define-public r-svgui
6734   (package
6735     (name "r-svgui")
6736     (version "1.0.0")
6737     (source
6738      (origin
6739        (method url-fetch)
6740        (uri (cran-uri "svGUI" version))
6741        (sha256
6742         (base32 "1r7ab0p4yr8q03gj02hmj7k1ghksgkg4nx750c0ajfs2q9y1dxfc"))))
6743     (properties `((upstream-name . "svGUI")))
6744     (build-system r-build-system)
6745     (home-page "https://github.com/SciViews/svGUI/")
6746     (synopsis "Functions for managing GUI clients in R")
6747     (description
6748      "The SciViews @code{svGUI} package eases the management of Graphical User
6749 Interfaces (GUI) in R.  It is independent from any particular GUI widgets.  It
6750 centralizes info about GUI elements currently used, and it dispatches GUI
6751 calls to the particular toolkits in use in function of the context.")
6752     (license license:gpl2)))
6754 (define-public r-svdialogs
6755   (package
6756     (name "r-svdialogs")
6757     (version "1.0.0")
6758     (source
6759      (origin
6760        (method url-fetch)
6761        (uri (cran-uri "svDialogs" version))
6762        (sha256
6763         (base32 "0xqppydfawnwk84kb5qiybwbcmv38vn4imgz01mz2pnq4xb80p97"))))
6764     (properties `((upstream-name . "svDialogs")))
6765     (build-system r-build-system)
6766     (inputs
6767      `(("yad" ,yad)
6768        ("zenity" ,zenity)))
6769     (propagated-inputs
6770      `(("r-rstudioapi" ,r-rstudioapi)
6771        ("r-svgui" ,r-svgui)))
6772     (home-page "https://github.com/SciViews/svDialogs/")
6773     (synopsis "Portable dialog boxes")
6774     (description
6775      "This package helps to construct standard dialog boxes for your GUI, including
6776 message boxes, input boxes, list, file or directory selection, and others.  In
6777 case R cannot display GUI dialog boxes, a simpler command line version of these
6778 interactive elements is also provided as a fallback solution.")
6779     (license license:gpl2)))
6781 (define-public r-abe
6782   (package
6783     (name "r-abe")
6784     (version "3.0.1")
6785     (source
6786      (origin
6787        (method url-fetch)
6788        (uri (cran-uri "abe" version))
6789        (sha256
6790         (base32
6791          "1f19h3xzzmjhvwc1rrb8z0rai3ip03y4gdi2gg9bfr5sg2nfklk6"))))
6792     (build-system r-build-system)
6793     (home-page "https://cran.r-project.org/web/packages/abe/")
6794     (synopsis "Augmented backward elimination")
6795     (description
6796      "This package performs augmented backward elimination and checks the
6797 stability of the obtained model.  Augmented backward elimination combines
6798 significance or information based criteria with the change in estimate to
6799 either select the optimal model for prediction purposes or to serve as a tool
6800 to obtain a practically sound, highly interpretable model.")
6801     (license license:gpl2+)))
6803 (define-public r-abf2
6804   (package
6805     (name "r-abf2")
6806     (version "0.7-1")
6807     (source
6808      (origin
6809        (method url-fetch)
6810        (uri (cran-uri "abf2" version))
6811        (sha256
6812         (base32 "0d65mc1w4pbiv7xaqzdlw1bfsxf25587rv597hh41vs0j0zlfpxx"))))
6813     (build-system r-build-system)
6814     (home-page "https://cran.r-project.org/web/packages/abf2/")
6815     (synopsis "Load gap-free axon @code{r-abf2} files")
6816     (description
6817      "This package loads electrophysiology data from ABF2 files, as created by
6818 Axon Instruments/Molecular Devices software.  Only files recorded in gap-free
6819 mode are currently supported.")
6820     (license license:artistic2.0)))
6822 (define-public r-abhgenotyper
6823   (package
6824     (name "r-abhgenotyper")
6825     (version "1.0.1")
6826     (source
6827      (origin
6828        (method url-fetch)
6829        (uri (cran-uri "ABHgenotypeR" version))
6830        (sha256
6831         (base32 "08cpmnaaxsm5c5bjifnfxdlvg5inrf13biqpcl2yq5zpqjmiki0l"))))
6832     (properties `((upstream-name . "ABHgenotypeR")))
6833     (build-system r-build-system)
6834     (propagated-inputs
6835      `(("r-ggplot2" ,r-ggplot2)
6836        ("r-reshape2" ,r-reshape2)))
6837     (home-page "https://github.com/StefanReuscher/ABHgenotypeR/")
6838     (synopsis "Visualize and manipulate ABH genotypes")
6839     (description
6840      "The @code{r-abhgenotyper} package provides simple imputation,
6841 error-correction and plotting capacities for genotype data.  The package is
6842 supposed to serve as an intermediate but independent analysis tool between the
6843 TASSEL GBS pipeline and the @code{r-qtl} package.  It provides functionalities
6844 not found in either TASSEL or @code{r-qtl} in addition to visualization of
6845 genotypes as \"graphical genotypes\".")
6846     (license license:gpl3)))
6848 (define-public r-furrr
6849   (package
6850     (name "r-furrr")
6851     (version "0.1.0")
6852     (source
6853      (origin
6854        (method url-fetch)
6855        (uri (cran-uri "furrr" version))
6856        (sha256
6857         (base32
6858          "1ld9aa9hydna94hgm6p91zjbfv1dz1vsgchjlpknkg6irbvkfafx"))))
6859     (build-system r-build-system)
6860     (propagated-inputs
6861      `(("r-future" ,r-future)
6862        ("r-globals" ,r-globals)
6863        ("r-purrr" ,r-purrr)
6864        ("r-rlang" ,r-rlang)))
6865     (home-page "https://github.com/DavisVaughan/furrr")
6866     (synopsis "Apply mapping functions in parallel using futures")
6867     (description
6868      "This package provides implementations of the family of @code{map()}
6869 functions from the @code{purrr} package that can be resolved using any
6870 @code{future}-supported backend, e.g. parallel on the local machine or
6871 distributed on a compute cluster.")
6872     (license license:lgpl2.1+)))
6874 (define-public r-abjutils
6875   (package
6876     (name "r-abjutils")
6877     (version "0.2.3")
6878     (source
6879      (origin
6880        (method url-fetch)
6881        (uri (cran-uri "abjutils" version))
6882        (sha256
6883         (base32 "0n4zps65y3zg0gfzlv97w91si52a9izkncirskbkj5x9hk0nhxcv"))))
6884     (build-system r-build-system)
6885     (propagated-inputs
6886      `(("r-devtools" ,r-devtools)
6887        ("r-dplyr" ,r-dplyr)
6888        ("r-furrr" ,r-furrr)
6889        ("r-future" ,r-future)
6890        ("r-glue" ,r-glue)
6891        ("r-httr" ,r-httr)
6892        ("r-magrittr" ,r-magrittr)
6893        ("r-progress" ,r-progress)
6894        ("r-purrr" ,r-purrr)
6895        ("r-readr" ,r-readr)
6896        ("r-rlang" ,r-rlang)
6897        ("r-rstudioapi" ,r-rstudioapi)
6898        ("r-scales" ,r-scales)
6899        ("r-stringi" ,r-stringi)
6900        ("r-stringr" ,r-stringr)
6901        ("r-tibble" ,r-tibble)
6902        ("r-tidyr" ,r-tidyr)))
6903     (home-page "https://github.com/abjur/abjutils/")
6904     (synopsis "Collection of tools for jurimetrical analysis")
6905     (description
6906      "This package implements general purpose tools, such as functions for
6907 sampling and basic manipulation of Brazilian lawsuits identification number.
6908 It also implements functions for text cleaning, such as accentuation
6909 removal.")
6910     (license license:expat)))
6912 (define-public r-abnormality
6913   (package
6914     (name "r-abnormality")
6915     (version "0.1.0")
6916     (source
6917      (origin
6918        (method url-fetch)
6919        (uri (cran-uri "abnormality" version))
6920        (sha256
6921         (base32 "1fzfskl9akl06nliy8hkv2a0pznpj8pwcypg3gj5r2nzvr3kan9v"))))
6922     (build-system r-build-system)
6923     (propagated-inputs
6924      `(("r-mass" ,r-mass)
6925        ("r-matrix" ,r-matrix)))
6926     (home-page "https://cran.r-project.org/web/packages/abnormality/")
6927     (synopsis "Measure a subject's abnormality with respect to a reference population")
6928     (description
6929      "This package contains functions to implement the methodology and
6930 considerations laid out by Marks et al. in the article \"Measuring abnormality
6931 in high dimensional spaces: applications in biomechanical gait analysis\".
6932 Using high-dimensional datasets to measure a subject's overall level of
6933 abnormality as compared to a reference population is often needed in outcomes
6934 research.")
6935     (license license:expat)))
6937 (define-public r-abodoutlier
6938   (package
6939     (name "r-abodoutlier")
6940     (version "0.1")
6941     (source
6942      (origin
6943        (method url-fetch)
6944        (uri (cran-uri "abodOutlier" version))
6945        (sha256
6946         (base32 "1pvhgxmh23br84r0fbmv7g53z2427birdja96a67vqgz18r3fdvj"))))
6947     (properties `((upstream-name . "abodOutlier")))
6948     (build-system r-build-system)
6949     (propagated-inputs
6950      `(("r-cluster" ,r-cluster)))
6951     (home-page "https://cran.r-project.org/web/packages/abodOutlier/")
6952     (synopsis "Angle-based outlier detection")
6953     (description
6954      "This package performs angle-based outlier detection on a given data
6955 frame.  It offers three methods to process data:
6956 @enumerate
6957 @item full but slow implementation using all the data that has cubic
6958   complexity;
6959 @item a fully randomized method;
6960 @item a method using k-nearest neighbours.
6961 @end enumerate
6962 These algorithms are well suited for high dimensional data outlier
6963 detection.")
6964     (license license:expat)))
6966 (define-public r-abps
6967   (package
6968     (name "r-abps")
6969     (version "0.3")
6970     (source
6971      (origin
6972        (method url-fetch)
6973        (uri (cran-uri "ABPS" version))
6974        (sha256
6975         (base32 "0n3f66nmfi5v94il1mxy026mi84w01ph2aljk60vn3mrz8kwf2ll"))))
6976     (properties `((upstream-name . "ABPS")))
6977     (build-system r-build-system)
6978     (propagated-inputs `(("r-kernlab" ,r-kernlab)))
6979     (home-page "https://cran.r-project.org/web/packages/ABPS/")
6980     (synopsis "Abnormal blood profile score to detect blood doping")
6981     (description
6982      "This package offers an implementation of the @dfn{Abnormal blood profile score} (ABPS).
6983 The ABPS is a part of the Athlete biological passport program of the World
6984 anti-doping agency, which combines several blood parameters into a single
6985 score in order to detect blood doping.  The package also contains functions to
6986 calculate other scores used in anti-doping programs, such as the ratio of
6987 hemoglobin to reticulocytes (OFF-score), as well as example data.")
6988     (license license:gpl2+)))
6990 (define-public r-parmigene
6991   (package
6992     (name "r-parmigene")
6993     (version "1.0.2")
6994     (source
6995      (origin
6996        (method url-fetch)
6997        (uri (cran-uri "parmigene" version))
6998        (sha256
6999         (base32
7000          "1fsm6pkr17jcbzkj1hbn91jf890fviqk1lq6ls8pihsdgah1zb4d"))))
7001     (build-system r-build-system)
7002     (home-page "https://cran.r-project.org/web/packages/parmigene/")
7003     (synopsis "Mutual information estimation for gene network reconstruction")
7004     (description
7005      "This package provides a parallel estimation of the mutual information
7006 based on entropy estimates from k-nearest neighbors distances and algorithms
7007 for the reconstruction of gene regulatory networks.")
7008     (license license:agpl3+)))
7010 (define-public r-pscl
7011   (package
7012     (name "r-pscl")
7013     (version "1.5.2")
7014     (source
7015      (origin
7016        (method url-fetch)
7017        (uri (cran-uri "pscl" version))
7018        (sha256
7019         (base32 "1phf3awsfr4ncqfqzin5m1pz0g7y1zhbcm2sz7358ssw914fd7rc"))))
7020     (build-system r-build-system)
7021     (propagated-inputs
7022      `(("r-mass" ,r-mass)))
7023     (home-page "https://github.com/atahk/pscl/")
7024     (synopsis "Political science computational laboratory")
7025     (description
7026      "The @code{pscl} is an R package providing classes and methods for:
7027 @enumerate
7028 @item Bayesian analysis of roll call data (item-response models);
7029 @item elementary Bayesian statistics;
7030 @item maximum likelihood estimation of zero-inflated and hurdle models for count
7031 data;
7032 @item utility functions.
7033 @end enumerate")
7034     (license license:gpl2)))
7036 (define-public r-accelmissing
7037   (package
7038     (name "r-accelmissing")
7039     (version "1.4")
7040     (source
7041      (origin
7042        (method url-fetch)
7043        (uri (cran-uri "accelmissing" version))
7044        (sha256
7045         (base32 "1nql9inx6azdzi3z4sfm2vdml2mms6krl8wzlf1dn1c97ahn57fy"))))
7046     (build-system r-build-system)
7047     (propagated-inputs
7048      `(("r-mice" ,r-mice)
7049        ("r-pscl" ,r-pscl)))
7050     (home-page "https://cran.r-project.org/web/packages/accelmissing/")
7051     (synopsis "Missing value imputation for accelerometer data")
7052     (description
7053      "This package provides a statistical method to impute the missing values in
7054 accelerometer data.  The methodology includes both parametric and
7055 semi-parametric multiple imputations under the zero-inflated Poisson lognormal
7056 model.  It also provides multiple functions to preprocess the accelerometer data
7057 previous to the missing data imputation.  These include detecting the wearing
7058 and the non-wearing time, selecting valid days and subjects, and creating plots.")
7059     (license license:gpl2+)))
7061 (define-public r-mhsmm
7062   (package
7063     (name "r-mhsmm")
7064     (version "0.4.16")
7065     (source
7066      (origin
7067        (method url-fetch)
7068        (uri (cran-uri "mhsmm" version))
7069        (sha256
7070         (base32 "009dj0zkj1zry7jr9hf4cknb686z50a2l967if64xm0dvjmp7dgs"))))
7071     (build-system r-build-system)
7072     (propagated-inputs `(("r-mvtnorm" ,r-mvtnorm)))
7073     (home-page "https://github.com/jaredo/mhsmm/")
7074     (synopsis "Inference for hidden Markov and semi-Markov models")
7075     (description
7076      "The @code{r-mhsmm} package implements estimation and prediction methods for
7077 hidden Markov and semi-Markov models for multiple observation sequences.  Such
7078 techniques are of interest when observed data is thought to be dependent on some
7079 unobserved (or hidden) state.  Also, this package is suitable for equidistant
7080 time series data, with multivariate and/or missing data.  Allows user defined
7081 emission distributions.")
7082     (license license:gpl2+)))
7084 (define-public r-nleqslv
7085   (package
7086     (name "r-nleqslv")
7087     (version "3.3.2")
7088     (source
7089      (origin
7090        (method url-fetch)
7091        (uri (cran-uri "nleqslv" version))
7092        (sha256
7093         (base32 "1v9znvncyigw9r25wx2ma0b7ib179b488dl0qsrhp5zrcz7mcjgm"))))
7094     (build-system r-build-system)
7095     (native-inputs `(("gfortran" ,gfortran)))
7096     (home-page "https://cran.r-project.org/web/packages/nleqslv/")
7097     (synopsis "Solve systems of nonlinear equations")
7098     (description
7099      "The @code{r-nleqslv} package solves a system of nonlinear equations using a
7100 Broyden or a Newton method with a choice of global strategies such as line
7101 search and trust region.  There are options for using a numerical or user
7102 supplied Jacobian, for specifying a banded numerical Jacobian and for allowing a
7103 singular or ill-conditioned Jacobian.")
7104     (license license:gpl2+)))
7106 (define-public r-physicalactivity
7107   (package
7108     (name "r-physicalactivity")
7109     (version "0.2-2")
7110     (source
7111      (origin
7112        (method url-fetch)
7113        (uri (cran-uri "PhysicalActivity" version))
7114        (sha256
7115         (base32 "14z6plgwyr46vs9m997rvlz8sdglfs9g087an8668zqkzzs2w4ln"))))
7116     (properties
7117      `((upstream-name . "PhysicalActivity")))
7118     (build-system r-build-system)
7119     (home-page "https://cran.r-project.org/web/packages/PhysicalActivity/")
7120     (synopsis "Procesing accelerometer data for physical activity measurement")
7121     (description
7122      "This @code{r-physicalactivity} package provides a function @code{wearingMarking}
7123 for classification of monitor wear and nonwear time intervals in accelerometer
7124 data collected to assess physical activity.  The package also contains functions
7125 for making plots of accelerometer data and obtaining the summary of various
7126 information including daily monitor wear time and the mean monitor wear time
7127 during valid days.  The revised package version 0.2-1 improved the functions
7128 regarding speed, robustness and add better support for time zones and daylight
7129 saving.  In addition, several functions were added:
7130 @enumerate
7131 @item the @code{markDelivery} can classify days for ActiGraph delivery by mail;
7132 @item the @code{markPAI} can categorize physical activity intensity level based
7133 on user-defined cut-points of accelerometer counts.
7134 @end enumerate
7135   It also supports importing ActiGraph (AGD) files with @code{readActigraph} and
7136 @code{queryActigraph} functions.")
7137     (license license:gpl3+)))
7139 (define-public r-acc
7140   (package
7141     (name "r-acc")
7142     (version "1.3.3")
7143     (source
7144      (origin
7145        (method url-fetch)
7146        (uri (cran-uri "acc" version))
7147        (sha256
7148         (base32 "1ii2vm47djxbixa75h690q1s2f9m9x6i8nkygik93j6dayr6kr1m"))))
7149     (build-system r-build-system)
7150     (propagated-inputs
7151      `(("r-circlize" ,r-circlize)
7152        ("r-dbi" ,r-dbi)
7153        ("r-ggplot2" ,r-ggplot2)
7154        ("r-iterators" ,r-iterators)
7155        ("r-mhsmm" ,r-mhsmm)
7156        ("r-nleqslv" ,r-nleqslv)
7157        ("r-physicalactivity" ,r-physicalactivity)
7158        ("r-plyr" ,r-plyr)
7159        ("r-r-utils" ,r-r-utils)
7160        ("r-rcpp" ,r-rcpp)
7161        ("r-rcpparmadillo" ,r-rcpparmadillo)
7162        ("r-rsqlite" ,r-rsqlite)
7163        ("r-zoo" ,r-zoo)))
7164     (home-page "https://cran.r-project.org/web/packages/acc/")
7165     (synopsis "Exploring accelerometer data")
7166     (description
7167      "This package processes accelerometer data from uni-axial and tri-axial devices
7168 and generates data summaries.  Also, includes functions to plot, analyze, and
7169 simulate accelerometer data.")
7170     (license license:gpl2+)))
7172 (define-public r-rbenchmark
7173   (package
7174     (name "r-rbenchmark")
7175     (version "1.0.0")
7176     (source
7177      (origin
7178        (method url-fetch)
7179        (uri (cran-uri "rbenchmark" version))
7180        (sha256
7181         (base32 "010fn3qwnk2k411cbqyvra1d12c3bhhl3spzm8kxffmirj4p2al9"))))
7182     (build-system r-build-system)
7183     (home-page "https://cran.r-project.org/web/packages/rbenchmark/")
7184     (synopsis "Benchmarking routine for R")
7185     (description
7186      "This @code{r-rbenchmark} package is inspired by the Perl module Benchmark,
7187 and is intended to facilitate benchmarking of arbitrary R code.  The library
7188 consists of just one function, benchmark, which is a simple wrapper around
7189 system.time.  Given a specification of the benchmarking process (counts of
7190 replications, evaluation environment) and an arbitrary number of expressions,
7191 benchmark evaluates each of the expressions in the specified environment,
7192 replicating the evaluation as many times as specified, and returning the results
7193 conveniently wrapped into a data frame.")
7194     (license license:gpl2+)))
7196 (define-public r-mitools
7197   (package
7198     (name "r-mitools")
7199     (version "2.4")
7200     (source
7201      (origin
7202        (method url-fetch)
7203        (uri (cran-uri "mitools" version))
7204        (sha256
7205         (base32
7206          "0c2x2n1p53lcw0vx4vmy5j7m2f95i7g2iwbryl89imr99rvz617j"))))
7207     (build-system r-build-system)
7208     (propagated-inputs `(("r-dbi" ,r-dbi)))
7209     (home-page "https://cran.r-project.org/web/packages/mitools/")
7210     (synopsis "Tools for multiple imputation of missing data")
7211     (description
7212      "This package provides tools to perform analyses and combine results from
7213 multiple-imputation datasets.")
7214     (license license:gpl2)))
7216 (define-public r-magick
7217   (package
7218     (name "r-magick")
7219     (version "2.0")
7220     (source
7221      (origin
7222        (method url-fetch)
7223        (uri (cran-uri "magick" version))
7224        (sha256
7225         (base32
7226          "18y465325mhf48x2jn3jz9khwq1z2aj13wfbdkv8k3hln1sd572m"))))
7227     (build-system r-build-system)
7228     (inputs
7229      `(("imagemagick" ,imagemagick)
7230        ("zlib" ,zlib)))
7231     (propagated-inputs
7232      `(("r-curl" ,r-curl)
7233        ("r-magrittr" ,r-magrittr)
7234        ("r-rcpp" ,r-rcpp)))
7235     (native-inputs
7236      `(("pkg-config" ,pkg-config)))
7237     (home-page "https://github.com/ropensci/magick")
7238     (synopsis "Advanced graphics and image-processing in R")
7239     (description
7240      "This package provides bindings to ImageMagick, a comprehensive image
7241 processing library.  It supports many common formats (PNG, JPEG, TIFF, PDF,
7242 etc.)  and manipulations (rotate, scale, crop, trim, flip, blur, etc).  All
7243 operations are vectorized via the Magick++ STL meaning they operate either on
7244 a single frame or a series of frames for working with layers, collages, or
7245 animation.  In RStudio, images are automatically previewed when printed to the
7246 console, resulting in an interactive editing environment.")
7247     (license license:expat)))
7249 (define-public r-survey
7250   (package
7251     (name "r-survey")
7252     (version "3.36")
7253     (source
7254      (origin
7255        (method url-fetch)
7256        (uri (cran-uri "survey" version))
7257        (sha256
7258         (base32
7259          "0xclsy4ram4k48vzh5m5bpmknnpwxnss85v73s4czsjj5ffjxwwh"))))
7260     (build-system r-build-system)
7261     (propagated-inputs
7262      `(("r-lattice" ,r-lattice)
7263        ("r-matrix" ,r-matrix)
7264        ("r-minqa" ,r-minqa)
7265        ("r-mitools" ,r-mitools)
7266        ("r-numderiv" ,r-numderiv)
7267        ("r-survival" ,r-survival)))
7268     (home-page "http://r-survey.r-forge.r-project.org/survey/")
7269     (synopsis "Analysis of complex survey samples")
7270     (description
7271      "This package provides tools for the analysis of complex survey samples.
7272 The provided features include: summary statistics, two-sample tests, rank
7273 tests, generalised linear models, cumulative link models, Cox models,
7274 loglinear models, and general maximum pseudolikelihood estimation for
7275 multistage stratified, cluster-sampled, unequally weighted survey samples;
7276 variances by Taylor series linearisation or replicate weights;
7277 post-stratification, calibration, and raking; two-phase subsampling designs;
7278 graphics; PPS sampling without replacement; principal components, and factor
7279 analysis.")
7280     ;; Either version of the GPL.
7281     (license (list license:gpl2 license:gpl3))))
7283 (define-public r-dvmisc
7284   (package
7285     (name "r-dvmisc")
7286     (version "1.1.3")
7287     (source
7288      (origin
7289        (method url-fetch)
7290        (uri (cran-uri "dvmisc" version))
7291        (sha256
7292         (base32 "0x391pxg5mqgp5xxc8qwhwxky8ds7d9gr9iwmsb12c92kxfk00bv"))))
7293     (build-system r-build-system)
7294     (propagated-inputs
7295      `(("r-cubature" ,r-cubature)
7296        ("r-data-table" ,r-data-table)
7297        ("r-dplyr" ,r-dplyr)
7298        ("r-ggplot2" ,r-ggplot2)
7299        ("r-mass" ,r-mass)
7300        ("r-mvtnorm" ,r-mvtnorm)
7301        ("r-pracma" ,r-pracma)
7302        ("r-purrr" ,r-purrr)
7303        ("r-rbenchmark" ,r-rbenchmark)
7304        ("r-rcpp" ,r-rcpp)
7305        ("r-survey" ,r-survey)))
7306     (home-page "https://cran.r-project.org/web/packages/dvmisc/")
7307     (synopsis "Faster computation of common statistics and miscellaneous functions")
7308     (description
7309      "This package implements faster versions of base R functions (e.g. mean, standard
7310 deviation, covariance, weighted mean), mostly written in C++, along with
7311 miscellaneous functions for various purposes (e.g. create the histogram with
7312 fitted probability density function or probability mass function curve, create
7313 the body mass index groups, assess the linearity assumption in logistic
7314 regression).")
7315     (license license:gpl2)))
7317 (define-public r-accelerometry
7318   (package
7319     (name "r-accelerometry")
7320     (version "3.1.2")
7321     (source
7322      (origin
7323        (method url-fetch)
7324        (uri (cran-uri "accelerometry" version))
7325        (sha256
7326         (base32 "13xzrwhr4i1nj9c8vrmfdg2rmrc8n446iihcyxmy99sm99hpzyip"))))
7327     (build-system r-build-system)
7328     (propagated-inputs
7329      `(("r-dvmisc" ,r-dvmisc)
7330        ("r-rcpp" ,r-rcpp)))
7331     (home-page "https://cran.r-project.org/web/packages/accelerometry/")
7332     (synopsis "Functions for processing accelerometer data")
7333     (description
7334      "This package provides a collection of functions that perform operations on
7335 time-series accelerometer data, such as identify the non-wear time, flag minutes
7336 that are part of an activity bout, and find the maximum 10-minute average count
7337 value.  The functions are generally very flexible, allowing for a variety of
7338 algorithms to be implemented.")
7339     (license license:gpl3)))
7341 (define-public r-absim
7342   (package
7343     (name "r-absim")
7344     (version "0.2.6")
7345     (source
7346      (origin
7347        (method url-fetch)
7348        (uri (cran-uri "AbSim" version))
7349        (sha256
7350         (base32 "16ddjk8b6xw80ch4jis1y751i9561wdxh0gifbf15qiz3vjckq8m"))))
7351     (properties `((upstream-name . "AbSim")))
7352     (build-system r-build-system)
7353     (propagated-inputs
7354      `(("r-ape" ,r-ape)
7355        ("r-powerlaw" ,r-powerlaw)))
7356     (home-page "https://cran.r-project.org/web/packages/AbSim/")
7357     (synopsis "Time resolved simulations of antibody repertoires")
7358     (description
7359      "This package provides simulation methods for the evolution of antibody repertoires.
7360   The heavy and light chain variable region of both human and C57BL/6 mice can
7361 be simulated in a time-dependent fashion.  Both single lineages using one set of
7362 V-, D-, and J-genes or full repertoires can be simulated.  The algorithm begins
7363 with an initial V-D-J recombination event, starting the first phylogenetic tree.
7364   Upon completion, the main loop of the algorithm begins, with each iteration
7365 representing one simulated time step.  Various mutation events are possible at
7366 each time step, contributing to a diverse final repertoire.")
7367     (license license:gpl2)))
7369 (define-public r-quic
7370   (package
7371     (name "r-quic")
7372     (version "1.1")
7373     (source
7374      (origin
7375        (method url-fetch)
7376        (uri (cran-uri "QUIC" version))
7377        (sha256
7378         (base32 "021bp9xbaih60qmss015ycblbv6d1dvb1z89y93zpqqnc2qhpv3c"))))
7379     (properties `((upstream-name . "QUIC")))
7380     (build-system r-build-system)
7381     (home-page "https://www.cs.utexas.edu/users/sustik/QUIC/")
7382     (synopsis "Regularized sparse inverse covariance matrix estimation")
7383     (description
7384      "This package implements the regularized Gaussian maximum likelihood
7385 estimation of the inverse of a covariance matrix.  It uses Newton's method and
7386 coordinate descent to solve the regularized inverse covariance matrix
7387 estimation problem.")
7388     ;; The project home page states that the release is under GPLv3 or later.
7389     ;; The CRAN page only says GPL-3.
7390     (license license:gpl3+)))
7392 (define-public r-abundant
7393   (package
7394     (name "r-abundant")
7395     (version "1.1")
7396     (source
7397      (origin
7398        (method url-fetch)
7399        (uri (cran-uri "abundant" version))
7400        (sha256
7401         (base32 "1m76qdmqvwpgm0sihazi2dna7cgsz9rljal18vgffb5wamwmg9k7"))))
7402     (build-system r-build-system)
7403     (propagated-inputs
7404      `(("r-quic" ,r-quic)))
7405     (home-page "https://cran.r-project.org/web/packages/abundant/")
7406     (synopsis "Abundant regression and high-dimensional principal fitted components")
7407     (description
7408      "This package provides tools to fit and predict with the high-dimensional
7409 principal fitted components model.  This model is described by Cook, Forzani,
7410 and Rothman (2012) @url{doi:10.1214/11-AOS962}.")
7411     ;; The DESCRIPTION file states GPL-2, but since it directly depends on a
7412     ;; GPLv3+ package (QUIC) this likely means GPLv2+.
7413     (license license:gpl2+)))
7415 (define-public r-ac3net
7416   (package
7417     (name "r-ac3net")
7418     (version "1.2.2")
7419     (source
7420      (origin
7421        (method url-fetch)
7422        (uri (cran-uri "Ac3net" version))
7423        (sha256
7424         (base32 "1ns4n0xxz6p34c11bj0k7nzgmyqr9mis2b0g5nfz37dbikndyqyz"))))
7425     (properties `((upstream-name . "Ac3net")))
7426     (build-system r-build-system)
7427     (propagated-inputs
7428      `(("r-data-table" ,r-data-table)))
7429     (home-page "https://cran.r-project.org/web/packages/Ac3net/")
7430     (synopsis "Inferring directional conservative causal core gene networks")
7431     (description "This package infers directional Conservative causal core
7432 (gene) networks (C3NET).  This is a version of the algorithm C3NET with
7433 directional network.")
7434     (license license:gpl3+)))
7436 (define-public r-aca
7437   (package
7438     (name "r-aca")
7439     (version "1.1")
7440     (source
7441      (origin
7442        (method url-fetch)
7443        (uri (cran-uri "ACA" version))
7444        (sha256
7445         (base32 "1i3hm27nvnkvc39xlh0d1blq8q0q02czmvgi3cazmjx3jvxay0vq"))))
7446     (properties `((upstream-name . "ACA")))
7447     (build-system r-build-system)
7448     (home-page "https://cran.r-project.org/web/packages/ACA/")
7449     (synopsis "Abrupt change-point or aberration detection in point series")
7450     (description
7451      "This package offers an interactive function for the detection of breakpoints in
7452 series.")
7453     ;; Any version of the GPL
7454     (license (list license:gpl2+ license:gpl3+))))
7456 (define-public r-acceptancesampling
7457   (package
7458     (name "r-acceptancesampling")
7459     (version "1.0-6")
7460     (source
7461      (origin
7462        (method url-fetch)
7463        (uri (cran-uri "AcceptanceSampling" version))
7464        (sha256
7465         (base32 "1z3rmln63ki2kik9kinbwr9qhr32ggbmh4mm3xqy6di119n47ca9"))))
7466     (properties
7467      `((upstream-name . "AcceptanceSampling")))
7468     (build-system r-build-system)
7469     (home-page "https://cran.r-project.org/web/packages/AcceptanceSampling/")
7470     (synopsis "Creation and evaluation of acceptance sampling plans")
7471     (description
7472      "This @code{r-acceptancesampling} provides functionality for creating and evaluating
7473 acceptance sampling plans.  Acceptance sampling is a methodology commonly used
7474 in quality control and improvement.  International standards of acceptance
7475 sampling provide sampling plans for specific circumstances.  The aim of this
7476 package is to provide an easy-to-use interface to visualize single, double or
7477 multiple sampling plans.  In addition, methods have been provided to enable the
7478 user to assess sampling plans against pre-specified levels of performance, as
7479 measured by the probability of acceptance for a given level of quality in the
7480 lot.")
7481     (license license:gpl3+)))
7483 (define-public r-acclma
7484   (package
7485     (name "r-acclma")
7486     (version "1.0")
7487     (source
7488      (origin
7489        (method url-fetch)
7490        (uri (cran-uri "ACCLMA" version))
7491        (sha256
7492         (base32 "1na27sp18fq12gp6vxgqw1ffsz2yi1d8xvrxbrzx5g1kqxrayy0v"))))
7493     (properties `((upstream-name . "ACCLMA")))
7494     (build-system r-build-system)
7495     (home-page "https://cran.r-project.org/web/packages/ACCLMA/")
7496     (synopsis "ACC & LMA graph plotting")
7497     (description
7498      "This package contains a function that imports data from a @acronym{CSV,
7499 Comma-Separated Values} file, or uses manually entered data from the format (x,
7500 y, weight) and plots the appropriate @acronym{ACC, Absolute Concentration
7501 Curve} vs @acronym{LOI, Line of Independence} graph and
7502 @acronym{LMA, @acronym{LOI} Minus @acronym{ACC}} graph.  The main
7503 function is @code{plotLMA} (source file, header) that takes a data set and plots the
7504 appropriate @acronym{LMA} and @acronym{ACC} graphs.  If no source file (a
7505 string) was passed, a manual data entry window is opened.  The header parameter
7506 indicates by TRUE/FALSE (false by default) if the source @acronym{CSV} file has
7507 a header row or not.  The dataset should contain only one independent variable
7508 (x) and one dependent variable (y) and can contain a weight for each
7509 observation.")
7510     (license license:gpl2)))
7512 (define-public r-aspi
7513   (package
7514     (name "r-aspi")
7515     (version "0.2.0")
7516     (source
7517      (origin
7518        (method url-fetch)
7519        (uri (cran-uri "aspi" version))
7520        (sha256
7521         (base32 "0rhvxw243vvdv3hxa6pi343gcjc2cbxq1jzqirl9k1l4i3897l87"))))
7522     (build-system r-build-system)
7523     (home-page
7524      "https://cran.r-project.org/web/packages/aspi/")
7525     (synopsis
7526      "Analysis of symmetry of parasitic infections")
7527     (description
7528      "This package provides tools for the analysis and visualization of bilateral
7529       asymmetry in parasitic infections.")
7530     (license license:gpl3+)))
7532 (define-public r-sandwich
7533   (package
7534     (name "r-sandwich")
7535     (version "2.5-1")
7536     (source
7537      (origin
7538        (method url-fetch)
7539        (uri (cran-uri "sandwich" version))
7540        (sha256
7541         (base32
7542          "1mk685b9wq7k566pbml52rj96i5h6b3vf215k9picgmq296nzvyv"))))
7543     (build-system r-build-system)
7544     (propagated-inputs
7545      `(("r-zoo" ,r-zoo)))
7546     (home-page "https://cran.r-project.org/web/packages/sandwich/")
7547     (synopsis "Robust Covariance Matrix Estimators")
7548     (description
7549      "This package provides model-robust standard error estimators for
7550 cross-sectional, time series, clustered, panel, and longitudinal data.")
7551     ;; Either version of the license.
7552     (license (list license:gpl2 license:gpl3))))
7554 (define-public r-th-data
7555   (package
7556     (name "r-th-data")
7557     (version "1.0-10")
7558     (source
7559      (origin
7560        (method url-fetch)
7561        (uri (cran-uri "TH.data" version))
7562        (sha256
7563         (base32
7564          "0mgz7aj2d9abbmdr65zgmg1ddp3fdbs3mfj83r5xadh5ldkir2k1"))))
7565     (properties `((upstream-name . "TH.data")))
7566     (build-system r-build-system)
7567     (propagated-inputs
7568      `(("r-mass" ,r-mass)
7569        ("r-survival" ,r-survival)))
7570     (home-page "https://cran.r-project.org/web/packages/TH.data/")
7571     (synopsis "Shared data sets")
7572     (description
7573      "This package contains supporting data sets that are used in other
7574 packages maintained by Torsten Hothorn.")
7575     (license license:gpl3)))
7577 (define-public r-multcomp
7578   (package
7579     (name "r-multcomp")
7580     (version "1.4-10")
7581     (source
7582      (origin
7583        (method url-fetch)
7584        (uri (cran-uri "multcomp" version))
7585        (sha256
7586         (base32
7587          "1kzmdn9jmz5bmhf3wsfr12ljbasmwsgcsfdia52k0bi6q0swdg19"))))
7588     (build-system r-build-system)
7589     (propagated-inputs
7590      `(("r-codetools" ,r-codetools)
7591        ("r-mvtnorm" ,r-mvtnorm)
7592        ("r-sandwich" ,r-sandwich)
7593        ("r-survival" ,r-survival)
7594        ("r-th-data" ,r-th-data)))
7595     (home-page "https://cran.r-project.org/web/packages/multcomp/")
7596     (synopsis "Simultaneous inference in general parametric models")
7597     (description
7598      "Simultaneous tests and confidence intervals for general linear
7599 hypotheses in parametric models, including linear, generalized linear, linear
7600 mixed effects, and survival models.  The package includes demos reproducing
7601 analyzes presented in the book \"Multiple Comparisons Using R\" (Bretz,
7602 Hothorn, Westfall, 2010, CRC Press).")
7603     (license license:gpl2)))
7605 (define-public r-emmeans
7606   (package
7607     (name "r-emmeans")
7608     (version "1.3.4")
7609     (source
7610      (origin
7611        (method url-fetch)
7612        (uri (cran-uri "emmeans" version))
7613        (sha256
7614         (base32
7615          "09gxphan34c615y4lhjdqkg5cz4ih9b1r3bb4chs3mwmiav1rxqn"))))
7616     (build-system r-build-system)
7617     (propagated-inputs
7618      `(("r-estimability" ,r-estimability)
7619        ("r-mvtnorm" ,r-mvtnorm)
7620        ("r-numderiv" ,r-numderiv)
7621        ("r-plyr" ,r-plyr)
7622        ("r-xtable" ,r-xtable)))
7623     (home-page "https://github.com/rvlenth/emmeans")
7624     (synopsis "Estimated marginal means, aka least-squares means")
7625     (description
7626      "This package provides tools to obtain @dfn{estimated marginal
7627 means} (EMMs) for many linear, generalized linear, and mixed models.  It can
7628 be used to compute contrasts or linear functions of EMMs, trends, and
7629 comparisons of slopes.")
7630     ;; Either version of the license.
7631     (license (list license:gpl2 license:gpl3))))
7633 (define-public r-pwr
7634   (package
7635     (name "r-pwr")
7636     (version "1.2-2")
7637     (source
7638      (origin
7639        (method url-fetch)
7640        (uri (cran-uri "pwr" version))
7641        (sha256
7642         (base32
7643          "0r5g781lr677vp3zyhgmi7r68c87l8gd05l1s3ffnxgn5wf043sm"))))
7644     (build-system r-build-system)
7645     (native-inputs
7646      `(("r-knitr" ,r-knitr)))
7647     (home-page "https://github.com/heliosdrm/pwr")
7648     (synopsis "Basic functions for power analysis")
7649     (description
7650      "This package provides power analysis functions along the lines of
7651 Cohen (1988).")
7652     (license license:gpl3+)))
7654 (define-public r-libcoin
7655   (package
7656     (name "r-libcoin")
7657     (version "1.0-4")
7658     (source
7659      (origin
7660        (method url-fetch)
7661        (uri (cran-uri "libcoin" version))
7662        (sha256
7663         (base32
7664          "1i893ij9vkmc4y721npw1s3prmmcs2da5vf3ajm0j8ccmfhbmp4i"))))
7665     (build-system r-build-system)
7666     (propagated-inputs `(("r-mvtnorm" ,r-mvtnorm)))
7667     (home-page "https://cran.r-project.org/web/packages/libcoin")
7668     (synopsis "Linear test statistics for permutation inference")
7669     (description
7670      "This package provides basic infrastructure for linear test statistics
7671 and permutation inference in the framework of Strasser and Weber (1999).")
7672     (license license:gpl2)))
7674 (define-public r-coin
7675   (package
7676     (name "r-coin")
7677     (version "1.3-0")
7678     (source
7679      (origin
7680        (method url-fetch)
7681        (uri (cran-uri "coin" version))
7682        (sha256
7683         (base32
7684          "1y0yl4mjaxca0jqz53sv1gcpdg89m099rq61iszxvpx7w0vvpkmd"))))
7685     (build-system r-build-system)
7686     (propagated-inputs
7687      `(("r-libcoin" ,r-libcoin)
7688        ("r-matrixstats" ,r-matrixstats)
7689        ("r-modeltools" ,r-modeltools)
7690        ("r-multcomp" ,r-multcomp)
7691        ("r-mvtnorm" ,r-mvtnorm)
7692        ("r-survival" ,r-survival)))
7693     (home-page "http://coin.r-forge.r-project.org")
7694     (synopsis "Conditional inference procedures in a permutation test framework")
7695     (description
7696      "This package provides conditional inference procedures for the general
7697 independence problem including two-sample, K-sample (non-parametric ANOVA),
7698 correlation, censored, ordered and multivariate problems.")
7699     (license license:gpl2)))
7701 (define-public r-bayesplot
7702   (package
7703     (name "r-bayesplot")
7704     (version "1.6.0")
7705     (source
7706      (origin
7707        (method url-fetch)
7708        (uri (cran-uri "bayesplot" version))
7709        (sha256
7710         (base32
7711          "0in9cq2ybpa7njrwqx4l6nc8i01cjswsvzwlyiw465pi74aapr57"))))
7712     (build-system r-build-system)
7713     (inputs
7714      `(("pandoc" ,ghc-pandoc)
7715        ("pandoc-citeproc" ,ghc-pandoc-citeproc)))
7716     (propagated-inputs
7717      `(("r-dplyr" ,r-dplyr)
7718        ("r-ggplot2" ,r-ggplot2)
7719        ("r-ggridges" ,r-ggridges)
7720        ("r-reshape2" ,r-reshape2)
7721        ("r-rlang" ,r-rlang)))
7722     (home-page "http://mc-stan.org/bayesplot")
7723     (synopsis "Plotting for Bayesian models")
7724     (description
7725      "This package provides plotting functions for posterior analysis, model
7726 checking, and MCMC diagnostics.  The package is designed not only to provide
7727 convenient functionality for users, but also a common set of functions that
7728 can be easily used by developers working on a variety of R packages for
7729 Bayesian modeling.")
7730     (license license:gpl3+)))
7732 (define-public r-tmb
7733   (package
7734     (name "r-tmb")
7735     (version "1.7.15")
7736     (source
7737      (origin
7738        (method url-fetch)
7739        (uri (cran-uri "TMB" version))
7740        (sha256
7741         (base32
7742          "1r2d8c5iazihba42sn33yarv0dcfiy989sx64zcf14zr8k6cgjzs"))))
7743     (properties `((upstream-name . "TMB")))
7744     (build-system r-build-system)
7745     (propagated-inputs
7746      `(("r-matrix" ,r-matrix)
7747        ("r-rcppeigen" ,r-rcppeigen)))
7748     (home-page "http://tmb-project.org")
7749     (synopsis "Template model builder: a general random effect tool")
7750     (description
7751      "With this tool, a user should be able to quickly implement complex
7752 random effect models through simple C++ templates.  The package combines
7753 @code{CppAD} (C++ automatic differentiation), @code{Eigen} (templated
7754 matrix-vector library) and @code{CHOLMOD} (sparse matrix routines available
7755 from R) to obtain an efficient implementation of the applied Laplace
7756 approximation with exact derivatives.  Key features are: Automatic sparseness
7757 detection, parallelism through BLAS and parallel user templates.")
7758     (license license:gpl2)))
7760 (define-public r-sjstats
7761   (package
7762     (name "r-sjstats")
7763     (version "0.17.4")
7764     (source
7765      (origin
7766        (method url-fetch)
7767        (uri (cran-uri "sjstats" version))
7768        (sha256
7769         (base32
7770          "012hp9m17xzjnsfvjjz2wdfgxm3irsrfx0zmahfnfmgdrwxd5vk5"))))
7771     (build-system r-build-system)
7772     (propagated-inputs
7773      `(("r-broom" ,r-broom)
7774        ("r-dplyr" ,r-dplyr)
7775        ("r-emmeans" ,r-emmeans)
7776        ("r-insight" ,r-insight)
7777        ("r-lme4" ,r-lme4)
7778        ("r-magrittr" ,r-magrittr)
7779        ("r-mass" ,r-mass)
7780        ("r-matrix" ,r-matrix)
7781        ("r-modelr" ,r-modelr)
7782        ("r-purrr" ,r-purrr)
7783        ("r-rlang" ,r-rlang)
7784        ("r-sjlabelled" ,r-sjlabelled)
7785        ("r-sjmisc" ,r-sjmisc)
7786        ("r-tidyr" ,r-tidyr)))
7787     (home-page "https://github.com/strengejacke/sjstats")
7788     (synopsis "Functions for common statistical computations")
7789     (description
7790      "This package provides a collection of convenient functions for common
7791 statistical computations, which are not directly provided by R's @code{base}
7792 or @code{stats} packages.  This package aims at providing, first, shortcuts
7793 for statistical measures, which otherwise could only be calculated with
7794 additional effort.  Second, these shortcut functions are generic, and can be
7795 applied not only to vectors, but also to other objects as well.  The focus of
7796 most functions lies on summary statistics or fit measures for regression
7797 models, including generalized linear models, mixed effects models and Bayesian
7798 models.")
7799     (license license:gpl3)))
7801 (define-public r-glmmtmb
7802   (package
7803     (name "r-glmmtmb")
7804     (version "0.2.3")
7805     (source
7806      (origin
7807        (method url-fetch)
7808        (uri (cran-uri "glmmTMB" version))
7809        (sha256
7810         (base32
7811          "035hkywa37bz555fv6znxd4hfcs5w884365wfnwk4jx5vann4vvb"))))
7812     (properties `((upstream-name . "glmmTMB")))
7813     (build-system r-build-system)
7814     (propagated-inputs
7815      `(("r-lme4" ,r-lme4)
7816        ("r-matrix" ,r-matrix)
7817        ("r-nlme" ,r-nlme)
7818        ("r-rcppeigen" ,r-rcppeigen)
7819        ("r-tmb" ,r-tmb)))
7820     (native-inputs
7821      `(("r-knitr" ,r-knitr))) ; for vignettes
7822     (home-page "https://github.com/glmmTMB")
7823     (synopsis "Generalized linear mixed models")
7824     (description
7825      "Fit linear and generalized linear mixed models with various extensions,
7826 including zero-inflation.  The models are fitted using maximum likelihood
7827 estimation via the Template Model Builder.  Random effects are assumed to be
7828 Gaussian on the scale of the linear predictor and are integrated out using the
7829 Laplace approximation.  Gradients are calculated using automatic
7830 differentiation.")
7831     (license license:agpl3+)))
7833 (define-public r-bayestestr
7834   (package
7835     (name "r-bayestestr")
7836     (version "0.1.0")
7837     (source
7838      (origin
7839        (method url-fetch)
7840        (uri (cran-uri "bayestestR" version))
7841        (sha256
7842         (base32
7843          "1m6gj55z3shm3m3mgqj8nk73wij67y617sl04rbj400wz9qrhfva"))))
7844     (properties `((upstream-name . "bayestestR")))
7845     (build-system r-build-system)
7846     (propagated-inputs
7847      `(("r-insight" ,r-insight)))
7848     (home-page "https://github.com/easystats/bayestestR")
7849     (synopsis "Describe Bayesian models and posterior distributions")
7850     (description
7851      "This package provides utilities to understand and describe posterior
7852 distributions and Bayesian models.  It includes point-estimates such as
7853 @dfn{Maximum A Posteriori} (MAP), measures of dispersion such as @dfn{Highest
7854 Density Interval} (HDI), and indices used for null-hypothesis testing (such as
7855 ROPE percentage and pd).")
7856     (license license:gpl3)))
7858 (define-public r-performance
7859   (package
7860     (name "r-performance")
7861     (version "0.1.0")
7862     (source
7863      (origin
7864        (method url-fetch)
7865        (uri (cran-uri "performance" version))
7866        (sha256
7867         (base32
7868          "19lfx25hkavzbycrh6hq4v24a0dz4s60ryq6jyihjlxgrb9g7cnw"))))
7869     (build-system r-build-system)
7870     (propagated-inputs
7871      `(("r-bayestestr" ,r-bayestestr)
7872        ("r-insight" ,r-insight)))
7873     (home-page "https://easystats.github.io/performance/")
7874     (synopsis "Assessment of regression models performance")
7875     (description
7876      "This package provides utilities for computing measures to assess model
7877 quality, which are not directly provided by R's @code{base} or @code{stats}
7878 packages.  These include e.g. measures like r-squared, intraclass correlation
7879 coefficient, root mean squared error or functions to check models for
7880 overdispersion, singularity or zero-inflation and more.  Functions apply to a
7881 large variety of regression models, including generalized linear models, mixed
7882 effects models and Bayesian models.")
7883     (license license:gpl3)))
7885 (define-public r-ggeffects
7886   (package
7887     (name "r-ggeffects")
7888     (version "0.9.0")
7889     (source
7890      (origin
7891        (method url-fetch)
7892        (uri (cran-uri "ggeffects" version))
7893        (sha256
7894         (base32
7895          "1bbr44yk1j8pz4kcbw1cqrzcnbih9n6rsgf96a6py5094qcal2qd"))))
7896     (build-system r-build-system)
7897     (propagated-inputs
7898      `(("r-dplyr" ,r-dplyr)
7899        ("r-insight" ,r-insight)
7900        ("r-magrittr" ,r-magrittr)
7901        ("r-mass" ,r-mass)
7902        ("r-purrr" ,r-purrr)
7903        ("r-rlang" ,r-rlang)
7904        ("r-scales" ,r-scales)
7905        ("r-sjlabelled" ,r-sjlabelled)
7906        ("r-sjmisc" ,r-sjmisc)))
7907     (home-page "https://github.com/strengejacke/ggeffects")
7908     (synopsis "Create tidy data frames of marginal effects for ggplot")
7909     (description
7910      "This package provides tools to compute marginal effects from statistical
7911 models and return the result as tidy data frames.  These data frames are ready
7912 to use with the @code{ggplot2} package.  Marginal effects can be calculated
7913 for many different models.  Interaction terms, splines and polynomial terms
7914 are also supported.  The two main functions are @code{ggpredict()} and
7915 @code{ggeffect()}.  There is a generic @code{plot()} method to plot the
7916 results using @code{ggplot2}.")
7917     (license license:gpl3)))
7919 (define-public r-sjplot
7920   (package
7921     (name "r-sjplot")
7922     (version "2.6.3")
7923     (source
7924      (origin
7925        (method url-fetch)
7926        (uri (cran-uri "sjPlot" version))
7927        (sha256
7928         (base32
7929          "0h1mkmp5mrkbf7y3zh6m4cnm737cpg1m5si0lrmal7j2ixqicwjy"))))
7930     (properties `((upstream-name . "sjPlot")))
7931     (build-system r-build-system)
7932     (propagated-inputs
7933      `(("r-bayestestr" ,r-bayestestr)
7934        ("r-broom" ,r-broom)
7935        ("r-dplyr" ,r-dplyr)
7936        ("r-forcats" ,r-forcats)
7937        ("r-ggeffects" ,r-ggeffects)
7938        ("r-ggplot2" ,r-ggplot2)
7939        ("r-glmmtmb" ,r-glmmtmb)
7940        ("r-insight" ,r-insight)
7941        ("r-knitr" ,r-knitr)
7942        ("r-lme4" ,r-lme4)
7943        ("r-magrittr" ,r-magrittr)
7944        ("r-mass" ,r-mass)
7945        ("r-modelr" ,r-modelr)
7946        ("r-nlme" ,r-nlme)
7947        ("r-performance" ,r-performance)
7948        ("r-psych" ,r-psych)
7949        ("r-purrr" ,r-purrr)
7950        ("r-rlang" ,r-rlang)
7951        ("r-scales" ,r-scales)
7952        ("r-sjlabelled" ,r-sjlabelled)
7953        ("r-sjmisc" ,r-sjmisc)
7954        ("r-sjstats" ,r-sjstats)
7955        ("r-tidyr" ,r-tidyr)))
7956     (home-page "https://strengejacke.github.io/sjPlot/")
7957     (synopsis "Data visualization for statistics in social science")
7958     (description
7959      "This package represents a collection of plotting and table output
7960 functions for data visualization.  Results of various statistical
7961 analyses (that are commonly used in social sciences) can be visualized using
7962 this package, including simple and cross tabulated frequencies, histograms,
7963 box plots, (generalized) linear models, mixed effects models, principal
7964 component analysis and correlation matrices, cluster analyses, scatter plots,
7965 stacked scales, effects plots of regression models (including interaction
7966 terms) and much more.  This package supports labelled data.")
7967     (license license:gpl3)))
7969 (define-public r-ini
7970   (package
7971     (name "r-ini")
7972     (version "0.3.1")
7973     (source
7974      (origin
7975        (method url-fetch)
7976        (uri (cran-uri "ini" version))
7977        (sha256
7978         (base32
7979          "04yqij344dwm0xqgara8xia42mlmij3i8711qbb5534w05a1l6bv"))))
7980     (build-system r-build-system)
7981     (home-page "https://github.com/dvdscripter/ini")
7982     (synopsis "Read and write configuration files")
7983     (description
7984      "This package provides tools to parse simple @code{.ini} configuration
7985 files to an structured list.  Users can manipulate this resulting list with
7986 @code{lapply()} functions.  This same structured list can be used to write
7987 back to file after modifications.")
7988     (license license:gpl3)))
7990 (define-public r-gh
7991   (package
7992     (name "r-gh")
7993     (version "1.0.1")
7994     (source
7995      (origin
7996        (method url-fetch)
7997        (uri (cran-uri "gh" version))
7998        (sha256
7999         (base32
8000          "1llinfajb0g7006jd2w1hpskxpmkjhnqarcjb71r1qvsccb2ph7k"))))
8001     (build-system r-build-system)
8002     (propagated-inputs
8003      `(("r-httr" ,r-httr)
8004        ("r-ini" ,r-ini)
8005        ("r-jsonlite" ,r-jsonlite)))
8006     (home-page "https://github.com/r-lib/gh#readme")
8007     (synopsis "Access the GitHub API via R")
8008     (description
8009      "This package provides a minimal R client to access the GitHub API.")
8010     (license license:expat)))
8012 (define-public r-fs
8013   (package
8014     (name "r-fs")
8015     (version "1.3.0")
8016     (source
8017      (origin
8018        (method url-fetch)
8019        (uri (cran-uri "fs" version))
8020        (sha256
8021         (base32
8022          "1p6y0ar5kidwv0f5vzhj7yaw5802rpqwdma2ij3vrvjf9f7l9z1s"))))
8023     (build-system r-build-system)
8024     (propagated-inputs
8025      `(("r-rcpp" ,r-rcpp)))
8026     (native-inputs
8027      `(("pkg-config" ,pkg-config)))
8028     (home-page "http://fs.r-lib.org")
8029     (synopsis "Cross-platform file system operations based on libuv")
8030     (description
8031      "This package provides a cross-platform interface to file system
8032 operations, built on top of the libuv C library.")
8033     (license license:gpl3)))
8035 (define-public r-clisymbols
8036   (package
8037     (name "r-clisymbols")
8038     (version "1.2.0")
8039     (source
8040      (origin
8041        (method url-fetch)
8042        (uri (cran-uri "clisymbols" version))
8043        (sha256
8044         (base32
8045          "1q7gi2zmykhzas9v8fdnbpdq7pzdcpbhim1yxvd2062l777g4j86"))))
8046     (build-system r-build-system)
8047     (home-page "https://github.com/gaborcsardi/clisymbols")
8048     (synopsis "Unicode symbols at the R prompt")
8049     (description
8050      "This package provides a small subset of Unicode symbols, that are useful
8051 when building command line applications.  They fall back to alternatives on
8052 terminals that do not support Unicode.")
8053     (license license:expat)))
8055 (define-public r-usethis
8056   (package
8057     (name "r-usethis")
8058     (version "1.5.0")
8059     (source
8060      (origin
8061        (method url-fetch)
8062        (uri (cran-uri "usethis" version))
8063        (sha256
8064         (base32
8065          "0pn6ka3726psaqlx573g6nxi90apf0rn5m4k2lz1jr66xdc19sag"))))
8066     (build-system r-build-system)
8067     (propagated-inputs
8068      `(("r-clipr" ,r-clipr)
8069        ("r-clisymbols" ,r-clisymbols)
8070        ("r-crayon" ,r-crayon)
8071        ("r-curl" ,r-curl)
8072        ("r-desc" ,r-desc)
8073        ("r-fs" ,r-fs)
8074        ("r-gh" ,r-gh)
8075        ("r-git2r" ,r-git2r)
8076        ("r-glue" ,r-glue)
8077        ("r-purrr" ,r-purrr)
8078        ("r-rlang" ,r-rlang)
8079        ("r-rprojroot" ,r-rprojroot)
8080        ("r-rstudioapi" ,r-rstudioapi)
8081        ("r-whisker" ,r-whisker)
8082        ("r-withr" ,r-withr)
8083        ("r-yaml" ,r-yaml)))
8084     (home-page "https://github.com/r-lib/usethis")
8085     (synopsis "Automate R package and project setup")
8086     (description
8087      "This package helps you to automate R package and project setup tasks
8088 that are otherwise performed manually.  This includes setting up unit testing,
8089 test coverage, continuous integration, Git, GitHub integration, licenses,
8090 Rcpp, RStudio projects, and more.")
8091     (license license:gpl3)))
8093 (define-public r-sessioninfo
8094   (package
8095     (name "r-sessioninfo")
8096     (version "1.1.1")
8097     (source
8098      (origin
8099        (method url-fetch)
8100        (uri (cran-uri "sessioninfo" version))
8101        (sha256
8102         (base32
8103          "0j5f3l58fynxx3v0w62vqpii7miabszgljpja36xx9s8hikh8sqn"))))
8104     (build-system r-build-system)
8105     (propagated-inputs
8106      `(("r-cli" ,r-cli)
8107        ("r-withr" ,r-withr)))
8108     (home-page "https://github.com/r-lib/sessioninfo#readme")
8109     (synopsis "R session information")
8110     (description
8111      "This package provides tools to query and print information about the
8112 current R session.  It is similar to @code{utils::sessionInfo()}, but includes
8113 more information about packages, and where they were installed from.")
8114     (license license:gpl2)))
8116 (define-public r-remotes
8117   (package
8118     (name "r-remotes")
8119     (version "2.0.4")
8120     (source
8121      (origin
8122        (method url-fetch)
8123        (uri (cran-uri "remotes" version))
8124        (sha256
8125         (base32
8126          "1jbn4kjimcr82zv5lnqxqa2487a96vn6jxf7wc6gnpxr6k06d61p"))))
8127     (build-system r-build-system)
8128     (home-page "https://github.com/r-lib/remotes#readme")
8129     (synopsis "R package installation from remote repositories")
8130     (description
8131      "Download and install R packages stored in GitHub, BitBucket, or plain
8132 subversion or git repositories.  This package is a lightweight replacement of
8133 the @code{install_*} functions in the @code{devtools} package.  Indeed most of
8134 the code was copied over from @code{devtools}.")
8135     (license license:gpl2+)))
8137 (define-public r-xopen
8138   (package
8139     (name "r-xopen")
8140     (version "1.0.0")
8141     (source
8142      (origin
8143        (method url-fetch)
8144        (uri (cran-uri "xopen" version))
8145        (sha256
8146         (base32
8147          "1vrvgdika1d63dwygynbv2wmd87ll8dji5dy89hj576n8hw601z2"))))
8148     (build-system r-build-system)
8149     (propagated-inputs
8150      `(("r-processx" ,r-processx)))
8151     (home-page "https://github.com/r-lib/xopen#readme")
8152     (synopsis "Open system files, URLs, anything")
8153     (description
8154      "This package provides a cross-platform solution to open files,
8155 directories or URLs with their associated programs.")
8156     (license license:expat)))
8158 (define-public r-rcmdcheck
8159   (package
8160     (name "r-rcmdcheck")
8161     (version "1.3.2")
8162     (source
8163      (origin
8164        (method url-fetch)
8165        (uri (cran-uri "rcmdcheck" version))
8166        (sha256
8167         (base32
8168          "0ys1nd7690mhwzslyzg8fq1wxr28nz8g6av5iykkrshb8lkxg7ly"))))
8169     (build-system r-build-system)
8170     (propagated-inputs
8171      `(("r-callr" ,r-callr)
8172        ("r-cli" ,r-cli)
8173        ("r-crayon" ,r-crayon)
8174        ("r-desc" ,r-desc)
8175        ("r-digest" ,r-digest)
8176        ("r-pkgbuild" ,r-pkgbuild)
8177        ("r-prettyunits" ,r-prettyunits)
8178        ("r-r6" ,r-r6)
8179        ("r-rprojroot" ,r-rprojroot)
8180        ("r-sessioninfo" ,r-sessioninfo)
8181        ("r-withr" ,r-withr)
8182        ("r-xopen" ,r-xopen)))
8183     (home-page "https://github.com/r-Lib/rcmdcheck#readme")
8184     (synopsis "Run R CMD check from R and capture results")
8185     (description
8186      "Run @code{R CMD check} from R programmatically, and capture the results
8187 of the individual checks.")
8188     (license license:expat)))
8190 (define-public r-rapportools
8191   (package
8192     (name "r-rapportools")
8193     (version "1.0")
8194     (source
8195      (origin
8196        (method url-fetch)
8197        (uri (cran-uri "rapportools" version))
8198        (sha256
8199         (base32
8200          "1sgv4sc737i12arh5dc3263kjsz3dzg06qihfmrqyax94mv2d01b"))))
8201     (build-system r-build-system)
8202     (propagated-inputs
8203      `(("r-pander" ,r-pander)
8204        ("r-plyr" ,r-plyr)
8205        ("r-reshape" ,r-reshape)))
8206     (home-page "https://cran.r-project.org/web/packages/rapportools/")
8207     (synopsis "Miscellaneous helper functions with sane defaults for reporting")
8208     (description
8209      "This package provides helper functions that act as wrappers to more
8210 advanced statistical methods with the advantage of having sane defaults for
8211 quick reporting.")
8212     (license license:agpl3+)))
8214 (define-public r-pander
8215   (package
8216     (name "r-pander")
8217     (version "0.6.3")
8218     (source
8219      (origin
8220        (method url-fetch)
8221        (uri (cran-uri "pander" version))
8222        (sha256
8223         (base32
8224          "1bd9sdghlsppmff18k5fg3i0visq9f4wc82rlhwq5m82bmgdgnyi"))))
8225     (build-system r-build-system)
8226     (propagated-inputs
8227      `(("r-digest" ,r-digest)
8228        ("r-rcpp" ,r-rcpp)))
8229     (home-page "https://rapporter.github.io/pander")
8230     (synopsis "Render R objects into Pandoc's markdown")
8231     (description
8232      "The main aim of the pander R package is to provide a minimal and easy
8233 tool for rendering R objects into Pandoc's markdown.  The package is also
8234 capable of exporting/converting complex Pandoc documents (reports) in various
8235 ways.")
8236     ;; This package is licensed under either the AGPLv3+ or the very rarely
8237     ;; used OSL 3.0.
8238     (license license:agpl3+)))
8240 (define-public r-summarytools
8241   (package
8242     (name "r-summarytools")
8243     (version "0.9.3")
8244     (source
8245      (origin
8246        (method url-fetch)
8247        (uri (cran-uri "summarytools" version))
8248        (sha256
8249         (base32
8250          "1wfbkgvicaic37zgpr6zcm4a58yx43p59h0sqggdj44ncqs7147f"))))
8251     (build-system r-build-system)
8252     (propagated-inputs
8253      `(("r-checkmate" ,r-checkmate)
8254        ("r-dplyr" ,r-dplyr)
8255        ("r-htmltools" ,r-htmltools)
8256        ("r-lubridate" ,r-lubridate)
8257        ("r-magick" ,r-magick)
8258        ("r-matrixstats" ,r-matrixstats)
8259        ("r-pander" ,r-pander)
8260        ("r-pryr" ,r-pryr)
8261        ("r-rapportools" ,r-rapportools)
8262        ("r-rcurl" ,r-rcurl)
8263        ("r-tibble" ,r-tibble)
8264        ("r-tidyr" ,r-tidyr)))
8265     (home-page "https://github.com/dcomtois/summarytools")
8266     (synopsis "Tools to quickly and neatly summarize data")
8267     (description
8268      "This package provides tools for data frame summaries, cross-tabulations,
8269 weight-enabled frequency tables and common univariate statistics in concise
8270 tables available in a variety of formats (plain ASCII, Markdown and HTML).  A
8271 good point-of-entry for exploring data, both for experienced and new R
8272 users.")
8273     (license license:gpl2)))
8275 (define-public r-lsei
8276   (package
8277     (name "r-lsei")
8278     (version "1.2-0")
8279     (source
8280      (origin
8281        (method url-fetch)
8282        (uri (cran-uri "lsei" version))
8283        (sha256
8284         (base32
8285          "1xl06fb3is744pxlh42wx5hn1h0ab1k31wnmsmh0524kxzcyp0a7"))))
8286     (build-system r-build-system)
8287     (native-inputs
8288      `(("gfortran" ,gfortran)))
8289     (home-page "https://www.stat.auckland.ac.nz/~yongwang")
8290     (synopsis "Solve regression problems under equality/inequality constraints")
8291     (description
8292      "It contains functions that solve least squares linear regression
8293 problems under linear equality/inequality constraints.  Functions for solving
8294 quadratic programming problems are also available, which transform such
8295 problems into least squares ones first.")
8296     (license license:gpl2+)))
8298 (define-public r-npsurv
8299   (package
8300     (name "r-npsurv")
8301     (version "0.4-0")
8302     (source
8303      (origin
8304        (method url-fetch)
8305        (uri (cran-uri "npsurv" version))
8306        (sha256
8307         (base32
8308          "1wq4c9yfha5azjhrn40iiqkshmvh611sa90jp3lh82n4bl9zfk20"))))
8309     (build-system r-build-system)
8310     (propagated-inputs
8311      `(("r-lsei" ,r-lsei)))
8312     (home-page "https://www.stat.auckland.ac.nz/~yongwang")
8313     (synopsis "Nonparametric survival analysis")
8314     (description
8315      "This package contains functions for non-parametric survival analysis of
8316 exact and interval-censored observations.")
8317     (license license:gpl2+)))
8319 (define-public r-clusteval
8320   (package
8321     (name "r-clusteval")
8322     (version "0.1")
8323     (source
8324      (origin
8325        (method url-fetch)
8326        (uri (cran-uri "clusteval" version))
8327        (sha256
8328         (base32
8329          "1ld0bdl4fy8dsfzm3k7a37cyxc6pfc9qs31x4pxd3z5rslghz7rj"))))
8330     (build-system r-build-system)
8331     (propagated-inputs
8332      `(("r-mvtnorm" ,r-mvtnorm)
8333        ("r-rcpp" ,r-rcpp)))
8334     (home-page "https://cran.r-project.org/web/packages/clusteval/")
8335     (synopsis "Evaluation of clustering algorithms")
8336     (description
8337      "This R package provides a suite of tools to evaluate clustering
8338 algorithms, clusterings, and individual clusters.")
8339     (license license:expat)))
8341 (define-public r-tweedie
8342   (package
8343     (name "r-tweedie")
8344     (version "2.3.2")
8345     (source
8346      (origin
8347        (method url-fetch)
8348        (uri (cran-uri "tweedie" version))
8349        (sha256
8350         (base32
8351          "10fv998qjxsyx0h94fi0xbh6xbf24nwgh254n9zfnmix9vk2cqls"))))
8352     (build-system r-build-system)
8353     (native-inputs `(("gfortran" ,gfortran)))
8354     (home-page "https://cran.r-project.org/web/packages/tweedie/")
8355     (synopsis "Evaluation of Tweedie exponential family models")
8356     (description
8357      "Maximum likelihood computations for Tweedie families, including the
8358 series expansion (Dunn and Smyth, 2005; <doi10.1007/s11222-005-4070-y>) and
8359 the Fourier inversion (Dunn and Smyth, 2008; <doi:10.1007/s11222-007-9039-6>),
8360 and related methods.")
8361     (license license:gpl2+)))
8363 (define-public r-rcppgsl
8364   (package
8365     (name "r-rcppgsl")
8366     (version "0.3.6")
8367     (source
8368      (origin
8369        (method url-fetch)
8370        (uri (cran-uri "RcppGSL" version))
8371        (sha256
8372         (base32
8373          "16pdapq31729db53agnb48jkvdm97167n3bigy5zazc3q3isis1m"))))
8374     (properties `((upstream-name . "RcppGSL")))
8375     (build-system r-build-system)
8376     (propagated-inputs
8377      `(("r-rcpp" ,r-rcpp)
8378        ("gsl" ,gsl)))
8379     (native-inputs
8380      `(("r-knitr" ,r-knitr))) ; for vignettes
8381     (home-page "https://cran.r-project.org/web/packages/RcppGSL/")
8382     (synopsis "Rcpp integration for GSL vectors and matrices")
8383     (description
8384      "The GNU Scientific Library (or GSL) is a collection of numerical
8385 routines for scientific computing.  It is particularly useful for C and C++
8386 programs as it provides a standard C interface to a wide range of mathematical
8387 routines.  There are over 1000 functions in total with an extensive test
8388 suite.  The RcppGSL package provides an easy-to-use interface between GSL data
8389 structures and R using concepts from Rcpp which is itself a package that eases
8390 the interfaces between R and C++.")
8391     (license license:gpl2+)))
8393 (define-public r-mvabund
8394   (package
8395     (name "r-mvabund")
8396     (version "4.0.1")
8397     (source
8398      (origin
8399        (method url-fetch)
8400        (uri (cran-uri "mvabund" version))
8401        (sha256
8402         (base32
8403          "0la935gsiryfc0zixxr1dqj0av271x96pqxbi3bp6dksbw5gm68k"))))
8404     (build-system r-build-system)
8405     (propagated-inputs
8406      `(("r-mass" ,r-mass)
8407        ("r-rcpp" ,r-rcpp)
8408        ("r-rcppgsl" ,r-rcppgsl)
8409        ("r-statmod" ,r-statmod)
8410        ("r-tweedie" ,r-tweedie)))
8411     (home-page "https://cran.r-project.org/web/packages/mvabund/")
8412     (synopsis "Statistical methods for analysing multivariate abundance data")
8413     (description
8414      "This package provides a set of tools for displaying, modeling and
8415 analysing multivariate abundance data in community ecology.")
8416     (license license:lgpl2.1+)))
8418 (define-public r-afex
8419   (package
8420     (name "r-afex")
8421     (version "0.23-0")
8422     (source
8423      (origin
8424        (method url-fetch)
8425        (uri (cran-uri "afex" version))
8426        (sha256
8427         (base32
8428          "0yv4s7461swn0116y4wq9v139p1br5rr6hhnq1cmkbvybmwj2vp7"))))
8429     (build-system r-build-system)
8430     (propagated-inputs
8431      `(("r-car" ,r-car)
8432        ("r-lme4" ,r-lme4)
8433        ("r-lmertest" ,r-lmertest)
8434        ("r-pbkrtest" ,r-pbkrtest)
8435        ("r-reshape2" ,r-reshape2)))
8436     (home-page "https://afex.singmann.science/")
8437     (synopsis "Analysis of factorial experiments")
8438     (description
8439      "This package provides convenience functions for analyzing factorial
8440 experiments using ANOVA or mixed models.")
8441     (license license:gpl2+)))
8443 (define-public r-lmertest
8444   (package
8445     (name "r-lmertest")
8446     (version "3.1-0")
8447     (source
8448      (origin
8449        (method url-fetch)
8450        (uri (cran-uri "lmerTest" version))
8451        (sha256
8452         (base32
8453          "1nkz8cmxa5yb8q4i65bmhnn5pd4bhwcyjplyscynb24z3f64xp9b"))))
8454     (properties `((upstream-name . "lmerTest")))
8455     (build-system r-build-system)
8456     (propagated-inputs
8457      `(("r-ggplot2" ,r-ggplot2)
8458        ("r-lme4" ,r-lme4)
8459        ("r-mass" ,r-mass)
8460        ("r-numderiv" ,r-numderiv)))
8461     (home-page "https://github.com/runehaubo/lmerTestR")
8462     (synopsis "Tests in linear mixed effects models")
8463     (description
8464      "This package provides p-values in type I, II or III anova and summary
8465 tables for @code{lmer} model fits via Satterthwaite's degrees of freedom
8466 method.  A Kenward-Roger method is also available via the @code{pbkrtest}
8467 package.  Model selection methods include step, drop1 and anova-like tables
8468 for random effects (ranova).  Methods for Least-Square means (LS-means) and
8469 tests of linear contrasts of fixed effects are also available.")
8470     (license license:gpl2+)))
8472 (define-public r-r2glmm
8473   (package
8474     (name "r-r2glmm")
8475     (version "0.1.2")
8476     (source
8477      (origin
8478        (method url-fetch)
8479        (uri (cran-uri "r2glmm" version))
8480        (sha256
8481         (base32
8482          "0iim92blpa59vgz97c2pi05yhbjjmaffdbkbmk5kplfb2vmazgiy"))))
8483     (build-system r-build-system)
8484     (propagated-inputs
8485      `(("r-afex" ,r-afex)
8486        ("r-data-table" ,r-data-table)
8487        ("r-dplyr" ,r-dplyr)
8488        ("r-ggplot2" ,r-ggplot2)
8489        ("r-gridextra" ,r-gridextra)
8490        ("r-lmertest" ,r-lmertest)
8491        ("r-mass" ,r-mass)
8492        ("r-matrix" ,r-matrix)
8493        ("r-mgcv" ,r-mgcv)
8494        ("r-pbkrtest" ,r-pbkrtest)))
8495     (home-page "https://github.com/bcjaeger/r2glmm")
8496     (synopsis "Compute R squared for mixed (multilevel) models")
8497     (description
8498      "This package computes model and semi partial R squared with confidence
8499 limits for the linear and generalized linear mixed model (LMM and GLMM).  The
8500 R squared measure from L. J. Edwards et al. (2008) is extended to the GLMM
8501 using @dfn{penalized quasi-likelihood} (PQL) estimation (see Jaeger et
8502 al. (2016)).")
8503     (license license:gpl2)))
8505 (define-public r-weights
8506   (package
8507     (name "r-weights")
8508     (version "1.0")
8509     (source
8510      (origin
8511        (method url-fetch)
8512        (uri (cran-uri "weights" version))
8513        (sha256
8514         (base32
8515          "0186bfpkhxngrshac6bpg37alp6slwhwd43inrm8hqg0vhpfgc4c"))))
8516     (build-system r-build-system)
8517     (propagated-inputs
8518      `(("r-gdata" ,r-gdata)
8519        ("r-hmisc" ,r-hmisc)
8520        ("r-mice" ,r-mice)))
8521     (home-page
8522      "https://cran.r-project.org/web/packages/weights/")
8523     (synopsis "Weighting and weighted statistics")
8524     (description "This package Provides a variety of functions for producing
8525 simple weighted statistics, such as weighted Pearson's correlations, partial
8526 correlations, Chi-Squared statistics, histograms, and t-tests.  Also now
8527 includes some software for quickly recoding survey data and plotting point
8528 estimates from interaction terms in regressions (and multiply imputed
8529 regressions).  NOTE: Weighted partial correlation calculations pulled to
8530 address a bug.")
8531   (license license:gpl2+)))
8533 (define-public r-rcppannoy
8534   (package
8535     (name "r-rcppannoy")
8536     (version "0.0.11")
8537     (source
8538      (origin
8539        (method url-fetch)
8540        (uri (cran-uri "RcppAnnoy" version))
8541        (sha256
8542         (base32
8543          "1ik50ancfgcvh03n4jsqwjk8lf056rbgd70q4l4didmvh5kcyjd1"))))
8544     (properties `((upstream-name . "RcppAnnoy")))
8545     (build-system r-build-system)
8546     (propagated-inputs
8547      `(("r-rcpp" ,r-rcpp)))
8548     (native-inputs
8549      `(("r-knitr" ,r-knitr))) ; for vignettes
8550     (home-page "https://cran.r-project.org/web/packages/RcppAnnoy/")
8551     (synopsis "Rcpp bindings for Annoy, a library for Approximate Nearest Neighbors")
8552     (description
8553      "Annoy is a small C++ library for Approximate Nearest Neighbors written
8554 for efficient memory usage as well an ability to load from and save to disk.
8555 This package provides an R interface.")
8556     ;; Annoy is released under ASL 2.0, but this wrapper is released under
8557     ;; GPLv2+.
8558     (license (list license:gpl2+ license:asl2.0))))
8560 (define-public r-ncdf4
8561   (package
8562     (name "r-ncdf4")
8563     (version "1.16.1")
8564     (source
8565      (origin
8566        (method url-fetch)
8567        (uri (cran-uri "ncdf4" version))
8568        (sha256
8569         (base32
8570          "083sb24anyd4sw0il3x07pqn9rbx5y5ayqass6mz8x443rnjvphd"))))
8571     (build-system r-build-system)
8572     (inputs
8573      `(("netcdf" ,netcdf)
8574        ("zlib" ,zlib)))
8575     (home-page "https://cran.r-project.org/web/packages/ncdf4/index.html")
8576     (synopsis "R interface to Unidata netCDF format data files")
8577     (description
8578      "This package provides a high-level R interface to data files written
8579 using Unidata's netCDF library (version 4 or earlier), which are binary data
8580 files that are portable across platforms and include metadata information in
8581 addition to the data sets.  Using this package, netCDF files can be opened and
8582 data sets read in easily.  It is also easy to create new netCDF dimensions,
8583 variables, and files, in either version 3 or 4 format, and manipulate existing
8584 netCDF files.")
8585     (license license:gpl3+)))
8587 (define-public r-biocmanager
8588   (package
8589     (name "r-biocmanager")
8590     (version "1.30.4")
8591     (source
8592      (origin
8593        (method url-fetch)
8594        (uri (cran-uri "BiocManager" version))
8595        (sha256
8596         (base32
8597          "0kxs76pixk1d2lpvkyrq6nnvv1rqf55ph5f7igkadyyqirf3y2ah"))))
8598     (properties `((upstream-name . "BiocManager")))
8599     (build-system r-build-system)
8600     (home-page "https://cran.r-project.org/web/packages/BiocManager/")
8601     (synopsis "Access the Bioconductor project package repository")
8602     (description
8603      "This package provides a convenient tool to install and update
8604 Bioconductor packages.")
8605     (license license:artistic2.0)))
8607 (define-public r-rgl
8608   (package
8609     (name "r-rgl")
8610     (version "0.100.19")
8611     (source
8612      (origin
8613        (method url-fetch)
8614        (uri (cran-uri "rgl" version))
8615        (sha256
8616         (base32
8617          "09bhvx8aq104yzysfgd7wlnq4vrvmnd4jzgj0c32whjfal10fqsh"))))
8618     (build-system r-build-system)
8619     (native-inputs
8620      `(("pkg-config" ,pkg-config)))
8621     (inputs
8622      `(("freetype" ,freetype)
8623        ("libpng" ,libpng)
8624        ("glu" ,glu)
8625        ("libx11" ,libx11)
8626        ("ghc-pandoc" ,ghc-pandoc)
8627        ("zlib" ,zlib)))
8628     (propagated-inputs
8629      `(("r-crosstalk" ,r-crosstalk)
8630        ("r-htmltools" ,r-htmltools)
8631        ("r-htmlwidgets" ,r-htmlwidgets)
8632        ("r-jsonlite" ,r-jsonlite)
8633        ("r-knitr" ,r-knitr)
8634        ("r-magrittr" ,r-magrittr)
8635        ("r-manipulatewidget" ,r-manipulatewidget)
8636        ("r-shiny" ,r-shiny)))
8637     (home-page "https://r-forge.r-project.org/projects/rgl/")
8638     (synopsis "3D visualization using OpenGL")
8639     (description
8640      "This package provides medium to high level functions for 3D interactive graphics,
8641 including functions modelled on base graphics (@code{plot3d()}, etc.) as well
8642 as functions for constructing representations of geometric
8643 objects (@code{cube3d()}, etc.).  Output may be on screen using OpenGL, or to
8644 various standard 3D file formats including WebGL, PLY, OBJ, STL as well as 2D
8645 image formats, including PNG, Postscript, SVG, PGF.")
8646     ;; Any version of the GPL.
8647     (license (list license:gpl2+ license:gpl3+))))
8649 (define-public r-multicool
8650   (package
8651     (name "r-multicool")
8652     (version "0.1-10")
8653     (source
8654      (origin
8655        (method url-fetch)
8656        (uri (cran-uri "multicool" version))
8657        (sha256
8658         (base32
8659          "1ybg9piya9psqg42w9i3zsnavbxhkfklfwl7cb420i5nkq6wpc2v"))))
8660     (build-system r-build-system)
8661     (propagated-inputs `(("r-rcpp" ,r-rcpp)))
8662     (home-page "https://cran.r-project.org/web/packages/multicool/")
8663     (synopsis "Permutations of multisets in cool-lex order")
8664     (description
8665      "This package provides a set of tools to permute multisets without loops
8666 or hash tables and to generate integer partitions.  Cool-lex order is similar
8667 to colexicographical order.")
8668     (license license:gpl2)))
8670 (define-public r-misc3d
8671   (package
8672     (name "r-misc3d")
8673     (version "0.8-4")
8674     (source
8675      (origin
8676        (method url-fetch)
8677        (uri (cran-uri "misc3d" version))
8678        (sha256
8679         (base32
8680          "0qjzpw3h09qi2gfz52b7nhzd95p7yyxsd03fldc9wzzn6wi3vpkm"))))
8681     (build-system r-build-system)
8682     (home-page "https://cran.r-project.org/web/packages/misc3d/")
8683     (synopsis "Miscellaneous 3D Plots")
8684     (description
8685      "This package provides a collection of miscellaneous 3d plots, including
8686 isosurfaces.")
8687     ;; Any version of the GPL.
8688     (license (list license:gpl2+ license:gpl3+))))
8690 (define-public r-ks
8691   (package
8692     (name "r-ks")
8693     (version "1.11.4")
8694     (source
8695      (origin
8696        (method url-fetch)
8697        (uri (cran-uri "ks" version))
8698        (sha256
8699         (base32
8700          "0d5i8458s8ri9pcx2jm003z1ajk7ha3pmw1sr6lgn6a8d7wgmvqb"))))
8701     (build-system r-build-system)
8702     (propagated-inputs
8703      `(("r-fnn" ,r-fnn)
8704        ("r-kernlab" ,r-kernlab)
8705        ("r-kernsmooth" ,r-kernsmooth)
8706        ("r-matrix" ,r-matrix)
8707        ("r-mclust" ,r-mclust)
8708        ("r-mgcv" ,r-mgcv)
8709        ("r-multicool" ,r-multicool)
8710        ("r-mvtnorm" ,r-mvtnorm)))
8711     (home-page "http://www.mvstat.net/tduong/")
8712     (synopsis "Kernel smoothing")
8713     (description
8714      "This package provides kernel smoothers for univariate and multivariate
8715 data, including density functions, density derivatives, cumulative
8716 distributions, modal clustering, discriminant analysis, and two-sample
8717 hypothesis testing.")
8718     ;; Either version of the GPL.
8719     (license (list license:gpl2 license:gpl3))))
8721 (define-public r-feature
8722   (package
8723     (name "r-feature")
8724     (version "1.2.13")
8725     (source
8726      (origin
8727        (method url-fetch)
8728        (uri (cran-uri "feature" version))
8729        (sha256
8730         (base32
8731          "07hkw0bv38naj2hdsx4xxrm2dngi6w3rbvgr7s50bjic8hlgy1ra"))))
8732     (build-system r-build-system)
8733     (propagated-inputs
8734      `(("r-ks" ,r-ks)
8735        ("r-misc3d" ,r-misc3d)
8736        ("r-rgl" ,r-rgl)))
8737     (home-page "http://www.mvstat.net/tduong/")
8738     (synopsis "Inferential feature significance for kernel density estimation")
8739     (description
8740      "The feature package contains functions to display and compute kernel
8741 density estimates, significant gradient and significant curvature regions.
8742 Significant gradient and/or curvature regions often correspond to significant
8743 features (e.g. local modes).")
8744     ;; Either version of the GPL.
8745     (license (list license:gpl2 license:gpl3))))
8747 (define-public r-arm
8748   (package
8749     (name "r-arm")
8750     (version "1.10-1")
8751     (source
8752      (origin
8753        (method url-fetch)
8754        (uri (cran-uri "arm" version))
8755        (sha256
8756         (base32
8757          "0vvp90jygajd6ydky57z66wqjq9msfbl88irj5jbsray574mh4bg"))))
8758     (build-system r-build-system)
8759     (propagated-inputs
8760      `(("r-abind" ,r-abind)
8761        ("r-coda" ,r-coda)
8762        ("r-lme4" ,r-lme4)
8763        ("r-mass" ,r-mass)
8764        ("r-matrix" ,r-matrix)
8765        ("r-nlme" ,r-nlme)))
8766     (home-page "https://cran.r-project.org/web/packages/arm/")
8767     (synopsis "Data analysis using regression and multilevel/hierarchical models")
8768     (description
8769      "This package provides functions to accompany A. Gelman and J. Hill,
8770 Data Analysis Using Regression and Multilevel/Hierarchical Models, Cambridge
8771 University Press, 2007.")
8772     (license license:gpl3+)))
8774 (define-public r-circular
8775   (package
8776     (name "r-circular")
8777     (version "0.4-93")
8778     (source
8779      (origin
8780        (method url-fetch)
8781        (uri (cran-uri "circular" version))
8782        (sha256
8783         (base32
8784          "0hki85rs8wc5950pjaw28q54rly2napfbcrx3pchlfap6wwy5kkn"))))
8785     (build-system r-build-system)
8786     (propagated-inputs
8787      `(("r-boot" ,r-boot)
8788        ("r-mvtnorm" ,r-mvtnorm)))
8789     (native-inputs
8790      `(("gfortran" ,gfortran)))
8791     (home-page "https://cran.r-project.org/web/packages/circular/")
8792     (synopsis "Circular statistics")
8793     (description
8794      "This package provides tools for circular statistics, from \"Topics in
8795 circular Statistics\" (2001) S. Rao Jammalamadaka and A. SenGupta, World
8796 Scientific.")
8797     (license license:gpl2+)))
8799 (define-public r-activity
8800   (package
8801     (name "r-activity")
8802     (version "1.2")
8803     (source
8804      (origin
8805        (method url-fetch)
8806        (uri (cran-uri "activity" version))
8807        (sha256
8808         (base32
8809          "11w2bz6p9xbzdh6773dmbbh6rws0h5dj18p8m0ivzizgq932vdzs"))))
8810     (build-system r-build-system)
8811     (propagated-inputs
8812      `(("r-circular" ,r-circular)
8813        ("r-pbapply" ,r-pbapply)))
8814     (home-page "https://cran.r-project.org/web/packages/activity/")
8815     (synopsis "Animal activity statistics")
8816     (description
8817      "This package provides functions to fit kernel density functions to
8818 animal activity time data; plot activity distributions; quantify overall
8819 levels of activity; statistically compare activity metrics through
8820 bootstrapping; and evaluate variation in linear variables with time (or other
8821 circular variables).")
8822     (license license:gpl3)))
8824 (define-public r-ouch
8825   (package
8826     (name "r-ouch")
8827     (version "2.14-1")
8828     (source
8829      (origin
8830        (method url-fetch)
8831        (uri (cran-uri "ouch" version))
8832        (sha256
8833         (base32
8834          "0ddf9bw5lhj8vb0ja78jf99i0smq4rgmm842k4a4ygap41vdyn2b"))))
8835     (build-system r-build-system)
8836     (propagated-inputs `(("r-subplex" ,r-subplex)))
8837     (home-page "http://kingaa.github.io/ouch/")
8838     (synopsis "Ornstein-Uhlenbeck models for phylogenetic comparative hypotheses")
8839     (description
8840      "This package provides tools to fit and compare Ornstein-Uhlenbeck models
8841 for evolution along a phylogenetic tree.")
8842     (license license:gpl2+)))
8844 (define-public r-fmsb
8845   (package
8846     (name "r-fmsb")
8847     (version "0.6.3")
8848     (source
8849      (origin
8850        (method url-fetch)
8851        (uri (cran-uri "fmsb" version))
8852        (sha256
8853         (base32
8854          "1n29bnyp20pvpk2lsa9fblsj5w7amp14snc74pk5w3yr5y6rj0s5"))))
8855     (build-system r-build-system)
8856     (home-page "http://minato.sip21c.org/msb/")
8857     (synopsis "Functions for medical statistics book with demographic data")
8858     (description
8859      "This package provides several utility functions for the book entitled
8860 \"Practices of Medical and Health Data Analysis using R\" (Pearson Education
8861 Japan, 2007) with Japanese demographic data and some demographic analysis
8862 related functions.")
8863     (license license:gpl2+)))
8865 (define-public r-stabledist
8866   (package
8867     (name "r-stabledist")
8868     (version "0.7-1")
8869     (source
8870      (origin
8871        (method url-fetch)
8872        (uri (cran-uri "stabledist" version))
8873        (sha256
8874         (base32
8875          "0scar396wiq6wkbkvwp4qrxqc1m075y56p37i6iry5rw796p1i86"))))
8876     (build-system r-build-system)
8877     (home-page "http://www.rmetrics.org")
8878     (synopsis "Stable distribution functions")
8879     (description
8880      "This package provides density, probability and quantile functions, and
8881 random number generation for (skew) stable distributions, using the
8882 parametrizations of Nolan.")
8883     (license license:gpl2+)))
8885 (define-public r-gsl
8886   (package
8887     (name "r-gsl")
8888     (version "2.1-6")
8889     (source
8890      (origin
8891        (method url-fetch)
8892        (uri (cran-uri "gsl" version))
8893        (sha256
8894         (base32
8895          "0p4rh7npp6qbfc5sxjq86xjn7c9ivf3pd60qf1hldwckjqin7m7m"))))
8896     (build-system r-build-system)
8897     (inputs
8898      `(("gsl" ,gsl)))
8899     (home-page "https://cran.r-project.org/web/packages/gsl")
8900     (synopsis "Wrapper for the GNU Scientific Library")
8901     (description
8902      "This package provides an R wrapper for the special functions and quasi
8903 random number generators of the GNU Scientific Library.")
8904     (license license:gpl2+)))
8906 (define-public r-adgoftest
8907   (package
8908     (name "r-adgoftest")
8909     (version "0.3")
8910     (source
8911      (origin
8912        (method url-fetch)
8913        (uri (cran-uri "ADGofTest" version))
8914        (sha256
8915         (base32
8916          "0ik817qzqp6kfbckjp1z7srlma0w6z2zcwykh0jdiv7nahwk3ncw"))))
8917     (properties `((upstream-name . "ADGofTest")))
8918     (build-system r-build-system)
8919     (home-page "https://cran.r-project.org/web/packages/ADGofTest")
8920     (synopsis "Anderson-Darling GoF test")
8921     (description
8922      "This package provides an implementation of the Anderson-Darling GoF test
8923 with p-value calculation based on Marsaglia's 2004 paper \"Evaluating the
8924 Anderson-Darling Distribution\".")
8925     ;; Any version of the GPL.
8926     (license license:gpl3+)))
8928 (define-public r-softimpute
8929   (package
8930     (name "r-softimpute")
8931     (version "1.4")
8932     (source
8933      (origin
8934        (method url-fetch)
8935        (uri (cran-uri "softImpute" version))
8936        (sha256
8937         (base32
8938          "07cxbzkl08q58m1455i139952rmryjlic4s2f2hscl5zxxmfdxcq"))))
8939     (properties `((upstream-name . "softImpute")))
8940     (build-system r-build-system)
8941     (propagated-inputs
8942      `(("r-matrix" ,r-matrix)))
8943     (native-inputs
8944      `(("gfortran" ,gfortran)))
8945     (home-page "https://cran.r-project.org/web/packages/softImpute")
8946     (synopsis "Matrix completion via iterative soft-thresholded SVD")
8947     (description
8948      "This package provides iterative methods for matrix completion that use
8949 nuclear-norm regularization.  The package includes procedures for centering
8950 and scaling rows, columns or both, and for computing low-rank @dfn{single
8951 value decompositions} (SVDs) on large sparse centered matrices (i.e. principal
8952 components).")
8953     (license license:gpl2)))
8955 (define-public r-fftwtools
8956   (package
8957     (name "r-fftwtools")
8958     (version "0.9-8")
8959     (source
8960      (origin
8961        (method url-fetch)
8962        (uri (cran-uri "fftwtools" version))
8963        (sha256
8964         (base32
8965          "1nqvpzda281rxi1cmwajxxsn3sc3gz7scv8bvs5jm34kf36whha6"))))
8966     (build-system r-build-system)
8967     (inputs `(("fftw" ,fftw)))
8968     (home-page "https://github.com/krahim/fftwtools")
8969     (synopsis "Wrapper for FFTW3")
8970     (description
8971      "This package provides a wrapper for several FFTW functions.  It provides
8972 access to the two-dimensional FFT, the multivariate FFT, and the
8973 one-dimensional real to complex FFT using the FFTW3 library.  The package
8974 includes the functions @code{fftw()} and @code{mvfftw()} which are designed to
8975 mimic the functionality of the R functions @code{fft()} and @code{mvfft()}.
8976 The FFT functions have a parameter that allows them to not return the
8977 redundant complex conjugate when the input is real data.")
8978     (license license:gpl2+)))
8980 (define-public r-tiff
8981   (package
8982     (name "r-tiff")
8983     (version "0.1-5")
8984     (source
8985      (origin
8986        (method url-fetch)
8987        (uri (cran-uri "tiff" version))
8988        (sha256
8989         (base32
8990          "0asf2bws3x3yd3g3ixvk0f86b0mdf882pl8xrqlxrkbgjalyc54m"))))
8991     (build-system r-build-system)
8992     (inputs
8993      `(("libtiff" ,libtiff)
8994        ("libjpeg" ,libjpeg)
8995        ("zlib" ,zlib)))
8996     (home-page "http://www.rforge.net/tiff/")
8997     (synopsis "Read and write TIFF images")
8998     (description
8999      "This package provides an easy and simple way to read, write and display
9000 bitmap images stored in the TIFF format.  It can read and write both files and
9001 in-memory raw vectors.")
9002     ;; Either of these two license versions.
9003     (license (list license:gpl2 license:gpl3))))
9005 (define-public r-waveslim
9006   (package
9007     (name "r-waveslim")
9008     (version "1.7.5.1")
9009     (source
9010      (origin
9011        (method url-fetch)
9012        (uri (cran-uri "waveslim" version))
9013        (sha256
9014         (base32
9015          "0mky0nb4xxp8rybp87mxw2f1q6k400wpxv01zr4injv7ja6028xk"))))
9016     (build-system r-build-system)
9017     (native-inputs
9018      `(("gfortran" ,gfortran)))
9019     (home-page "http://waveslim.blogspot.com")
9020     (synopsis "Basic wavelet routines for signal processing")
9021     (description
9022      "This package provides basic wavelet routines for time series (1D),
9023 image (2D) and array (3D) analysis.  The code provided here is based on
9024 wavelet methodology developed in Percival and Walden (2000); Gencay, Selcuk
9025 and Whitcher (2001); the dual-tree complex wavelet transform (DTCWT) from
9026 Kingsbury (1999, 2001) as implemented by Selesnick; and Hilbert wavelet
9027 pairs (Selesnick 2001, 2002).")
9028     (license license:bsd-3)))
9030 (define-public r-wordcloud
9031   (package
9032     (name "r-wordcloud")
9033     (version "2.6")
9034     (source
9035      (origin
9036        (method url-fetch)
9037        (uri (cran-uri "wordcloud" version))
9038        (sha256
9039         (base32
9040          "0j96yyvm6bcrrpbdx4w26piqx44a0vbsr3px9cb4zk8a8da6jwak"))))
9041     (build-system r-build-system)
9042     (propagated-inputs
9043      `(("r-rcolorbrewer" ,r-rcolorbrewer)
9044        ("r-rcpp" ,r-rcpp)))
9045     (home-page "https://cran.r-project.org/web/packages/wordcloud")
9046     (synopsis "Word clouds")
9047     (description
9048      "This package provides functionality to create pretty word clouds,
9049 visualize differences and similarity between documents, and avoid
9050 over-plotting in scatter plots with text.")
9051     (license license:lgpl2.1)))
9053 (define-public r-colorramps
9054   (package
9055     (name "r-colorramps")
9056     (version "2.3")
9057     (source
9058      (origin
9059        (method url-fetch)
9060        (uri (cran-uri "colorRamps" version))
9061        (sha256
9062         (base32
9063          "0shbjh83x1axv4drm5r3dwgbyv70idih8z4wlzjs4hiac2qfl41z"))))
9064     (properties `((upstream-name . "colorRamps")))
9065     (build-system r-build-system)
9066     (home-page "https://cran.r-project.org/web/packages/colorRamps")
9067     (synopsis "Build color tables")
9068     (description "This package provides features to build gradient color
9069 maps.")
9070     ;; Any version of the GPL
9071     (license license:gpl3+)))
9073 (define-public r-tidytree
9074   (package
9075     (name "r-tidytree")
9076     (version "0.2.4")
9077     (source
9078      (origin
9079        (method url-fetch)
9080        (uri (cran-uri "tidytree" version))
9081        (sha256
9082         (base32
9083          "04bznlfs617plv258nmsyq2pywnijcnzy2pbn5b2fgjk2xqkp29w"))))
9084     (build-system r-build-system)
9085     (propagated-inputs
9086      `(("r-ape" ,r-ape)
9087        ("r-dplyr" ,r-dplyr)
9088        ("r-lazyeval" ,r-lazyeval)
9089        ("r-magrittr" ,r-magrittr)
9090        ("r-rlang" ,r-rlang)
9091        ("r-tibble" ,r-tibble)))
9092     (home-page "https://github.com/GuangchuangYu/tidytree")
9093     (synopsis "Tidy tool for phylogenetic tree data manipulation")
9094     (description
9095      "Phylogenetic trees generally contain multiple components including nodes,
9096 edges, branches and associated data.  This package provides an approach to
9097 convert tree objects to tidy data frames.  It also provides tidy interfaces to
9098 manipulate tree data.")
9099     (license license:artistic2.0)))
9101 (define-public r-rvcheck
9102   (package
9103     (name "r-rvcheck")
9104     (version "0.1.3")
9105     (source
9106      (origin
9107        (method url-fetch)
9108        (uri (cran-uri "rvcheck" version))
9109        (sha256
9110         (base32
9111          "1i2g6gyiqyd1pn6y0h6vmlcmg1qb5pv7rym8mkw8jnyc3in9hn8b"))))
9112     (build-system r-build-system)
9113     (propagated-inputs
9114      `(("r-rlang" ,r-rlang)))
9115     (home-page "https://cran.r-project.org/web/packages/rvcheck")
9116     (synopsis "R package version check")
9117     (description
9118      "This package provides tools to check the latest release version of R and
9119 R packages (on CRAN, Bioconductor or Github).")
9120     (license license:artistic2.0)))
9122 (define-public r-docopt
9123   (package
9124     (name "r-docopt")
9125     (version "0.6.1")
9126     (source
9127      (origin
9128        (method url-fetch)
9129        (uri (cran-uri "docopt" version))
9130        (sha256
9131         (base32
9132          "06zknnd0c5s2y0hbddzdlr3m63ib783izpck6pgz7sjbab5pd068"))))
9133     (build-system r-build-system)
9134     (home-page "https://github.com/docopt/docopt.R")
9135     (synopsis "Command-line interface specification language")
9136     (description
9137      "This package enables you to define a command-line interface by just
9138 giving it a description in the specific format.")
9139     (license license:expat)))
9141 (define-public r-sparsesvd
9142   (package
9143     (name "r-sparsesvd")
9144     (version "0.1-4")
9145     (source
9146      (origin
9147        (method url-fetch)
9148        (uri (cran-uri "sparsesvd" version))
9149        (sha256
9150         (base32
9151          "1yf373552wvdnd65r7hfcqa3v29dqn7jd4cn431mqd2acnqjrsam"))))
9152     (build-system r-build-system)
9153     (propagated-inputs `(("r-matrix" ,r-matrix)))
9154     (home-page "http://tedlab.mit.edu/~dr/SVDLIBC/")
9155     (synopsis "Sparse truncated singular value decomposition")
9156     (description
9157      "This package provides a Wrapper around the SVDLIBC library
9158 for (truncated) singular value decomposition of a sparse matrix.  Currently,
9159 only sparse real matrices in Matrix package format are supported.")
9160     ;; SVDLIBC is released under BSD-2.  The R interface is released under
9161     ;; BSD-3.
9162     (license (list license:bsd-3 license:bsd-2))))
9164 (define-public r-densityclust
9165   (package
9166     (name "r-densityclust")
9167     (version "0.3")
9168     (source
9169      (origin
9170        (method url-fetch)
9171        (uri (cran-uri "densityClust" version))
9172        (sha256
9173         (base32
9174          "1zry0vafajzmr37aylglxfvwplhdygbkb9cvzvh8cy0xgnjrnx13"))))
9175     (properties `((upstream-name . "densityClust")))
9176     (build-system r-build-system)
9177     (propagated-inputs
9178      `(("r-fnn" ,r-fnn)
9179        ("r-ggplot2" ,r-ggplot2)
9180        ("r-ggrepel" ,r-ggrepel)
9181        ("r-gridextra" ,r-gridextra)
9182        ("r-rcolorbrewer" ,r-rcolorbrewer)
9183        ("r-rcpp" ,r-rcpp)
9184        ("r-rtsne" ,r-rtsne)))
9185     (home-page "https://cran.r-project.org/web/packages/densityClust")
9186     (synopsis "Clustering by fast search and find of density peaks")
9187     (description
9188      "This package provides an improved implementation (based on k-nearest
9189 neighbors) of the density peak clustering algorithm, originally described by
9190 Alex Rodriguez and Alessandro Laio (Science, 2014 vol. 344).  It can handle
9191 large datasets (> 100,000 samples) very efficiently.")
9192     (license license:gpl2+)))
9194 (define-public r-combinat
9195   (package
9196     (name "r-combinat")
9197     (version "0.0-8")
9198     (source
9199      (origin
9200        (method url-fetch)
9201        (uri (cran-uri "combinat" version))
9202        (sha256
9203         (base32
9204          "1h9hr88gigihc4na7lb5i7rn4az1xa7sb34zvnznaj6pdrmwy4qm"))))
9205     (build-system r-build-system)
9206     (home-page "https://cran.r-project.org/web/packages/combinat")
9207     (synopsis "Combinatorics utilities")
9208     (description "This package provides assorted routines for combinatorics.")
9209     (license license:gpl2)))
9211 (define-public r-qlcmatrix
9212   (package
9213     (name "r-qlcmatrix")
9214     (version "0.9.7")
9215     (source
9216      (origin
9217        (method url-fetch)
9218        (uri (cran-uri "qlcMatrix" version))
9219        (sha256
9220         (base32
9221          "0iqkcvvy8rxlk0s83sjq57dd6fadb18p5z31lzy0gnzv1hsy1x8y"))))
9222     (properties `((upstream-name . "qlcMatrix")))
9223     (build-system r-build-system)
9224     (propagated-inputs
9225      `(("r-docopt" ,r-docopt)
9226        ("r-matrix" ,r-matrix)
9227        ("r-slam" ,r-slam)
9228        ("r-sparsesvd" ,r-sparsesvd)))
9229     (home-page "https://cran.r-project.org/web/packages/qlcMatrix")
9230     (synopsis "Sparse matrix functions for quantitative language comparison")
9231     (description
9232      "This package provides an extension of the functionality of the Matrix
9233 package for using sparse matrices.  Some of the functions are very general,
9234 while other are highly specific for the special data format used for
9235 @dfn{quantitative language comparison} (QLC).")
9236     (license license:gpl3)))
9238 (define-public r-ddrtree
9239   (package
9240     (name "r-ddrtree")
9241     (version "0.1.5")
9242     (source
9243      (origin
9244        (method url-fetch)
9245        (uri (cran-uri "DDRTree" version))
9246        (sha256
9247         (base32
9248          "16s5fjw7kwlxhrkzdny62sx32fvmg3rxjc3wrh6krd31jh1fqlfk"))))
9249     (properties `((upstream-name . "DDRTree")))
9250     (build-system r-build-system)
9251     (propagated-inputs
9252      `(("r-bh" ,r-bh)
9253        ("r-irlba" ,r-irlba)
9254        ("r-rcpp" ,r-rcpp)
9255        ("r-rcppeigen" ,r-rcppeigen)))
9256     (home-page "https://cran.r-project.org/web/packages/DDRTree")
9257     (synopsis "Learning principal graphs with DDRTree")
9258     (description
9259      "This package provides an implementation of the framework of
9260 @dfn{reversed graph embedding} (RGE) which projects data into a reduced
9261 dimensional space while constructs a principal tree which passes through the
9262 middle of the data simultaneously.  DDRTree shows superiority to
9263 alternatives (Wishbone, DPT) for inferring the ordering as well as the
9264 intrinsic structure of single cell genomics data.  In general, it could be
9265 used to reconstruct the temporal progression as well as the bifurcation
9266 structure of any data type.")
9267     (license license:asl2.0)))
9269 (define-public r-corpcor
9270   (package
9271     (name "r-corpcor")
9272     (version "1.6.9")
9273     (source
9274      (origin
9275        (method url-fetch)
9276        (uri (cran-uri "corpcor" version))
9277        (sha256
9278         (base32
9279          "1hi3i9d3841snppq1ks5pd8cliq1b4rm4dpsczmfqvwksg8snkrf"))))
9280     (build-system r-build-system)
9281     (home-page "http://strimmerlab.org/software/corpcor/")
9282     (synopsis "Efficient estimation of covariance and (partial) correlation")
9283     (description
9284      "This package implements a James-Stein-type shrinkage estimator for the
9285 covariance matrix, with separate shrinkage for variances and correlations.
9286 Furthermore, functions are available for fast singular value decomposition,
9287 for computing the pseudoinverse, and for checking the rank and positive
9288 definiteness of a matrix.")
9289     (license license:gpl3+)))
9291 (define-public r-rspectra
9292   (package
9293     (name "r-rspectra")
9294     (version "0.14-0")
9295     (source
9296      (origin
9297        (method url-fetch)
9298        (uri (cran-uri "RSpectra" version))
9299        (sha256
9300         (base32
9301          "12w5vnz39gyciza0fl7fw4f9i9kjw763h3mvk1sxd97c5dsn26jg"))))
9302     (properties `((upstream-name . "RSpectra")))
9303     (build-system r-build-system)
9304     (propagated-inputs
9305      `(("r-matrix" ,r-matrix)
9306        ("r-rcpp" ,r-rcpp)
9307        ("r-rcppeigen" ,r-rcppeigen)))
9308     (home-page "https://github.com/yixuan/RSpectra")
9309     (synopsis "Solvers for large-scale Eigenvalue and SVD problems")
9310     (description
9311      "This package provides an R interface to the Spectra library for
9312 large-scale eigenvalue and SVD problems.  It is typically used to compute a
9313 few eigenvalues/vectors of an n by n matrix, e.g., the k largest eigenvalues,
9314 which is usually more efficient than @code{eigen()} if k << n.")
9315     ;; MPL 2 or later.
9316     (license license:mpl2.0)))
9318 (define-public r-vbsr
9319   (package
9320     (name "r-vbsr")
9321     (version "0.0.5")
9322     (source
9323      (origin
9324        (method url-fetch)
9325        (uri (cran-uri "vbsr" version))
9326        (sha256
9327         (base32
9328          "1avskbxxyinjjdga4rnghcfvd4sypv4m39ysfaij5avvmi89bx3b"))))
9329     (build-system r-build-system)
9330     (home-page "https://cran.r-project.org/web/packages/vbsr")
9331     (synopsis "Variational Bayes spike regression regularized linear models")
9332     (description
9333      "This package provides an efficient algorithm for solving ultra-sparse
9334 regularized regression models using a variational Bayes algorithm with a spike
9335 prior.  The algorithm is solved on a path, with coordinate updates, and is
9336 capable of generating very sparse models.  Very general model
9337 diagnostics for controlling type-1 errors are also provided.")
9338     (license license:gpl2)))
9340 (define-public r-flare
9341   (package
9342     (name "r-flare")
9343     (version "1.6.0")
9344     (source
9345      (origin
9346        (method url-fetch)
9347        (uri (cran-uri "flare" version))
9348        (sha256
9349         (base32
9350          "0ygif9a7a99qwv0b488wymmmncp6f5ww9yz13s4qs6p8yf37x1r1"))))
9351     (build-system r-build-system)
9352     (propagated-inputs
9353      `(("r-igraph" ,r-igraph)
9354        ("r-lattice" ,r-lattice)
9355        ("r-mass" ,r-mass)
9356        ("r-matrix" ,r-matrix)))
9357     (home-page "https://cran.r-project.org/web/packages/flare")
9358     (synopsis "Family of Lasso regression implementations")
9359     (description
9360      "This packages provides implementations of a family of Lasso variants
9361 including Dantzig Selector, LAD Lasso, SQRT Lasso, Lq Lasso for estimating
9362 high dimensional sparse linear models.")
9363     (license license:gpl2)))
9365 (define-public r-lassopv
9366   (package
9367     (name "r-lassopv")
9368     (version "0.2.0")
9369     (source
9370      (origin
9371        (method url-fetch)
9372        (uri (cran-uri "lassopv" version))
9373        (sha256
9374         (base32
9375          "0yawnjw063jypk3riy9xab9cmliv6c9dnabi18670khd3gzb2r9z"))))
9376     (build-system r-build-system)
9377     (propagated-inputs `(("r-lars" ,r-lars)))
9378     (home-page "https://github.com/lingfeiwang/lassopv")
9379     (synopsis "Non-parametric p-value estimation for predictors in Lasso")
9380     (description
9381      "This package enables you to estimate the p-values for predictors x
9382 against target variable y in Lasso regression, using the regularization
9383 strength when each predictor enters the active set of regularization path for
9384 the first time as the statistic.")
9385     (license license:gpl3)))
9387 (define-public r-splitstackshape
9388   (package
9389     (name "r-splitstackshape")
9390     (version "1.4.8")
9391     (source
9392      (origin
9393        (method url-fetch)
9394        (uri (cran-uri "splitstackshape" version))
9395        (sha256
9396         (base32
9397          "0mpyf2kkfdl69pdc6brl1r6101vyc6pgr7z17s55ppg3y71k4q35"))))
9398     (build-system r-build-system)
9399     (propagated-inputs
9400      `(("r-data-table" ,r-data-table)))
9401     (home-page "https://github.com/mrdwab/splitstackshape")
9402     (synopsis "Stack and reshape datasets after splitting concatenated values")
9403     (description
9404      "Online data collection tools like Google Forms often export
9405 multiple-response questions with data concatenated in cells.  The
9406 @code{concat.split} (cSplit) family of functions provided by this package
9407 splits such data into separate cells.  This package also includes functions to
9408 stack groups of columns and to reshape wide data, even when the data are
9409 \"unbalanced\"---something which @code{reshape} (from base R) does not handle,
9410 and which @code{melt} and @code{dcast} from @code{reshape2} do not easily
9411 handle.")
9412     (license license:gpl3)))
9414 (define-public r-tfmpvalue
9415   (package
9416     (name "r-tfmpvalue")
9417     (version "0.0.8")
9418     (source
9419      (origin
9420        (method url-fetch)
9421        (uri (cran-uri "TFMPvalue" version))
9422        (sha256
9423         (base32
9424          "0h9qkl15k8v17v3g9bdnfwvh2s04ywjgg5y0xn2077dmywlja1bd"))))
9425     (properties `((upstream-name . "TFMPvalue")))
9426     (build-system r-build-system)
9427     (propagated-inputs `(("r-rcpp" ,r-rcpp)))
9428     (home-page "https://github.com/ge11232002/TFMPvalue")
9429     (synopsis "P-value computation for position weight matrices")
9430     (description
9431      "In putative @dfn{Transcription Factor Binding Sites} (TFBSs)
9432 identification from sequence/alignments, we are interested in the significance
9433 of certain match scores.  TFMPvalue provides the accurate calculation of a
9434 p-value with a score threshold for position weight matrices, or the score with
9435 a given p-value.  It is an interface to code originally made available by
9436 Helene Touzet and Jean-Stephane Varre, 2007, Algorithms Mol Biol:2, 15.
9437 Touzet and Varre (2007).")
9438     (license license:gpl2)))
9440 (define-public r-rnifti
9441   (package
9442     (name "r-rnifti")
9443     (version "0.10.0")
9444     (source
9445      (origin
9446        (method url-fetch)
9447        (uri (cran-uri "RNifti" version))
9448        (sha256
9449         (base32
9450          "07sfzps4yg5zdhbxh6i4rbjvbjvvf2d8i9jcf64ywbmi557sw1zv"))))
9451     (properties `((upstream-name . "RNifti")))
9452     (build-system r-build-system)
9453     (propagated-inputs `(("r-rcpp" ,r-rcpp)))
9454     (home-page "https://github.com/jonclayden/RNifti")
9455     (synopsis "Fast R and C++ access to NIfTI images")
9456     (description
9457      "This package provides very fast read and write access to images stored
9458 in the NIfTI-1 and ANALYZE-7.5 formats, with seamless synchronisation between
9459 compiled C and interpreted R code.  It also provides a C/C++ API that can be
9460 used by other packages.")
9461     (license license:gpl2)))
9463 (define-public r-shades
9464   (package
9465     (name "r-shades")
9466     (version "1.3.1")
9467     (source
9468      (origin
9469        (method url-fetch)
9470        (uri (cran-uri "shades" version))
9471        (sha256
9472         (base32
9473          "0v0xp9l1zyq4iysmkrbdwk4r1rksjj8p5c1726yrcgyg55mj59nv"))))
9474     (build-system r-build-system)
9475     (home-page "https://github.com/jonclayden/shades")
9476     (synopsis "Simple color manipulation")
9477     (description
9478      "This package provides functions for easily manipulating colors,
9479 creating color scales and calculating color distances.")
9480     (license license:bsd-3)))
9482 (define-public r-ore
9483   (package
9484     (name "r-ore")
9485     (version "1.6.2")
9486     (source
9487      (origin
9488        (method url-fetch)
9489        (uri (cran-uri "ore" version))
9490        (sha256
9491         (base32
9492          "1l1ziljgm5gwjhvjq42wi5vcwbxlaj5dl9w8bhz0wh8vx4ajj07m"))))
9493     (build-system r-build-system)
9494     (home-page "https://github.com/jonclayden/ore")
9495     (synopsis "R interface to the Onigmo regular expression library")
9496     (description
9497      "This package provides an alternative to R's built-in functionality for
9498 handling regular expressions, based on the Onigmo library.  It offers
9499 first-class compiled regex objects, partial matching and function-based
9500 substitutions, amongst other features.")
9501     (license license:bsd-3)))
9503 (define-public r-reportr
9504   (package
9505     (name "r-reportr")
9506     (version "1.3.0")
9507     (source
9508      (origin
9509        (method url-fetch)
9510        (uri (cran-uri "reportr" version))
9511        (sha256
9512         (base32
9513          "0zynplxqvbmf23cm2rsz3wz2jx6mv55z94mn1k44ny3lx625cnpw"))))
9514     (build-system r-build-system)
9515     (propagated-inputs `(("r-ore" ,r-ore)))
9516     (home-page "https://github.com/jonclayden/reportr")
9517     (synopsis "General message and error reporting system")
9518     (description
9519      "This package provides a system for reporting messages, which offers
9520 certain useful features over the standard R system, such as the incorporation
9521 of output consolidation, message filtering, assertions, expression
9522 substitution, automatic generation of stack traces for debugging, and
9523 conditional reporting based on the current \"output level\".")
9524     (license license:gpl2)))
9526 (define-public r-tractor-base
9527   (package
9528     (name "r-tractor-base")
9529     (version "3.3.0")
9530     (source
9531      (origin
9532        (method url-fetch)
9533        (uri (cran-uri "tractor.base" version))
9534        (sha256
9535         (base32
9536          "0i62dwra0yh565ryz75byfgqv22bqwz7138zs48w46yj2h8q9hyj"))))
9537     (properties `((upstream-name . "tractor.base")))
9538     (build-system r-build-system)
9539     (propagated-inputs
9540      `(("r-ore" ,r-ore)
9541        ("r-reportr" ,r-reportr)
9542        ("r-rnifti" ,r-rnifti)
9543        ("r-shades" ,r-shades)))
9544     (home-page "http://www.tractor-mri.org.uk")
9545     (synopsis "Read, manipulate and visualize magnetic resonance images")
9546     (description
9547      "This package provides functions for working with magnetic resonance
9548 images.  It supports reading and writing of popular file formats (DICOM,
9549 Analyze, NIfTI-1, NIfTI-2, MGH); interactive and non-interactive
9550 visualization; flexible image manipulation; metadata and sparse image
9551 handling.")
9552     (license license:gpl2)))
9554 (define-public r-grimport
9555   (package
9556     (name "r-grimport")
9557     (version "0.9-1.1")
9558     (source
9559      (origin
9560        (method url-fetch)
9561        (uri (cran-uri "grImport" version))
9562        (sha256
9563         (base32
9564          "19d05ygpiv47lfzhfih35pdfll0axbrgd6p86l59mmg2d0j0s8bd"))))
9565     (properties `((upstream-name . "grImport")))
9566     (build-system r-build-system)
9567     (inputs
9568      `(("ghostscript" ,ghostscript)))
9569     (propagated-inputs
9570      `(("r-xml" ,r-xml)))
9571     (home-page "https://cran.r-project.org/web/packages/grImport")
9572     (synopsis "Convert, import, and draw PostScript pictures")
9573     (description
9574      "This package provides functions for converting, importing, and drawing
9575 PostScript pictures in R plots.")
9576     (license license:gpl2+)))
9578 (define-public r-kohonen
9579   (package
9580     (name "r-kohonen")
9581     (version "3.0.8")
9582     (source
9583      (origin
9584        (method url-fetch)
9585        (uri (cran-uri "kohonen" version))
9586        (sha256
9587         (base32
9588          "1zbfqa1qdlry8w6xhypkiknc5gn98v1ijhlsfka8zjg8ajhqgn1q"))))
9589     (build-system r-build-system)
9590     (propagated-inputs
9591      `(("r-mass" ,r-mass)
9592        ("r-rcpp" ,r-rcpp)))
9593     (home-page "https://cran.r-project.org/web/packages/kohonen")
9594     (synopsis "Supervised and unsupervised self-organising maps")
9595     (description
9596      "This package provides functions to train @dfn{self-organising
9597 maps} (SOMs).  Also interrogation of the maps and prediction using trained
9598 maps are supported.  The name of the package refers to Teuvo Kohonen, the
9599 inventor of the SOM.")
9600     (license license:gpl2+)))
9602 (define-public r-nnls
9603   (package
9604     (name "r-nnls")
9605     (version "1.4")
9606     (source
9607      (origin
9608        (method url-fetch)
9609        (uri (cran-uri "nnls" version))
9610        (sha256
9611         (base32
9612          "07vcrrxvswrvfiha6f3ikn640yg0m2b4yd9lkmim1g0jmsmpfp8f"))))
9613     (build-system r-build-system)
9614     (native-inputs `(("gfortran" ,gfortran)))
9615     (home-page "https://cran.r-project.org/web/packages/nnls")
9616     (synopsis "Lawson-Hanson algorithm for non-negative least squares")
9617     (description
9618      "This package provides an R interface to the Lawson-Hanson implementation
9619 of an algorithm for @dfn{non-negative least squares} (NNLS).  It also allows
9620 the combination of non-negative and non-positive constraints.")
9621     (license license:gpl2+)))
9623 (define-public r-iso
9624   (package
9625     (name "r-iso")
9626     (version "0.0-17")
9627     (source
9628      (origin
9629        (method url-fetch)
9630        (uri (cran-uri "Iso" version))
9631        (sha256
9632         (base32
9633          "0lljc99sdzdqj6d56qbsggibr6pkdwkh821bj70ianikyvmdc1y0"))))
9634     (properties `((upstream-name . "Iso")))
9635     (build-system r-build-system)
9636     (native-inputs `(("gfortran" ,gfortran)))
9637     (home-page "http://www.stat.auckland.ac.nz/~rolf/")
9638     (synopsis "Functions to perform isotonic regression")
9639     (description
9640      "This package provides support for linear order and unimodal
9641 order (univariate) isotonic regression and bivariate isotonic regression with
9642 linear order on both variables.")
9643     (license license:gpl2+)))
9645 (define-public r-chemometricswithr
9646   (package
9647     (name "r-chemometricswithr")
9648     (version "0.1.13")
9649     (source
9650      (origin
9651        (method url-fetch)
9652        (uri (cran-uri "ChemometricsWithR" version))
9653        (sha256
9654         (base32
9655          "166va1g3m1wv21qkmw4wpz0bsrclh3jih8smxphdc13l9pqgclpq"))))
9656     (properties
9657      `((upstream-name . "ChemometricsWithR")))
9658     (build-system r-build-system)
9659     (propagated-inputs
9660      `(("r-devtools" ,r-devtools)
9661        ("r-kohonen" ,r-kohonen)
9662        ("r-mass" ,r-mass)
9663        ("r-pls" ,r-pls)))
9664     (home-page "https://github.com/rwehrens/CWR")
9665     (synopsis "Chemometrics with R")
9666     (description
9667      "This package provides functions and scripts used in the book
9668 \"Chemometrics with R - Multivariate Data Analysis in the Natural Sciences and
9669 Life Sciences\" by Ron Wehrens, Springer (2011).")
9670     (license license:gpl2+)))
9672 (define-public r-als
9673   (package
9674     (name "r-als")
9675     (version "0.0.6")
9676     (source
9677      (origin
9678        (method url-fetch)
9679        (uri (cran-uri "ALS" version))
9680        (sha256
9681         (base32
9682          "1swrn39vy50fazkpf97r7c542gkj6mlvy8gmcxllg7mf2mqx546a"))))
9683     (properties `((upstream-name . "ALS")))
9684     (build-system r-build-system)
9685     (propagated-inputs
9686      `(("r-iso" ,r-iso)
9687        ("r-nnls" ,r-nnls)))
9688     (home-page "https://cran.r-project.org/web/packages/ALS")
9689     (synopsis "Multivariate curve resolution alternating least squares")
9690     (description
9691      "Alternating least squares is often used to resolve components
9692 contributing to data with a bilinear structure; the basic technique may be
9693 extended to alternating constrained least squares.  This package provides an
9694 implementation of @dfn{multivariate curve resolution alternating least
9695 squares} (MCR-ALS).
9697 Commonly applied constraints include unimodality, non-negativity, and
9698 normalization of components.  Several data matrices may be decomposed
9699 simultaneously by assuming that one of the two matrices in the bilinear
9700 decomposition is shared between datasets.")
9701     (license license:gpl2+)))
9703 (define-public r-strucchange
9704   (package
9705     (name "r-strucchange")
9706     (version "1.5-1")
9707     (source
9708      (origin
9709        (method url-fetch)
9710        (uri (cran-uri "strucchange" version))
9711        (sha256
9712         (base32
9713          "0cdgvl6kphm2i59bmnppn1y3kv65ml111bk7yzpcx7vv8wh2w3kl"))))
9714     (build-system r-build-system)
9715     (propagated-inputs
9716      `(("r-sandwich" ,r-sandwich)
9717        ("r-zoo" ,r-zoo)))
9718     (home-page "https://cran.r-project.org/web/packages/strucchange")
9719     (synopsis "Testing, monitoring, and dating structural changes")
9720     (description
9721      "This package provides tools for testing, monitoring and dating
9722 structural changes in (linear) regression models.  It features tests/methods
9723 from the generalized fluctuation test framework as well as from the F
9724 test (Chow test) framework.  This includes methods to fit, plot and test
9725 fluctuation processes (e.g., CUSUM, MOSUM, recursive/moving estimates) and F
9726 statistics, respectively.  It is possible to monitor incoming data online
9727 using fluctuation processes.  Finally, the breakpoints in regression models
9728 with structural changes can be estimated together with confidence intervals.
9729 Emphasis is always given to methods for visualizing the data.")
9730     ;; Either of these two GPL versions
9731     (license (list license:gpl2 license:gpl3))))
9733 (define-public r-pixmap
9734   (package
9735     (name "r-pixmap")
9736     (version "0.4-11")
9737     (source
9738      (origin
9739        (method url-fetch)
9740        (uri (cran-uri "pixmap" version))
9741        (sha256
9742         (base32
9743          "04klxp6jndw1bp6z40v20fbmdmdpfca2g0czmmmgbkark9s1183g"))))
9744     (build-system r-build-system)
9745     (home-page "https://cran.r-project.org/web/packages/pixmap")
9746     (synopsis "Tools for bitmap images")
9747     (description
9748      "This package provides functions for importing, exporting, plotting and
9749 other manipulations of bitmapped images.")
9750     (license license:gpl2)))
9752 (define-public r-rapidjsonr
9753   (package
9754     (name "r-rapidjsonr")
9755     (version "1.1")
9756     (source
9757      (origin
9758        (method url-fetch)
9759        (uri (cran-uri "rapidjsonr" version))
9760        (sha256
9761         (base32
9762          "0h4phjjhykbb45rg5b1xn48vqxdcvcngbm0416ds8in7j469wbwd"))))
9763     (build-system r-build-system)
9764     (home-page "https://cran.r-project.org/web/packages/rapidjsonr")
9765     (synopsis "JSON parser")
9766     (description
9767      "This package provides JSON parsing capability through the Rapidjson
9768 library.")
9769     (license license:expat)))
9771 (define-public r-ontologyindex
9772   (package
9773     (name "r-ontologyindex")
9774     (version "2.5")
9775     (source
9776      (origin
9777        (method url-fetch)
9778        (uri (cran-uri "ontologyIndex" version))
9779        (sha256
9780         (base32
9781          "127hlf0z5fmbgnq4p9h8nvn6p72d2fpcn846zzb99s213421jnry"))))
9782     (properties `((upstream-name . "ontologyIndex")))
9783     (build-system r-build-system)
9784     (home-page "https://cran.r-project.org/web/packages/ontologyIndex")
9785     (synopsis "Functions for processing ontologies in R")
9786     (description
9787      "This package provides functions for reading ontologies into R as lists
9788 and manipulating sets of ontological terms.")
9789     (license license:gpl2+)))
9791 (define-public r-bigrquery
9792   (package
9793     (name "r-bigrquery")
9794     (version "1.1.0")
9795     (source
9796      (origin
9797        (method url-fetch)
9798        (uri (cran-uri "bigrquery" version))
9799        (sha256
9800         (base32
9801          "0h2nzyn1w0padpl61l467j7vlkc2wair7sh6p26p94z4zfsnv0i1"))))
9802     (build-system r-build-system)
9803     (propagated-inputs
9804      `(("r-assertthat" ,r-assertthat)
9805        ("r-bit64" ,r-bit64)
9806        ("r-curl" ,r-curl)
9807        ("r-dbi" ,r-dbi)
9808        ("r-glue" ,r-glue)
9809        ("r-httr" ,r-httr)
9810        ("r-jsonlite" ,r-jsonlite)
9811        ("r-prettyunits" ,r-prettyunits)
9812        ("r-progress" ,r-progress)
9813        ("r-rapidjsonr" ,r-rapidjsonr)
9814        ("r-rcpp" ,r-rcpp)
9815        ("r-tibble" ,r-tibble)))
9816     (home-page "https://github.com/rstats-db/bigrquery")
9817     (synopsis "R interface to Google's BigQuery API")
9818     (description
9819      "This package provides an R interface to Google's BigQuery database.")
9820     (license license:gpl3)))
9822 (define-public r-gmp
9823   (package
9824     (name "r-gmp")
9825     (version "0.5-13.5")
9826     (source
9827      (origin
9828        (method url-fetch)
9829        (uri (cran-uri "gmp" version))
9830        (sha256
9831         (base32
9832          "042mzsl6z6s61fy5m21yf9q83l08vnyqljn4iax7kqyiycpsp0gn"))))
9833     (build-system r-build-system)
9834     (arguments
9835      '(#:phases
9836        (modify-phases %standard-phases
9837          (add-after 'unpack 'set-CC
9838            (lambda _ (setenv "CC" "gcc") #t)))))
9839     (inputs `(("gmp" ,gmp)))
9840     (home-page "https://cran.r-project.org/web/packages/gmp")
9841     (synopsis "Multiple precision arithmetic")
9842     (description
9843      "This package supports multiple precision arithmetic (big integers and
9844 rationals, prime number tests, matrix computation), \"arithmetic without
9845 limitations\" using the GNU Multiple Precision library.")
9846     ;; Any version of the GPL.
9847     (license license:gpl3+)))
9849 (define-public r-rmpfr
9850   (package
9851     (name "r-rmpfr")
9852     (version "0.7-2")
9853     (source
9854      (origin
9855        (method url-fetch)
9856        (uri (cran-uri "Rmpfr" version))
9857        (sha256
9858         (base32
9859          "1zq3as34r27v2yc729731997wdhxb6cs5ilmak4nmsljabnac7gc"))))
9860     (properties `((upstream-name . "Rmpfr")))
9861     (build-system r-build-system)
9862     (inputs
9863      `(("mpfr" ,mpfr)))
9864     (propagated-inputs
9865      `(("r-gmp" ,r-gmp)))
9866     (home-page "http://rmpfr.r-forge.r-project.org/")
9867     (synopsis "R bindings to the MPFR library")
9868     (description
9869      "This package supports arithmetic (via S4 classes and methods) for
9870 arbitrary precision floating point numbers, including transcendental
9871 functions.  To this end, the package interfaces with the @dfn{Multiple
9872 Precision Floating-Point Reliable} (MPFR) library.")
9873     (license license:gpl2+)))
9875 (define-public r-assertive-base
9876   (package
9877     (name "r-assertive-base")
9878     (version "0.0-7")
9879     (source
9880      (origin
9881        (method url-fetch)
9882        (uri (cran-uri "assertive.base" version))
9883        (sha256
9884         (base32
9885          "1xs3ysvj0z57c58jw57pckq2rynia6ks4rmjmc02alczhk54wbgh"))))
9886     (properties
9887      `((upstream-name . "assertive.base")))
9888     (build-system r-build-system)
9889     (home-page "https://bitbucket.org/richierocks/assertive.base")
9890     (synopsis "Core of the assertive package")
9891     (description
9892      "This package provides a minimal set of predicates and assertions used by
9893 the assertive package.  This is mainly for use by other package developers who
9894 want to include run-time testing features in their own packages.")
9895     (license license:gpl3+)))
9897 (define-public r-assertive-properties
9898   (package
9899     (name "r-assertive-properties")
9900     (version "0.0-4")
9901     (source
9902      (origin
9903        (method url-fetch)
9904        (uri (cran-uri "assertive.properties" version))
9905        (sha256
9906         (base32
9907          "0sqs54acs9qk9kvm32rxzfbzxz1l8mjahpfnw7r30z2brgz661jw"))))
9908     (properties
9909      `((upstream-name . "assertive.properties")))
9910     (build-system r-build-system)
9911     (propagated-inputs
9912      `(("r-assertive-base" ,r-assertive-base)))
9913     (home-page "https://bitbucket.org/richierocks/assertive.properties")
9914     (synopsis "Assertions to check properties of variables")
9915     (description
9916      "This package provides a set of predicates and assertions for checking
9917 the properties of variables, such as length, names and attributes.  This is
9918 mainly for use by other package developers who want to include run-time
9919 testing features in their own packages.")
9920     (license license:gpl3+)))
9922 (define-public r-assertive-numbers
9923   (package
9924     (name "r-assertive-numbers")
9925     (version "0.0-2")
9926     (source
9927      (origin
9928        (method url-fetch)
9929        (uri (cran-uri "assertive.numbers" version))
9930        (sha256
9931         (base32
9932          "0jc3ss64j4m7bjydhagwwmka5n7c72vpw4kfcch0m5jvkq5qrqds"))))
9933     (properties
9934      `((upstream-name . "assertive.numbers")))
9935     (build-system r-build-system)
9936     (propagated-inputs
9937      `(("r-assertive-base" ,r-assertive-base)))
9938     (home-page "https://bitbucket.org/richierocks/assertive.numbers")
9939     (synopsis "Assertions to check properties of numbers")
9940     (description
9941      "This package provides a set of predicates and assertions for checking
9942 the properties of numbers.  This is mainly for use by other package developers
9943 who want to include run-time testing features in their own packages.")
9944     (license license:gpl3+)))
9946 (define-public r-assertive-sets
9947   (package
9948     (name "r-assertive-sets")
9949     (version "0.0-3")
9950     (source
9951      (origin
9952        (method url-fetch)
9953        (uri (cran-uri "assertive.sets" version))
9954        (sha256
9955         (base32
9956          "1cqvh2syvh5b6d85h601zjmsdbbf3h8q98ids4dfl4frdshpasc7"))))
9957     (properties
9958      `((upstream-name . "assertive.sets")))
9959     (build-system r-build-system)
9960     (propagated-inputs
9961      `(("r-assertive-base" ,r-assertive-base)))
9962     (home-page "https://bitbucket.org/richierocks/assertive.sets")
9963     (synopsis "Assertions to check properties of sets")
9964     (description
9965      "This package provides a set of predicates and assertions for checking
9966 the properties of sets.  This is mainly for use by other package developers
9967 who want to include run-time testing features in their own packages.")
9968     (license license:gpl3+)))
9970 (define-public r-assertive-matrices
9971   (package
9972     (name "r-assertive-matrices")
9973     (version "0.0-2")
9974     (source
9975      (origin
9976        (method url-fetch)
9977        (uri (cran-uri "assertive.matrices" version))
9978        (sha256
9979         (base32
9980          "16sykzcndv6y2d43x6v9n7m95kv76364h39kh10w4z0xw6ksfqil"))))
9981     (properties
9982      `((upstream-name . "assertive.matrices")))
9983     (build-system r-build-system)
9984     (propagated-inputs
9985      `(("r-assertive-base" ,r-assertive-base)))
9986     (home-page "https://bitbucket.org/richierocks/assertive.matrices")
9987     (synopsis "Assertions to check properties of matrices")
9988     (description
9989      "This package provides a set of predicates and assertions for checking
9990 the properties of matrices.  This is mainly for use by other package
9991 developers who want to include run-time testing features in their own
9992 packages.")
9993     (license license:gpl3+)))
9995 (define-public r-assertive-models
9996   (package
9997     (name "r-assertive-models")
9998     (version "0.0-2")
9999     (source
10000      (origin
10001        (method url-fetch)
10002        (uri (cran-uri "assertive.models" version))
10003        (sha256
10004         (base32
10005          "0bn4j4v5qvb2d672cgri61p8d9v258pmz35y3lvm6b9mdxwdi9mr"))))
10006     (properties
10007      `((upstream-name . "assertive.models")))
10008     (build-system r-build-system)
10009     (propagated-inputs
10010      `(("r-assertive-base" ,r-assertive-base)))
10011     (home-page "https://bitbucket.org/richierocks/assertive.models")
10012     (synopsis "Assertions to check properties of models")
10013     (description
10014      "This package provides a set of predicates and assertions for checking
10015 the properties of models.  This is mainly for use by other package developers
10016 who want to include run-time testing features in their own packages.")
10017     (license license:gpl3+)))
10019 (define-public r-assertive-reflection
10020   (package
10021     (name "r-assertive-reflection")
10022     (version "0.0-4")
10023     (source
10024      (origin
10025        (method url-fetch)
10026        (uri (cran-uri "assertive.reflection" version))
10027        (sha256
10028         (base32
10029          "19zmsbn00crfqm0kwd9ys5gv87xs3gi6wmlikrz9xiwzm7hp4dhj"))))
10030     (properties
10031      `((upstream-name . "assertive.reflection")))
10032     (build-system r-build-system)
10033     (propagated-inputs
10034      `(("r-assertive-base" ,r-assertive-base)))
10035     (home-page "https://bitbucket.org/richierocks/assertive.reflection")
10036     (synopsis "Assertions for checking the state of R")
10037     (description
10038      "This package provides a set of predicates and assertions for checking
10039 the state and capabilities of R, the operating system it is running on, and
10040 the IDE being used.  This is mainly for use by other package developers who
10041 want to include run-time testing features in their own packages.")
10042     (license license:gpl3+)))
10044 (define-public r-assertive-types
10045   (package
10046     (name "r-assertive-types")
10047     (version "0.0-3")
10048     (source
10049      (origin
10050        (method url-fetch)
10051        (uri (cran-uri "assertive.types" version))
10052        (sha256
10053         (base32
10054          "0zxq1jfrzgw95ll7alvm0xnk7aihjdksngq4ya2whyvfjbmv4vdb"))))
10055     (properties
10056      `((upstream-name . "assertive.types")))
10057     (build-system r-build-system)
10058     (propagated-inputs
10059      `(("r-assertive-base" ,r-assertive-base)
10060        ("r-assertive-properties" ,r-assertive-properties)
10061        ("r-codetools" ,r-codetools)))
10062     (home-page "https://bitbucket.org/richierocks/assertive.types")
10063     (synopsis "Assertions to check types of variables")
10064     (description
10065      "This package provides a set of predicates and assertions for checking
10066 the types of variables.  This is mainly for use by other package developers
10067 who want to include run-time testing features in their own packages.")
10068     (license license:gpl3+)))
10070 (define-public r-assertive-files
10071   (package
10072     (name "r-assertive-files")
10073     (version "0.0-2")
10074     (source
10075      (origin
10076        (method url-fetch)
10077        (uri (cran-uri "assertive.files" version))
10078        (sha256
10079         (base32
10080          "02pfz8j5vwcj5kl6zca46894li7lxwnlrr29j922f14ay6kdssmy"))))
10081     (properties
10082      `((upstream-name . "assertive.files")))
10083     (build-system r-build-system)
10084     (propagated-inputs
10085      `(("r-assertive-base" ,r-assertive-base)
10086        ("r-assertive-numbers" ,r-assertive-numbers)))
10087     (home-page "https://bitbucket.org/richierocks/assertive.files")
10088     (synopsis "Assertions to check properties of files")
10089     (description
10090      "This package provides a set of predicates and assertions for checking
10091 the properties of files and connections.  This is mainly for use by other
10092 package developers who want to include run-time testing features in their own
10093 packages.")
10094     (license license:gpl3+)))
10096 (define-public r-assertive-code
10097   (package
10098     (name "r-assertive-code")
10099     (version "0.0-3")
10100     (source
10101      (origin
10102        (method url-fetch)
10103        (uri (cran-uri "assertive.code" version))
10104        (sha256
10105         (base32
10106          "1qhbp668zfvhqs8avkhg9amp4zyazz6dsy4fc6kpdmw3sv8yi07g"))))
10107     (properties
10108      `((upstream-name . "assertive.code")))
10109     (build-system r-build-system)
10110     (propagated-inputs
10111      `(("r-assertive-base" ,r-assertive-base)
10112        ("r-assertive-properties" ,r-assertive-properties)
10113        ("r-assertive-types" ,r-assertive-types)))
10114     (home-page "https://bitbucket.org/richierocks/assertive.code")
10115     (synopsis "Assertions to check properties of code")
10116     (description
10117      "This package provides a set of predicates and assertions for checking
10118 the properties of code.  This is mainly for use by other package developers
10119 who want to include run-time testing features in their own packages.")
10120     (license license:gpl3+)))
10122 (define-public r-assertive-datetimes
10123   (package
10124     (name "r-assertive-datetimes")
10125     (version "0.0-2")
10126     (source
10127      (origin
10128        (method url-fetch)
10129        (uri (cran-uri "assertive.datetimes" version))
10130        (sha256
10131         (base32
10132          "00a98fx8p3pr3ckayh8wmxmm4rz01s67wah9697m92yci6pv3m78"))))
10133     (properties
10134      `((upstream-name . "assertive.datetimes")))
10135     (build-system r-build-system)
10136     (propagated-inputs
10137      `(("r-assertive-base" ,r-assertive-base)
10138        ("r-assertive-types" ,r-assertive-types)))
10139     (home-page "https://bitbucket.org/richierocks/assertive.datetimes")
10140     (synopsis "Assertions to check properties of dates and times")
10141     (description
10142      "This package provides a set of predicates and assertions for checking
10143 the properties of dates and times.  This is mainly for use by other package
10144 developers who want to include run-time testing features in their own
10145 packages.")
10146     (license license:gpl3+)))
10148 (define-public r-assertive-strings
10149   (package
10150     (name "r-assertive-strings")
10151     (version "0.0-3")
10152     (source
10153      (origin
10154        (method url-fetch)
10155        (uri (cran-uri "assertive.strings" version))
10156        (sha256
10157         (base32
10158          "0n6jrk88670g4ym0r8ii40a08a90z1xadj8wcryk8h0nl04dchfm"))))
10159     (properties
10160      `((upstream-name . "assertive.strings")))
10161     (build-system r-build-system)
10162     (propagated-inputs
10163      `(("r-assertive-base" ,r-assertive-base)
10164        ("r-assertive-types" ,r-assertive-types)
10165        ("r-stringi" ,r-stringi)))
10166     (home-page "https://bitbucket.org/richierocks/assertive.strings")
10167     (synopsis "Assertions to check properties of strings")
10168     (description
10169      "This package provides a set of predicates and assertions for checking
10170 the properties of strings.  This is mainly for use by other package developers
10171 who want to include run-time testing features in their own packages.")
10172     (license license:gpl3+)))
10174 (define-public r-assertive-data-us
10175   (package
10176     (name "r-assertive-data-us")
10177     (version "0.0-2")
10178     (source
10179      (origin
10180        (method url-fetch)
10181        (uri (cran-uri "assertive.data.us" version))
10182        (sha256
10183         (base32
10184          "1bgspn0sccmp9z7s7djvdvprgxlyc5vrxznp4zfjb79kwvgn83hq"))))
10185     (properties
10186      `((upstream-name . "assertive.data.us")))
10187     (build-system r-build-system)
10188     (propagated-inputs
10189      `(("r-assertive-base" ,r-assertive-base)
10190        ("r-assertive-strings" ,r-assertive-strings)))
10191     (home-page "https://bitbucket.org/richierocks/assertive.data.us")
10192     (synopsis "Assertions to check properties of strings")
10193     (description
10194      "This package provides a set of predicates and assertions for checking
10195 the properties of US-specific complex data types.  This is mainly for use by
10196 other package developers who want to include run-time testing features in
10197 their own packages.")
10198     (license license:gpl3+)))
10200 (define-public r-assertive-data-uk
10201   (package
10202     (name "r-assertive-data-uk")
10203     (version "0.0-2")
10204     (source
10205      (origin
10206        (method url-fetch)
10207        (uri (cran-uri "assertive.data.uk" version))
10208        (sha256
10209         (base32
10210          "1fzjvhwp7mwkqqix29khvs6zcrc82n6j4czvzzb473vyjyvdlj5b"))))
10211     (properties
10212      `((upstream-name . "assertive.data.uk")))
10213     (build-system r-build-system)
10214     (propagated-inputs
10215      `(("r-assertive-base" ,r-assertive-base)
10216        ("r-assertive-strings" ,r-assertive-strings)))
10217     (home-page "https://bitbucket.org/richierocks/assertive.data.uk")
10218     (synopsis "Assertions to check properties of strings")
10219     (description
10220      "This package provides a set of predicates and assertions for checking
10221 the properties of UK-specific complex data types.  This is mainly for use by
10222 other package developers who want to include run-time testing features in
10223 their own packages.")
10224     (license license:gpl3+)))
10226 (define-public r-assertive-data
10227   (package
10228     (name "r-assertive-data")
10229     (version "0.0-3")
10230     (source
10231      (origin
10232        (method url-fetch)
10233        (uri (cran-uri "assertive.data" version))
10234        (sha256
10235         (base32
10236          "00cvg2g36mdl8plrzx40m63qd55742mddqrchwy9n3c7mm4gn02s"))))
10237     (properties
10238      `((upstream-name . "assertive.data")))
10239     (build-system r-build-system)
10240     (propagated-inputs
10241      `(("r-assertive-base" ,r-assertive-base)
10242        ("r-assertive-strings" ,r-assertive-strings)))
10243     (home-page "https://bitbucket.org/richierocks/assertive.data")
10244     (synopsis "Assertions to check properties of data")
10245     (description
10246      "This package provides a set of predicates and assertions for checking
10247 the properties of (country independent) complex data types.  This is mainly
10248 for use by other package developers who want to include run-time testing
10249 features in their own packages.")
10250     (license license:gpl3+)))
10252 (define-public r-assertive
10253   (package
10254     (name "r-assertive")
10255     (version "0.3-5")
10256     (source
10257      (origin
10258        (method url-fetch)
10259        (uri (cran-uri "assertive" version))
10260        (sha256
10261         (base32
10262          "0blbbhlxcb5ffdxqxi62xs33ljiawh6s22a0pyvbbh79jf46rzr3"))))
10263     (build-system r-build-system)
10264     (propagated-inputs
10265      `(("r-assertive-base" ,r-assertive-base)
10266        ("r-assertive-code" ,r-assertive-code)
10267        ("r-assertive-data" ,r-assertive-data)
10268        ("r-assertive-data-uk" ,r-assertive-data-uk)
10269        ("r-assertive-data-us" ,r-assertive-data-us)
10270        ("r-assertive-datetimes" ,r-assertive-datetimes)
10271        ("r-assertive-files" ,r-assertive-files)
10272        ("r-assertive-matrices" ,r-assertive-matrices)
10273        ("r-assertive-models" ,r-assertive-models)
10274        ("r-assertive-numbers" ,r-assertive-numbers)
10275        ("r-assertive-properties" ,r-assertive-properties)
10276        ("r-assertive-reflection" ,r-assertive-reflection)
10277        ("r-assertive-sets" ,r-assertive-sets)
10278        ("r-assertive-strings" ,r-assertive-strings)
10279        ("r-assertive-types" ,r-assertive-types)
10280        ("r-knitr" ,r-knitr)))
10281     (home-page "https://bitbucket.org/richierocks/assertive")
10282     (synopsis "Readable check functions to ensure code integrity")
10283     (description
10284      "This package provides lots of predicates (@code{is_*} functions) to
10285 check the state of your variables, and assertions (@code{assert_*} functions)
10286 to throw errors if they aren't in the right form.")
10287     (license license:gpl3+)))
10289 (define-public r-dotcall64
10290   (package
10291     (name "r-dotcall64")
10292     (version "1.0-0")
10293     (source
10294      (origin
10295        (method url-fetch)
10296        (uri (cran-uri "dotCall64" version))
10297        (sha256
10298         (base32
10299          "1b8p7m3w0m7bp977c6jz74xkd611cxg11j49yza59k5fp338scb9"))))
10300     (properties `((upstream-name . "dotCall64")))
10301     (build-system r-build-system)
10302     (native-inputs `(("gfortran" ,gfortran)))
10303     (home-page "https://git.math.uzh.ch/reinhard.furrer/dotCall64")
10304     (synopsis "Enhanced foreign function interface supporting long vectors")
10305     (description
10306      "This package provides @code{.C64()}, an enhanced version of @code{.C()}
10307 and @code{.Fortran()} from the R foreign function interface.  @code{.C64()}
10308 supports long vectors, arguments of type 64-bit integer, and provides a
10309 mechanism to avoid unnecessary copies of read-only and write-only arguments.
10310 This makes it a convenient and fast interface to C/C++ and Fortran code.")
10311     (license license:gpl2+)))
10313 (define-public r-spam
10314   (package
10315     (name "r-spam")
10316     (version "2.2-2")
10317     (source
10318      (origin
10319        (method url-fetch)
10320        (uri (cran-uri "spam" version))
10321        (sha256
10322         (base32
10323          "024dgfnjfxvsiymbzrhadinamj6qy509f4sbd1zxql8ymkyxn7vi"))))
10324     (build-system r-build-system)
10325     (propagated-inputs
10326      `(("r-dotcall64" ,r-dotcall64)))
10327     (native-inputs `(("gfortran" ,gfortran)))
10328     (home-page "https://www.math.uzh.ch/pages/spam/")
10329     (synopsis "Sparse matrix algebra")
10330     (description
10331      "This package provides a set of functions for sparse matrix algebra.
10332 Differences with other sparse matrix packages are:
10334 @enumerate
10335 @item it only supports (essentially) one sparse matrix format;
10336 @item it is based on transparent and simple structure(s);
10337 @item it is tailored for MCMC calculations within G(M)RF;
10338 @item and it is fast and scalable (with the extension package @code{spam64}).
10339 @end enumerate\n")
10340     ;; Either of these licenses
10341     (license (list license:bsd-3 license:lgpl2.0))))
10343 (define-public r-fields
10344   (package
10345     (name "r-fields")
10346     (version "9.7")
10347     (source
10348      (origin
10349        (method url-fetch)
10350        (uri (cran-uri "fields" version))
10351        (sha256
10352         (base32
10353          "0hsr6r0zyv8zqkfyd9fmjk6v901m2r8pmswvsmps6w5zvpi0p5kw"))))
10354     (build-system r-build-system)
10355     (propagated-inputs
10356      `(("r-maps" ,r-maps)
10357        ("r-spam" ,r-spam)))
10358     (native-inputs
10359      `(("gfortran" ,gfortran)))
10360     (home-page "http://www.image.ucar.edu/fields")
10361     (synopsis "Tools for spatial data")
10362     (description
10363      "This is a package for curve, surface and function fitting with an
10364 emphasis on splines, spatial data and spatial statistics.  The major methods
10365 include cubic, and thin plate splines, Kriging, and compactly supported
10366 covariance functions for large data sets.")
10367     (license license:gpl2+)))
10369 (define-public r-spatialextremes
10370   (package
10371     (name "r-spatialextremes")
10372     (version "2.0-7")
10373     (source
10374      (origin
10375        (method url-fetch)
10376        (uri (cran-uri "SpatialExtremes" version))
10377        (sha256
10378         (base32
10379          "1y0h1pcfqp9ynxsr3yrfbihlwm25ypyb88jmm5k2g7xvm8h9g050"))))
10380     (properties
10381      `((upstream-name . "SpatialExtremes")))
10382     (build-system r-build-system)
10383     (propagated-inputs
10384      `(("r-fields" ,r-fields)
10385        ("r-maps" ,r-maps)))
10386     (home-page "http://spatialextremes.r-forge.r-project.org/")
10387     (synopsis "Modelling spatial extremes")
10388     (description
10389      "This package provides tools for the statistical modelling of spatial
10390 extremes using max-stable processes, copula or Bayesian hierarchical models.
10391 More precisely, this package allows (conditional) simulations from various
10392 parametric max-stable models, analysis of the extremal spatial dependence, the
10393 fitting of such processes using composite likelihoods or least square (simple
10394 max-stable processes only), model checking and selection and prediction.")
10395     (license license:gpl2+)))
10397 (define-public r-drc
10398   (package
10399     (name "r-drc")
10400     (version "3.0-1")
10401     (source
10402      (origin
10403        (method url-fetch)
10404        (uri (cran-uri "drc" version))
10405        (sha256
10406         (base32
10407          "0c8xn8ripzq270hy8d16fcnx02l02alddznd7fqwk3jyi6113h1y"))))
10408     (build-system r-build-system)
10409     (propagated-inputs
10410      `(("r-car" ,r-car)
10411        ("r-gtools" ,r-gtools)
10412        ("r-mass" ,r-mass)
10413        ("r-multcomp" ,r-multcomp)
10414        ("r-plotrix" ,r-plotrix)
10415        ("r-scales" ,r-scales)))
10416     (home-page "https://cran.r-project.org/web/packages/drc")
10417     (synopsis "Analysis of dose-response curves")
10418     (description
10419      "This package provides a suite of flexible and versatile model fitting
10420 and after-fitting functions for the analysis of dose-response data.")
10421     (license license:gpl2+)))
10423 (define-public r-rmeta
10424   (package
10425     (name "r-rmeta")
10426     (version "3.0")
10427     (source
10428      (origin
10429        (method url-fetch)
10430        (uri (cran-uri "rmeta" version))
10431        (sha256
10432         (base32
10433          "0vkbnxp579v8zmcv1isdbzj5swpr6fq17zwparxcvzswjc2x9ydr"))))
10434     (build-system r-build-system)
10435     (home-page "https://cran.r-project.org/web/packages/rmeta")
10436     (synopsis "Tools for meta-analysis")
10437     (description
10438      "This package provides functions for simple fixed and random effects
10439 meta-analysis for two-sample comparisons and cumulative meta-analyses.  It
10440 draws standard summary plots, funnel plots, and computes summaries and tests
10441 for association and heterogeneity.")
10442     (license license:gpl2)))
10444 (define-public r-bootstrap
10445   (package
10446     (name "r-bootstrap")
10447     (version "2017.2")
10448     (source
10449      (origin
10450        (method url-fetch)
10451        (uri (cran-uri "bootstrap" version))
10452        (sha256
10453         (base32
10454          "08lmsy7k8wsgv89yc904c6fidcymr1ma2ry4fl0p69p21v4iiwa4"))))
10455     (build-system r-build-system)
10456     (native-inputs `(("gfortran" ,gfortran)))
10457     (home-page "https://cran.r-project.org/web/packages/bootstrap")
10458     (synopsis "Functions for the book \"An Introduction to the Bootstrap\"")
10459     (description
10460      "This package provides software and data for the book \"An Introduction
10461 to the Bootstrap\" by B. Efron and R. Tibshirani, 1993, Chapman and Hall.
10462 This package is primarily provided for projects already based on it, and for
10463 support of the book.  New projects should preferentially use the recommended
10464 package \"boot\".")
10465     (license license:bsd-3)))
10467 (define-public r-survivalroc
10468   (package
10469     (name "r-survivalroc")
10470     (version "1.0.3")
10471     (source
10472      (origin
10473        (method url-fetch)
10474        (uri (cran-uri "survivalROC" version))
10475        (sha256
10476         (base32
10477          "0wnd65ff5w679hxa1zrpfrx9qg47q21pjxppsga6m3h4iq1yfj8l"))))
10478     (properties `((upstream-name . "survivalROC")))
10479     (build-system r-build-system)
10480     (home-page "https://cran.r-project.org/web/packages/survivalROC")
10481     (synopsis "Time-dependent ROC curve estimation from censored survival data")
10482     (description
10483      "Compute time-dependent ROC curve from censored survival data using
10484 Kaplan-Meier (KM) or Nearest Neighbor Estimation (NNE) method of Heagerty,
10485 Lumley & Pepe (Biometrics, Vol 56 No 2, 2000, PP 337-344)")
10486     (license license:gpl2+)))
10488 (define-public r-longitudinal
10489   (package
10490     (name "r-longitudinal")
10491     (version "1.1.12")
10492     (source
10493      (origin
10494        (method url-fetch)
10495        (uri (cran-uri "longitudinal" version))
10496        (sha256
10497         (base32
10498          "1d83ws28nxi3kw5lgd5n5y7865djq7ky72fw3ddi1fkkhg1r9y6l"))))
10499     (build-system r-build-system)
10500     (propagated-inputs `(("r-corpcor" ,r-corpcor)))
10501     (home-page "http://strimmerlab.org/software/longitudinal/")
10502     (synopsis "Analysis of multiple time course data")
10503     (description
10504      "This package contains general data structures and functions for
10505 longitudinal data with multiple variables, repeated measurements, and
10506 irregularly spaced time points.  It also implements a shrinkage estimator of
10507 dynamical correlation and dynamical covariance.")
10508     (license license:gpl3+)))
10510 (define-public r-genenet
10511   (package
10512     (name "r-genenet")
10513     (version "1.2.13")
10514     (source
10515      (origin
10516        (method url-fetch)
10517        (uri (cran-uri "GeneNet" version))
10518        (sha256
10519         (base32
10520          "0w52apk0nnr8nsskf26ff7ana8xiksr8wqmkjxzwhzgg7fncm61p"))))
10521     (properties `((upstream-name . "GeneNet")))
10522     (build-system r-build-system)
10523     (propagated-inputs
10524      `(("r-corpcor" ,r-corpcor)
10525        ("r-fdrtool" ,r-fdrtool)
10526        ("r-longitudinal" ,r-longitudinal)))
10527     (home-page "http://strimmerlab.org/software/genenet/")
10528     (synopsis "Modeling and inferring gene networks")
10529     (description
10530      "This package analyzes gene expression (time series) data with focus on
10531 the inference of gene networks.  In particular, GeneNet implements the methods
10532 of Schaefer and Strimmer (2005a,b,c) and Opgen-Rhein and Strimmer (2006, 2007)
10533 for learning large-scale gene association networks (including assignment of
10534 putative directions).")
10535     (license license:gpl3+)))
10537 (define-public r-rbamtools
10538   (package
10539     (name "r-rbamtools")
10540     (version "2.16.11.2")
10541     (source
10542      (origin
10543        (method url-fetch)
10544        (uri (cran-uri "rbamtools" version))
10545        (sha256
10546         (base32
10547          "0gzkb1xyrkriv45wq8gv7qfwjslnvwkfkk5jjc4wg5kmm0ydpdzj"))))
10548     (build-system r-build-system)
10549     (inputs `(("zlib" ,zlib)))
10550     (propagated-inputs
10551      `(("r-refgenome" ,r-refgenome)))
10552     (home-page "https://cran.r-project.org/web/packages/rbamtools")
10553     (synopsis "Read and write BAM (binary alignment) files")
10554     (description
10555      "This package provides an R interface to functions of the SAMtools
10556 library.")
10557     (license license:artistic2.0)))
10559 (define-public r-protviz
10560   (package
10561     (name "r-protviz")
10562     (version "0.4.0")
10563     (source
10564      (origin
10565        (method url-fetch)
10566        (uri (cran-uri "protViz" version))
10567        (sha256
10568         (base32
10569          "150i2q4nakz28f39kmhrchz4qsr8ax6y02512md94k8hq4hamxg1"))))
10570     (properties `((upstream-name . "protViz")))
10571     (build-system r-build-system)
10572     (inputs
10573      `(("perl" ,perl)
10574        ("python-2" ,python-2)))
10575     (propagated-inputs `(("r-rcpp" ,r-rcpp)))
10576     (home-page "https://github.com/protViz/protViz/")
10577     (synopsis "Visualizing and analyzing mass spectrometry data in proteomics")
10578     (description
10579      "This package helps with quality checks, visualizations and analysis of
10580 mass spectrometry data, coming from proteomics experiments.  The package is
10581 developed, tested and used at the Functional Genomics Center Zurich, where it
10582 is used mainly for prototyping, teaching, and having fun with proteomics data.
10583 But it can also be used to do data analysis for small scale data sets.")
10584     (license license:gpl3)))
10586 (define-public r-cmprsk
10587   (package
10588     (name "r-cmprsk")
10589     (version "2.2-7")
10590     (source
10591      (origin
10592        (method url-fetch)
10593        (uri (cran-uri "cmprsk" version))
10594        (sha256
10595         (base32
10596          "1imr3wpnj4g57n2x4ryahl4lk8lvq9y2r7319zv3k82mznha8bcm"))))
10597     (build-system r-build-system)
10598     (propagated-inputs
10599      `(("r-survival" ,r-survival)))
10600     (native-inputs
10601      `(("gfortran" ,gfortran)))
10602     (home-page "https://cran.r-project.org/web/packages/cmprsk")
10603     (synopsis "Subdistribution analysis of competing risks")
10604     (description
10605      "This package provides tool for estimation, testing and regression
10606 modeling of subdistribution functions in competing risks, as described in
10607 Gray (1988), A class of K-sample tests for comparing the cumulative incidence
10608 of a competing risk, Ann. Stat. 16:1141-1154, and Fine JP and Gray RJ (1999),
10609 A proportional hazards model for the subdistribution of a competing risk,
10610 JASA, 94:496-509.")
10611     (license license:gpl2+)))
10613 (define-public r-etm
10614   (package
10615     (name "r-etm")
10616     (version "1.0.4")
10617     (source
10618      (origin
10619        (method url-fetch)
10620        (uri (cran-uri "etm" version))
10621        (sha256
10622         (base32
10623          "0ws103b3pmli0z4xbyfxkly2wnnnxnnwc0r66qjjqjrlvm7pffl1"))))
10624     (build-system r-build-system)
10625     (propagated-inputs
10626      `(("r-data-table" ,r-data-table)
10627        ("r-lattice" ,r-lattice)
10628        ("r-rcpp" ,r-rcpp)
10629        ("r-rcpparmadillo" ,r-rcpparmadillo)
10630        ("r-survival" ,r-survival)))
10631     (home-page "https://cran.r-project.org/web/packages/etm")
10632     (synopsis "Empirical transition matrix")
10633     (description
10634      "The @dfn{empirical transition matrix} (etm) package permits to estimate
10635 the matrix of transition probabilities for any time-inhomogeneous multistate
10636 model with finite state space using the Aalen-Johansen estimator.")
10637     (license license:expat)))
10639 (define-public r-epi
10640   (package
10641     (name "r-epi")
10642     (version "2.35")
10643     (source
10644      (origin
10645        (method url-fetch)
10646        (uri (cran-uri "Epi" version))
10647        (sha256
10648         (base32
10649          "1z3959761ryv54y6vsrxxvhrwzz50xrxn55pqh5y7lrxh91zdsvl"))))
10650     (properties `((upstream-name . "Epi")))
10651     (build-system r-build-system)
10652     (propagated-inputs
10653      `(("r-cmprsk" ,r-cmprsk)
10654        ("r-data-table" ,r-data-table)
10655        ("r-etm" ,r-etm)
10656        ("r-mass" ,r-mass)
10657        ("r-matrix" ,r-matrix)
10658        ("r-mgcv" ,r-mgcv)
10659        ("r-numderiv" ,r-numderiv)
10660        ("r-plyr" ,r-plyr)
10661        ("r-survival" ,r-survival)
10662        ("r-zoo" ,r-zoo)))
10663     (home-page "http://BendixCarstensen.com/Epi/")
10664     (synopsis "Statistical analysis in epidemiology")
10665     (description
10666      "This package provides functions for demographic and epidemiological
10667 analysis in the Lexis diagram, i.e. register and cohort follow-up data, in
10668 particular representation, manipulation and simulation of multistate data -
10669 the Lexis suite of functions, which includes interfaces to the @code{mstate},
10670 @code{etm} and @code{cmprsk} packages.  It also contains functions for
10671 Age-Period-Cohort and Lee-Carter modeling and a function for interval censored
10672 data and some useful functions for tabulation and plotting, as well as a
10673 number of epidemiological data sets.")
10674     (license license:gpl2)))
10676 (define-public r-ppls
10677   (package
10678     (name "r-ppls")
10679     (version "1.6-1.1")
10680     (source
10681      (origin
10682        (method url-fetch)
10683        (uri (cran-uri "ppls" version))
10684        (sha256
10685         (base32
10686          "1zyrisy3c4cz896j1bjh61sf57wdl9p8ywdq268cl819szfq78mx"))))
10687     (build-system r-build-system)
10688     (propagated-inputs `(("r-mass" ,r-mass)))
10689     (home-page "https://cran.r-project.org/web/packages/ppls")
10690     (synopsis "Penalized partial least squares")
10691     (description
10692      "This package contains linear and nonlinear regression methods based on
10693 partial least squares and penalization techniques.  Model parameters are
10694 selected via cross-validation, and confidence intervals ans tests for the
10695 regression coefficients can be conducted via jackknifing.")
10696     (license license:gpl2+)))
10698 (define-public r-huge
10699   (package
10700     (name "r-huge")
10701     (version "1.3.2")
10702     (source
10703      (origin
10704        (method url-fetch)
10705        (uri (cran-uri "huge" version))
10706        (sha256
10707         (base32
10708          "1j93gvi1jyq3ld9jhdqhrpm2is54rk3ilmf3yw7fx6gva0y6hjqd"))))
10709     (build-system r-build-system)
10710     (propagated-inputs
10711      `(("r-igraph" ,r-igraph)
10712        ("r-mass" ,r-mass)
10713        ("r-matrix" ,r-matrix)
10714        ("r-rcpp" ,r-rcpp)
10715        ("r-rcppeigen" ,r-rcppeigen)))
10716     (home-page "https://cran.r-project.org/web/packages/huge")
10717     (synopsis "High-dimensional undirected graph estimation")
10718     (description
10719      "This package provides a general framework for high-dimensional
10720 undirected graph estimation.  It integrates data preprocessing, neighborhood
10721 screening, graph estimation, and model selection techniques into a pipeline.")
10722     (license license:gpl2)))
10724 (define-public r-parcor
10725   (package
10726     (name "r-parcor")
10727     (version "0.2-6")
10728     (source
10729      (origin
10730        (method url-fetch)
10731        (uri (cran-uri "parcor" version))
10732        (sha256
10733         (base32
10734          "0vgs6k92vdr0cmb8cwbv2ff6qavw30agskfd8bfh17hsskrisvx0"))))
10735     (build-system r-build-system)
10736     (propagated-inputs
10737      `(("r-epi" ,r-epi)
10738        ("r-genenet" ,r-genenet)
10739        ("r-glmnet" ,r-glmnet)
10740        ("r-mass" ,r-mass)
10741        ("r-ppls" ,r-ppls)))
10742     (home-page "https://cran.r-project.org/web/packages/parcor")
10743     (synopsis "Regularized estimation of partial correlation matrices")
10744     (description
10745      "This package estimates the matrix of partial correlations based on
10746 different regularized regression methods: lasso, adaptive lasso, PLS, and
10747 Ridge Regression.  In addition, the package provides model selection for
10748 lasso, adaptive lasso and Ridge regression based on cross-validation.")
10749     (license license:gpl2+)))
10751 (define-public r-mcmc
10752   (package
10753     (name "r-mcmc")
10754     (version "0.9-6")
10755     (source
10756      (origin
10757        (method url-fetch)
10758        (uri (cran-uri "mcmc" version))
10759        (sha256
10760         (base32
10761          "1fc6a6asn53lx7x7pnlb5mb716nv4pcmbp99f1i30y4hzygihfj4"))))
10762     (build-system r-build-system)
10763     (home-page "http://www.stat.umn.edu/geyer/mcmc/")
10764     (synopsis "Markov chain Monte Carlo")
10765     (description
10766      "This package simulates continuous distributions of random vectors using
10767 @dfn{Markov chain Monte Carlo} (MCMC).  Users specify the distribution by an R
10768 function that evaluates the log unnormalized density.  Algorithms are random
10769 walk Metropolis algorithm (function @code{metrop}), simulated
10770 tempering (function @code{temper}), and morphometric random walk
10771 Metropolis (function @code{morph.metrop}), which achieves geometric ergodicity
10772 by change of variable.")
10773     (license license:expat)))
10775 (define-public r-listenv
10776   (package
10777     (name "r-listenv")
10778     (version "0.7.0")
10779     (source
10780      (origin
10781        (method url-fetch)
10782        (uri (cran-uri "listenv" version))
10783        (sha256
10784         (base32
10785          "0ma5jsri2zqkrlsm9nqpikl7imbwfy1glsmk13mblw0q245h49k1"))))
10786     (build-system r-build-system)
10787     (native-inputs
10788      `(("r-r-rsp" ,r-r-rsp))) ; vignette builder
10789     (home-page "https://github.com/HenrikBengtsson/listenv")
10790     (synopsis "Environments behaving (almost) as lists")
10791     (description
10792      "This package implements list environments.  List environments are
10793 environments that have list-like properties.  For instance, the elements of a
10794 list environment are ordered and can be accessed and iterated over using index
10795 subsetting.")
10796     (license license:lgpl2.1+)))
10798 (define-public r-globals
10799   (package
10800     (name "r-globals")
10801     (version "0.12.4")
10802     (source
10803      (origin
10804        (method url-fetch)
10805        (uri (cran-uri "globals" version))
10806        (sha256
10807         (base32
10808          "0szyv1ayyk31bh3xqlkj43020w44xq6s4rw2bxwizyjssxm3b1br"))))
10809     (build-system r-build-system)
10810     (propagated-inputs
10811      `(("r-codetools" ,r-codetools)))
10812     (home-page "https://github.com/HenrikBengtsson/globals")
10813     (synopsis "Identify global objects in R expressions")
10814     (description
10815      "This package provides tools to identify global (\"unknown\" or \"free\")
10816 objects in R expressions by code inspection using various strategies, e.g.
10817 conservative or liberal.  The objective of this package is to make it as
10818 simple as possible to identify global objects for the purpose of exporting
10819 them in distributed compute environments.")
10820     (license license:lgpl2.1+)))
10822 (define-public r-future
10823   (package
10824     (name "r-future")
10825     (version "1.12.0")
10826     (source
10827      (origin
10828        (method url-fetch)
10829        (uri (cran-uri "future" version))
10830        (sha256
10831         (base32
10832          "12hq7hsfydlscwrb37ns9a8561bzpsp82nn7jrcyj0ydk610nipm"))))
10833     (build-system r-build-system)
10834     (propagated-inputs
10835      `(("r-digest" ,r-digest)
10836        ("r-globals" ,r-globals)
10837        ("r-listenv" ,r-listenv)))
10838     (native-inputs
10839      `(("r-r-rsp" ,r-r-rsp))) ; vignette builder
10840     (home-page "https://github.com/HenrikBengtsson/future")
10841     (synopsis "Unified parallel and distributed processing in R")
10842     (description
10843      "The purpose of this package is to provide a lightweight and unified
10844 Future API for sequential and parallel processing of R expression via futures.
10845 This package implements sequential, multicore, multisession, and cluster
10846 futures.  With these, R expressions can be evaluated on the local machine, in
10847 parallel a set of local machines, or distributed on a mix of local and remote
10848 machines.  Extensions to this package implement additional backends for
10849 processing futures via compute cluster schedulers etc.  Because of its unified
10850 API, there is no need to modify any code in order to switch from sequential on
10851 the local machine to, say, distributed processing on a remote compute cluster.")
10852     (license license:lgpl2.1+)))
10854 (define-public r-future-apply
10855   (package
10856     (name "r-future-apply")
10857     (version "1.2.0")
10858     (source
10859      (origin
10860        (method url-fetch)
10861        (uri (cran-uri "future.apply" version))
10862        (sha256
10863         (base32
10864          "00ma43ma3byrf9vfqqn9g8sn18c71ryhk7lpza5h7817f1kibw1h"))))
10865     (properties `((upstream-name . "future.apply")))
10866     (build-system r-build-system)
10867     (propagated-inputs
10868      `(("r-future" ,r-future)
10869        ("r-globals" ,r-globals)))
10870     (native-inputs
10871      `(("r-r-rsp" ,r-r-rsp))) ; vignette builder
10872     (home-page "https://github.com/HenrikBengtsson/future.apply")
10873     (synopsis "Apply function to elements in parallel using futures")
10874     (description
10875      "This package provides implementations of @code{apply()},
10876 @code{eapply()}, @code{lapply()}, @code{Map()}, @code{mapply()},
10877 @code{replicate()}, @code{sapply()}, @code{tapply()}, and @code{vapply()} that
10878 can be resolved using any future-supported backend, e.g. parallel on the local
10879 machine or distributed on a compute cluster.")
10880     (license license:gpl2+)))
10882 (define-public r-rsvd
10883   (package
10884     (name "r-rsvd")
10885     (version "1.0.0")
10886     (source
10887      (origin
10888        (method url-fetch)
10889        (uri (cran-uri "rsvd" version))
10890        (sha256
10891         (base32
10892          "0vjhrvnkl9rmvl8sv2kac5sd10z3fgxymb676ynxzc2pmhydy3an"))))
10893     (build-system r-build-system)
10894     (propagated-inputs
10895      `(("r-matrix" ,r-matrix)))
10896     (home-page "https://github.com/erichson/rSVD")
10897     (synopsis "Randomized singular value decomposition")
10898     (description
10899      "Low-rank matrix decompositions are fundamental tools and widely used for
10900 data analysis, dimension reduction, and data compression.  Classically, highly
10901 accurate deterministic matrix algorithms are used for this task.  However, the
10902 emergence of large-scale data has severely challenged our computational
10903 ability to analyze big data.  The concept of randomness has been demonstrated
10904 as an effective strategy to quickly produce approximate answers to familiar
10905 problems such as the @dfn{singular value decomposition} (SVD).  This package
10906 provides several randomized matrix algorithms such as the randomized singular
10907 value decomposition (@code{rsvd}), randomized principal component
10908 analysis (@code{rpca}), randomized robust principal component
10909 analysis (@code{rrpca}), randomized interpolative decomposition (@code{rid}),
10910 and the randomized CUR decomposition (@code{rcur}).  In addition several plot
10911 functions are provided.")
10912     (license license:gpl3+)))
10914 (define-public r-sloop
10915   (package
10916     (name "r-sloop")
10917     (version "1.0.1")
10918     (source
10919      (origin
10920        (method url-fetch)
10921        (uri (cran-uri "sloop" version))
10922        (sha256
10923         (base32
10924          "00fk5fr5zsk2qxc1kfhmshhjxgnamm3401089sx8m2l529zd6r8j"))))
10925     (build-system r-build-system)
10926     (propagated-inputs
10927      `(("r-codetools" ,r-codetools)
10928        ("r-crayon" ,r-crayon)
10929        ("r-purrr" ,r-purrr)
10930        ("r-rlang" ,r-rlang)
10931        ("r-tibble" ,r-tibble)))
10932     (home-page "https://github.com/r-lib/sloop")
10933     (synopsis "Helpers for object-oriented programming in R")
10934     (description
10935      "This package provides a collection of helper functions designed to
10936 help you to better understand object oriented programming in R, particularly
10937 using @code{S3}.")
10938     (license license:gpl3)))
10940 (define-public r-capushe
10941   (package
10942     (name "r-capushe")
10943     (version "1.1.1")
10944     (source
10945      (origin
10946        (method url-fetch)
10947        (uri (cran-uri "capushe" version))
10948        (sha256
10949         (base32
10950          "1aa76ir1kp67hiz7dr60azyc71yzslshyc640fjh0fpw0sp5kwbc"))))
10951     (build-system r-build-system)
10952     (propagated-inputs `(("r-mass" ,r-mass)))
10953     (home-page "https://cran.r-project.org/web/packages/capushe/index.html")
10954     (synopsis "Calibrating penalities using slope heuristics")
10955     (description
10956      "This package provides tools for the calibration of penalized criteria
10957 for model selection.  The calibration methods available are based on the slope
10958 heuristics.")
10959     (license license:gpl2+)))
10961 (define-public r-dorng
10962   (package
10963     (name "r-dorng")
10964     (version "1.7.1")
10965     (source
10966      (origin
10967        (method url-fetch)
10968        (uri (cran-uri "doRNG" version))
10969        (sha256
10970         (base32
10971          "1sb75aqkliprglfxc4x4wds6alqgzhvl2n812g1d32a88ra3slr7"))))
10972     (properties `((upstream-name . "doRNG")))
10973     (build-system r-build-system)
10974     (propagated-inputs
10975      `(("r-foreach" ,r-foreach)
10976        ("r-iterators" ,r-iterators)
10977        ("r-pkgmaker" ,r-pkgmaker)
10978        ("r-rngtools" ,r-rngtools)))
10979     (home-page "https://renozao.github.io/doRNG/")
10980     (synopsis "Generic reproducible parallel backend for foreach loops")
10981     (description
10982      "This package provides functions to perform reproducible parallel
10983 @code{foreach} loops, using independent random streams as generated by
10984 L'Ecuyer's combined multiple-recursive generator.  It enables to easily
10985 convert standard @code{%dopar%} loops into fully reproducible loops,
10986 independently of the number of workers, the task scheduling strategy, or the
10987 chosen parallel environment and associated foreach backend.")
10988     (license license:gpl2+)))
10990 (define-public r-blockmodeling
10991   (package
10992     (name "r-blockmodeling")
10993     (version "0.3.4")
10994     (source
10995      (origin
10996        (method url-fetch)
10997        (uri (cran-uri "blockmodeling" version))
10998        (sha256
10999         (base32
11000          "11v9903y9dwlzaqp8sx0fsibcg82phvappddy37r8lnxd4vchsd2"))))
11001     (build-system r-build-system)
11002     (propagated-inputs
11003      `(("r-doparallel" ,r-doparallel)
11004        ("r-dorng" ,r-dorng)
11005        ("r-foreach" ,r-foreach)
11006        ("r-matrix" ,r-matrix)))
11007     (native-inputs `(("gfortran" ,gfortran)))
11008     (home-page "https://cran.r-project.org/web/packages/blockmodeling")
11009     (synopsis "Generalized and classical blockmodeling of valued networks")
11010     (description
11011      "This package is primarily meant as an implementation of generalized
11012 blockmodeling for valued networks.  In addition, measures of similarity or
11013 dissimilarity based on structural equivalence and regular equivalence (REGE
11014 algorithms) can be computed and partitioned matrices can be plotted.")
11015     (license license:gpl2+)))
11017 (define-public r-upsetr
11018   (package
11019     (name "r-upsetr")
11020     (version "1.3.3")
11021     (source
11022      (origin
11023        (method url-fetch)
11024        (uri (cran-uri "UpSetR" version))
11025        (sha256
11026         (base32
11027          "08vj7l92b8fpqyqwxshll2mhk3yhgyr74axvr2lf29z78bapymhz"))))
11028     (properties `((upstream-name . "UpSetR")))
11029     (build-system r-build-system)
11030     (propagated-inputs
11031      `(("r-ggplot2" ,r-ggplot2)
11032        ("r-gridextra" ,r-gridextra)
11033        ("r-plyr" ,r-plyr)
11034        ("r-scales" ,r-scales)))
11035     (home-page "https://github.com/hms-dbmi/UpSetR")
11036     (synopsis "Visualize intersecting sets")
11037     (description
11038      "This package provides a more scalable alternative to Venn and Euler
11039 diagrams for visualizing intersecting sets.  Create visualizations of
11040 intersecting sets using a novel matrix design, along with visualizations of
11041 several common set, element and attribute related tasks.")
11042     (license license:expat)))
11044 ;; This package includes a JavaScript file, which is not minified.  When
11045 ;; upgrading please check that there are no new minified JavaScript files.
11046 (define-public r-shinybs
11047   (package
11048     (name "r-shinybs")
11049     (version "0.61")
11050     (source
11051      (origin
11052        (method url-fetch)
11053        (uri (cran-uri "shinyBS" version))
11054        (sha256
11055         (base32
11056          "0rhim4mbp4x9vvm7xkmpl7mhb9qd1gr96cr4dv330v863ra2kgji"))))
11057     (properties `((upstream-name . "shinyBS")))
11058     (build-system r-build-system)
11059     ;; The tests spawn Shiny browser apps.  They cannot be run
11060     ;; non-interactively.
11061     (arguments '(#:tests? #f))
11062     (propagated-inputs
11063      `(("r-htmltools" ,r-htmltools)
11064        ("r-shiny" ,r-shiny)))
11065     (home-page "https://ebailey78.github.io/shinyBS/")
11066     (synopsis "Twitter Bootstrap components for Shiny")
11067     (description
11068      "This package adds additional Twitter Bootstrap components to Shiny.")
11069     (license license:gpl3)))
11071 (define-public r-outliers
11072   (package
11073     (name "r-outliers")
11074     (version "0.14")
11075     (source
11076      (origin
11077        (method url-fetch)
11078        (uri (cran-uri "outliers" version))
11079        (sha256
11080         (base32
11081          "0vcqfqmmv4yblyp3s6bd25r49pxb7hjzipiic5a82924nqfqzkmn"))))
11082     (build-system r-build-system)
11083     (home-page "https://cran.r-project.org/web/packages/outliers/index.html")
11084     (synopsis "Tests for outliers")
11085     (description
11086      "This package provides a collection of some tests commonly used for
11087 identifying outliers.")
11088     (license license:gpl2+)))
11090 (define-public r-bayesm
11091   (package
11092     (name "r-bayesm")
11093     (version "3.1-1")
11094     (source
11095      (origin
11096        (method url-fetch)
11097        (uri (cran-uri "bayesm" version))
11098        (sha256
11099         (base32
11100          "0y30cza92s6kgvmxjpr6f5g0qbcck7hslqp89ncprarhxiym2m28"))))
11101     (build-system r-build-system)
11102     (propagated-inputs
11103      `(("r-rcpp" ,r-rcpp)
11104        ("r-rcpparmadillo" ,r-rcpparmadillo)))
11105     (home-page "http://www.perossi.org/home/bsm-1")
11106     (synopsis "Bayesian inference for marketing/micro-econometrics")
11107     (description
11108      "This package covers many important models used in marketing and
11109 micro-econometrics applications, including Bayes Regression (univariate or
11110 multivariate dep var), Bayes Seemingly Unrelated Regression (SUR), Binary and
11111 Ordinal Probit, Multinomial Logit (MNL) and Multinomial Probit (MNP),
11112 Multivariate Probit, Negative Binomial (Poisson) Regression, Multivariate
11113 Mixtures of Normals (including clustering), Dirichlet Process Prior Density
11114 Estimation with normal base, Hierarchical Linear Models with normal prior and
11115 covariates, Hierarchical Linear Models with a mixture of normals prior and
11116 covariates, Hierarchical Multinomial Logits with a mixture of normals prior
11117 and covariates, Hierarchical Multinomial Logits with a Dirichlet Process prior
11118 and covariates, Hierarchical Negative Binomial Regression Models, Bayesian
11119 analysis of choice-based conjoint data, Bayesian treatment of linear
11120 instrumental variables models, Analysis of Multivariate Ordinal survey data
11121 with scale usage heterogeneity, and Bayesian Analysis of Aggregate Random
11122 Coefficient Logit Models.")
11123     (license license:gpl2+)))
11125 (define-public r-tensora
11126   (package
11127     (name "r-tensora")
11128     (version "0.36.1")
11129     (source
11130      (origin
11131        (method url-fetch)
11132        (uri (cran-uri "tensorA" version))
11133        (sha256
11134         (base32
11135          "176hjy3bvg3in62r97wxbhq187sjz6c1gwy9x6spaxl6k4my3zy7"))))
11136     (properties `((upstream-name . "tensorA")))
11137     (build-system r-build-system)
11138     (home-page "http://www.stat.boogaart.de/tensorA")
11139     (synopsis "Advanced tensor arithmetic with named indices")
11140     (description
11141      "This package provides convenience functions for advanced linear algebra
11142 with tensors and computation with datasets of tensors on a higher level
11143 abstraction.  It includes Einstein and Riemann summing conventions, dragging,
11144 co- and contravariate indices, and parallel computations on sequences of
11145 tensors.")
11146     (license license:gpl2+)))
11148 (define-public r-rarpack
11149   (package
11150     (name "r-rarpack")
11151     (version "0.11-0")
11152     (source
11153      (origin
11154        (method url-fetch)
11155        (uri (cran-uri "rARPACK" version))
11156        (sha256
11157         (base32
11158          "12h2y46xcfldhjdmm960swgn9b23zvkj5vg2bi42s9qxwgi02d63"))))
11159     (properties `((upstream-name . "rARPACK")))
11160     (build-system r-build-system)
11161     (propagated-inputs `(("r-rspectra" ,r-rspectra)))
11162     (home-page "https://github.com/yixuan/rARPACK")
11163     (synopsis "Solvers for large scale eigenvalue and SVD problems")
11164     (description
11165      "This package was previously an R wrapper of the ARPACK library, and now
11166 a shell of the R package RSpectra, an R interface to the Spectra library for
11167 solving large scale eigenvalue/vector problems.  The current version of
11168 rARPACK simply imports and exports the functions provided by RSpectra.  New
11169 users of rARPACK are advised to switch to the RSpectra package.")
11170     (license license:bsd-3)))
11172 (define-public r-compositions
11173   (package
11174     (name "r-compositions")
11175     (version "1.40-2")
11176     (source
11177      (origin
11178        (method url-fetch)
11179        (uri (cran-uri "compositions" version))
11180        (sha256
11181         (base32
11182          "12mp05yi7jkdqg9iwh6bc9sx6sdxagcnrirznxy9hq8502p7238i"))))
11183     (build-system r-build-system)
11184     (propagated-inputs
11185      `(("r-bayesm" ,r-bayesm)
11186        ("r-energy" ,r-energy)
11187        ("r-robustbase" ,r-robustbase)
11188        ("r-tensora" ,r-tensora)))
11189     (home-page "http://www.stat.boogaart.de/compositions")
11190     (synopsis "Compositional data analysis")
11191     (description
11192      "This package provides functions for the consistent analysis of
11193 compositional data (e.g. portions of substances) and positive
11194 numbers (e.g. concentrations).")
11195     (license license:gpl2+)))
11197 (define-public r-cobs
11198   (package
11199     (name "r-cobs")
11200     (version "1.3-3")
11201     (source
11202      (origin
11203        (method url-fetch)
11204        (uri (cran-uri "cobs" version))
11205        (sha256
11206         (base32
11207          "1pqvz7czcchri4x79g78hbwyagb3bqzdqb047zkbdinyz067c7kb"))))
11208     (build-system r-build-system)
11209     (propagated-inputs
11210      `(("r-quantreg" ,r-quantreg)
11211        ("r-sparsem" ,r-sparsem)))
11212     (home-page "https://cran.r-project.org/web/packages/cobs")
11213     (synopsis "Constrained B-Splines (sparse matrix based)")
11214     (description
11215      "This package provides qualitatively constrained (regression) smoothing
11216 splines via linear programming and sparse matrices.")
11217     (license license:gpl2+)))
11219 (define-public r-drimpute
11220   (package
11221     (name "r-drimpute")
11222     (version "1.0")
11223     (source
11224      (origin
11225        (method url-fetch)
11226        (uri (cran-uri "DrImpute" version))
11227        (sha256
11228         (base32
11229          "1adzarrwqb282pqgx2yqswp9rpwd1naxsmar54kddr6qyd6b923b"))))
11230     (properties `((upstream-name . "DrImpute")))
11231     (build-system r-build-system)
11232     (propagated-inputs
11233      `(("r-rcpp" ,r-rcpp)
11234        ("r-rcpparmadillo" ,r-rcpparmadillo)))
11235     (home-page "https://github.com/ikwak2/DrImpute")
11236     (synopsis "Imputing dropout events in single-cell RNA-Seq data")
11237     (description
11238      "This is an R package for imputing dropout events.  Many statistical
11239 methods in cell type identification, visualization and lineage reconstruction
11240 do not account for dropout events.  DrImpute can improve the performance of
11241 such software by imputing dropout events.")
11242     (license license:gpl3)))
11244 (define-public r-gamlss-dist
11245   (package
11246     (name "r-gamlss-dist")
11247     (version "5.1-3")
11248     (source
11249      (origin
11250        (method url-fetch)
11251        (uri (cran-uri "gamlss.dist" version))
11252        (sha256
11253         (base32
11254          "0154pm1f3g77krj0gxh9icz207pshdrxihb6gjv1k5aph8y69zc7"))))
11255     (properties `((upstream-name . "gamlss.dist")))
11256     (build-system r-build-system)
11257     (propagated-inputs `(("r-mass" ,r-mass)))
11258     (home-page "http://www.gamlss.org/")
11259     (synopsis "Distributions for Generalized Additive Models for location scale and shape")
11260     (description
11261      "This package provides a set of distributions which can be used for
11262 modelling the response variables in Generalized Additive Models for Location
11263 Scale and Shape.  The distributions can be continuous, discrete or mixed
11264 distributions.  Extra distributions can be created, by transforming, any
11265 continuous distribution defined on the real line, to a distribution defined on
11266 ranges 0 to infinity or 0 to 1, by using a @code{log} or a @code{logit}
11267 transformation, respectively.")
11268     ;; Either version of the GPL.
11269     (license (list license:gpl2 license:gpl3))))
11271 ;; This package includes JavaScript files, which are not minified.  When
11272 ;; upgrading please check that there are no new minified JavaScript files.
11273 (define-public r-shinyjs
11274   (package
11275     (name "r-shinyjs")
11276     (version "1.0")
11277     (source
11278      (origin
11279        (method url-fetch)
11280        (uri (cran-uri "shinyjs" version))
11281        (sha256
11282         (base32
11283          "113zpijri0l80rlgrvqn6bxk0sdqgl79h7yhja2p76f9dc9i2sr8"))))
11284     (build-system r-build-system)
11285     (propagated-inputs
11286      `(("r-digest" ,r-digest)
11287        ("r-htmltools" ,r-htmltools)
11288        ("r-jsonlite" ,r-jsonlite)
11289        ("r-shiny" ,r-shiny)))
11290     (home-page "https://deanattali.com/shinyjs")
11291     (synopsis "Improve the user experience of your Shiny apps")
11292     (description
11293      "Perform common useful JavaScript operations in Shiny apps that will
11294 greatly improve your apps without having to know any JavaScript.  Examples
11295 include: hiding an element, disabling an input, resetting an input back to its
11296 original value, delaying code execution by a few seconds, and many more useful
11297 functions for both the end user and the developer.  Shinyjs can also be used
11298 to easily call your own custom JavaScript functions from R.")
11299     (license license:agpl3+)))
11301 ;; This package includes minified JavaScript files.  When upgrading please
11302 ;; check that there are no new minified JavaScript files.
11303 (define-public r-colourpicker
11304   (package
11305     (name "r-colourpicker")
11306     (version "1.0")
11307     (source
11308      (origin
11309        (method url-fetch)
11310        (uri (cran-uri "colourpicker" version))
11311        (sha256
11312         (base32
11313          "0z3v2083g7kwdp21x9s2n1crfh24agpdq3yxkcdzc2awn2pwpnpi"))))
11314     (build-system r-build-system)
11315     (arguments
11316      `(#:modules ((guix build utils)
11317                   (guix build r-build-system)
11318                   (srfi srfi-1)
11319                   (ice-9 popen))
11320        #:phases
11321        (modify-phases %standard-phases
11322          (add-after 'unpack 'process-javascript
11323            (lambda* (#:key inputs #:allow-other-keys)
11324              (with-directory-excursion "inst"
11325                (call-with-values
11326                    (lambda ()
11327                      (unzip2
11328                       `((,(assoc-ref inputs "js-salvattore")
11329                          "examples/colourInput/www/salvattore.min.js")
11330                         (,(assoc-ref inputs "js-jquery")
11331                          "htmlwidgets/lib/jquery/jquery.min.js")
11332                         ("www/shared/colourpicker/js/colourpicker.js"
11333                          "www/shared/colourpicker/js/colourpicker.min.js"))))
11334                  (lambda (sources targets)
11335                    (for-each (lambda (source target)
11336                                (format #t "Processing ~a --> ~a~%"
11337                                        source target)
11338                                (delete-file target)
11339                                (let ((minified (open-pipe* OPEN_READ "uglify-js" source)))
11340                                  (call-with-output-file target
11341                                    (lambda (port)
11342                                      (dump-port minified port)))))
11343                              sources targets))))
11344              #t)))))
11345     (propagated-inputs
11346      `(("r-ggplot2" ,r-ggplot2)
11347        ("r-htmltools" ,r-htmltools)
11348        ("r-htmlwidgets" ,r-htmlwidgets)
11349        ("r-jsonlite" ,r-jsonlite)
11350        ("r-miniui" ,r-miniui)
11351        ("r-shiny" ,r-shiny)
11352        ("r-shinyjs" ,r-shinyjs)))
11353     (native-inputs
11354      `(("uglify-js" ,uglify-js)
11355        ("js-jquery"
11356         ,(origin
11357            (method url-fetch)
11358            (uri "https://code.jquery.com/jquery-3.3.1.js")
11359            (sha256
11360             (base32
11361              "1b8zxrp6xwzpw25apn8j4qws0f6sr7qr7h2va5h1mjyfqvn29anq"))))
11362        ("js-salvattore"
11363         ,(origin
11364            (method url-fetch)
11365            (uri "https://raw.githubusercontent.com/rnmp/salvattore/v1.0.9/dist/salvattore.js")
11366            (sha256
11367             (base32
11368              "0lfrbx7l9w5x89jpc6njmd0pk7h8fpvg537vklai2vf7b1r2nnk5"))))))
11369     (home-page "https://github.com/daattali/colourpicker")
11370     (synopsis "Color picker tool for Shiny and for selecting colors in plots")
11371     (description
11372      "This package provides a color picker that can be used as an input in
11373 Shiny apps or Rmarkdown documents.  The color picker supports alpha opacity,
11374 custom color palettes, and many more options.  A plot color helper tool is
11375 available as an RStudio Addin, which helps you pick colors to use in your
11376 plots.  A more generic color picker RStudio Addin is also provided to let you
11377 select colors to use in your R code.")
11378     (license license:expat)))
11380 (define-public r-ggextra
11381   (package
11382     (name "r-ggextra")
11383     (version "0.8")
11384     (source
11385      (origin
11386        (method url-fetch)
11387        (uri (cran-uri "ggExtra" version))
11388        (sha256
11389         (base32
11390          "1m5zpn3l3p1y3d2692gyz50m63d58m2a3b7zb595kvcffdx2qr5b"))))
11391     (properties `((upstream-name . "ggExtra")))
11392     (build-system r-build-system)
11393     (propagated-inputs
11394      `(("r-colourpicker" ,r-colourpicker)
11395        ("r-ggplot2" ,r-ggplot2)
11396        ("r-gtable" ,r-gtable)
11397        ("r-miniui" ,r-miniui)
11398        ("r-scales" ,r-scales)
11399        ("r-shiny" ,r-shiny)
11400        ("r-shinyjs" ,r-shinyjs)))
11401     (home-page "https://github.com/daattali/ggExtra")
11402     (synopsis "Marginal histograms for ggplot2 and other enhancements")
11403     (description
11404      "This package is a collection of functions and layers to enhance ggplot2.
11405 The flagship function is @code{ggMarginal()}, which can be used to add
11406 marginal histograms/boxplots/density plots to ggplot2 scatterplots.")
11407     (license license:expat)))
11409 (define-public r-minpack-lm
11410   (package
11411     (name "r-minpack-lm")
11412     (version "1.2-1")
11413     (source
11414      (origin
11415        (method url-fetch)
11416        (uri (cran-uri "minpack.lm" version))
11417        (sha256
11418         (base32
11419          "18ym2pdql5vzngc7q5gn66d153hrfrnd8ilv8yh6vd7j7sx7vjql"))))
11420     (properties `((upstream-name . "minpack.lm")))
11421     (build-system r-build-system)
11422     (native-inputs `(("gfortran" ,gfortran)))
11423     (home-page "https://cran.r-project.org/web/packages/minpack.lm")
11424     (synopsis "Levenberg-Marquardt Nonlinear Least-Squares algorithm")
11425     (description
11426      "The @code{nls.lm} function provides an R interface to @code{lmder} and
11427 @code{lmdif} from the MINPACK library, for solving nonlinear least-squares
11428 problems by a modification of the Levenberg-Marquardt algorithm, with support
11429 for lower and upper parameter bounds.  The implementation can be used via
11430 @code{nls}-like calls using the @code{nlsLM} function.")
11431     (license license:gpl3)))
11433 (define-public r-moments
11434   (package
11435     (name "r-moments")
11436     (version "0.14")
11437     (source
11438      (origin
11439        (method url-fetch)
11440        (uri (cran-uri "moments" version))
11441        (sha256
11442         (base32
11443          "0f9y58w1hxcz4bqivirx25ywlmc80gbi6dfx5cnhkpdg1pk82fra"))))
11444     (build-system r-build-system)
11445     (home-page "https://cran.r-project.org/web/packages/moments")
11446     (synopsis "Moments, cumulants, skewness, kurtosis and related tests")
11447     (description
11448      "This package provides functions to calculate: moments, Pearson's
11449 kurtosis, Geary's kurtosis and skewness; it also includes tests related to
11450 them (Anscombe-Glynn, D'Agostino, Bonett-Seier).")
11451     (license license:gpl2+)))
11453 (define-public r-msir
11454   (package
11455     (name "r-msir")
11456     (version "1.3.2")
11457     (source
11458      (origin
11459        (method url-fetch)
11460        (uri (cran-uri "msir" version))
11461        (sha256
11462         (base32
11463          "0pvc3q162vqq3k39nni732x05zzfz4y9y2zf56d83185ypszv9kb"))))
11464     (build-system r-build-system)
11465     (propagated-inputs
11466      `(("r-mclust" ,r-mclust)))
11467     (home-page "https://cran.r-project.org/web/packages/msir")
11468     (synopsis "Model-based sliced inverse regression")
11469     (description
11470      "This is an R package for dimension reduction based on finite Gaussian
11471 mixture modeling of inverse regression.")
11472     (license license:gpl2+)))
11474 (define-public r-pbivnorm
11475   (package
11476     (name "r-pbivnorm")
11477     (version "0.6.0")
11478     (source
11479      (origin
11480        (method url-fetch)
11481        (uri (cran-uri "pbivnorm" version))
11482        (sha256
11483         (base32
11484          "05jzrjqxzbcf6z245hlk7sjxiszv9paadaaimvcx5y5qgi87vhq7"))))
11485     (build-system r-build-system)
11486     (native-inputs `(("gfortran" ,gfortran)))
11487     (home-page "https://github.com/brentonk/pbivnorm")
11488     (synopsis "Vectorized bivariate normal CDF")
11489     (description
11490      "This package provides a vectorized R function for calculating
11491 probabilities from a standard bivariate normal CDF.")
11492     (license license:gpl2+)))
11494 (define-public r-lavaan
11495   (package
11496     (name "r-lavaan")
11497     (version "0.6-3")
11498     (source
11499      (origin
11500        (method url-fetch)
11501        (uri (cran-uri "lavaan" version))
11502        (sha256
11503         (base32
11504          "0hw856kv11zqn6nd4216rh19i6xbnc1rh044r7jvvxkhzgbqkyxz"))))
11505     (build-system r-build-system)
11506     (propagated-inputs
11507      `(("r-mass" ,r-mass)
11508        ("r-mnormt" ,r-mnormt)
11509        ("r-numderiv" ,r-numderiv)
11510        ("r-pbivnorm" ,r-pbivnorm)))
11511     (home-page "http://lavaan.ugent.be")
11512     (synopsis "Latent variable analysis")
11513     (description
11514      "This package provides tools to fit a variety of latent variable models,
11515 including confirmatory factor analysis, structural equation modeling and
11516 latent growth curve models.")
11517     (license license:gpl2+)))
11519 (define-public r-nonnest2
11520   (package
11521     (name "r-nonnest2")
11522     (version "0.5-2")
11523     (source
11524      (origin
11525        (method url-fetch)
11526        (uri (cran-uri "nonnest2" version))
11527        (sha256
11528         (base32
11529          "1bq44qqmm59j91m0sny4xnqmxqlga4cm48qdsw8xfs3x19xwmxk6"))))
11530     (build-system r-build-system)
11531     (propagated-inputs
11532      `(("r-compquadform" ,r-compquadform)
11533        ("r-lavaan" ,r-lavaan)
11534        ("r-mvtnorm" ,r-mvtnorm)
11535        ("r-sandwich" ,r-sandwich)))
11536     (home-page "https://cran.r-project.org/web/packages/nonnest2/")
11537     (synopsis "Tests of non-nested models")
11538     (description
11539      "This package allows for testing of non-nested models.  It includes tests
11540 of model distinguishability and of model fit that can be applied to both
11541 nested and non-nested models.  The package also includes functionality to
11542 obtain confidence intervals associated with AIC and BIC.")
11543     ;; Either version of the GPL.
11544     (license (list license:gpl2 license:gpl3))))
11546 (define-public r-penalized
11547   (package
11548     (name "r-penalized")
11549     (version "0.9-51")
11550     (source
11551      (origin
11552        (method url-fetch)
11553        (uri (cran-uri "penalized" version))
11554        (sha256
11555         (base32
11556          "1zcrwa93mc27qj3g4ayc2k895r6g8q0g6qb2azmvj7wqk750va7a"))))
11557     (build-system r-build-system)
11558     (propagated-inputs
11559      `(("r-rcpp" ,r-rcpp)
11560        ("r-rcpparmadillo" ,r-rcpparmadillo)
11561        ("r-survival" ,r-survival)))
11562     (home-page "https://cran.r-project.org/web/packages/penalized/")
11563     (synopsis "Penalized estimation in GLMs and in the Cox model")
11564     (description
11565      "This package provides tools for fitting possibly high dimensional
11566 penalized regression models.  The penalty structure can be any combination of
11567 an L1 penalty (lasso and fused lasso), an L2 penalty (ridge) and a positivity
11568 constraint on the regression coefficients.  The supported regression models
11569 are linear, logistic and Poisson regression and the Cox Proportional Hazards
11570 model.  Cross-validation routines allow optimization of the tuning
11571 parameters.")
11572     (license license:gpl2+)))
11574 (define-public r-zim
11575   (package
11576     (name "r-zim")
11577     (version "1.1.0")
11578     (source
11579      (origin
11580        (method url-fetch)
11581        (uri (cran-uri "ZIM" version))
11582        (sha256
11583         (base32
11584          "0scyfjn4ilsvha3x41c3b8bcfi31hlhwm77wn2a8hj5dsvnnmzig"))))
11585     (properties `((upstream-name . "ZIM")))
11586     (build-system r-build-system)
11587     (propagated-inputs `(("r-mass" ,r-mass)))
11588     (home-page "https://github.com/biostatstudio/ZIM")
11589     (synopsis "Zero-inflated models (ZIM) for count time series with excess zeros")
11590     (description
11591      "Analyze count time series with excess zeros.  Two types of statistical
11592 models are supported: Markov regression and state-space models.  They are also
11593 known as observation-driven and parameter-driven models respectively in the
11594 time series literature.  The functions used for Markov regression or
11595 observation-driven models can also be used to fit ordinary regression models
11596 with independent data under the zero-inflated Poisson (ZIP) or zero-inflated
11597 negative binomial (ZINB) assumption.  The package also contains miscellaneous
11598 functions to compute density, distribution, quantile, and generate random
11599 numbers from ZIP and ZINB distributions.")
11600     (license license:gpl3)))
11602 (define-public r-nor1mix
11603   (package
11604     (name "r-nor1mix")
11605     (version "1.2-3")
11606     (source
11607      (origin
11608        (method url-fetch)
11609        (uri (cran-uri "nor1mix" version))
11610        (sha256
11611         (base32
11612          "1bvk888qml9qr7q703s7qzgm0sqfchcjdjqwqllm5vrjx0cnapj3"))))
11613     (build-system r-build-system)
11614     (home-page "https://cran.r-project.org/web/packages/nor1mix/")
11615     (synopsis "Normal (1-d) mixture models")
11616     (description
11617      "This package provides S3 classes and methods for one-dimensional normal
11618 mixture models, for, e.g., density estimation or clustering algorithms
11619 research and teaching; it provides the widely used Marron-Wand densities.  It
11620 also provides tools for efficient random number generation and graphics.")
11621     (license license:gpl2+)))
11623 (define-public r-beanplot
11624   (package
11625     (name "r-beanplot")
11626     (version "1.2")
11627     (source
11628      (origin
11629        (method url-fetch)
11630        (uri (cran-uri "beanplot" version))
11631        (sha256
11632         (base32
11633          "0wmkr704fl8kdxkjwmaxw2a2h5dwzfgsgpncnk2p2wd4768jknj9"))))
11634     (build-system r-build-system)
11635     (home-page "https://cran.r-project.org/web/packages/beanplot/")
11636     (synopsis "Visualization via beanplots")
11637     (description
11638      "This package provides beanplots, an alternative to
11639 boxplot/stripchart/violin plots.  It can be used to plot univariate comparison
11640 graphs.")
11641     (license license:gpl2)))
11643 (define-public r-pbdzmq
11644   (package
11645     (name "r-pbdzmq")
11646     (version "0.3-3")
11647     (source
11648      (origin
11649        (method url-fetch)
11650        (uri (cran-uri "pbdZMQ" version))
11651        (sha256
11652         (base32
11653          "1jkfcfhspvqra7vbllrvkz3jx8j7d0ang6zzcdjgpb7200sc29mf"))))
11654     (properties `((upstream-name . "pbdZMQ")))
11655     (build-system r-build-system)
11656     (inputs
11657      `(("zeromq" ,zeromq)
11658        ("zlib" ,zlib)))
11659     (native-inputs
11660      `(("pkg-config" ,pkg-config)))
11661     (home-page "https://pbdr.org/")
11662     (synopsis "R interface to ZeroMQ")
11663     (description
11664      "ZeroMQ is a well-known library for high-performance asynchronous
11665 messaging in scalable, distributed applications.  This package provides high
11666 level R wrapper functions to easily utilize ZeroMQ.  The main focus is on
11667 interactive client/server programming frameworks.  A few wrapper functions
11668 compatible with @code{rzmq} are also provided.")
11669     (license license:gpl3)))
11671 (define-public r-repr
11672   (package
11673     (name "r-repr")
11674     (version "1.0.0")
11675     (source
11676      (origin
11677        (method url-fetch)
11678        (uri (cran-uri "repr" version))
11679        (sha256
11680         (base32
11681          "0j8z4sl67fgnbywkhgg0bns68mbgf9iqnw4qiym2rjy1b08fpclq"))))
11682     (build-system r-build-system)
11683     (propagated-inputs
11684      `(("r-base64enc" ,r-base64enc)
11685        ("r-htmltools" ,r-htmltools)
11686        ("r-jsonlite" ,r-jsonlite)
11687        ("r-pillar" ,r-pillar)))
11688     (home-page "https://cran.r-project.org/web/packages/repr/")
11689     (synopsis "Serializable representations")
11690     (description
11691      "This package provides string and binary representations of objects for
11692 several formats and MIME types.")
11693     (license license:gpl3)))
11695 (define-public r-irdisplay
11696   (package
11697     (name "r-irdisplay")
11698     (version "0.7.0")
11699     (source
11700      (origin
11701        (method url-fetch)
11702        (uri (cran-uri "IRdisplay" version))
11703        (sha256
11704         (base32
11705          "12chk53nf4zckgc4yl7gbvd7m5dvli52inp5b3f0zvcjvfncksli"))))
11706     (properties `((upstream-name . "IRdisplay")))
11707     (build-system r-build-system)
11708     (propagated-inputs
11709      `(("r-repr" ,r-repr)))
11710     (home-page "https://cran.r-project.org/web/packages/IRdisplay/")
11711     (synopsis "Jupyter display machinery")
11712     (description
11713      "This package provides an interface to the rich display capabilities of
11714 Jupyter front-ends (e.g. Jupyter Notebook).  It is designed to be used from a
11715 running IRkernel session.")
11716     (license license:expat)))
11718 (define-public r-irkernel
11719   (package
11720     (name "r-irkernel")
11721     (version "1.0.1")
11722     (source
11723      (origin
11724        (method url-fetch)
11725        (uri (cran-uri "IRkernel" version))
11726        (sha256
11727         (base32
11728          "1gij59b068qp7sbn9d0b9ghmnhfks15a9anj7bp26acv0yvdsg3s"))))
11729     (properties `((upstream-name . "IRkernel")))
11730     (build-system r-build-system)
11731     (arguments
11732      `(#:phases
11733        (modify-phases %standard-phases
11734          (add-after 'install 'install-kernelspec
11735            (lambda* (#:key outputs #:allow-other-keys)
11736              (let ((out (assoc-ref outputs "out")))
11737                (setenv "HOME" "/tmp")
11738                (invoke "jupyter" "kernelspec" "install"
11739                        "--name" "ir"
11740                        "--prefix" out
11741                        (string-append out "/site-library/IRkernel/kernelspec"))
11742                #t))))))
11743     (inputs
11744      `(("jupyter" ,jupyter)))
11745     (propagated-inputs
11746      `(("r-crayon" ,r-crayon)
11747        ("r-digest" ,r-digest)
11748        ("r-evaluate" ,r-evaluate)
11749        ("r-irdisplay" ,r-irdisplay)
11750        ("r-jsonlite" ,r-jsonlite)
11751        ("r-pbdzmq" ,r-pbdzmq)
11752        ("r-repr" ,r-repr)
11753        ("r-uuid" ,r-uuid)))
11754     (home-page "https://cran.r-project.org/web/packages/IRkernel/")
11755     (synopsis "Native R kernel for Jupyter")
11756     (description
11757      "The R kernel for the Jupyter environment executes R code which the
11758 front-end (Jupyter Notebook or other front-ends) submits to the kernel via the
11759 network.")
11760     (license license:expat)))
11762 (define-public r-gmodels
11763   (package
11764     (name "r-gmodels")
11765     (version "2.18.1")
11766     (source
11767      (origin
11768        (method url-fetch)
11769        (uri (cran-uri "gmodels" version))
11770        (sha256
11771         (base32
11772          "0s8kd8krqk4kwv2zqxpsfy3w8qdwf5naf4b5l383vidq9sil0qb2"))))
11773     (build-system r-build-system)
11774     (propagated-inputs
11775      `(("r-gdata" ,r-gdata)
11776        ("r-mass" ,r-mass)))
11777     (home-page "https://cran.r-project.org/web/packages/gmodels/")
11778     (synopsis "Various R programming tools for model fitting")
11779     (description
11780      "This package provides various R programming tools for model fitting.")
11781     (license license:gpl2)))
11783 (define-public r-apcluster
11784   (package
11785     (name "r-apcluster")
11786     (version "1.4.7")
11787     (source
11788      (origin
11789        (method url-fetch)
11790        (uri (cran-uri "apcluster" version))
11791        (sha256
11792         (base32
11793          "188hdfmwjjx3aic599nwmkzjqm9j9jighi5bly6qd43c1vj6ih2s"))))
11794     (build-system r-build-system)
11795     (propagated-inputs
11796      `(("r-matrix" ,r-matrix)
11797        ("r-rcpp" ,r-rcpp)))
11798     (home-page "https://cran.r-project.org/web/packages/apcluster/")
11799     (synopsis "Affinity propagation clustering")
11800     (description
11801      "This package implements affinity propagation clustering introduced by
11802 Frey and Dueck (2007).  The package further provides leveraged affinity
11803 propagation and an algorithm for exemplar-based agglomerative clustering that
11804 can also be used to join clusters obtained from affinity propagation.  Various
11805 plotting functions are available for analyzing clustering results.")
11806     (license license:gpl2+)))
11808 (define-public r-valr
11809   (package
11810     (name "r-valr")
11811     (version "0.5.0")
11812     (source
11813      (origin
11814        (method url-fetch)
11815        (uri (cran-uri "valr" version))
11816        (sha256
11817         (base32
11818          "14jhrwkiwmha3vlmm7b50n2xxyizj6ddmy89gb20mpzq7qhz1ika"))))
11819     (build-system r-build-system)
11820     (propagated-inputs
11821      `(("r-broom" ,r-broom)
11822        ("r-dplyr" ,r-dplyr)
11823        ("r-ggplot2" ,r-ggplot2)
11824        ("r-rcpp" ,r-rcpp)
11825        ("r-readr" ,r-readr)
11826        ("r-rlang" ,r-rlang)
11827        ("r-stringr" ,r-stringr)
11828        ("r-tibble" ,r-tibble)))
11829     (home-page "http://github.com/rnabioco/valr")
11830     (synopsis "Genome interval arithmetic in R")
11831     (description
11832      "This package enables you to read and manipulate genome intervals and
11833 signals.  It provides functionality similar to command-line tool suites within
11834 R, enabling interactive analysis and visualization of genome-scale data.")
11835     (license license:expat)))
11837 (define-public r-rematch2
11838   (package
11839     (name "r-rematch2")
11840     (version "2.0.1")
11841     (source
11842      (origin
11843        (method url-fetch)
11844        (uri (cran-uri "rematch2" version))
11845        (sha256
11846         (base32
11847          "16k0i5p7fa3qfxv59ijyn638wpz8n4jrkrnilqmh5g9l8f8bn4h6"))))
11848     (build-system r-build-system)
11849     (propagated-inputs
11850      `(("r-tibble" ,r-tibble)))
11851     (home-page "https://github.com/r-lib/rematch2")
11852     (synopsis "Tidy output from regular expression matching")
11853     (description
11854      "This package provides wrappers on @code{regexpr} and @code{gregexpr} to
11855 return the match results in tidy data frames.")
11856     (license license:expat)))
11858 (define-public r-picante
11859   (package
11860     (name "r-picante")
11861     (version "1.8")
11862     (source
11863      (origin
11864        (method url-fetch)
11865        (uri (cran-uri "picante" version))
11866        (sha256
11867         (base32
11868          "1bcq2j7fs89c2jib68qq6la67rxyg9raryf162mwvjakpf6k19l1"))))
11869     (build-system r-build-system)
11870     (propagated-inputs
11871      `(("r-ape" ,r-ape)
11872        ("r-nlme" ,r-nlme)
11873        ("r-vegan" ,r-vegan)))
11874     (home-page "https://cran.r-project.org/web/packages/picante/")
11875     (synopsis "Integrating phylogenies and ecology")
11876     (description
11877      "This package provides functions for phylocom integration, community
11878 analyses, null-models, traits and evolution.  It implements numerous
11879 ecophylogenetic approaches including measures of community phylogenetic and
11880 trait diversity, phylogenetic signal, estimation of trait values for
11881 unobserved taxa, null models for community and phylogeny randomizations, and
11882 utility functions for data input/output and phylogeny plotting.  A full
11883 description of package functionality and methods are provided by Kembel et
11884 al. (2010).")
11885     (license license:gpl2)))
11887 (define-public r-reinforcelearn
11888   (package
11889     (name "r-reinforcelearn")
11890     (version "0.2.1")
11891     (source
11892      (origin
11893        (method url-fetch)
11894        (uri (cran-uri "reinforcelearn" version))
11895        (sha256
11896         (base32
11897          "176z2q69p24i29a8sh19xxn2zl3h1z2ixdssr5i6m4yvkvdrvv3b"))))
11898     (build-system r-build-system)
11899     (propagated-inputs
11900      `(("r-checkmate" ,r-checkmate)
11901        ("r-nnet" ,r-nnet)
11902        ("r-purrr" ,r-purrr)
11903        ("r-r6" ,r-r6)))
11904     (home-page "https://markusdumke.github.io/reinforcelearn")
11905     (synopsis "Reinforcement learning")
11906     (description
11907      "This package implements reinforcement learning environments and
11908 algorithms as described in Sutton & Barto (1998).  The Q-Learning algorithm
11909 can be used with function approximation, eligibility traces (Singh & Sutton,
11910 1996) and experience replay (Mnih et al., 2013).")
11911     (license license:expat)))
11913 (define-public r-lemon
11914   (package
11915     (name "r-lemon")
11916     (version "0.4.3")
11917     (source
11918      (origin
11919        (method url-fetch)
11920        (uri (cran-uri "lemon" version))
11921        (sha256
11922         (base32
11923          "0wsn5bfg10wq4dnrgpyraz2bzx9p19c7hf1pwj3h4zmpqfgsdbpw"))))
11924     (build-system r-build-system)
11925     (propagated-inputs
11926      `(("r-ggplot2" ,r-ggplot2)
11927        ("r-gridextra" ,r-gridextra)
11928        ("r-gtable" ,r-gtable)
11929        ("r-knitr" ,r-knitr)
11930        ("r-lattice" ,r-lattice)
11931        ("r-plyr" ,r-plyr)
11932        ("r-scales" ,r-scales)))
11933     (home-page "https://github.com/stefanedwards/lemon")
11934     (synopsis "Freshen up your ggplot2 plots")
11935     (description
11936      "This package provides functions for working with legends and axis lines
11937 of ggplot2, facets that repeat axis lines on all panels, and some knitr
11938 extensions.")
11939     (license license:gpl3)))
11941 (define-public r-wgaim
11942   (package
11943     (name "r-wgaim")
11944     (version "1.4-11")
11945     (source
11946      (origin
11947        (method url-fetch)
11948        (uri (cran-uri "wgaim" version))
11949        (sha256
11950         (base32
11951          "1jjyp100dcjjczp61xlvhmy48ynniqcys535vzbgswhr7fvijymg"))))
11952     (build-system r-build-system)
11953     (propagated-inputs
11954      `(("r-lattice" ,r-lattice)
11955        ("r-qtl" ,r-qtl)))
11956     (home-page "https://cran.r-project.org/web/packages/wgaim")
11957     (synopsis "Whole genome average interval mapping for QTL detection")
11958     (description
11959      "This package integrates sophisticated mixed modelling methods with a
11960 whole genome approach to detecting significant QTL in linkage maps.")
11961     (license license:gpl2+)))
11963 (define-public r-bedr
11964   (package
11965     (name "r-bedr")
11966     (version "1.0.7")
11967     (source
11968      (origin
11969        (method url-fetch)
11970        (uri (cran-uri "bedr" version))
11971        (sha256
11972         (base32
11973          "0zpqvyjgwyqawxm8qrhcv8zq2b3yxgcqkkc87br29yrl7sjb8h6j"))))
11974     (build-system r-build-system)
11975     (propagated-inputs
11976      `(("r-data-table" ,r-data-table)
11977        ("r-r-utils" ,r-r-utils)
11978        ("r-testthat" ,r-testthat)
11979        ("r-venndiagram" ,r-venndiagram)
11980        ("r-yaml" ,r-yaml)
11981        ("bedops" ,bedops)
11982        ("bedtools" ,bedtools)
11983        ("htslib" ,htslib))) ; for tabix
11984     (native-inputs
11985      `(("r-knitr" ,r-knitr))) ; for vignettes
11986     (home-page "https://cran.r-project.org/web/packages/bedr")
11987     (synopsis "Genomic region processing")
11988     (description
11989      "This package is for genomic regions processing using command line tools
11990 such as BEDTools, BEDOPS and Tabix.  These tools offer scalable and efficient
11991 utilities to perform genome arithmetic e.g indexing, formatting and merging.
11992 The bedr package's API enhances access to these tools as well as offers
11993 additional utilities for genomic regions processing.")
11994     (license license:gpl2)))
11996 (define-public r-partitions
11997   (package
11998     (name "r-partitions")
11999     (version "1.9-19")
12000     (source
12001      (origin
12002        (method url-fetch)
12003        (uri (cran-uri "partitions" version))
12004        (sha256
12005         (base32
12006          "1pklfnjdc094c8nzkqcdvqzdh8v3p5n8jbg4pf9678iw648saiyx"))))
12007     (build-system r-build-system)
12008     (propagated-inputs
12009      `(("r-gmp" ,r-gmp)
12010        ("r-polynom" ,r-polynom)))
12011     (home-page "https://cran.r-project.org/web/packages/partitions")
12012     (synopsis "Additive partitions of integers")
12013     (description
12014      "This package provides tools to enumerates the partitions, unequal
12015 partitions, and restricted partitions of an integer; the three corresponding
12016 partition functions are also given.")
12017     ;; Any version of the GPL
12018     (license license:gpl2+)))
12020 (define-public r-brobdingnag
12021   (package
12022     (name "r-brobdingnag")
12023     (version "1.2-6")
12024     (source
12025      (origin
12026        (method url-fetch)
12027        (uri (cran-uri "Brobdingnag" version))
12028        (sha256
12029         (base32
12030          "1m3ajvcksqfck5l5hj5xiflj4ry6d896ybv4f0xxks8chgnwmv0r"))))
12031     (properties `((upstream-name . "Brobdingnag")))
12032     (build-system r-build-system)
12033     (home-page "https://github.com/RobinHankin/Brobdingnag.git")
12034     (synopsis "Very large numbers in R")
12035     (description
12036      "This package handles very large numbers in R.  Real numbers are held
12037 using their natural logarithms, plus a logical flag indicating sign.  The
12038 package includes a vignette that gives a step-by-step introduction to using S4
12039 methods.")
12040     ;; Any version of the GPL
12041     (license license:gpl2+)))
12043 (define-public r-untb
12044   (package
12045     (name "r-untb")
12046     (version "1.7-4")
12047     (source
12048      (origin
12049        (method url-fetch)
12050        (uri (cran-uri "untb" version))
12051        (sha256
12052         (base32
12053          "1i7m4vfslsix98dwx4jlrsldm7fhhfp25gr7aapcxqxms7ryaby6"))))
12054     (build-system r-build-system)
12055     (propagated-inputs
12056      `(("r-brobdingnag" ,r-brobdingnag)
12057        ("r-partitions" ,r-partitions)
12058        ("r-polynom" ,r-polynom)))
12059     (home-page "https://github.com/RobinHankin/untb.git")
12060     (synopsis "Ecological drift under the UNTB")
12061     (description
12062      "This package provides numerical simulations, and visualizations, of
12063 Hubbell's @dfn{Unified Neutral Theory of Biodiversity} (UNTB).")
12064     (license license:gpl2+)))
12066 (define-public r-stepwise
12067   (package
12068     (name "r-stepwise")
12069     (version "0.3")
12070     (source
12071      (origin
12072        (method url-fetch)
12073        (uri (cran-uri "stepwise" version))
12074        (sha256
12075         (base32
12076          "1lbx1bxwkf9dw6q46w40pp7h5nkxgghmx8rkpaymm6iybc7gyir2"))))
12077     (build-system r-build-system)
12078     (home-page "http://stat.sfu.ca/statgen/research/stepwise.html")
12079     (synopsis "Stepwise detection of recombination breakpoints")
12080     (description
12081      "This package provides a stepwise approach to identifying recombination
12082 breakpoints in a genomic sequence alignment.")
12083     (license license:gpl2+)))
12085 (define-public r-snpmaxsel
12086   (package
12087     (name "r-snpmaxsel")
12088     (version "1.0-3")
12089     (source
12090      (origin
12091        (method url-fetch)
12092        (uri (cran-uri "SNPmaxsel" version))
12093        (sha256
12094         (base32
12095          "0pjvixwqzjd3jwccc8yqq9c76afvbmfq0z1w0cwyj8bblrjpx13z"))))
12096     (properties `((upstream-name . "SNPmaxsel")))
12097     (build-system r-build-system)
12098     (propagated-inputs
12099      `(("r-combinat" ,r-combinat)
12100        ("r-mvtnorm" ,r-mvtnorm)))
12101     (home-page "https://cran.r-project.org/web/packages/SNPmaxsel/index.html")
12102     (synopsis "Maximally selected statistics for SNP data")
12103     (description
12104      "This package implements asymptotic methods related to maximally selected
12105 statistics, with applications to @dfn{single-nucleotide polymorphism} (SNP)
12106 data.")
12107     (license license:gpl2+)))
12109 (define-public r-acsnminer
12110   (package
12111     (name "r-acsnminer")
12112     (version "0.16.8.25")
12113     (source (origin
12114               (method url-fetch)
12115               (uri (cran-uri "ACSNMineR" version))
12116               (sha256
12117                (base32
12118                 "0gh604s8qall6zfjlwcg2ilxjvz08dplf9k5g47idhv43scm748l"))))
12119     (properties `((upstream-name . "ACSNMineR")))
12120     (build-system r-build-system)
12121     (propagated-inputs
12122      `(("r-ggplot2" ,r-ggplot2)
12123        ("r-gridextra" ,r-gridextra)))
12124     (home-page "https://cran.r-project.org/web/packages/ACSNMineR")
12125     (synopsis "Gene enrichment analysis")
12126     (description
12127      "This package provides tools to compute and represent gene set enrichment
12128 or depletion from your data based on pre-saved maps from the @dfn{Atlas of
12129 Cancer Signalling Networks} (ACSN) or user imported maps.  The gene set
12130 enrichment can be run with hypergeometric test or Fisher exact test, and can
12131 use multiple corrections.  Visualization of data can be done either by
12132 barplots or heatmaps.")
12133     (license license:gpl2+)))
12135 (define-public r-seqinr
12136   (package
12137     (name "r-seqinr")
12138     (version "3.4-5")
12139     (source
12140      (origin
12141        (method url-fetch)
12142        (uri (cran-uri "seqinr" version))
12143        (sha256
12144         (base32
12145          "17zv0n5cji17izwmwg0jcbxbjl3w5rls91w15svcnlpxjms38ahn"))))
12146     (build-system r-build-system)
12147     (propagated-inputs
12148      `(("r-ade4" ,r-ade4)
12149        ("r-segmented" ,r-segmented)))
12150     (inputs
12151      `(("zlib" ,zlib)))
12152     (home-page "http://seqinr.r-forge.r-project.org/")
12153     (synopsis "Biological sequences retrieval and analysis")
12154     (description
12155      "This package provides tools for exploratory data analysis and data
12156 visualization of biological sequence (DNA and protein) data.  It also includes
12157 utilities for sequence data management under the ACNUC system.")
12158     (license license:gpl2+)))
12160 (define-public r-units
12161   (package
12162     (name "r-units")
12163     (version "0.6-2")
12164     (source
12165       (origin
12166         (method url-fetch)
12167         (uri (cran-uri "units" version))
12168         (sha256
12169           (base32
12170             "0w7iwp8c66d5gj4rsb8c87vb0ja39hym6fmfnqaqwb3is1snfa2y"))))
12171     (build-system r-build-system)
12172     (inputs
12173      `(("udunits" ,udunits)))
12174     (propagated-inputs
12175      `(("r-rcpp" ,r-rcpp)))
12176     (home-page "https://github.com/r-quantities/units/")
12177     (synopsis "Measurement Units for R Vectors")
12178     (description
12179       "This package provides support for measurement units in R vectors,
12180 matrices and arrays: automatic propagation, conversion, derivation and
12181 simplification of units; raising errors in case of unit incompatibility.  It
12182 is compatible with the @code{POSIXct}, @code{Date} and @code{difftime}
12183 classes.")
12184     (license license:gpl2)))
12186 (define-public r-classint
12187   (package
12188     (name "r-classint")
12189     (version "0.3-3")
12190     (source
12191      (origin
12192        (method url-fetch)
12193        (uri (cran-uri "classInt" version))
12194        (sha256
12195         (base32
12196          "0c2z6shlxa928xa20yl956r06lx20mji3mwipdvmj3f4z5g6hgm9"))))
12197     (properties `((upstream-name . "classInt")))
12198     (build-system r-build-system)
12199     (propagated-inputs
12200      `(("r-class" ,r-class)
12201        ("r-e1071" ,r-e1071)
12202        ("r-kernsmooth" ,r-kernsmooth)))
12203     (native-inputs `(("gfortran" ,gfortran)))
12204     (home-page "https://github.com/r-spatial/classInt/")
12205     (synopsis "Choose univariate class intervals")
12206     (description
12207      "This package provides selected commonly used methods for choosing
12208 univariate class intervals for mapping or other graphics purposes.")
12209     (license license:gpl2+)))
12211 (define-public r-spdata
12212   (package
12213     (name "r-spdata")
12214     (version "0.3.0")
12215     (source
12216      (origin
12217        (method url-fetch)
12218        (uri (cran-uri "spData" version))
12219        (sha256
12220         (base32
12221          "162cqb331ki43jx4r8lpkjpn2l712figd896rnawg9j1jmjyl96y"))))
12222     (properties `((upstream-name . "spData")))
12223     (build-system r-build-system)
12224     (home-page "https://github.com/Nowosad/spData")
12225     (synopsis "Datasets for spatial analysis")
12226     (description
12227      "This a package containing diverse spatial datasets for demonstrating,
12228 benchmarking and teaching spatial data analysis.  It includes R data of class
12229 @code{sf}, @code{Spatial}, and @code{nb}.  It also contains data stored in a
12230 range of file formats including GeoJSON, ESRI Shapefile and GeoPackage.  Some
12231 of the datasets are designed to illustrate specific analysis techniques.
12232 @code{cycle_hire()} and @code{cycle_hire_osm()}, for example, are designed to
12233 illustrate point pattern analysis techniques.")
12234     (license license:cc0)))
12236 (define-public r-learnbayes
12237   (package
12238     (name "r-learnbayes")
12239     (version "2.15.1")
12240     (source
12241      (origin
12242        (method url-fetch)
12243        (uri (cran-uri "LearnBayes" version))
12244        (sha256
12245         (base32
12246          "0ch54v2zz2yyyk0lvn5rfikdmyz1qh9j1wk3585wl8v58mc0h4cv"))))
12247     (properties `((upstream-name . "LearnBayes")))
12248     (build-system r-build-system)
12249     (home-page "https://cran.r-project.org/web/packages/LearnBayes")
12250     (synopsis "Functions for learning Bayesian inference")
12251     (description
12252      "This package provides a collection of functions helpful in learning the
12253 basic tenets of Bayesian statistical inference.  It contains functions for
12254 summarizing basic one and two parameter posterior distributions and predictive
12255 distributions.  It contains MCMC algorithms for summarizing posterior
12256 distributions defined by the user.  It also contains functions for regression
12257 models, hierarchical models, Bayesian tests, and illustrations of Gibbs
12258 sampling.")
12259     (license license:gpl2+)))
12261 (define-public r-deldir
12262   (package
12263     (name "r-deldir")
12264     (version "0.1-16")
12265     (source
12266      (origin
12267        (method url-fetch)
12268        (uri (cran-uri "deldir" version))
12269        (sha256
12270         (base32
12271          "0549kj0hlkdyvm5axsm3np30wg53fm2pxybijzw0avlgsd2y2n2q"))))
12272     (build-system r-build-system)
12273     (native-inputs `(("gfortran" ,gfortran)))
12274     (home-page "https://cran.r-project.org/web/packages/deldir")
12275     (synopsis "Delaunay triangulation and Dirichlet (Voronoi) tessellation")
12276     (description
12277      "This package provides tools for calculating the Delaunay triangulation
12278 and the Dirichlet or Voronoi tessellation (with respect to the entire plane)
12279 of a planar point set.  It plots triangulations and tessellations in various
12280 ways, clips tessellations to sub-windows, calculates perimeters of
12281 tessellations, and summarizes information about the tiles of the
12282 tessellation.")
12283     (license license:gpl2+)))
12285 (define-public r-sf
12286   (package
12287     (name "r-sf")
12288     (version "0.7-4")
12289     (source
12290      (origin
12291        (method url-fetch)
12292        (uri (cran-uri "sf" version))
12293        (sha256
12294         (base32
12295          "0vnyr7xyfcl928kbrb1k8l4fkd0cjrfq486g6gxpvy5j0cc2h4i1"))))
12296     (build-system r-build-system)
12297     (inputs
12298      `(("gdal" ,gdal)
12299        ("geos" ,geos)
12300        ("proj" ,proj.4)
12301        ("zlib" ,zlib)))
12302     (propagated-inputs
12303      `(("r-classint" ,r-classint)
12304        ("r-dbi" ,r-dbi)
12305        ("r-magrittr" ,r-magrittr)
12306        ("r-rcpp" ,r-rcpp)
12307        ("r-units" ,r-units)))
12308     (native-inputs `(("pkg-config" ,pkg-config)))
12309     (home-page "https://github.com/r-spatial/sf/")
12310     (synopsis "Simple features for R")
12311     (description
12312      "This package provides support for simple features, a standardized way to
12313 encode spatial vector data.  It binds to GDAL for reading and writing data, to
12314 GEOS for geometrical operations, and to PROJ for projection conversions and
12315 datum transformations.")
12316     ;; Either of these licenses
12317     (license (list license:gpl2 license:expat))))
12319 (define-public r-spdep
12320   (package
12321     (name "r-spdep")
12322     (version "1.1-2")
12323     (source
12324      (origin
12325        (method url-fetch)
12326        (uri (cran-uri "spdep" version))
12327        (sha256
12328         (base32
12329          "06mk81kc1ml2wjc8wwwgr0wasjcr4mwrxpfa8vfc373bmnha635s"))))
12330     (build-system r-build-system)
12331     (propagated-inputs
12332      `(("r-boot" ,r-boot)
12333        ("r-coda" ,r-coda)
12334        ("r-deldir" ,r-deldir)
12335        ("r-expm" ,r-expm)
12336        ("r-gmodels" ,r-gmodels)
12337        ("r-learnbayes" ,r-learnbayes)
12338        ("r-mass" ,r-mass)
12339        ("r-matrix" ,r-matrix)
12340        ("r-nlme" ,r-nlme)
12341        ("r-sf" ,r-sf)
12342        ("r-sp" ,r-sp)
12343        ("r-spdata" ,r-spdata)))
12344     (home-page "https://github.com/r-spatial/spdep/")
12345     (synopsis "Spatial dependence: weighting schemes, statistics and models")
12346     (description
12347      "This package provides a collection of functions to create spatial
12348 weights matrix objects from polygon contiguities, from point patterns by
12349 distance and tessellations, for summarizing these objects, and for permitting
12350 their use in spatial data analysis, including regional aggregation by minimum
12351 spanning tree.")
12352     (license license:gpl2+)))
12354 (define-public r-adegenet
12355   (package
12356     (name "r-adegenet")
12357     (version "2.1.1")
12358     (source
12359      (origin
12360        (method url-fetch)
12361        (uri (cran-uri "adegenet" version))
12362        (sha256
12363         (base32
12364          "0ynfblp0hbd3dp3k86fn1wyhqr28lk6hs2bg4q7gyf0sfdfzwhrh"))))
12365     (build-system r-build-system)
12366     (propagated-inputs
12367      `(("r-ade4" ,r-ade4)
12368        ("r-ape" ,r-ape)
12369        ("r-boot" ,r-boot)
12370        ("r-dplyr" ,r-dplyr)
12371        ("r-ggplot2" ,r-ggplot2)
12372        ("r-igraph" ,r-igraph)
12373        ("r-mass" ,r-mass)
12374        ("r-reshape2" ,r-reshape2)
12375        ("r-seqinr" ,r-seqinr)
12376        ("r-shiny" ,r-shiny)
12377        ("r-spdep" ,r-spdep)
12378        ("r-vegan" ,r-vegan)))
12379     (home-page "https://github.com/thibautjombart/adegenet")
12380     (synopsis "Exploratory analysis of genetic and genomic data")
12381     (description
12382      "This package provides a toolset for the exploration of genetic and
12383 genomic data.  Adegenet provides formal (S4) classes for storing and handling
12384 various genetic data, including genetic markers with varying ploidy and
12385 hierarchical population structure (@code{genind} class), alleles counts by
12386 populations (@code{genpop}), and genome-wide SNP data (@code{genlight}).  It
12387 also implements original multivariate methods (DAPC, sPCA), graphics,
12388 statistical tests, simulation tools, distance and similarity measures, and
12389 several spatial methods.  A range of both empirical and simulated datasets is
12390 also provided to illustrate various methods.")
12391     (license license:gpl2+)))
12393 (define-public r-pegas
12394   (package
12395     (name "r-pegas")
12396     (version "0.11")
12397     (source
12398      (origin
12399        (method url-fetch)
12400        (uri (cran-uri "pegas" version))
12401        (sha256
12402         (base32
12403          "0l21bapzbjcvblbvks3jh9rpy9hng1ccd7f0glhqw695lc737bpx"))))
12404     (build-system r-build-system)
12405     (propagated-inputs
12406      `(("r-adegenet" ,r-adegenet)
12407        ("r-ape" ,r-ape)))
12408     (home-page "http://ape-package.ird.fr/pegas.html")
12409     (synopsis "Population and evolutionary genetics analysis system")
12410     (description
12411      "This package provides functions for reading, writing, plotting,
12412 analysing, and manipulating allelic and haplotypic data, including from VCF
12413 files, and for the analysis of population nucleotide sequences and
12414 micro-satellites including coalescent analyses, linkage disequilibrium,
12415 population structure (Fst, Amova) and equilibrium (HWE), haplotype networks,
12416 minimum spanning tree and network, and median-joining networks.")
12417     (license license:gpl2+)))
12419 (define-public r-rmetasim
12420   (package
12421     (name "r-rmetasim")
12422     (version "3.1.7")
12423     (source
12424      (origin
12425        (method url-fetch)
12426        (uri (cran-uri "rmetasim" version))
12427        (sha256
12428         (base32
12429          "0sz4mdprdi6sgkfwfdvh2hr9nxiwq17sw0vggq3cvs7lzb0i6m9r"))))
12430     (build-system r-build-system)
12431     (propagated-inputs
12432      `(("r-ade4" ,r-ade4)
12433        ("r-adegenet" ,r-adegenet)
12434        ("r-gtools" ,r-gtools)
12435        ("r-pegas" ,r-pegas)))
12436     (home-page "https://cran.r-project.org/web/packages/rmetasim")
12437     (synopsis "Individual-based population genetic simulation environment")
12438     (description
12439      "This package provides an interface between R and the metasim simulation
12440 engine.  The simulation environment is documented in: Strand, A.(2002),
12441 Metasim 1.0: an individual-based environment for simulating population
12442 genetics of complex population dynamics.")
12443     ;; Any GPL version
12444     (license license:gpl2+)))
12446 (define-public r-genetics
12447   (package
12448     (name "r-genetics")
12449     (version "1.3.8.1.2")
12450     (source
12451      (origin
12452        (method url-fetch)
12453        (uri (cran-uri "genetics" version))
12454        (sha256
12455         (base32
12456          "1v0ylnia6c44v356dsmnkx6054vcxazpzsrdh3yph5ch5vg6gjrh"))))
12457     (build-system r-build-system)
12458     (propagated-inputs
12459      `(("r-combinat" ,r-combinat)
12460        ("r-gdata" ,r-gdata)
12461        ("r-gtools" ,r-gtools)
12462        ("r-mass" ,r-mass)
12463        ("r-mvtnorm" ,r-mvtnorm)))
12464     (home-page "https://cran.r-project.org/web/packages/genetics/")
12465     (synopsis "Population genetics")
12466     (description
12467      "This package provides classes and methods for handling genetic data.
12468 It includes classes to represent genotypes and haplotypes at single markers up
12469 to multiple markers on multiple chromosomes.  Function include allele
12470 frequencies, flagging homo/heterozygotes, flagging carriers of certain
12471 alleles, estimating and testing for Hardy-Weinberg disequilibrium, estimating
12472 and testing for linkage disequilibrium, ...")
12473     ;; Any GPL version.
12474     (license license:gpl2+)))
12476 (define-public r-snp-plotter
12477   (package
12478     (name "r-snp-plotter")
12479     (version "0.5.1")
12480     (source
12481      (origin
12482        (method url-fetch)
12483        (uri (cran-uri "snp.plotter" version))
12484        (sha256
12485         (base32
12486          "16apsqvkah5l0d5qcwp3lq2jspkb6n62wzr0wskmj84jblx483vv"))))
12487     (properties `((upstream-name . "snp.plotter")))
12488     (build-system r-build-system)
12489     (propagated-inputs `(("r-genetics" ,r-genetics)))
12490     (home-page "https://cran.r-project.org/web/packages/snp.plotter/")
12491     (synopsis "Plot p-values using single SNP and/or haplotype data")
12492     (description
12493      "This package helps you create plots of p-values using single SNP and/or
12494 haplotype data.  Main features of the package include options to display a
12495 @dfn{linkage disequilibrium} (LD) plot and the ability to plot multiple
12496 datasets simultaneously.  Plots can be created using global and/or individual
12497 haplotype p-values along with single SNP p-values.  Images are created as
12498 either PDF/EPS files.")
12499     (license license:gpl2+)))
12501 (define-public r-polspline
12502   (package
12503     (name "r-polspline")
12504     (version "1.1.14")
12505     (source
12506      (origin
12507        (method url-fetch)
12508        (uri (cran-uri "polspline" version))
12509        (sha256
12510         (base32
12511          "0g4s5nwi13yfs6b169yw8vrs48nvjyc014k2v7ybcxarl8z81va0"))))
12512     (build-system r-build-system)
12513     (native-inputs `(("gfortran" ,gfortran)))
12514     (home-page "https://cran.r-project.org/web/packages/polspline/")
12515     (synopsis "Polynomial spline routines")
12516     (description
12517      "This package provides routines for the polynomial spline fitting
12518 routines hazard regression, hazard estimation with flexible tails, logspline,
12519 lspec, polyclass, and polymars.")
12520     (license license:gpl2+)))
12522 (define-public r-rms
12523   (package
12524     (name "r-rms")
12525     (version "5.1-3.1")
12526     (source
12527      (origin
12528        (method url-fetch)
12529        (uri (cran-uri "rms" version))
12530        (sha256
12531         (base32
12532          "0drbr3g0x5pbxyzy50wnf92rbal8izizrcqslqhg0gsfg9adjih9"))))
12533     (build-system r-build-system)
12534     (propagated-inputs
12535      `(("r-ggplot2" ,r-ggplot2)
12536        ("r-hmisc" ,r-hmisc)
12537        ("r-htmltable" ,r-htmltable)
12538        ("r-htmltools" ,r-htmltools)
12539        ("r-lattice" ,r-lattice)
12540        ("r-multcomp" ,r-multcomp)
12541        ("r-nlme" ,r-nlme)
12542        ("r-polspline" ,r-polspline)
12543        ("r-quantreg" ,r-quantreg)
12544        ("r-rpart" ,r-rpart)
12545        ("r-sparsem" ,r-sparsem)
12546        ("r-survival" ,r-survival)))
12547     (native-inputs `(("gfortran" ,gfortran)))
12548     (home-page "http://biostat.mc.vanderbilt.edu/rms")
12549     (synopsis "Regression modeling strategies")
12550     (description
12551      "This is a package for regression modeling, testing, estimation,
12552 validation, graphics, prediction, and typesetting by storing enhanced model
12553 design attributes in the fit.  The rms package is a collection of functions
12554 that assist with and streamline modeling.  It also contains functions for
12555 binary and ordinal logistic regression models, ordinal models for continuous Y
12556 with a variety of distribution families, and the Buckley-James multiple
12557 regression model for right-censored responses, and implements penalized
12558 maximum likelihood estimation for logistic and ordinary linear models.  The
12559 package works with almost any regression model, but it was especially written
12560 to work with binary or ordinal regression models, Cox regression, accelerated
12561 failure time models, ordinary linear models, the Buckley-James model,
12562 generalized least squares for serially or spatially correlated observations,
12563 generalized linear models, and quantile regression.")
12564     (license license:gpl2+)))
12566 (define-public r-haplo-stats
12567   (package
12568     (name "r-haplo-stats")
12569     (version "1.7.9")
12570     (source
12571      (origin
12572        (method url-fetch)
12573        (uri (cran-uri "haplo.stats" version))
12574        (sha256
12575         (base32
12576          "19kxascqq5qz0zdxx0w837ji207y1z2ggxkl4vmlbay03k2dw2mx"))))
12577     (properties `((upstream-name . "haplo.stats")))
12578     (build-system r-build-system)
12579     (propagated-inputs
12580      `(("r-rms" ,r-rms)))
12581     (native-inputs
12582      `(("r-r-rsp" ,r-r-rsp))) ; for vignettes
12583     (home-page "https://www.mayo.edu/research/labs/statistical-genetics-genetic-epidemiology/software")
12584     (synopsis "Analysis of haplotypes when linkage phase is ambiguous")
12585     (description
12586      "This package provides routines for the analysis of indirectly measured
12587 haplotypes.  The statistical methods assume that all subjects are unrelated
12588 and that haplotypes are ambiguous (due to unknown linkage phase of the genetic
12589 markers).  The main functions are: @code{haplo.em()}, @code{haplo.glm()},
12590 @code{haplo.score()}, and @code{haplo.power()}; all of which have detailed
12591 examples in the vignette.")
12592     (license license:gpl2+)))
12594 (define-public r-bqtl
12595   (package
12596     (name "r-bqtl")
12597     (version "1.0-32")
12598     (source
12599      (origin
12600        (method url-fetch)
12601        (uri (cran-uri "bqtl" version))
12602        (sha256
12603         (base32
12604          "0jjqgsm9fmvz5nkgz608xfljjpmaf4rs4f7kxvpqn4b1l9s5lhci"))))
12605     (build-system r-build-system)
12606     (native-inputs `(("gfortran" ,gfortran)))
12607     (home-page "http://famprevmed.ucsd.edu/faculty/cberry/bqtl/")
12608     (synopsis "Bayesian QTL mapping toolkit")
12609     (description
12610      "This is a QTL mapping toolkit for inbred crosses and recombinant inbred
12611 lines.  It includes maximum likelihood and Bayesian tools.")
12612     (license license:gpl2+)))
12614 (define-public r-ibdreg
12615   (package
12616     (name "r-ibdreg")
12617     (version "0.2.5")
12618     (source
12619      (origin
12620        (method url-fetch)
12621        (uri (cran-uri "ibdreg" version))
12622        (sha256
12623         (base32
12624          "1kaa5q1byi30wzr0mw4w2cv1ssxprzcwf91wrpqwkgcsdy7dkh2g"))))
12625     (build-system r-build-system)
12626     (home-page "https://www.mayo.edu/research/labs/\
12627 statistical-genetics-genetic-epidemiology/software")
12628     (synopsis "Regression methods for IBD linkage with covariates")
12629     (description
12630      "This package provides a method to test genetic linkage with covariates
12631 by regression methods with response IBD sharing for relative pairs.  Account
12632 for correlations of IBD statistics and covariates for relative pairs within
12633 the same pedigree.")
12634     (license license:gpl2+)))
12636 (define-public r-dlmap
12637   (package
12638     (name "r-dlmap")
12639     (version "1.13")
12640     (source
12641      (origin
12642        (method url-fetch)
12643        (uri (cran-uri "dlmap" version))
12644        (sha256
12645         (base32
12646          "0s6wlkggkm3qndwyvw72xv1n0mcjb7ss3ajbq2ll6rv30splq0db"))))
12647     (build-system r-build-system)
12648     (propagated-inputs
12649      `(("r-ibdreg" ,r-ibdreg)
12650        ("r-mgcv" ,r-mgcv)
12651        ("r-nlme" ,r-nlme)
12652        ("r-qtl" ,r-qtl)
12653        ("r-wgaim" ,r-wgaim)))
12654     (home-page "https://cran.r-project.org/web/packages/dlmap/")
12655     (synopsis "Detection localization mapping for QTL")
12656     (description
12657      "This is package for QTL mapping in a mixed model framework with separate
12658 detection and localization stages.  The first stage detects the number of QTL
12659 on each chromosome based on the genetic variation due to grouped markers on
12660 the chromosome; the second stage uses this information to determine the most
12661 likely QTL positions.  The mixed model can accommodate general fixed and
12662 random effects, including spatial effects in field trials and pedigree
12663 effects.  It is applicable to backcrosses, doubled haploids, recombinant
12664 inbred lines, F2 intercrosses, and association mapping populations.")
12665     (license license:gpl2)))
12667 (define-public r-ldheatmap
12668   (package
12669     (name "r-ldheatmap")
12670     (version "0.99-5")
12671     (source
12672      (origin
12673        (method url-fetch)
12674        (uri (cran-uri "LDheatmap" version))
12675        (sha256
12676         (base32
12677          "0il3g3n3bzv74lz7dlhyiwc2x2417v6yhx2g47pahxdzqa09kf4s"))))
12678     (properties `((upstream-name . "LDheatmap")))
12679     (build-system r-build-system)
12680     (propagated-inputs
12681      `(("r-genetics" ,r-genetics)
12682        ("r-snpstats" ,r-snpstats)))
12683     (home-page "http://stat.sfu.ca/statgen/research/ldheatmap.html")
12684     (synopsis "Graphical display of pairwise linkage disequilibria between SNPs")
12685     (description
12686      "This package provides tools to produce a graphical display, as a heat
12687 map, of measures of pairwise linkage disequilibria between SNPs.  Users may
12688 optionally include the physical locations or genetic map distances of each SNP
12689 on the plot.")
12690     (license license:gpl3)))
12692 (define-public r-hwde
12693   (package
12694     (name "r-hwde")
12695     (version "0.67")
12696     (source
12697      (origin
12698        (method url-fetch)
12699        (uri (cran-uri "hwde" version))
12700        (sha256
12701         (base32
12702          "0wb2f9i5qi7w77ygh8bvydfpr7j5x8dyvnnhdkajaz0wdcpkyaqy"))))
12703     (build-system r-build-system)
12704     (home-page "https://cran.r-project.org/web/packages/hwde/")
12705     (synopsis "Models and tests for departure from Hardy-Weinberg equilibrium")
12706     (description
12707      "This package fits models for genotypic disequilibria, as described in
12708 Huttley and Wilson (2000), Weir (1996) and Weir and Wilson (1986).  Contrast
12709 terms are available that account for first order interactions between loci.
12710 It also implements, for a single locus in a single population, a conditional
12711 exact test for Hardy-Weinberg equilibrium.")
12712     (license license:gpl2+)))
12714 (define-public r-tdthap
12715   (package
12716     (name "r-tdthap")
12717     (version "1.1-9")
12718     (source
12719      (origin
12720        (method url-fetch)
12721        (uri (cran-uri "tdthap" version))
12722        (sha256
12723         (base32
12724          "0y01x0hcf0rw06cpn4pk17b0shf4v2c9was7vfs0zhsbq8qcwx7r"))))
12725     (build-system r-build-system)
12726     (home-page "https://cran.r-project.org/web/packages/tdthap/")
12727     (synopsis "TDT tests for extended haplotypes")
12728     (description
12729      "Functions and examples are provided for transmission/disequilibrium
12730 tests for extended marker haplotypes, as in Clayton, D. and Jones, H. (1999)
12731 \"Transmission/disequilibrium tests for extended marker haplotypes\".")
12732     (license license:artistic2.0)))
12734 (define-public r-sparql
12735   (package
12736     (name "r-sparql")
12737     (version "1.16")
12738     (source (origin
12739               (method url-fetch)
12740               (uri (cran-uri "SPARQL" version))
12741               (sha256
12742                (base32
12743                 "0gak1q06yyhdmcxb2n3v0h9gr1vqd0viqji52wpw211qp6r6dcrc"))))
12744     (properties `((upstream-name . "SPARQL")))
12745     (build-system r-build-system)
12746     (propagated-inputs
12747      `(("r-rcurl" ,r-rcurl)
12748        ("r-xml" ,r-xml)))
12749     (home-page "https://cran.r-project.org/web/packages/SPARQL")
12750     (synopsis "SPARQL client for R")
12751     (description "This package provides an interface to use SPARQL to pose
12752 SELECT or UPDATE queries to an end-point.")
12753     ;; The only license indication is found in the DESCRIPTION file,
12754     ;; which states GPL-3.  So we cannot assume GPLv3+.
12755     (license license:gpl3)))
12757 (define-public r-bookdown
12758   (package
12759     (name "r-bookdown")
12760     (version "0.9")
12761     (source (origin
12762               (method url-fetch)
12763               (uri (cran-uri "bookdown" version))
12764               (sha256
12765                (base32
12766                 "0vg1s1w0l9pm95asqb21yf39mfk1nc9rdhmlys9xwr7p7i7rsz32"))))
12767     (build-system r-build-system)
12768     (propagated-inputs
12769      `(("r-htmltools" ,r-htmltools)
12770        ("r-knitr" ,r-knitr)
12771        ("r-rmarkdown" ,r-rmarkdown)
12772        ("r-tinytex" ,r-tinytex)
12773        ("r-yaml" ,r-yaml)
12774        ("r-xfun" ,r-xfun)))
12775     (home-page "https://github.com/rstudio/bookdown")
12776     (synopsis "Authoring books and technical documents with R markdown")
12777     (description "This package provides output formats and utilities for
12778 authoring books and technical documents with R Markdown.")
12779     (license license:gpl3)))
12781 (define-public r-optparse
12782   (package
12783     (name "r-optparse")
12784     (version "1.6.2")
12785     (source
12786      (origin
12787        (method url-fetch)
12788        (uri (cran-uri "optparse" version))
12789        (sha256
12790         (base32
12791          "0zrp6jakjhawrwfri270ym83vj5a7nvjk0w6b41z41ahw2da99dm"))))
12792     (build-system r-build-system)
12793     (propagated-inputs
12794      `(("r-getopt" ,r-getopt)))
12795     (home-page "https://github.com/trevorld/optparse")
12796     (synopsis "Command line option parser")
12797     (description
12798      "This package provides a command line parser inspired by Python's
12799 @code{optparse} library to be used with Rscript to write shebang scripts
12800 that accept short and long options.")
12801     (license license:gpl2+)))
12803 (define-public r-wgcna
12804   (package
12805     (name "r-wgcna")
12806     (version "1.67")
12807     (source
12808      (origin
12809        (method url-fetch)
12810        (uri (cran-uri "WGCNA" version))
12811        (sha256
12812         (base32
12813          "09387w85lxvwr8ax2i2h602b4dgfv4wbvsl9aj1q0b1vfs4rkk69"))))
12814     (properties `((upstream-name . "WGCNA")))
12815     (build-system r-build-system)
12816     (propagated-inputs
12817      `(("r-annotationdbi" ,r-annotationdbi)
12818        ("r-doparallel" ,r-doparallel)
12819        ("r-dynamictreecut" ,r-dynamictreecut)
12820        ("r-fastcluster" ,r-fastcluster)
12821        ("r-foreach" ,r-foreach)
12822        ("r-go-db" ,r-go-db)
12823        ("r-hmisc" ,r-hmisc)
12824        ("r-impute" ,r-impute)
12825        ("r-rcpp" ,r-rcpp)
12826        ("r-robust" ,r-robust)
12827        ("r-survival" ,r-survival)
12828        ("r-matrixstats" ,r-matrixstats)
12829        ("r-preprocesscore" ,r-preprocesscore)))
12830     (home-page
12831      "http://www.genetics.ucla.edu/labs/horvath/CoexpressionNetwork/Rpackages/WGCNA/")
12832     (synopsis "Weighted correlation network analysis")
12833     (description
12834      "This package provides functions necessary to perform Weighted
12835 Correlation Network Analysis on high-dimensional data.  It includes functions
12836 for rudimentary data cleaning, construction and summarization of correlation
12837 networks, module identification and functions for relating both variables and
12838 modules to sample traits.  It also includes a number of utility functions for
12839 data manipulation and visualization.")
12840     (license license:gpl2+)))
12842 (define-public r-kernlab
12843   (package
12844     (name "r-kernlab")
12845     (version "0.9-27")
12846     (source
12847      (origin
12848        (method url-fetch)
12849        (uri (cran-uri "kernlab" version))
12850        (sha256
12851         (base32
12852          "1m0xqf6gyvwayz7w3c83y32ayvnlz0jicj8ijk808zq9sh7dbbgn"))))
12853     (build-system r-build-system)
12854     (home-page "https://cran.r-project.org/web/packages/kernlab")
12855     (synopsis "Kernel-based machine learning tools")
12856     (description
12857      "This package provides kernel-based machine learning methods for
12858 classification, regression, clustering, novelty detection, quantile regression
12859 and dimensionality reduction.  Among other methods @code{kernlab} includes
12860 Support Vector Machines, Spectral Clustering, Kernel PCA, Gaussian Processes
12861 and a QP solver.")
12862     (license license:gpl2)))
12864 (define-public r-hierfstat
12865   (package
12866     (name "r-hierfstat")
12867     (version "0.04-22")
12868     (source
12869      (origin
12870        (method url-fetch)
12871        (uri (cran-uri "hierfstat" version))
12872        (sha256
12873         (base32
12874          "1fav2v2996v5kb1ffa6v5wxfm921syxg6as034vd3j4jfhdibyfx"))))
12875     (build-system r-build-system)
12876     (propagated-inputs
12877      `(("r-ade4" ,r-ade4)
12878        ("r-adegenet" ,r-adegenet)
12879        ("r-gtools" ,r-gtools)))
12880     (home-page "https://cran.r-project.org/web/packages/hierfstat/")
12881     (synopsis "Estimation and tests of hierarchical F-statistics")
12882     (description
12883      "This package allows the estimation of hierarchical F-statistics from
12884 haploid or diploid genetic data with any numbers of levels in the hierarchy,
12885 following the algorithm of Yang (Evolution, 1998, 52(4):950-956).  Functions
12886 are also given to test via randomisations the significance of each F and
12887 variance components, using the likelihood-ratio statistics G.")
12888     (license license:gpl2+)))
12890 (define-public r-hapassoc
12891   (package
12892     (name "r-hapassoc")
12893     (version "1.2-8")
12894     (source
12895      (origin
12896        (method url-fetch)
12897        (uri (cran-uri "hapassoc" version))
12898        (sha256
12899         (base32
12900          "0qs5jl0snzfchgpp6pabncwywxcmi743g91jvjiyyzw0lw85yv4s"))))
12901     (build-system r-build-system)
12902     (home-page "http://stat.sfu.ca/statgen/research/hapassoc.html")
12903     (synopsis "Inference of trait associations with SNP haplotypes")
12904     (description
12905      "Hapassoc performs likelihood inference of trait associations with
12906 haplotypes and other covariates in @dfn{generalized linear models} (GLMs). The
12907 functions are developed primarily for data collected in cohort or
12908 cross-sectional studies.  They can accommodate uncertain haplotype phase and
12909 handle missing genotypes at some SNPs.")
12910     (license license:gpl2)))
12912 (define-public r-sampling
12913   (package
12914     (name "r-sampling")
12915     (version "2.8")
12916     (source
12917      (origin
12918        (method url-fetch)
12919        (uri (cran-uri "sampling" version))
12920        (sha256
12921         (base32
12922          "06pj7dan0mknpsblmlnk7am78qrnwgnql5vvx7vmbfvib7rj6s9m"))))
12923     (build-system r-build-system)
12924     (propagated-inputs
12925      `(("r-lpsolve" ,r-lpsolve)
12926        ("r-mass" ,r-mass)))
12927     (home-page "https://cran.r-project.org/web/packages/sampling/")
12928     (synopsis "Survey sampling")
12929     (description
12930      "This package provides functions for drawing and calibrating samples.")
12931     (license license:gpl2+)))
12933 (define-public r-r2html
12934   (package
12935     (name "r-r2html")
12936     (version "2.3.2")
12937     (source
12938      (origin
12939        (method url-fetch)
12940        (uri (cran-uri "R2HTML" version))
12941        (sha256
12942         (base32
12943          "00kxny7hajs9r2kw63qk7d03ggdxx2j1g8vbrmzp806y8aczvik9"))))
12944     (properties `((upstream-name . "R2HTML")))
12945     (build-system r-build-system)
12946     (home-page "https://github.com/nalimilan/R2HTML")
12947     (synopsis "HTML export for R objects")
12948     (description
12949      "This package includes HTML functions and methods to write in an HTML
12950 file.  Thus, making HTML reports is easy.  It includes a function that allows
12951 redirection on the fly, which appears to be very useful for teaching purposes,
12952 as the student can keep a copy of the produced output to keep all that they
12953 did during the course.  The package comes with a vignette describing how to
12954 write HTML reports for statistical analysis.  Finally, a driver for Sweave
12955 allows to parse HTML flat files containing R code and to automatically write
12956 the corresponding outputs (tables and graphs).")
12957     (license license:gpl2+)))
12959 (define-public r-rjava
12960   (package
12961     (name "r-rjava")
12962     (version "0.9-11")
12963     (source
12964      (origin
12965        (method url-fetch)
12966        (uri (cran-uri "rJava" version))
12967        (sha256
12968         (base32
12969          "0s9cjy1wh7snmbqwznh8f1r4ipylr7mgda4a979z963a8lqy32n2"))))
12970     (properties `((upstream-name . "rJava")))
12971     (build-system r-build-system)
12972     (arguments
12973      `(#:modules ((guix build utils)
12974                   (guix build r-build-system)
12975                   (ice-9 match))
12976        #:phases
12977        (modify-phases %standard-phases
12978          (add-after 'unpack 'set-JAVA_HOME
12979            (lambda* (#:key inputs #:allow-other-keys)
12980              (let ((jdk (assoc-ref inputs "jdk")))
12981                (setenv "JAVA_HOME" jdk)
12982                (setenv "JAVA" (which "java"))
12983                (setenv "JAR" (which "jar"))
12984                (setenv "JAVAC" (which "javac"))
12985                (setenv "JAVAH" (which "javah"))
12986                (setenv "JAVA_CPPFLAGS"
12987                        (string-append "-I" jdk "/include "
12988                                       "-I" jdk "/include/linux"))
12989                (match (find-files (string-append jdk "/jre/lib/") "libjvm.so")
12990                  ((lib) (setenv "JAVA_LIBS" lib))
12991                  (_ (error "Could not find libjvm.so"))))
12992              #t)))))
12993     (inputs
12994      `(("icu4c" ,icu4c)
12995        ("jdk" ,icedtea-8 "jdk")
12996        ("pcre" ,pcre)
12997        ("zlib" ,zlib)))
12998     (home-page "http://www.rforge.net/rJava/")
12999     (synopsis "Low-Level R to Java interface")
13000     (description
13001      "This package provides a low-level interface to the Java VM very much
13002 like .C/.Call and friends.  It allows the creation of objects, calling methods
13003 and accessing fields.")
13004     (license license:gpl2)))
13006 (define-public r-svmisc
13007   (package
13008     (name "r-svmisc")
13009     (version "1.1.0")
13010     (source
13011      (origin
13012        (method url-fetch)
13013        (uri (cran-uri "svMisc" version))
13014        (sha256
13015         (base32
13016          "01r2a73wx2sh1njky961fxabx5wgddqqjqba6vjg0f3h8r3abmn2"))))
13017     (properties `((upstream-name . "svMisc")))
13018     (build-system r-build-system)
13019     (home-page "https://github.com/SciViews/svMisc")
13020     (synopsis "Miscellaneous functions for SciViews")
13021     (description
13022      "This package provides miscellaneous functions for SciViews or general
13023 use, including tools to manage a temporary environment attached to the search
13024 path for temporary variables you do not want to @code{save()} or
13025 @code{load()}; test the current platform; showing progress bars, etc.")
13026     (license license:gpl2)))
13028 (define-public r-xyz
13029   (package
13030     (name "r-xyz")
13031     (version "0.2")
13032     (source
13033      (origin
13034        (method url-fetch)
13035        (uri (cran-uri "xyz" version))
13036        (sha256
13037         (base32
13038          "13w4sb4pvgciwr8wsz785dafj2k2kpx7znz46r5d32wx88vkycp4"))))
13039     (build-system r-build-system)
13040     (propagated-inputs
13041      `(("r-rcpp" ,r-rcpp)))
13042     (home-page "https://cran.r-project.org/web/packages/xyz/")
13043     (synopsis "Algorithm for fast interaction search in high-dimensional data")
13044     (description
13045      "High dimensional interaction search by brute force requires a quadratic
13046 computational cost in the number of variables.  The xyz algorithm provably
13047 finds strong interactions in almost linear time.  For details of the algorithm
13048 see: G. Thanei, N. Meinshausen and R. Shah (2016).  The xyz algorithm for fast
13049 interaction search in high-dimensional data.")
13050     ;; Any version of the GPL.
13051     (license license:gpl2+)))
13053 (define-public r-rttf2pt1
13054   (package
13055     (name "r-rttf2pt1")
13056     (version "1.3.7")
13057     (source
13058      (origin
13059        (method url-fetch)
13060        (uri (cran-uri "Rttf2pt1" version))
13061        (sha256
13062         (base32
13063          "12hf9r3mhjr9sawdvf7qhjf1zph2q64f77i81jwvy7awidbm0kja"))))
13064     (properties `((upstream-name . "Rttf2pt1")))
13065     (build-system r-build-system)
13066     (home-page "https://github.com/wch/Rttf2pt1")
13067     (synopsis "Font conversion utility")
13068     (description
13069      "This package contains the program @code{ttf2pt1}, for use with the
13070 @code{extrafont} package.")
13071     ;; Most of the files are covered under the Expat license.  Some files are
13072     ;; covered under BSD-3.  Deviations for individual files are recorded in
13073     ;; the LICENSE file.
13074     (license (list license:bsd-3 license:expat
13075                    (license:non-copyleft "file://LICENSE")))))
13077 (define-public r-extrafontdb
13078   (package
13079     (name "r-extrafontdb")
13080     (version "1.0")
13081     (source
13082      (origin
13083        (method url-fetch)
13084        (uri (cran-uri "extrafontdb" version))
13085        (sha256
13086         (base32
13087          "115n42hfvv5h4nn4cfkfmkmn968py4lpy8zd0d6w5yylwpzbm8gs"))))
13088     (build-system r-build-system)
13089     (home-page "https://github.com/wch/extrafontdb")
13090     (synopsis "Database for the extrafont package")
13091     (description
13092      "This package holds the database for the @code{extrafont} package.")
13093     (license license:gpl2)))
13095 (define-public r-extrafont
13096   (package
13097     (name "r-extrafont")
13098     (version "0.17")
13099     (source
13100      (origin
13101        (method url-fetch)
13102        (uri (cran-uri "extrafont" version))
13103        (sha256
13104         (base32
13105          "0b9k2n9sk23bh45hjgnkxpjyvpdrz1hx7kmxvmb4nhlhm1wpsv9g"))))
13106     (build-system r-build-system)
13107     (propagated-inputs
13108      `(("r-extrafontdb" ,r-extrafontdb)
13109        ("r-rttf2pt1" ,r-rttf2pt1)))
13110     (home-page "https://github.com/wch/extrafont")
13111     (synopsis "Tools for using fonts in R")
13112     (description
13113      "The extrafont package makes it easier to use fonts other than the basic
13114 PostScript fonts that R uses.  Fonts that are imported into extrafont can be
13115 used with PDF or PostScript output files.  There are two hurdles for using
13116 fonts in PDF (or Postscript) output files:
13118 @enumerate
13119 @item Making R aware of the font and the dimensions of the characters.
13120 @item Embedding the fonts in the PDF file so that the PDF can be displayed
13121   properly on a device that doesn't have the font.  This is usually needed if
13122   you want to print the PDF file or share it with others.
13123 @end enumerate
13125 The extrafont package makes both of these things easier.")
13126     (license license:gpl2)))
13128 (define-public r-xkcd
13129   (package
13130     (name "r-xkcd")
13131     (version "0.0.6")
13132     (source
13133      (origin
13134        (method url-fetch)
13135        (uri (cran-uri "xkcd" version))
13136        (sha256
13137         (base32
13138          "1z2y0ihn68ppay7xkglhw7djki5654g6z4bbpyy41if57z9q554f"))))
13139     (build-system r-build-system)
13140     (propagated-inputs
13141      `(("r-extrafont" ,r-extrafont)
13142        ("r-ggplot2" ,r-ggplot2)
13143        ("r-hmisc" ,r-hmisc)))
13144     (home-page "https://cran.r-project.org/web/packages/xkcd/")
13145     (synopsis "Plot ggplot2 graphics in the XKCD style")
13146     (description
13147      "This package provides the means to plot ggplot2 graphs in the style of
13148 the XKCD web comic.")
13149     (license license:gpl3)))
13151 (define-public r-msigdbr
13152   (package
13153     (name "r-msigdbr")
13154     (version "6.2.1")
13155     (source
13156      (origin
13157        (method url-fetch)
13158        (uri (cran-uri "msigdbr" version))
13159        (sha256
13160         (base32
13161          "1264j1hs74kq7hyh68vfynadfi6mdpq46qm1hnwzkzzhmbzpb9cg"))))
13162     (build-system r-build-system)
13163     (propagated-inputs
13164      `(("r-dplyr" ,r-dplyr)
13165        ("r-magrittr" ,r-magrittr)
13166        ("r-rlang" ,r-rlang)
13167        ("r-tibble" ,r-tibble)))
13168     (home-page "https://github.com/igordot/msigdbr")
13169     (synopsis "MSigDB gene sets for multiple organisms")
13170     (description
13171      "This package provides the @dfn{Molecular Signatures Database} (MSigDB)
13172 gene sets typically used with the @dfn{Gene Set Enrichment Analysis} (GSEA)
13173 software in a standard R data frame with key-value pairs.  Included are the
13174 original human gene symbols and Entrez IDs as well as the equivalents for
13175 various frequently studied model organisms such as mouse, rat, pig, fly, and
13176 yeast.")
13177     ;; The package is covered under the Expat license, but the upstream MSigDB
13178     ;; files are made available under the Creative Commons Attribution 4.0
13179     ;; International license.
13180     (license (list license:expat license:cc-by4.0))))
13182 (define-public r-gridgraphics
13183   (package
13184     (name "r-gridgraphics")
13185     (version "0.3-0")
13186     (source
13187      (origin
13188        (method url-fetch)
13189        (uri (cran-uri "gridGraphics" version))
13190        (sha256
13191         (base32
13192          "1p94flvq5h3x817pl1m0aj3sim87x6zdbpv9xrgdnqw3rxfzwgqs"))))
13193     (properties `((upstream-name . "gridGraphics")))
13194     (build-system r-build-system)
13195     (home-page "https://github.com/pmur002/gridgraphics")
13196     (synopsis "Redraw base graphics using @code{grid} graphics")
13197     (description
13198      "This package provides functions to convert a page of plots drawn with
13199 the @code{graphics} package into identical output drawn with the @code{grid}
13200 package.  The result looks like the original @code{graphics}-based plot, but
13201 consists of @code{grid} grobs and viewports that can then be manipulated with
13202 @code{grid} functions (e.g., edit grobs and revisit viewports).")
13203     (license license:gpl2+)))
13205 (define-public r-farver
13206   (package
13207     (name "r-farver")
13208     (version "1.1.0")
13209     (source
13210      (origin
13211        (method url-fetch)
13212        (uri (cran-uri "farver" version))
13213        (sha256
13214         (base32
13215          "1dllgx121al374gyp9pjv1m8ip4imm8zhbgyh1970dsz2c4z71i0"))))
13216     (build-system r-build-system)
13217     (propagated-inputs `(("r-rcpp" ,r-rcpp)))
13218     (home-page "https://github.com/thomasp85/farver")
13219     (synopsis "Vectorized color conversion and comparison")
13220     (description
13221      "The encoding of color can be handled in many different ways, using
13222 different color spaces.  As different color spaces have different uses,
13223 efficient conversion between these representations are important.  This
13224 package provides a set of functions that gives access to very fast color space
13225 conversion and comparisons implemented in C++, and offers 100-fold speed
13226 improvements over the @code{convertColor} function in the @code{grDevices}
13227 package.")
13228     (license license:expat)))
13230 (define-public r-ggplotify
13231   (package
13232     (name "r-ggplotify")
13233     (version "0.0.3")
13234     (source
13235      (origin
13236        (method url-fetch)
13237        (uri (cran-uri "ggplotify" version))
13238        (sha256
13239         (base32
13240          "14hqlpvnaq5psz1ljcpw9isa06827rg3fm5c1dx159rsjfi56yby"))))
13241     (build-system r-build-system)
13242     (propagated-inputs
13243      `(("r-ggplot2" ,r-ggplot2)
13244        ("r-gridgraphics" ,r-gridgraphics)
13245        ("r-rvcheck" ,r-rvcheck)))
13246     (home-page "https://github.com/GuangchuangYu/ggplotify")
13247     (synopsis "Convert plots to @code{grob} or @code{ggplot} object")
13248     (description
13249      "This package provides tools to convert plot function calls (using
13250 expression or formula) to @code{grob} or @code{ggplot} objects that are
13251 compatible with the @code{grid} and @code{ggplot2} environment.  With this
13252 package, we are able to e.g. use @code{cowplot} to align plots produced by
13253 @code{base} graphics, @code{grid}, @code{lattice}, @code{vcd} etc. by
13254 converting them to @code{ggplot} objects.")
13255     (license license:artistic2.0)))
13257 (define-public r-triebeard
13258   (package
13259     (name "r-triebeard")
13260     (version "0.3.0")
13261     (source
13262      (origin
13263        (method url-fetch)
13264        (uri (cran-uri "triebeard" version))
13265        (sha256
13266         (base32
13267          "1hqyz57gph02c9fdc07lxz113bbklif3g18sw8jan6pakhhdc7dz"))))
13268     (build-system r-build-system)
13269     (propagated-inputs `(("r-rcpp" ,r-rcpp)))
13270     (home-page "https://github.com/Ironholds/triebeard/")
13271     (synopsis "Radix trees in Rcpp")
13272     (description
13273      "Radix trees, or tries, are key-value data structures optimized for
13274 efficient lookups, similar in purpose to hash tables.  This package provides
13275 an implementation of radix trees for use in R programming and in developing
13276 packages with Rcpp.")
13277     (license license:expat)))
13279 (define-public r-tweenr
13280   (package
13281     (name "r-tweenr")
13282     (version "1.0.1")
13283     (source
13284      (origin
13285        (method url-fetch)
13286        (uri (cran-uri "tweenr" version))
13287        (sha256
13288         (base32
13289          "0sq90pbln6lkc2q3zflhkxxwpqdw5dd7igrxhdnlynkdrmi83mpg"))))
13290     (build-system r-build-system)
13291     (propagated-inputs
13292      `(("r-farver" ,r-farver)
13293        ("r-magrittr" ,r-magrittr)
13294        ("r-rcpp" ,r-rcpp)
13295        ("r-rlang" ,r-rlang)))
13296     (home-page "https://github.com/thomasp85/tweenr")
13297     (synopsis "Interpolate data for smooth animations")
13298     (description
13299      "In order to create smooth animation between states of data, tweening is
13300 necessary.  This package provides a range of functions for creating tweened
13301 data that can be used as basis for animation.  Furthermore it adds a number of
13302 vectorized interpolaters for common R data types such as numeric, date and
13303 color.")
13304     (license license:expat)))
13306 (define-public r-polyclip
13307   (package
13308     (name "r-polyclip")
13309     (version "1.10-0")
13310     (source
13311      (origin
13312        (method url-fetch)
13313        (uri (cran-uri "polyclip" version))
13314        (sha256
13315         (base32
13316          "0jyk4maqiblvj095jd59dr76kbniyli3v3xvy0a72ljszq6vrnkl"))))
13317     (build-system r-build-system)
13318     (native-inputs `(("pkg-config" ,pkg-config)))
13319     (home-page "http://www.angusj.com/delphi/clipper.php")
13320     (synopsis "Polygon clipping")
13321     (description
13322      "This package provides an R port of the library Clipper.  It performs
13323 polygon clipping operations (intersection, union, set minus, set difference)
13324 for polygonal regions of arbitrary complexity, including holes.  It computes
13325 offset polygons (spatial buffer zones, morphological dilations, Minkowski
13326 dilations) for polygonal regions and polygonal lines.  It computes the
13327 Minkowski Sum of general polygons.  There is a function for removing
13328 self-intersections from polygon data.")
13329     (license license:boost1.0)))
13331 (define-public r-urltools
13332   (package
13333     (name "r-urltools")
13334     (version "1.7.3")
13335     (source
13336      (origin
13337        (method url-fetch)
13338        (uri (cran-uri "urltools" version))
13339        (sha256
13340         (base32
13341          "04x3my655dd287cbsszbnf75q0swmjlxxrblcsay7a8n3df3a830"))))
13342     (build-system r-build-system)
13343     (propagated-inputs
13344      `(("r-rcpp" ,r-rcpp)
13345        ("r-triebeard" ,r-triebeard)))
13346     (home-page "https://github.com/Ironholds/urltools/")
13347     (synopsis "Vectorized tools for URL handling and parsing")
13348     (description
13349      "This package provides a toolkit for all URL-handling needs, including
13350 encoding and decoding, parsing, parameter extraction and modification.  All
13351 functions are designed to be both fast and entirely vectorized.  It is
13352 intended to be useful for people dealing with web-related datasets, such as
13353 server-side logs, although may be useful for other situations involving large
13354 sets of URLs.")
13355     (license license:expat)))
13357 (define-public r-ggforce
13358   (package
13359     (name "r-ggforce")
13360     (version "0.2.2")
13361     (source
13362      (origin
13363        (method url-fetch)
13364        (uri (cran-uri "ggforce" version))
13365        (sha256
13366         (base32
13367          "0snxx9zhcccxa7pz9pf3bjqmcmv9mz4m47v81hklnhm25jj40xg2"))))
13368     (build-system r-build-system)
13369     (propagated-inputs
13370      `(("r-ggplot2" ,r-ggplot2)
13371        ("r-gtable" ,r-gtable)
13372        ("r-mass" ,r-mass)
13373        ("r-polyclip" ,r-polyclip)
13374        ("r-rcpp" ,r-rcpp)
13375        ("r-rcppeigen" ,r-rcppeigen)
13376        ("r-rlang" ,r-rlang)
13377        ("r-scales" ,r-scales)
13378        ("r-tweenr" ,r-tweenr)))
13379     (home-page "https://ggforce.data-imaginist.com")
13380     (synopsis "Accelerating ggplot2")
13381     (description
13382      "The aim of the ggplot2 package is to aid in visual data investigations.
13383 This focus has led to a lack of facilities for composing specialized plots.
13384 Thi package aims to be a collection of mainly new statistics and geometries
13385 that fills this gap.")
13386     (license license:expat)))
13388 (define-public r-europepmc
13389   (package
13390     (name "r-europepmc")
13391     (version "0.3")
13392     (source
13393      (origin
13394        (method url-fetch)
13395        (uri (cran-uri "europepmc" version))
13396        (sha256
13397         (base32
13398          "1ngqs1sqzkbwv98dd5z4cxj8bnz41wyd0g060a2vpqi3s99s4i2h"))))
13399     (build-system r-build-system)
13400     (propagated-inputs
13401      `(("r-dplyr" ,r-dplyr)
13402        ("r-httr" ,r-httr)
13403        ("r-jsonlite" ,r-jsonlite)
13404        ("r-plyr" ,r-plyr)
13405        ("r-progress" ,r-progress)
13406        ("r-purrr" ,r-purrr)
13407        ("r-urltools" ,r-urltools)
13408        ("r-xml2" ,r-xml2)))
13409     (home-page "https://github.com/ropensci/europepmc/")
13410     (synopsis "R Interface to the Europe PubMed Central RESTful Web Service")
13411     (description
13412      "This package provides an R Client for the
13413 @url{https://europepmc.org/RestfulWebService,Europe PubMed Central RESTful Web
13414 Service}.  It gives access to both metadata on life science literature and
13415 open access full texts.  Europe PMC indexes all PubMed content and other
13416 literature sources including Agricola, a bibliographic database of citations
13417 to the agricultural literature, or Biological Patents.  In addition to
13418 bibliographic metadata, the client allows users to fetch citations and
13419 reference lists.  Links between life-science literature and other EBI
13420 databases, including ENA, PDB or ChEMBL are also accessible.")
13421     (license license:gpl3)))
13423 (define-public r-ggraph
13424   (package
13425     (name "r-ggraph")
13426     (version "1.0.2")
13427     (source
13428      (origin
13429        (method url-fetch)
13430        (uri (cran-uri "ggraph" version))
13431        (sha256
13432         (base32
13433          "0fpmp326mryd1k1qvacjadksrnhbla8h960i18lmrimzrag7692c"))))
13434     (build-system r-build-system)
13435     (propagated-inputs
13436      `(("r-digest" ,r-digest)
13437        ("r-dplyr" ,r-dplyr)
13438        ("r-ggforce" ,r-ggforce)
13439        ("r-ggplot2" ,r-ggplot2)
13440        ("r-ggrepel" ,r-ggrepel)
13441        ("r-gtable" ,r-gtable)
13442        ("r-igraph" ,r-igraph)
13443        ("r-mass" ,r-mass)
13444        ("r-plyr" ,r-plyr)
13445        ("r-rcpp" ,r-rcpp)
13446        ("r-scales" ,r-scales)
13447        ("r-viridis" ,r-viridis)))
13448     (home-page "https://cran.r-project.org/web/packages/ggraph/")
13449     (synopsis "Implementation of grammar of graphics for graphs and networks")
13450     (description
13451      "The grammar of graphics as implemented in ggplot2 is a poor fit for
13452 graph and network visualizations due to its reliance on tabular data input.
13453 The ggraph package is an extension of the ggplot2 API tailored to graph
13454 visualizations and provides the same flexible approach to building up plots
13455 layer by layer.")
13456     (license license:gpl3)))
13458 (define-public r-varselrf
13459   (package
13460     (name "r-varselrf")
13461     (version "0.7-8")
13462     (source
13463      (origin
13464        (method url-fetch)
13465        (uri (cran-uri "varSelRF" version))
13466        (sha256
13467         (base32
13468          "0h49rl1j13yfh97rsfsyh9s2c4wajny4rzms2qw77d0cavxqg53i"))))
13469     (properties `((upstream-name . "varSelRF")))
13470     (build-system r-build-system)
13471     (propagated-inputs
13472      `(("r-randomforest" ,r-randomforest)))
13473     (home-page "http://ligarto.org/rdiaz/Software/Software.html")
13474     (synopsis "Variable selection using random forests")
13475     (description
13476      "This package provides tools for the variable selection from random
13477 forests using both backwards variable elimination (for the selection of small
13478 sets of non-redundant variables) and selection based on the importance
13479 spectrum (somewhat similar to scree plots; for the selection of large,
13480 potentially highly-correlated variables).  The main applications are in
13481 high-dimensional data (e.g., microarray data, and other genomics and
13482 proteomics applications).")
13483     (license license:gpl2+)))
13485 (define-public r-pamr
13486   (package
13487     (name "r-pamr")
13488     (version "1.56.1")
13489     (source
13490      (origin
13491        (method url-fetch)
13492        (uri (cran-uri "pamr" version))
13493        (sha256
13494         (base32
13495          "0ycpgkk23y3zzkb42n2skcyl35ps1n7jmyzfj7pbxr3f6gr2grfh"))))
13496     (build-system r-build-system)
13497     (propagated-inputs
13498      `(("r-cluster" ,r-cluster)
13499        ("r-survival" ,r-survival)))
13500     (native-inputs `(("gfortran" ,gfortran)))
13501     (home-page "https://cran.r-project.org/web/packages/pamr/")
13502     (synopsis "Prediction Analysis for Microarrays")
13503     (description
13504      "This package provides some functions for sample classification in
13505 microarrays.")
13506     (license license:gpl2)))
13508 (define-public r-rda
13509   (package
13510     (name "r-rda")
13511     (version "1.0.2-2.1")
13512     (source
13513      (origin
13514        (method url-fetch)
13515        (uri (cran-uri "rda" version))
13516        (sha256
13517         (base32
13518          "1y4fawslr3i6crjaxhsdb47kfsqkyszdx6avq3r5far5a4pvc639"))))
13519     (build-system r-build-system)
13520     (home-page "https://cran.r-project.org/web/packages/rda/")
13521     (synopsis "Shrunken centroids regularized discriminant analysis")
13522     (description
13523      "This package provides tools for shrunken centroids regularized
13524 discriminant analysis for the purpose of classifying high dimensional data.")
13525     (license license:gpl2+)))
13527 (define-public r-ggvis
13528   (package
13529     (name "r-ggvis")
13530     (version "0.4.4")
13531     (source
13532      (origin
13533        (method url-fetch)
13534        (uri (cran-uri "ggvis" version))
13535        (sha256
13536         (base32
13537          "1bxggjr2313kfy895j0fvrv4bg7yh2z87907lk48i1kn5c9flchk"))))
13538     (build-system r-build-system)
13539     (propagated-inputs
13540      `(("r-assertthat" ,r-assertthat)
13541        ("r-dplyr" ,r-dplyr)
13542        ("r-htmltools" ,r-htmltools)
13543        ("r-jsonlite" ,r-jsonlite)
13544        ("r-lazyeval" ,r-lazyeval)
13545        ("r-magrittr" ,r-magrittr)
13546        ("r-shiny" ,r-shiny)))
13547     (home-page "https://ggvis.rstudio.com/")
13548     (synopsis "Interactive grammar of graphics")
13549     (description
13550      "This package is a data visualization package for R providing an
13551 implementation of an interactive grammar of graphics, taking the best parts of
13552 ggplot2, combining them with the reactive framework of Shiny and drawing web
13553 graphics using Vega.")
13554     (license license:gpl2)))
13556 (define-public r-gbm
13557   (package
13558     (name "r-gbm")
13559     (version "2.1.5")
13560     (source
13561      (origin
13562        (method url-fetch)
13563        (uri (cran-uri "gbm" version))
13564        (sha256
13565         (base32
13566          "0vs6ljaqhwwpgr8wlbhmm4v147rd82kl16rpaijqiylxcc8dxyq6"))))
13567     (build-system r-build-system)
13568     (propagated-inputs
13569      `(("r-gridextra" ,r-gridextra)
13570        ("r-lattice" ,r-lattice)
13571        ("r-survival" ,r-survival)))
13572     (home-page "https://github.com/gbm-developers/gbm")
13573     (synopsis "Generalized boosted regression models")
13574     (description
13575      "This package is an implementation of extensions to Freund and Schapire's
13576 AdaBoost algorithm and Friedman's gradient boosting machine.  It includes
13577 regression methods for least squares, absolute loss, t-distribution loss,
13578 quantile regression, logistic, multinomial logistic, Poisson, Cox proportional
13579 hazards partial likelihood, AdaBoost exponential loss, Huberized hinge loss,
13580 and Learning to Rank measures (LambdaMart).")
13581     (license license:gpl2+)))
13583 (define-public r-threejs
13584   (package
13585     (name "r-threejs")
13586     (version "0.3.1")
13587     (source
13588      (origin
13589        (method url-fetch)
13590        (uri (cran-uri "threejs" version))
13591        (sha256
13592         (base32
13593          "1s3rdlzy7man6177ycayg6xsh6k8y1r9rdj9yzn3b93j2rs0nxbi"))))
13594     (build-system r-build-system)
13595     (arguments
13596      `(#:modules ((guix build utils)
13597                   (guix build r-build-system)
13598                   (srfi srfi-1)
13599                   (ice-9 popen))
13600        #:phases
13601        (modify-phases %standard-phases
13602          (add-after 'unpack 'process-javascript
13603            (lambda* (#:key inputs #:allow-other-keys)
13604              (with-directory-excursion "inst"
13605                (call-with-values
13606                    (lambda ()
13607                      (unzip2
13608                       `((,(assoc-ref inputs "js-jquery")
13609                          "htmlwidgets/lib/jquery/jquery.min.js")
13610                         (,(assoc-ref inputs "js-threejs-85")
13611                          "htmlwidgets/lib/threejs-85/three.min.js"))))
13612                  (lambda (sources targets)
13613                    (for-each (lambda (source target)
13614                                (format #t "Processing ~a --> ~a~%"
13615                                        source target)
13616                                (delete-file target)
13617                                (let ((minified (open-pipe* OPEN_READ "uglify-js" source)))
13618                                  (call-with-output-file target
13619                                    (lambda (port)
13620                                      (dump-port minified port)))))
13621                              sources targets))))
13622              #t)))))
13623     (propagated-inputs
13624      `(("r-base64enc" ,r-base64enc)
13625        ("r-crosstalk" ,r-crosstalk)
13626        ("r-htmlwidgets" ,r-htmlwidgets)
13627        ("r-igraph" ,r-igraph)))
13628     (native-inputs
13629      `(("uglify-js" ,uglify-js)
13630        ("js-jquery"
13631         ,(origin
13632            (method url-fetch)
13633            (uri "https://code.jquery.com/jquery-3.3.1.js")
13634            (sha256
13635             (base32
13636              "1b8zxrp6xwzpw25apn8j4qws0f6sr7qr7h2va5h1mjyfqvn29anq"))))
13637        ("js-threejs-85"
13638         ,(origin
13639            (method url-fetch)
13640            (uri "https://raw.githubusercontent.com/mrdoob/three.js/r85/build/three.js")
13641            (sha256
13642             (base32
13643              "17khh3dmijdjw4qb9qih1rqhxgrmm3pc6w8lzdx6rf6a3mrc9xnl"))))))
13644     (home-page "https://bwlewis.github.io/rthreejs")
13645     (synopsis "Interactive 3D scatter plots, networks and globes")
13646     (description
13647      "Create interactive 3D scatter plots, network plots, and globes in R
13648 using the three.js visualization library.")
13649     (license license:expat)))
13651 (define-public r-mlbench
13652   (package
13653     (name "r-mlbench")
13654     (version "2.1-1")
13655     (source
13656      (origin
13657        (method url-fetch)
13658        (uri (cran-uri "mlbench" version))
13659        (sha256
13660         (base32
13661          "1rp035qxfgh5ail92zjh9jh57dj0b8babw3wsg29v8ricpal30bl"))))
13662     (build-system r-build-system)
13663     (home-page "https://cran.r-project.org/web/packages/mlbench/")
13664     (synopsis "Machine learning benchmark problems")
13665     (description
13666      "This package provides a collection of artificial and real-world machine
13667 learning benchmark problems, including, e.g., several data sets from the UCI
13668 repository.")
13669     (license license:gpl2)))
13671 (define-public r-mpm
13672   (package
13673     (name "r-mpm")
13674     (version "1.0-22")
13675     (source
13676      (origin
13677        (method url-fetch)
13678        (uri (cran-uri "mpm" version))
13679        (sha256
13680         (base32
13681          "0wijw8v0wmbfrda5564cmnp788qmlkk21yn5cp5qk8aprm9l1fnk"))))
13682     (build-system r-build-system)
13683     (propagated-inputs
13684      `(("r-kernsmooth" ,r-kernsmooth)
13685        ("r-mass" ,r-mass)))
13686     (home-page "http://mpm.r-forge.r-project.org")
13687     (synopsis "Multivariate projection methods")
13688     (description
13689      "This is a package for exploratory graphical analysis of multivariate
13690 data, specifically gene expression data with different projection methods:
13691 principal component analysis, correspondence analysis, spectral map
13692 analysis.")
13693     (license license:gpl2+)))
13695 (define-public r-png
13696   (package
13697     (name "r-png")
13698     (version "0.1-7")
13699     (source (origin
13700               (method url-fetch)
13701               (uri (cran-uri "png" version))
13702               (sha256
13703                (base32
13704                 "0g2mcp55lvvpx4kd3mn225mpbxqcq73wy5qx8b4lyf04iybgysg2"))))
13705     (build-system r-build-system)
13706     (inputs
13707      `(("libpng" ,libpng)
13708        ("zlib" ,zlib)))
13709     (home-page "http://www.rforge.net/png/")
13710     (synopsis "Read and write PNG images")
13711     (description
13712      "This package provides an easy and simple way to read, write and display
13713 bitmap images stored in the PNG format.  It can read and write both files and
13714 in-memory raw vectors.")
13715     ;; Any of these GPL versions.
13716     (license (list license:gpl2 license:gpl3))))
13718 (define-public r-ggcorrplot
13719   (package
13720     (name "r-ggcorrplot")
13721     (version "0.1.2")
13722     (source
13723      (origin
13724        (method url-fetch)
13725        (uri (cran-uri "ggcorrplot" version))
13726        (sha256
13727         (base32
13728          "12sxvd9kjgszpbk35m7fj1wv7x40bp79c0g0by1xax70r3495h93"))))
13729     (build-system r-build-system)
13730     (propagated-inputs
13731      `(("r-ggplot2" ,r-ggplot2)
13732        ("r-reshape2" ,r-reshape2)))
13733     (home-page "http://www.sthda.com/english/wiki/ggcorrplot")
13734     (synopsis "Visualization of a correlation matrix using ggplot2")
13735     (description
13736      "The ggcorrplot package can be used to visualize easily a correlation
13737 matrix using ggplot2.  It provides a solution for reordering the correlation
13738 matrix and displays the significance level on the plot.  It also includes a
13739 function for computing a matrix of correlation p-values.")
13740     (license license:gpl2)))
13742 (define-public r-flexdashboard
13743   (package
13744     (name "r-flexdashboard")
13745     (version "0.5.1.1")
13746     (source
13747      (origin
13748        (method url-fetch)
13749        (uri (cran-uri "flexdashboard" version))
13750        (sha256
13751         (base32
13752          "0fy3nbrr67zqgd44r2mc850s5sp0hzfcw3zqs15m8kxzj1aw067x"))))
13753     (build-system r-build-system)
13754     (arguments
13755      `(#:modules ((guix build utils)
13756                   (guix build r-build-system)
13757                   (srfi srfi-1)
13758                   (srfi srfi-26)
13759                   (ice-9 popen)
13760                   (ice-9 textual-ports))
13761        #:phases
13762        (modify-phases %standard-phases
13763          (add-after 'unpack 'process-javascript
13764            (lambda* (#:key inputs #:allow-other-keys)
13765              (with-directory-excursion "inst"
13766                ;; Concatenate all components of prism.js
13767                (let ((contents (string-join
13768                                 (map (lambda (name)
13769                                        (call-with-input-file
13770                                            (assoc-ref inputs name)
13771                                          get-string-all))
13772                                      (list "js-prism"
13773                                            "js-prism-r"
13774                                            "js-prism-line-numbers"))
13775                                 "\n")))
13776                  (call-with-output-file "prism-src.js"
13777                    (cut display contents <>)))
13778                (call-with-values
13779                    (lambda ()
13780                      (unzip2
13781                       `(("www/stickytableheaders/jquery.stickytableheaders.js"
13782                          "www/stickytableheaders/jquery.stickytableheaders.min.js")
13783                         ("www/sly/sly.js"
13784                          "www/sly/sly.min.js")
13785                         ("prism-src.js"
13786                          "www/prism/prism.js")
13787                         (,(assoc-ref inputs "js-raphael")
13788                          "htmlwidgets/lib/raphael/raphael-2.1.4.min.js")
13789                         (,(assoc-ref inputs "js-featherlight")
13790                          "www/featherlight/featherlight.min.js"))))
13791                  (lambda (sources targets)
13792                    (for-each (lambda (source target)
13793                                (format #t "Processing ~a --> ~a~%"
13794                                        source target)
13795                                (delete-file target)
13796                                (let ((minified (open-pipe* OPEN_READ "uglify-js" source)))
13797                                  (call-with-output-file target
13798                                    (lambda (port)
13799                                      (dump-port minified port)))))
13800                              sources targets))))
13801              #t)))))
13802     (propagated-inputs
13803      `(("r-htmltools" ,r-htmltools)
13804        ("r-htmlwidgets" ,r-htmlwidgets)
13805        ("r-jsonlite" ,r-jsonlite)
13806        ("r-knitr" ,r-knitr)
13807        ("r-rmarkdown" ,r-rmarkdown)
13808        ("r-shiny" ,r-shiny)))
13809     (native-inputs
13810      `(("uglify-js" ,uglify-js)
13811        ("js-raphael"
13812         ,(origin
13813            (method url-fetch)
13814            (uri "https://raw.githubusercontent.com/DmitryBaranovskiy/raphael/v2.1.4/raphael.js")
13815            (sha256
13816             (base32
13817              "1h4c4akrgcj7wra9j1z1rv2406j0yf68y9c0wg8v7w9ibw2iwf1x"))))
13818        ("js-prism"
13819         ,(origin
13820            (method url-fetch)
13821            (uri "https://raw.githubusercontent.com/PrismJS/prism/v1.16.0/prism.js")
13822            (sha256
13823             (base32
13824              "0gqa9irbp9k8p5r3d98cszajzhjnssnl43nrsc5aiy7ki52z500c"))))
13825        ("js-prism-r"
13826         ,(origin
13827            (method url-fetch)
13828            (uri "https://raw.githubusercontent.com/PrismJS/prism/v1.16.0/components/prism-r.js")
13829            (sha256
13830             (base32
13831              "1x31glci7wdgr2305njy0bm2lncb0jyn0j1s2g72rqi29xid9aki"))))
13832        ("js-prism-line-numbers"
13833         ,(origin
13834            (method url-fetch)
13835            (uri "https://raw.githubusercontent.com/PrismJS/prism/v1.16.0/plugins/line-numbers/prism-line-numbers.js")
13836            (sha256
13837             (base32
13838              "1543wgf3iynrilyb27jq8px3h5gvfz5xmdib5ik2ki400c1sl991"))))
13839        ("js-featherlight"
13840         ,(origin
13841            (method url-fetch)
13842            (uri "https://raw.githubusercontent.com/noelboss/featherlight/1.3.4/src/featherlight.js")
13843            (sha256
13844             (base32
13845              "14kkhwzvp8rxq2mrck5i0xcm8v5rqwqhwnmncbng8h4qq42zx3sb"))))))
13846     (home-page "https://rmarkdown.rstudio.com/flexdashboard")
13847     (synopsis "R Markdown format for flexible dashboards")
13848     (description
13849      "This package provides an R Markdown format for converting an R Markdown
13850 document to a grid-oriented dashboard.  The dashboard flexibly adapts the size
13851 of its components to the containing web page.")
13852     (license license:expat)))
13854 (define-public r-preseqr
13855   (package
13856     (name "r-preseqr")
13857     (version "4.0.0")
13858     (source
13859      (origin
13860        (method url-fetch)
13861        (uri (cran-uri "preseqR" version))
13862        (sha256
13863         (base32
13864          "1g2rnnmi45649vpy6z45v5i3wxm54s138ajqrzwi3a5r7x3xnhq1"))))
13865     (properties `((upstream-name . "preseqR")))
13866     (build-system r-build-system)
13867     (propagated-inputs
13868      `(("r-polynom" ,r-polynom)))
13869     (home-page "https://cran.r-project.org/web/packages/preseqR/")
13870     (synopsis "Predicting species accumulation curves")
13871     (description
13872      "This package can be used to predict the r-species accumulation
13873 curve (r-SAC), which is the number of species represented at least r times as
13874 a function of the sampling effort.  When r = 1, the curve is known as the
13875 species accumulation curve, or the library complexity curve in high-throughput
13876 genomic sequencing.  The package includes both parametric and nonparametric
13877 methods, as described by Deng C, et al. (2018).")
13878     (license license:gpl3)))
13880 (define-public r-mapplots
13881   (package
13882     (name "r-mapplots")
13883     (version "1.5.1")
13884     (source
13885      (origin
13886        (method url-fetch)
13887        (uri (cran-uri "mapplots" version))
13888        (sha256
13889         (base32
13890          "18s2y66f8vi8g2r8a25zbgp2xm079r8v8qxv0w71h8krycs6vs9p"))))
13891     (build-system r-build-system)
13892     (home-page "https://cran.r-project.org/web/packages/mapplots/")
13893     (synopsis "Data visualization on maps")
13894     (description
13895      "This package helps you create simple maps; add sub-plots like pie plots
13896 to a map or any other plot; format, plot and export gridded data.  The package
13897 was developed for displaying fisheries data but most functions can be used for
13898 more generic data visualisation.")
13899     (license license:gpl2+)))
13901 (define-public r-pmcmr
13902   (package
13903     (name "r-pmcmr")
13904     (version "4.3")
13905     (source
13906      (origin
13907        (method url-fetch)
13908        (uri (cran-uri "PMCMR" version))
13909        (sha256
13910         (base32
13911          "09bvdj2h1086r2cgy3myrhlylplxxlliv8nwx09c8kb1vn02i2ij"))))
13912     (properties `((upstream-name . "PMCMR")))
13913     (build-system r-build-system)
13914     (home-page "https://cran.r-project.org/web/packages/PMCMR/")
13915     (synopsis "Calculate pairwise multiple comparisons of mean rank sums")
13916     (description
13917      "This is a deprecated package for calculating pairwise multiple
13918 comparisons of mean rank sums.  This package is superseded by the novel
13919 PMCMRplus package.  The PMCMR package is no longer maintained, but kept for
13920 compatibility of reverse depending packages for some time.")
13921     (license license:gpl3+)))
13923 (define-public r-downloader
13924   (package
13925     (name "r-downloader")
13926     (version "0.4")
13927     (source
13928      (origin
13929        (method url-fetch)
13930        (uri (cran-uri "downloader" version))
13931        (sha256
13932         (base32
13933          "1axggnsc27zzgr7snf41j3zd1vp3nfpmq4zj4d01axc709dyg40q"))))
13934     (build-system r-build-system)
13935     (propagated-inputs
13936      `(("r-digest" ,r-digest)))
13937     (home-page "https://github.com/wch/downloader")
13938     (synopsis "Download files over HTTP and HTTPS")
13939     (description
13940      "This package provides a wrapper for the @code{download.file} function,
13941 making it possible to download files over HTTPS across platforms.  The
13942 @code{RCurl} package provides this functionality (and much more) but has
13943 external dependencies.  This package has is implemented purely in R.")
13944     (license license:gpl2)))
13946 (define-public r-rex
13947   (package
13948     (name "r-rex")
13949     (version "1.1.2")
13950     (source
13951      (origin
13952        (method url-fetch)
13953        (uri (cran-uri "rex" version))
13954        (sha256
13955         (base32
13956          "0alsadgjgass3wr8y5d247j12qqzg454sc84vpskclrkmz778g5x"))))
13957     (build-system r-build-system)
13958     (propagated-inputs
13959      `(("r-lazyeval" ,r-lazyeval)
13960        ("r-magrittr" ,r-magrittr)))
13961     (home-page "https://github.com/kevinushey/rex")
13962     (synopsis "Friendly regular expressions")
13963     (description
13964      "This package provides a friendly interface for the construction of
13965 regular expressions.  Regular expressions are a very powerful feature, however
13966 they are often difficult to interpret.  Rex allows you to build complex
13967 regular expressions from human readable expressions")
13968     (license license:expat)))
13970 (define-public r-sctransform
13971   (package
13972     (name "r-sctransform")
13973     (version "0.2.0")
13974     (source
13975      (origin
13976        (method url-fetch)
13977        (uri (cran-uri "sctransform" version))
13978        (sha256
13979         (base32
13980          "1r5kiqqs318q59h2i8m7c6nhghp9w6q26ss2y5a390lkhsawgx6p"))))
13981     (build-system r-build-system)
13982     (propagated-inputs
13983      `(("r-future" ,r-future)
13984        ("r-future-apply" ,r-future-apply)
13985        ("r-ggplot2" ,r-ggplot2)
13986        ("r-gridextra" ,r-gridextra)
13987        ("r-mass" ,r-mass)
13988        ("r-matrix" ,r-matrix)
13989        ("r-rcpp" ,r-rcpp)
13990        ("r-rcppeigen" ,r-rcppeigen)
13991        ("r-reshape2" ,r-reshape2)))
13992     (home-page "https://github.com/ChristophH/sctransform")
13993     (synopsis "Variance stabilizing transformations for Single Cell UMI Data")
13994     (description
13995      "This package provides a normalization method for single-cell UMI count
13996 data using a variance stabilizing transformation.  The transformation is based
13997 on a negative binomial regression model with regularized parameters.  As part
13998 of the same regression framework, this package also provides functions for
13999 batch correction, and data correction.")
14000     (license license:gpl3)))
14002 (define-public r-styler
14003   (package
14004     (name "r-styler")
14005     (version "1.1.0")
14006     (source
14007      (origin
14008        (method url-fetch)
14009        (uri (cran-uri "styler" version))
14010        (sha256
14011         (base32
14012          "1z24mi88snbz1avjw9phq0lzmigddvycc56s83nxzr9w9z85mh05"))))
14013     (build-system r-build-system)
14014     (propagated-inputs
14015      `(("r-backports" ,r-backports)
14016        ("r-cli" ,r-cli)
14017        ("r-magrittr" ,r-magrittr)
14018        ("r-purrr" ,r-purrr)
14019        ("r-rematch2" ,r-rematch2)
14020        ("r-rlang" ,r-rlang)
14021        ("r-rprojroot" ,r-rprojroot)
14022        ("r-tibble" ,r-tibble)
14023        ("r-withr" ,r-withr)
14024        ("r-xfun" ,r-xfun)))
14025     (home-page "https://github.com/r-lib/styler")
14026     (synopsis "Non-invasive pretty printing of R code")
14027     (description
14028      "This is a package for pretty-printing R code without changing the user's
14029 formatting intent.")
14030     (license license:gpl3)))