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