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