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