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