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