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