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