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