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>
13 ;;; This file is part of GNU Guix.
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.
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.
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/>.
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))
78 (uri (string-append "mirror://gnu/pspp/pspp-"
82 "1r8smr5057993h90nx0mdnff8nxw9x546zzh6qpy4h3xblp1la5s"))))
83 (build-system gnu-build-system)
86 ("gettext" ,gettext-minimal)
90 ("readline" ,readline)
92 ("gtksourceview" ,gtksourceview)
95 `(("glib" ,glib "bin") ;for glib-genmarshal
97 ("pkg-config" ,pkg-config)))
98 (home-page "https://www.gnu.org/software/pspp/")
99 (synopsis "Statistical analysis")
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+)))
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
118 (uri (string-append "mirror://cran/src/base/R-"
119 (version-major version) "/R-"
123 "09pl0w01fr09bsrwd7nz2r5psysj0z93w4chz3hm2havvqqvhg3s"))))
124 (build-system gnu-build-system)
126 `(#:disallowed-references (,tzdata-2017a)
128 (list (string-append "LDFLAGS=-Wl,-rpath="
129 (assoc-ref %outputs "out")
131 ;; This affects the embedded timestamp of only the core packages.
132 "PKG_BUILT_STAMP=1970-01-01")
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"))
142 (add-before 'configure 'patch-uname
143 (lambda* (#:key inputs #:allow-other-keys)
144 (let ((uname-bin (string-append (assoc-ref inputs "coreutils")
146 (substitute* "src/scripts/R.sh.in"
147 (("uname") uname-bin)))
149 (add-after 'unpack 'build-reproducibly
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)"))
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\")"))
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")))
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.
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 "
183 (substitute* "src/library/tools/Makefile.in"
184 (("@\\$\\(INSTALL_DATA\\) all.R \\$\\(top_builddir\\)/library/\\$\\(pkg\\)/R/\\$\\(pkg\\)" line)
187 "\n find $(srcdir)/$(pkg) $(top_builddir)/library/$(pkg) | xargs touch -d \"1970-01-01\"; \n")))
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')\"")))
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"))))
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")
214 (string-append (assoc-ref inputs "tzdata")
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")))))
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
226 "--without-recommended-packages"
228 "--with-blas=-lopenblas"
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.
244 ;; As the JDK is a rather large input with only very limited effects on R,
245 ;; we decided to drop it.
249 ("pkg-config" ,pkg-config)
250 ("texinfo" ,texinfo) ; for building HTML manuals
251 ("tzdata" ,tzdata-2017a)
254 `(;; We need not only cairo here, but pango to ensure that tests for the
255 ;; "cairo" bitmapType plotting backend succeed.
257 ("coreutils" ,coreutils)
259 ("openblas" ,openblas)
260 ("gfortran" ,gfortran)
267 ("readline" ,readline)
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")
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+)))
285 (define-public rmath-standalone
286 (package (inherit r-minimal)
287 (name "rmath-standalone")
290 (modify-phases %standard-phases
291 (add-after 'configure 'chdir
292 (lambda _ (chdir "src/nmath/standalone/") #t)))))
293 (synopsis "Standalone R math library")
295 "This package provides the R math library as an independent package.")))
297 (define-public r-boot
304 (uri (cran-uri "boot" version))
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")
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"))))
318 (define-public r-mass
325 (uri (cran-uri "MASS" version))
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")
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))))
339 (define-public r-class
346 (uri (cran-uri "class" version))
349 "173b8a16lh1i0zjmr784l0xr0azp9v8bgslh12hfdswbq7dpdf0q"))))
350 (build-system r-build-system)
352 `(("r-mass" ,r-mass)))
353 (home-page "http://www.stats.ox.ac.uk/pub/MASS4/")
354 (synopsis "R functions for classification")
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))))
361 (define-public r-cluster
368 (uri (cran-uri "cluster" version))
371 "1z4gbz7chxxi4ly6c0yjlikwgf8aa8dlg05cn5cd6pjr21zvh97l"))))
372 (build-system r-build-system)
374 `(("gfortran" ,gfortran)))
375 (home-page "https://cran.r-project.org/web/packages/cluster")
376 (synopsis "Methods for cluster analysis")
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+)))
383 (define-public r-codetools
390 (uri (cran-uri "codetools" version))
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+))))
402 (define-public r-foreign
409 (uri (cran-uri "foreign" version))
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")
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+)))
422 (define-public r-kernsmooth
424 (name "r-kernsmooth")
429 (uri (cran-uri "KernSmooth" version))
432 "1xhha8kw10jv8pv8b61hb5in9qiw3r2a9kdji3qlm991s4zd4wlb"))))
433 (properties `((upstream-name . "KernSmooth")))
434 (build-system r-build-system)
436 `(("gfortran" ,gfortran)))
437 (home-page "https://cran.r-project.org/web/packages/KernSmooth")
438 (synopsis "Functions for kernel smoothing")
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"))))
446 (define-public r-lattice
452 (uri (cran-uri "lattice" version))
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")
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+)))
466 (define-public r-matrix
473 (uri (cran-uri "Matrix" version))
476 "1wm45hg4x5ay15y03k6rmgkd1n9r01da72mszk24vafwd7pimr8n"))))
477 (properties `((upstream-name . "Matrix")))
478 (build-system r-build-system)
480 `(("r-lattice" ,r-lattice)))
481 (home-page "http://Matrix.R-forge.R-project.org/")
482 (synopsis "Sparse and dense matrix classes and methods")
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+)))
488 (define-public r-nlme
495 (uri (cran-uri "nlme" version))
498 "0k2nvdzhic6bzhfsbq6la6q6a1i5nlj4pnh6lpdxiiwvxdks3nkr"))))
499 (build-system r-build-system)
501 `(("r-lattice" ,r-lattice)))
503 `(("gfortran" ,gfortran)))
504 (home-page "https://cran.r-project.org/web/packages/nlme")
505 (synopsis "Linear and nonlinear mixed effects models")
507 "This package provides tools to fit and compare Gaussian linear and
508 nonlinear mixed-effects models.")
509 (license license:gpl2+)))
511 (define-public r-mgcv
518 (uri (cran-uri "mgcv" version))
521 "1lsrhf1yzn25pfn3f5x8yxjqnfryim4jx3iqd7ah8aalh5asqwbp"))))
522 (build-system r-build-system)
524 `(("r-matrix" ,r-matrix)
526 (home-page "https://cran.r-project.org/web/packages/mgcv")
527 (synopsis "Mixed generalised additive model computation")
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+)))
535 (define-public r-nnet
542 (uri (cran-uri "nnet" version))
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")
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+))))
554 (define-public r-rpart
561 (uri (cran-uri "rpart" version))
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")
569 "This package provides recursive partitioning functions for
570 classification, regression and survival trees.")
571 (license (list license:gpl2+ license:gpl3+))))
573 (define-public r-spatial
580 (uri (cran-uri "spatial" version))
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")
588 "This package provides functions for kriging and point pattern
590 ;; Either version may be picked.
591 (license (list license:gpl2 license:gpl3))))
593 (define-public r-survival
600 (uri (cran-uri "survival" version))
603 "07cnr0hnki6ybbjll54l4s5lllhk19vni5f8m0mvsfp99ls7qygk"))))
604 (build-system r-build-system)
606 `(("r-matrix" ,r-matrix)))
607 (home-page "https://github.com/therneau/survival")
608 (synopsis "Survival analysis")
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+)))
616 (package (inherit r-minimal)
619 (build-system trivial-build-system)
620 (arguments '(#:builder (mkdir %output)))
622 `(("r-minimal" ,r-minimal)
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)
631 ("r-matrix" ,r-matrix)
636 ("r-spatial" ,r-spatial)
637 ("r-survival" ,r-survival)))))
646 (uri (cran-uri "bit" version))
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")
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)))
660 (define-public r-bit64
667 (uri (cran-uri "bit64" version))
670 "07znvz9vp1nz1y5ljng4qyskvm943cdbmy996s67560ijxzsm6kv"))))
671 (build-system r-build-system)
674 (home-page "http://ff.r-forge.r-project.org/")
675 (synopsis "S3 class for vectors of 64 bit integers")
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
684 (license license:gpl2)))
686 (define-public r-dichromat
693 (uri (cran-uri "dichromat" version))
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")
700 "Dichromat collapses red-green or green-blue distinctions to simulate the
701 effects of different types of color-blindness.")
702 (license license:gpl2+)))
704 (define-public r-digest
711 (uri (cran-uri "digest" version))
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.
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")
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.
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+)))
734 (define-public r-estimability
736 (name "r-estimability")
740 (uri (cran-uri "estimability" version))
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+)))
752 (define-public r-pheatmap
759 (uri (cran-uri "pheatmap" version))
762 "1ik0k69kb4n7xl3bkx4p09kw08ri93855zcsxq1c668171jqfiji"))))
763 (build-system r-build-system)
765 `(("r-gtable" ,r-gtable)
766 ("r-rcolorbrewer" ,r-rcolorbrewer)
767 ("r-scales" ,r-scales)))
769 "https://cran.r-project.org/web/packages/pheatmap")
770 (synopsis "Pretty heatmaps")
772 "This package provides an implementation of heatmaps that offers more
773 control over dimensions and appearance.")
774 (license license:gpl2+)))
776 (define-public r-labeling
783 (uri (cran-uri "labeling" version))
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
791 (license license:expat)))
793 (define-public r-magrittr
800 (uri (cran-uri "magrittr" version))
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")
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)))
814 (define-public r-munsell
821 (uri (cran-uri "munsell" version))
823 (base32 "0jdxlbjslkzaqgp058da1cgm85qvqi09wpcgpvp4hvwnmy83qz1r"))))
824 (build-system r-build-system)
826 `(("r-colorspace" ,r-colorspace)))
827 (home-page "https://cran.r-project.org/web/packages/munsell")
828 (synopsis "Munsell colour system")
830 "The Munsell package contains Functions for exploring and using the
831 Munsell colour system.")
832 (license license:expat)))
834 (define-public r-permute
841 (uri (cran-uri "permute" version))
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")
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+)))
857 (define-public r-plyr
864 (uri (cran-uri "plyr" version))
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")
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)))
879 (define-public r-proto
886 (uri (cran-uri "proto" version))
888 (base32 "1l843p8vckjckdhgv37ngv47fga5jzy0n00pmipvp05nnaixk54j"))))
889 (build-system r-build-system)
890 (home-page "https://github.com/hadley/proto")
891 (synopsis "Prototype object-based programming")
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+)))
897 (define-public r-rcolorbrewer
899 (name "r-rcolorbrewer")
904 (uri (cran-uri "RColorBrewer" version))
906 (base32 "1pfcl8z1pnsssfaaz9dvdckyfnnc6rcq56dhislbf571hhg7isgk"))))
907 (build-system r-build-system)
908 (home-page "https://cran.r-project.org/web/packages/RColorBrewer")
909 (synopsis "ColorBrewer palettes")
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)))
916 (define-public r-sendmailr
923 (uri (cran-uri "sendmailR" version))
926 "0z7ipywnzgkhfvl4zb2fjwl1xq7b5wib296vn9c9qgbndj6b1zh4"))))
927 (properties `((upstream-name . "sendmailR")))
928 (build-system r-build-system)
930 `(("r-base64enc" ,r-base64enc)))
932 "https://cran.r-project.org/web/packages/sendmailR")
933 (synopsis "Send email using R")
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+)))
939 (define-public r-stringi
946 (uri (cran-uri "stringi" version))
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")
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)))
965 (define-public r-stringr
972 (uri (cran-uri "stringr" version))
974 (base32 "16hj2rmv8x03lp6cp2jk0k2plibvbggf444kp05przdvd03v7l31"))))
975 (build-system r-build-system)
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")
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+)))
989 (define-public r-reshape2
996 (uri (cran-uri "reshape2" version))
998 (base32 "03ki5ka1dj208fc0dclbm0b4xp9d769pah2j9cs34l776p4r9zwa"))))
999 (build-system r-build-system)
1001 `(("r-plyr" ,r-plyr)
1003 ("r-stringr" ,r-stringr)))
1004 (home-page "https://github.com/hadley/reshape")
1005 (synopsis "Flexibly reshape data: a reboot of the \"reshape\" package")
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)))
1011 (define-public r-scales
1018 (uri (cran-uri "scales" version))
1020 (base32 "0zg9wfzmsdjxpbld0nzv7hcpq5r0wazqxmn7grvvif2agj0w1z6v"))))
1021 (build-system r-build-system)
1023 `(("r-dichromat" ,r-dichromat)
1024 ("r-labeling" ,r-labeling)
1025 ("r-munsell" ,r-munsell)
1027 ("r-rcolorbrewer" ,r-rcolorbrewer)
1030 ("r-viridislite" ,r-viridislite)))
1031 (home-page "https://github.com/hadley/scales")
1032 (synopsis "Scale functions for visualization")
1034 "This package provides graphical scales that map data to aesthetics, and
1035 provides methods for automatically determining breaks and labels for axes and
1037 (license license:expat)))
1039 (define-public r-ggplot2
1046 (uri (cran-uri "ggplot2" version))
1048 (base32 "0543782ddv2hp6s0l702mnxfg8n7a6qlbm8bm55x22hnqgz8kg2z"))))
1049 (build-system r-build-system)
1051 `(("r-digest" ,r-digest)
1052 ("r-gtable" ,r-gtable)
1054 ("r-lazyeval" ,r-lazyeval)
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")
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+)))
1071 (define-public r-ggdendro
1077 (uri (cran-uri "ggdendro" version))
1080 "1zzq1hxd0d1qa5hrzwfkdw6fzscpcafbwbpkrb62dm559y8awp0j"))))
1081 (build-system r-build-system)
1083 `(("r-ggplot2" ,r-ggplot2)
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+)))
1097 (define-public r-gdtools
1104 (uri (cran-uri "gdtools" version))
1107 "103wnc8sq0iwcnj4j14hd420d2dqdyf13s3f25icsznrlyzdkhf5"))))
1108 (build-system r-build-system)
1110 `(("r-rcpp" ,r-rcpp)
1111 ("pkg-config" ,pkg-config)))
1113 `(("cairo" ,cairo)))
1115 `(("r-withr" ,r-withr)))
1116 (home-page "https://cran.r-project.org/web/packages/gdtools")
1117 (synopsis "Utilities for graphical rendering")
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)))
1123 (define-public r-svglite
1130 (uri (cran-uri "svglite" version))
1133 "1bws3lc4hlhln11zd7lalhiyc43yk6c6vrzy41fkxk1dkjazfx51"))))
1134 (build-system r-build-system)
1135 (native-inputs `(("r-rcpp" ,r-rcpp)))
1138 ("r-gdtools" ,r-gdtools)))
1139 (home-page "https://github.com/hadley/svglite")
1140 (synopsis "SVG graphics device")
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+)))
1148 (define-public r-assertthat
1150 (name "r-assertthat")
1154 (uri (cran-uri "assertthat" version))
1157 "1wp5znk3xy338x6hknppk702jn596yr735d9i7c3wabm3sdzfgnp"))))
1158 (build-system r-build-system)
1159 (home-page "https://github.com/hadley/assertthat")
1160 (synopsis "Easy pre and post assertions")
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
1166 (license license:gpl3+)))
1168 (define-public r-lazyeval
1174 (uri (cran-uri "lazyeval" version))
1177 "0q9zx78ncy2ffzrf9sh053069kd3w1xn1ss3gsbyf3y4jhza9cw3"))))
1178 (build-system r-build-system)
1179 (home-page "https://github.com/hadley/lazyeval")
1180 (synopsis "Lazy (non-standard) evaluation in R")
1182 "This package provides the tools necessary to do non-standard
1183 evaluation (NSE) in R.")
1184 (license license:gpl3+)))
1186 (define-public r-dbi
1192 (uri (cran-uri "DBI" version))
1195 "04fyrxdpqcygg5wviy637y6lgk64xqjjq31lvv4hwqj5kbaxamr5"))))
1196 (build-system r-build-system)
1197 (home-page "https://github.com/rstats-db/DBI")
1198 (synopsis "R database interface")
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+)))
1209 (version "1.65.0-1")
1212 (uri (cran-uri "BH" version))
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")
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)))
1224 (define-public r-evaluate
1230 (uri (cran-uri "evaluate" version))
1233 "070vvmnbdlp7sz2zhza7fhd2a6mlwiln8fn4hyzhsiizbn4n79y9"))))
1234 (build-system r-build-system)
1236 `(("r-stringr" ,r-stringr)))
1237 (home-page "https://github.com/hadley/evaluate")
1238 (synopsis "Parsing and evaluation tools for R")
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+)))
1246 (define-public r-formatr
1252 (uri (cran-uri "formatR" version))
1255 "19sd23vgs4ac0fwlw40j3676k6mramb0ajlq8hdw23kjwdx1jk47"))))
1256 (build-system r-build-system)
1257 (home-page "http://yihui.name/formatR")
1258 (synopsis "Format R code automatically")
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+)))
1266 (define-public r-highr
1272 (uri (cran-uri "highr" version))
1275 "0n9v44dxdy5fhkdmpbpa2p78whyd9z3rhhy42ipdz5m5vsr55qa3"))))
1276 (build-system r-build-system)
1277 (home-page "https://github.com/yihui/highr")
1278 (synopsis "Syntax highlighting for R source code")
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+)))
1285 (define-public r-mime
1291 (uri (cran-uri "mime" version))
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")
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)))
1303 (define-public r-markdown
1309 (uri (cran-uri "markdown" version))
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
1318 (arguments `(#:tests? #f))
1320 `(("r-mime" ,r-mime)))
1321 (home-page "https://github.com/rstudio/markdown")
1322 (synopsis "Markdown rendering for R")
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)))
1329 (define-public r-yaml
1335 (uri (cran-uri "yaml" version))
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")
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)))
1347 (define-public r-knitr
1353 (uri (cran-uri "knitr" version))
1356 "1gyj9bw90h4h9rc9k1iqrnzirm2f8mj45zi8bkjc6rp610vlh63j"))))
1357 (build-system r-build-system)
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")
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+
1372 (license license:gpl2+)))
1374 (define-public r-knitrbootstrap
1376 (name "r-knitrbootstrap")
1381 (uri (cran-uri "knitrBootstrap" version))
1384 "089147g7nqp99rwdxxsfmklsrwc8aia09sr8ndmrc335r33v6r6p"))))
1385 (properties `((upstream-name . "knitrBootstrap")))
1386 (build-system r-build-system)
1388 `(("r-knitr" ,r-knitr)
1389 ("r-rmarkdown" ,r-rmarkdown)))
1390 (home-page "https://github.com/jimhester/knitrBootstrap")
1391 (synopsis "Knitr bootstrap framework")
1393 "This package provides a framework to create Bootstrap 3 HTML reports
1394 from knitr Rmarkdown.")
1395 (license license:expat)))
1397 (define-public r-microbenchmark
1399 (name "r-microbenchmark")
1403 (uri (cran-uri "microbenchmark" version))
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")
1411 "This package provides infrastructure to accurately measure and compare
1412 the execution time of R expressions.")
1413 (license license:bsd-2)))
1415 (define-public r-pryr
1421 (uri (cran-uri "pryr" version))
1424 "1b1rcywq9sqzgjsnh3ynnx16gp41n94kkzfalm3y4kyy3ls8ikba"))))
1425 (build-system r-build-system)
1427 `(("r-stringr" ,r-stringr)
1428 ("r-codetools" ,r-codetools)))
1430 `(("r-rcpp" ,r-rcpp)))
1431 (home-page "https://github.com/hadley/pryr")
1432 (synopsis "Tools for computing on the R language")
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)))
1438 (define-public r-memoise
1444 (uri (cran-uri "memoise" version))
1447 "034qfc2xlh30x1q2vya239w34a3ir3y2fwnx2agbgbi6592zjxmj"))))
1448 (build-system r-build-system)
1450 `(("r-digest" ,r-digest)))
1451 (home-page "https://github.com/hadley/memoise")
1452 (synopsis "Memoise functions for R")
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)))
1458 (define-public r-crayon
1464 (uri (cran-uri "crayon" version))
1467 "0s7s6vc3ww8pzanpjisym4jjvwcc5pi2qg8srx7jqlz9j3wrnvpw"))))
1468 (build-system r-build-system)
1470 `(("r-memoise" ,r-memoise)))
1471 (home-page "https://github.com/gaborcsardi/crayon")
1472 (synopsis "Colored terminal output for R")
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)))
1481 (define-public r-praise
1488 (uri (cran-uri "praise" version))
1491 "1gfyypnvmih97p2r0php9qa39grzqpsdbq5g0fdsbpq5zms5w0sw"))))
1492 (build-system r-build-system)
1493 (home-page "https://github.com/gaborcsardi/praise")
1494 (synopsis "Functions to praise users")
1496 "This package provides template functions to assist in building friendly
1497 R packages that praise their users.")
1498 (license license:expat)))
1500 (define-public r-testthat
1506 (uri (cran-uri "testthat" version))
1509 "155l53kb69jga5d8c5nvdwqlvlgfmk4vzyyl4d0108j53jnlgh1v"))))
1510 (build-system r-build-system)
1513 ("r-crayon" ,r-crayon)
1514 ("r-digest" ,r-digest)
1515 ("r-magrittr" ,r-magrittr)
1516 ("r-praise" ,r-praise)
1518 ("r-rlang" ,r-rlang)
1519 ("r-withr" ,r-withr)))
1520 (home-page "https://github.com/hadley/testthat")
1521 (synopsis "Unit testing for R")
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)))
1533 (uri (cran-uri "R6" version))
1536 "13xfdr19ca7ymisidsanm6w7hsk3qmy5l8c0mlz3nk48f7s5cxq8"))))
1537 (build-system r-build-system)
1538 (home-page "https://github.com/wch/R6/")
1539 (synopsis "Classes with reference semantics in R")
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)))
1549 (define-public r-rlang
1555 (uri (cran-uri "rlang" version))
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)))
1567 (define-public r-tibble
1574 (uri (cran-uri "tibble" version))
1577 "05svbjkm1xqv56ybjgsqqg2pp8nn6hams1yxcr8aanbhzx9h6rqi"))))
1578 (build-system r-build-system)
1580 `(("r-rlang" ,r-rlang)
1582 ("r-crayon" ,r-crayon)
1583 ("r-pillar" ,r-pillar)))
1584 (home-page "https://github.com/hadley/tibble")
1585 (synopsis "Simple data frames")
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)))
1591 (define-public r-dplyr
1597 (uri (cran-uri "dplyr" version))
1600 "1hm8ml7yaraag1ak6kvz2mxx6if568c759ix8a1n9d7va03wj7vv"))))
1601 (build-system r-build-system)
1603 `(("r-assertthat" ,r-assertthat)
1605 ("r-magrittr" ,r-magrittr)
1606 ("r-rlang" ,r-rlang)
1607 ("r-plogr" ,r-plogr)
1609 ("r-pkgconfig" ,r-pkgconfig)
1610 ("r-bindrcpp" ,r-bindrcpp)
1611 ("r-tibble" ,r-tibble)))
1613 `(("r-rcpp" ,r-rcpp)
1615 (home-page "https://github.com/hadley/dplyr")
1616 (synopsis "Tools for working with data frames in R")
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
1625 (license license:expat)))
1627 (define-public r-dbplyr
1634 (uri (cran-uri "dbplyr" version))
1637 "17br61mhssi2pm6v8604f89ykglng3qp9ymfzmhw10cary6zm982"))))
1638 (build-system r-build-system)
1640 `(("r-assertthat" ,r-assertthat)
1642 ("r-dplyr" ,r-dplyr)
1644 ("r-purrr" ,r-purrr)
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")
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)))
1658 (define-public r-acepack
1665 (uri (cran-uri "acepack" version))
1668 "1f98rpfjmhd92rdc3j004plyfpjailz6j0ycysbac0kgj83haxc2"))))
1669 (build-system r-build-system)
1671 `(("gfortran" ,gfortran)))
1672 (home-page "https://cran.r-project.org/web/packages/acepack")
1673 (synopsis "Functions for regression transformations")
1675 "This package provides ACE and AVAS methods for choosing regression
1677 (license license:expat)))
1679 (define-public r-formula
1686 (uri (cran-uri "Formula" version))
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")
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
1699 (license (list license:gpl2+ license:gpl3+))))
1701 (define-public r-locfit
1708 (uri (cran-uri "locfit" version))
1711 "0lafrmq1q7x026m92h01hc9cjjiximqqi3v1g2hw7ai9vf7i897m"))))
1712 (build-system r-build-system)
1714 `(("r-lattice" ,r-lattice)))
1715 (home-page "https://cran.r-project.org/web/packages/locfit")
1716 (synopsis "Local regression, likelihood and density estimation")
1718 "This package provides functions used for local regression, likelihood
1719 and density estimation.")
1720 (license (list license:gpl2+ license:gpl3+))))
1722 (define-public r-chron
1728 (uri (cran-uri "chron" version))
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")
1736 "This package provides chronological R objects which can handle dates and
1738 (license license:gpl2)))
1740 (define-public r-data-table
1742 (name "r-data-table")
1743 (version "1.10.4-3")
1746 (uri (cran-uri "data.table" version))
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")
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+)))
1760 (define-public r-xtable
1767 (uri (cran-uri "xtable" version))
1770 "0398qkpvlw3dv0myz4mjcyqwpwc2m31l127r8vdzwc71wb6s28qn"))))
1771 (build-system r-build-system)
1773 `(("r-knitr" ,r-knitr)))
1774 (home-page "http://xtable.r-forge.r-project.org/")
1775 (synopsis "Export R tables to LaTeX or HTML")
1777 "This package provides tools to export R data as LaTeX and HTML tables.")
1778 (license license:gpl2+)))
1780 (define-public python-patsy
1782 (name "python-patsy")
1786 (uri (pypi-uri "patsy" version ".zip"))
1789 "1m6knyq8hbqlx242y4da02j0x86j4qggs1j7q186w3jv0j0c476w"))))
1790 (build-system python-build-system)
1793 (modify-phases %standard-phases
1794 (replace 'check (lambda _ (zero? (system* "nosetests" "-v")))))))
1796 `(("python-numpy" ,python-numpy)
1797 ("python-scipy" ,python-scipy)
1798 ("python-six" ,python-six)))
1800 `(("python-nose" ,python-nose)
1802 (home-page "https://github.com/pydata/patsy")
1803 (synopsis "Describe statistical models and build design matrices")
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))))
1812 (define-public python2-patsy
1813 (package-with-python2 python-patsy))
1815 (define-public python-statsmodels
1817 (name "python-statsmodels")
1822 (uri (pypi-uri "statsmodels" version))
1825 "0j30v3932shnj9368c9jr3svkyrvfj90h2l7nxnqkbpv0svilhr6"))
1826 (patches (search-patches "python-statsmodels-fix-tests.patch"))))
1827 (build-system python-build-system)
1830 (modify-phases %standard-phases
1831 ;; tests must be run after installation
1833 (add-after 'unpack 'set-matplotlib-backend-to-agg
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');"
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"
1851 "-v" "statsmodels"))))))))
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)))
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")
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)))
1870 (define-public python2-statsmodels
1871 (let ((stats (package-with-python2 python-statsmodels)))
1872 (package (inherit stats)
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))))))
1881 (define-public r-coda
1887 (uri (cran-uri "coda" version))
1890 "14a4a8df4ygj05h37chmdn8kzcqs07fpbflxfrq530563mrza7yl"))))
1891 (build-system r-build-system)
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
1900 (license license:gpl2+)))
1902 (define-public r-ade4
1909 (uri (cran-uri "ade4" version))
1912 "0zk81x0yn30gbyc0jpzyw1nxd08ccihl6vyk0ijvj3aw3nr5flc6"))))
1913 (build-system r-build-system)
1915 `(("r-mass" ,r-mass)))
1916 (home-page "http://pbil.univ-lyon1.fr/ADE-4")
1917 (synopsis "Multivariate data analysis and graphical display")
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+)))
1923 (define-public r-xml2
1930 (uri (cran-uri "xml2" version))
1933 "154lmksfiwkhnlmryas25mjhfg6k4mmnnk7bbb29mnn5x5pr2yha"))))
1934 (build-system r-build-system)
1936 `(("libxml2" ,libxml2)
1939 `(("pkg-config" ,pkg-config)))
1941 `(("r-rcpp" ,r-rcpp)))
1942 (home-page "https://github.com/hadley/xml2")
1943 (synopsis "Parse XML with R")
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+)))
1949 (define-public r-multitaper
1951 (name "r-multitaper")
1956 (uri (cran-uri "multitaper" version))
1959 "04wd9bbhyx7697pfy0fpj02v1csr48hkpqj62h9p8a6w84ji4k68"))))
1960 (build-system r-build-system)
1962 `(("gfortran" ,gfortran)))
1963 (home-page "https://github.com/wesleyburr/multitaper/")
1964 (synopsis "Multitaper spectral analysis tools")
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+)))
1975 (define-public r-rversions
1977 (name "r-rversions")
1981 (uri (cran-uri "rversions" version))
1984 "0i2gi05nrvknr7g89rbppkswyfcwwd4r9gp75fdfhpah8sgq1l11"))))
1985 (build-system r-build-system)
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'")
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)))
1997 (define-public r-whisker
2003 (uri (cran-uri "whisker" version))
2006 "0z4cn115gxcl086d6bnqr8afi67b6a7xqg6ivmk3l4ng1x8kcj28"))))
2007 (build-system r-build-system)
2008 (home-page "https://github.com/edwindj/whisker")
2009 (synopsis "Logicless mustache templating for R")
2011 "This package provides logicless templating, with a syntax that is not
2013 (license license:gpl3+)))
2015 (define-public r-backports
2017 (name "r-backports")
2022 (uri (cran-uri "backports" version))
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")
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
2036 (license license:gpl2+)))
2038 (define-public r-checkmate
2040 (name "r-checkmate")
2045 (uri (cran-uri "checkmate" version))
2048 "1q6igk50lq4fp5d3imgcn1j063h3gsp214ra4nlf534hf4wjlkg9"))))
2049 (build-system r-build-system)
2051 `(("r-backports" ,r-backports)))
2052 (home-page "https://github.com/mllg/checkmate")
2053 (synopsis "Fast and versatile argument checks")
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)))
2060 (define-public r-bbmisc
2067 (uri (cran-uri "BBmisc" version))
2070 "1lh1n4bvxzivb5rbz69mvd8xdgr3gr2bnqd68a39sd1530l8r90y"))))
2071 (properties `((upstream-name . "BBmisc")))
2072 (build-system r-build-system)
2074 `(("r-checkmate" ,r-checkmate)))
2075 (home-page "https://github.com/berndbischl/BBmisc")
2076 (synopsis "Miscellaneous functions for R package development")
2078 "This package provides miscellaneous helper functions for the development
2080 (license license:bsd-3)))
2082 (define-public r-fail
2089 (uri (cran-uri "fail" version))
2092 "0vfm6kmpmgsamda5p0sl771kbnsscan31l2chzssyw93kwmams7d"))))
2093 (build-system r-build-system)
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)")
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)))
2104 (define-public r-batchjobs
2106 (name "r-batchjobs")
2111 (uri (cran-uri "BatchJobs" version))
2114 "035658marnw57p4f38g99rwmvmb6hpbq0fhlxp3qbw22zfnnkvs9"))))
2115 (properties `((upstream-name . "BatchJobs")))
2116 (build-system r-build-system)
2118 `(("r-backports" ,r-backports)
2119 ("r-bbmisc" ,r-bbmisc)
2121 ("r-checkmate" ,r-checkmate)
2122 ("r-data-table" ,r-data-table)
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")
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)))
2136 (define-public r-brew
2142 (uri (cran-uri "brew" version))
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")
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+)))
2155 (define-public r-desc
2162 (uri (cran-uri "desc" version))
2165 "0k07qighac1xzmm8k988zi7i88a0yfvia3gk5hbz0fyvb2v9kzrj"))))
2166 (build-system r-build-system)
2168 `(("r-assertthat" ,r-assertthat)
2169 ("r-crayon" ,r-crayon)
2171 ("r-rprojroot" ,r-rprojroot)))
2172 (home-page "https://github.com/r-pkgs/desc")
2173 (synopsis "Manipulate DESCRIPTION Files")
2175 "This package provides tools to read, write, create, and manipulate
2176 DESCRIPTION files. It is intended for packages that create or manipulate
2178 (license license:expat)))
2180 (define-public r-commonmark
2182 (name "r-commonmark")
2187 (uri (cran-uri "commonmark" version))
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")
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)))
2203 (define-public r-roxygen2
2209 (uri (cran-uri "roxygen2" version))
2212 "0xpzziminf225kjwhyl51kgkzhplyzhk5farhf5s822krl2xqbfj"))))
2213 (build-system r-build-system)
2215 `(("r-brew" ,r-brew)
2216 ("r-commonmark" ,r-commonmark)
2218 ("r-digest" ,r-digest)
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")
2227 "Roxygen2 is a Doxygen-like in-source documentation system for Rd,
2228 collation, and NAMESPACE files.")
2229 (license license:gpl2+)))
2231 (define-public r-openssl
2238 (uri (cran-uri "openssl" version))
2241 "1j8smqrb79lnaf2n9icksjiy641fcazsbkhmgg916s3nnyjngjz3"))))
2242 (build-system r-build-system)
2244 `(("libressl" ,libressl)))
2245 (home-page "https://github.com/jeroenooms/openssl")
2246 (synopsis "Toolkit for encryption, signatures and certificates")
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
2258 (license license:expat)))
2260 (define-public r-httr
2266 (uri (cran-uri "httr" version))
2269 "0n7jz2digbgv48rbr9vmzv4vmf4rahl9jjy31izs7sxj4rs4s4r2"))))
2270 (build-system r-build-system)
2272 `(("r-curl" ,r-curl)
2273 ("r-jsonlite" ,r-jsonlite)
2274 ("r-openssl" ,r-openssl)
2277 (home-page "https://github.com/hadley/httr")
2278 (synopsis "Tools for working with URLs and HTTP")
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)))
2286 (define-public r-git2r
2292 (uri (cran-uri "git2r" version))
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.
2301 `(("libssh2" ,libssh2)
2302 ("openssl" ,openssl)
2304 (home-page "https://github.com/ropensci/git2r")
2305 (synopsis "Access Git repositories with R")
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)))
2312 (define-public r-rstudioapi
2314 (name "r-rstudioapi")
2318 (uri (cran-uri "rstudioapi" version))
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")
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)))
2330 (define-public r-devtools
2336 (uri (cran-uri "devtools" version))
2339 "1az1qf50vyhm4w6k2a6wqw3pqc8jv2iqzdhs36cg079hx9swm0mb"))))
2340 (build-system r-build-system)
2342 `(("r-digest" ,r-digest)
2343 ("r-git2r" ,r-git2r)
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+)))
2356 (define-public r-withr
2362 (uri (cran-uri "withr" version))
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")
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+)))
2375 (define-public r-hms
2382 (uri (cran-uri "hms" version))
2385 "0vr7k3a7k52a5yf67bwzl88lkjz09v1avw5axdk1y9v3nz33zl2h"))))
2386 (build-system r-build-system)
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")
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+)))
2397 (define-public r-readr
2403 (uri (cran-uri "readr" version))
2406 "1cvw5wdcqk88cp5fyv678mnmp66l3whcd2yh33p2qvx0168bja8s"))))
2407 (build-system r-build-system)
2409 `(("r-rcpp" ,r-rcpp)
2411 ("r-tibble" ,r-tibble)
2414 (home-page "https://github.com/hadley/readr")
2415 (synopsis "Read tabular data")
2417 "This package provides functions to read flat or tabular text files from
2418 disk (or a connection).")
2419 (license license:gpl2+)))
2421 (define-public r-plotrix
2427 (uri (cran-uri "plotrix" version))
2430 "0rw81n9p3d2i03b4pgcfj5blryc94f29bm9a4j9bnp5h8qjj6pry"))))
2431 (build-system r-build-system)
2432 (home-page "https://cran.r-project.org/web/packages/plotrix")
2433 (synopsis "Various plotting functions")
2435 "This package provides lots of plotting, various labeling, axis and color
2436 scaling functions for R.")
2437 (license license:gpl2+)))
2439 (define-public r-gridbase
2445 (uri (cran-uri "gridBase" version))
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")
2453 "This package provides an integration of base and grid graphics for R.")
2454 (license license:gpl2+)))
2456 (define-public r-latticeextra
2458 (name "r-latticeextra")
2463 (uri (cran-uri "latticeExtra" version))
2466 "1hkyqsa7klk5glj9y1hg3rxr5qilqw8h0017zc4c3nps7lr9a1kq"))))
2467 (properties `((upstream-name . "latticeExtra")))
2468 (build-system r-build-system)
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")
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+)))
2480 (define-public r-rcpparmadillo
2482 (name "r-rcpparmadillo")
2483 (version "0.8.300.1.0")
2486 (uri (cran-uri "RcppArmadillo" version))
2489 "0p6cbnwxgzigf7n5qhqvxdr3nd3pq3c2qq6pskqz7avzf813fy83"))))
2490 (properties `((upstream-name . "RcppArmadillo")))
2491 (build-system r-build-system)
2493 `(("r-knitr" ,r-knitr))) ; needed for vignettes
2495 `(("r-rcpp" ,r-rcpp)))
2496 (home-page "https://github.com/RcppCore/RcppArmadillo")
2497 (synopsis "Rcpp integration for the Armadillo linear algebra library")
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+)))
2510 (define-public r-bitops
2516 (uri (cran-uri "bitops" version))
2519 "176nr5wpnkavn5z0yy9f7d47l37ndnn2w3gv854xav8nnybi6wwv"))))
2520 (build-system r-build-system)
2521 (home-page "https://cran.r-project.org/web/packages/bitops")
2522 (synopsis "Bitwise operations")
2524 "This package provides functions for bitwise operations on integer
2526 (license license:gpl2+)))
2528 (define-public r-catools
2534 (uri (cran-uri "caTools" version))
2537 "1x4szsn2qmbzpyjfdaiz2q7jwhap2gky9wq0riah74q0pzz76ank"))))
2538 (properties `((upstream-name . "caTools")))
2539 (build-system r-build-system)
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")
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+)))
2551 (define-public r-rprojroot
2553 (name "r-rprojroot")
2558 (uri (cran-uri "rprojroot" version))
2561 "12r3fdxmi2pmwn6ic3rhg0b20ll5z420m0d8fziv1n21961namnz"))))
2562 (build-system r-build-system)
2564 `(("r-backports" ,r-backports)))
2565 (home-page "https://github.com/krlmlr/rprojroot")
2566 (synopsis "Finding files in project subdirectories")
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)))
2574 (define-public r-rmarkdown
2576 (name "r-rmarkdown")
2581 (uri (cran-uri "rmarkdown" version))
2584 "0q1y1qx87xp6vf9h7mfl77rqhmd01xl53l9ap9qj99bfvpabb572"))))
2585 (properties `((upstream-name . "rmarkdown")))
2586 (build-system r-build-system)
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)
2594 ("r-rprojroot" ,r-rprojroot)
2595 ("r-stringr" ,r-stringr)
2597 ("ghc-pandoc" ,ghc-pandoc)))
2598 (home-page "http://rmarkdown.rstudio.com")
2599 (synopsis "Convert R Markdown documents into a variety of formats")
2601 "This package provides tools to convert R Markdown documents into a
2602 variety of formats.")
2603 (license license:gpl3+)))
2605 (define-public r-gtable
2611 (uri (cran-uri "gtable" version))
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")
2620 "Gtable is a collection of tools to make it easier to work with
2621 \"tables\" of grobs.")
2622 (license license:gpl2+)))
2624 (define-public r-gridextra
2626 (name "r-gridextra")
2630 (uri (cran-uri "gridExtra" version))
2633 "0fwfk3cdwxxim7nd55pn7m31bcaqj48y06j7an2k1v1pybk0rdl1"))))
2634 (properties `((upstream-name . "gridExtra")))
2635 (build-system r-build-system)
2637 `(("r-gtable" ,r-gtable)))
2639 `(("r-knitr" ,r-knitr))) ;for building vignettes
2640 (home-page "https://github.com/baptiste/gridextra")
2641 (synopsis "Miscellaneous functions for \"Grid\" graphics")
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,
2646 (license license:gpl2+)))
2648 (define-public r-pkgconfig
2650 (name "r-pkgconfig")
2654 (uri (cran-uri "pkgconfig" version))
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)))
2666 (define-public r-blob
2672 (uri (cran-uri "blob" version))
2675 "05pazzcyz3c3vd2l70zq9cf172cgjff4dnf419zigfnxycyn1mhn"))))
2676 (build-system r-build-system)
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+)))
2687 (define-public r-rsqlite
2693 (uri (cran-uri "RSQLite" version))
2696 "1xpg1i1jkzkzv44k512k90c2vvl960pl2d4a3spwcha6yclyc3vz"))))
2697 (properties `((upstream-name . "RSQLite")))
2698 (build-system r-build-system)
2702 ("r-memoise" ,r-memoise)
2703 ("r-plogr" ,r-plogr)
2705 ("r-bit64" ,r-bit64)
2707 ("r-pkgconfig" ,r-pkgconfig)))
2708 (home-page "https://github.com/rstats-db/RSQLite")
2709 (synopsis "SQLite interface for R")
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+)))
2716 (define-public r-rcurl
2719 (version "1.95-0.1.2")
2722 (uri (string-append "https://www.bioconductor.org/packages/"
2723 "release/extra/src/"
2724 "contrib/RCurl_" version ".tar.gz"))
2727 "0l7qi45jxlf898n0jazabnam1yyczvqfdknd00bdirhhiplpd1sc"))))
2728 (properties `((upstream-name . "RCurl")))
2729 (build-system r-build-system)
2731 `(("libcurl" ,curl)))
2733 `(("r-bitops" ,r-bitops)))
2734 (home-page "http://www.omegahat.org/RCurl")
2735 (synopsis "General network client interface for R")
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)))
2747 (define-public r-xml
2750 (version "3.98-1.9")
2753 (uri (cran-uri "XML" version))
2756 "1hzkdkgs0nzmfg9wm7kyh1j9i0i2g7925whzlihqvg9grdlh3dx3"))))
2758 `((upstream-name . "XML")))
2759 (build-system r-build-system)
2761 `(("libxml2" ,libxml2)))
2762 (home-page "http://www.omegahat.org/RSXML")
2763 (synopsis "Tools for parsing and generating XML within R")
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)))
2770 (define-public r-xnomial
2775 (origin (method url-fetch)
2776 (uri (cran-uri "XNomial" version))
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")
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+))))
2798 (define-public r-lambda-r
2804 (uri (cran-uri "lambda.r" version))
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")
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
2817 (license license:lgpl3+)))
2819 (define-public r-futile-options
2821 (name "r-futile-options")
2825 (uri (cran-uri "futile.options" version))
2828 "1hp82h6xqq5cck67h7lpf22n3j7mg3v1mla5y5ivnzrrb7iyr17f"))))
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")
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+)))
2841 (define-public r-futile-logger
2843 (name "r-futile-logger")
2847 (uri (cran-uri "futile.logger" version))
2850 "1r3nayk0z9n1svbf8640vw90dal5q07nkn0gv4bnva3pbzb352sy"))))
2851 (properties `((upstream-name . "futile.logger")))
2852 (build-system r-build-system)
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")
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}
2863 (license license:lgpl3+)))
2865 (define-public r-segmented
2867 (name "r-segmented")
2872 (uri (cran-uri "segmented" version))
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")
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+))))
2885 (define-public r-snow
2891 (uri (cran-uri "snow" version))
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")
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+))))
2906 (define-public r-sparsem
2912 (uri (cran-uri "SparseM" version))
2915 "0p6ljma2h12cq1xmy0cxb48ih8dhxxbnwkqzvx3cckxf2kprycm9"))))
2917 `((upstream-name . "SparseM")))
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")
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+)))
2929 (define-public r-iterators
2931 (name "r-iterators")
2936 (uri (cran-uri "iterators" version))
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")
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
2947 (license license:asl2.0)))
2949 (define-public r-foreach
2956 (uri (cran-uri "foreach" version))
2959 "0j2yj0rn0d5nbzz9nq5rqqgnxhp9pbd92q4klsarl2xpsn8119y0"))))
2960 (build-system r-build-system)
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")
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
2975 (license license:asl2.0)))
2977 (define-public r-doparallel
2979 (name "r-doparallel")
2984 (uri (cran-uri "doParallel" version))
2987 "0sppgxk3d8mfsrb3cjdyn0mv0s4i7pcy8g8c3cjzbr6k8vmx5jsc"))))
2988 (properties `((upstream-name . "doParallel")))
2989 (build-system r-build-system)
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")
2996 "This package provides a parallel backend for the @code{%dopar%} function
2997 using the parallel package.")
2998 (license license:gpl2+)))
3000 (define-public r-domc
3007 (uri (cran-uri "doMC" version))
3010 "1vfrykvfvsyq12mypd266867ml1dcwc3rj5k9c3wrn5bddcm88kr"))))
3011 (properties `((upstream-name . "doMC")))
3012 (build-system r-build-system)
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")
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+)))
3029 (uri (cran-uri "DT" version))
3032 "06gsqz7p2fv6hc3fm3759gaa50krcfrqrmy7qbxyam6a36w9daix"))))
3034 `((upstream-name . "DT")))
3035 (build-system r-build-system)
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")
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:
3050 ;; * Expat: jQuery, jquery.highlight.js, DataTables
3051 ;; * ASL2.0: selectize.js
3052 ;; * WTFPL: noUiSlider
3053 (license (list license:gpl3
3056 (license:non-copyleft "http://www.wtfpl.net/txt/copying/")))))
3058 (define-public r-base64enc
3060 (name "r-base64enc")
3064 (uri (cran-uri "base64enc" version))
3067 "13b89fhg1nx7zds82a0biz847ixphg9byf5zl2cw9kab6s56v1bd"))))
3068 (build-system r-build-system)
3069 (home-page "http://www.rforge.net/base64enc")
3070 (synopsis "Tools for Base64 encoding")
3072 "This package provides tools for handling Base64 encoding. It is more
3073 flexible than the orphaned \"base64\" package.")
3074 (license license:gpl2+)))
3076 (define-public r-irlba
3083 (uri (cran-uri "irlba" version))
3086 "0f7wb12wa0zbyllk5adcf4f517wgjpkhsx4j176i9ax6xy7jvprz"))))
3087 (build-system r-build-system)
3089 `(("r-matrix" ,r-matrix)))
3090 (home-page "https://cran.r-project.org/web/packages/irlba")
3091 (synopsis "Methods for eigendecomposition of large matrices")
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+))))
3098 (define-public r-glmnet
3105 (uri (cran-uri "glmnet" version))
3108 "1zdqp6wnqxzp5qn2ky47phbkrxv3cpgbwmdp896h3xxjvp58sa7k"))))
3109 (build-system r-build-system)
3111 `(("gfortran" ,gfortran)))
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")
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+)))
3125 (define-public r-pkgmaker
3132 (uri (cran-uri "pkgmaker" version))
3135 "0vrqnd3kg6liqvpbd969jjsdx0f0rvmmxgdbwwrp6xfmdg0pib8r"))))
3136 (build-system r-build-system)
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")
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+)))
3151 (define-public r-registry
3158 (uri (cran-uri "registry" version))
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")
3166 "This package provides a generic infrastructure for creating and using R
3167 package registries.")
3168 (license license:gpl2+)))
3170 (define-public r-rngtools
3177 (uri (cran-uri "rngtools" version))
3180 "1fcgfqrrb48z37xgy8sffx91p9irp39yqzxv7nqp1x2hnwsrh097"))))
3181 (build-system r-build-system)
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")
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+)))
3196 (define-public r-rtsne
3203 (uri (cran-uri "Rtsne" version))
3206 "17crbdi80q4g2pwp9v7j3bdaznk96qlrqx01zvj3wwqippizyfqw"))))
3207 (properties `((upstream-name . "Rtsne")))
3208 (build-system r-build-system)
3210 `(("r-rcpp" ,r-rcpp)))
3211 (home-page "https://github.com/jkrijthe/Rtsne")
3212 (synopsis "T-distributed stochastic neighbor embedding")
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))))
3220 (define-public r-e1071
3227 (uri (cran-uri "e1071" version))
3230 "08n6i26nfckjpxjkzi8phhanc3ahsrirkv5rz38y2jcv7ds031pn"))))
3231 (build-system r-build-system)
3233 `(("r-class" ,r-class)))
3234 (home-page "https://cran.r-project.org/web/packages/e1071")
3235 (synopsis "Miscellaneous functions for probability theory")
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+)))
3242 (define-public r-bigmemory-sri
3244 (name "r-bigmemory-sri")
3249 (uri (cran-uri "bigmemory.sri" version))
3251 (base32 "0mg14ilwdkd64q2ri9jdwnk7mp55dqim7xfifrs65sdsv1934h2m"))))
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))))
3262 (define-public r-synchronicity
3264 (name "r-synchronicity")
3269 (uri (cran-uri "synchronicity" version))
3272 "1idrjzl7nkamf1ip55s6qcf64s63xs9j8z9jv3r89p6r5lw7k5mv"))))
3273 (build-system r-build-system)
3276 ("r-bigmemory-sri" ,r-bigmemory-sri)
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
3284 ;; Users can choose either LGPLv3 or ASL2.0.
3285 (license (list license:lgpl3 license:asl2.0))))
3287 (define-public r-bigmemory
3289 (name "r-bigmemory")
3294 (uri (cran-uri "bigmemory" version))
3297 "0ycl9dzm3drpyas625h34rir5bnbjlncxlvawfsfmqwcbmwdjdvj"))))
3298 (build-system r-build-system)
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))))
3311 (define-public r-nmf
3318 (uri (cran-uri "NMF" version))
3321 "0mmh9bz0zjwd8h9jplz4rq3g94npaqj8s4px51vcv47csssd9k6z"))))
3322 (properties `((upstream-name . "NMF")))
3323 (build-system r-build-system)
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")
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+)))
3351 (define-public r-r-methodss3
3353 (name "r-r-methodss3")
3357 (uri (cran-uri "R.methodsS3" version))
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")
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+)))
3375 (define-public r-r-oo
3381 (uri (cran-uri "R.oo" version))
3384 "0723gxjazgqq7v3lwnl7axw3brzcnizvhbd71ijkkv8mz31fwp34"))))
3385 (properties `((upstream-name . "R.oo")))
3386 (build-system r-build-system)
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")
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+)))
3398 (define-public r-r-utils
3404 (uri (cran-uri "R.utils" version))
3407 "03j7hrs03kyj9qrjxyp5kqv4lpqqpk6xwbkzx6j15d8928yrjr2x"))))
3408 (properties `((upstream-name . "R.utils")))
3409 (build-system r-build-system)
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")
3416 "This package provides utility functions useful when programming and
3417 developing R packages.")
3418 (license license:lgpl2.1+)))
3420 (define-public r-r-cache
3426 (uri (cran-uri "R.cache" version))
3429 "1hf5cb7xvnca5zlh9245b5g62sgsaxwdhiv7x59yld37cydakm6k"))))
3430 (properties `((upstream-name . "R.cache")))
3431 (build-system r-build-system)
3433 `(("r-digest" ,r-digest)
3434 ("r-r-methodss3" ,r-r-methodss3)
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")
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+)))
3446 (define-public r-r-rsp
3452 (uri (cran-uri "R.rsp" version))
3455 "1zcq0hzi0j7fvj2rs796a1i120wbr0387vck17rrd644awwbsbm0"))))
3456 (properties `((upstream-name . "R.rsp")))
3457 (build-system r-build-system)
3459 `(("r-digest" ,r-digest)
3460 ("r-r-cache" ,r-r-cache)
3461 ("r-r-methodss3" ,r-r-methodss3)
3463 ("r-r-utils" ,r-r-utils)))
3464 (home-page "https://github.com/HenrikBengtsson/R.rsp")
3465 (synopsis "Dynamic generation of scientific reports")
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
3476 (license license:lgpl2.1+)))
3478 (define-public r-mvtnorm
3484 (uri (cran-uri "mvtnorm" version))
3487 "0f7hzflygdnbwvzadr3knhybhanwg7agqddclj6mhbvwqpgb0qyh"))))
3488 (build-system r-build-system)
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)))
3497 (define-public r-matrixstats
3499 (name "r-matrixstats")
3503 (uri (cran-uri "matrixStats" version))
3506 "0bkiz5fm09d3512mfr2ymj9qsb1b8aic5l5m6fkaf5j7nsgvqw6z"))))
3507 (properties `((upstream-name . "matrixStats")))
3508 (build-system r-build-system)
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")
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
3519 (license license:artistic2.0)))
3521 (define-public r-viridis
3527 (uri (cran-uri "viridis" version))
3530 "03mha2935k1mw7mjjkq7mrx185hl0m3vq3967iiwbknpivbdxllk"))))
3531 (build-system r-build-system)
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")
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)))
3548 (define-public r-viridislite
3550 (name "r-viridislite")
3555 (uri (cran-uri "viridisLite" version))
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")
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)))
3573 (define-public r-tidyselect
3575 (name "r-tidyselect")
3580 (uri (cran-uri "tidyselect" version))
3583 "0b0w30yq30c7bwpaghp3hp0nncqwcmvrra9j58fhx9jihay3l68c"))))
3584 (build-system r-build-system)
3586 `(("r-glue" ,r-glue)
3587 ("r-purrr" ,r-purrr)
3589 ("r-rlang" ,r-rlang)))
3590 (home-page "https://cran.r-project.org/web/packages/tidyselect")
3591 (synopsis "Select from a set of strings")
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
3597 (license license:gpl3)))
3599 (define-public r-tidyr
3606 (uri (cran-uri "tidyr" version))
3609 "1700fry2b3d3ksj7x2f09xl6agjrdnx1rqsc1r8gvzsp5cpflb06"))))
3610 (build-system r-build-system)
3612 `(("r-dplyr" ,r-dplyr)
3613 ("r-magrittr" ,r-magrittr)
3615 ("r-purrr" ,r-purrr)
3616 ("r-rlang" ,r-rlang)
3617 ("r-tidyselect" ,r-tidyselect)
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")
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)))
3632 (define-public r-hexbin
3639 (uri (cran-uri "hexbin" version))
3642 "0lpfl0015lg5x7lvv9dr302bca22c7fs91pnd896ypgpzqg7pm26"))))
3643 (build-system r-build-system)
3645 `(("r-lattice" ,r-lattice)))
3647 `(("gfortran" ,gfortran)))
3648 (home-page "https://github.com/edzer/hexbin")
3649 (synopsis "Hexagonal binning routines")
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+)))
3655 (define-public r-purrr
3662 (uri (cran-uri "purrr" version))
3665 "0wgbnbrqncjpggg8f9bdpcd1gy351s5f0az5k8lc55cvs9lhz3gd"))))
3666 (build-system r-build-system)
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")
3674 "This package completes R's functional programming tools with missing
3675 features present in other programming languages.")
3676 (license license:gpl3+)))
3678 (define-public r-plotly
3684 (uri (cran-uri "plotly" version))
3687 "0wj9lw7w28z8w9ip9vadv6sydjhqyg65kfiai9m3bndzz50b1m3w"))))
3688 (build-system r-build-system)
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)
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")
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)))
3718 (define-public r-biased-urn
3720 (name "r-biased-urn")
3725 (uri (cran-uri "BiasedUrn" version))
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")
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
3739 (license license:gpl3+)))
3741 (define-public r-rematch
3748 (uri (cran-uri "rematch" version))
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")
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
3759 (license license:expat)))
3761 (define-public r-cellranger
3763 (name "r-cellranger")
3768 (uri (cran-uri "cellranger" version))
3771 "16fgi3annn34c3cxi0pxf62mmmmxi21hp0zzlv7bkfsjqy4g4f2x"))))
3772 (build-system r-build-system)
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")
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)))
3783 (define-public r-googlesheets
3785 (name "r-googlesheets")
3790 (uri (cran-uri "googlesheets" version))
3793 "18q0xmxn09b52rmky7gr5flp0awndcnsgb7zcvkzvkrkvmwad52b"))))
3794 (build-system r-build-system)
3796 `(("r-cellranger" ,r-cellranger)
3797 ("r-dplyr" ,r-dplyr)
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
3809 (license license:expat)))
3811 (define-public r-spams
3814 (version "2.6-2017-03-22")
3818 (uri (string-append "https://gforge.inria.fr/frs/download.php/36615/"
3819 "spams-R-v" version ".tar.gz"))
3822 "13z2293jixf1r9g8dyy856xrhvpjr2ln2n9smn6644126r9hmhkx"))))
3823 (build-system r-build-system)
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
3832 (substitute* "src/Makevars"
3833 (("-mtune=native") ""))
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
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,...).
3853 (license license:gpl3+)))
3855 (define-public r-base64
3862 (uri (cran-uri "base64" version))
3865 "1labh0ycdm2xcjssj8bhnyjvbk44mcdsi0rb2p8rfqa428mrq9cf"))))
3866 (build-system r-build-system)
3868 `(("r-openssl" ,r-openssl)))
3869 (home-page "https://cran.r-project.org/web/packages/base64")
3870 (synopsis "Base64 encoder and decoder")
3872 "This package is a compatibility wrapper to replace the orphaned package
3873 by Romain Francois. New applications should use the openssl or base64enc
3875 (license license:expat)))
3877 (define-public r-hmisc
3884 (uri (cran-uri "Hmisc" version))
3887 "1a7i7azag6pldgala85d8hh7wnx1shamyiriy4jfc65nxrr2lq8w"))))
3888 (properties `((upstream-name . "Hmisc")))
3889 (build-system r-build-system)
3891 `(("gfortran" ,gfortran)))
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)
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")
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+)))
3920 (define-public r-runit
3927 (uri (cran-uri "RUnit" version))
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")
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+)))
3940 (define-public r-dynamictreecut
3942 (name "r-dynamictreecut")
3947 (uri (cran-uri "dynamicTreeCut" version))
3950 "1fadbql7g5r2vvlkr89nlrjxwp4yx4xrdqmv077qvmnx9vv0f4w3"))))
3951 (properties `((upstream-name . "dynamicTreeCut")))
3952 (build-system r-build-system)
3954 "http://www.genetics.ucla.edu/labs/horvath/CoexpressionNetwork/BranchCutting/")
3955 (synopsis "Detect clusters in hierarchical clustering dendrograms")
3957 "This package contains methods for the detection of clusters in
3958 hierarchical clustering dendrograms.")
3959 (license license:gpl2+)))
3961 (define-public r-preprocesscore
3963 (name "r-preprocesscore")
3968 (uri (bioconductor-uri "preprocessCore" version))
3971 "0mrdgbkb9dcfr9gsqyxfpshnxx60mq97pl98b8yl00l2gfwz48ph"))))
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")
3978 "This package provides a library of core pre-processing and normalization
3980 (license license:lgpl2.0+)))
3982 (define-public r-fastcluster
3984 (name "r-fastcluster")
3989 (uri (cran-uri "fastcluster" version))
3992 "15drhl22wm8whsy6b3vv754skfddiydb068zn1whrw5sknvkkjc2"))))
3993 (build-system r-build-system)
3994 (home-page "http://danifold.net/fastcluster.html")
3995 (synopsis "Fast hierarchical clustering routines")
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)))
4007 (define-public r-sfsmisc
4014 (uri (cran-uri "sfsmisc" version))
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")
4022 "This package provides useful utilities from Seminar fuer Statistik ETH
4023 Zurich, including many that are related to graphics.")
4024 (license license:gpl2+)))
4026 (define-public r-gtools
4033 (uri (cran-uri "gtools" version))
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")
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)))
4048 (define-public r-gdata
4055 (uri (cran-uri "gdata" version))
4058 "0zwdj7lscgxr8r62ii8hbdh4mb7sa9w4f5nv32zzrxdvymcpya2b"))))
4059 (build-system r-build-system)
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")
4067 "This package provides various R programming tools for data manipulation,
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
4086 (license license:gpl2+)))
4088 (define-public r-gplots
4095 (uri (cran-uri "gplots" version))
4098 "02nb8n3s7c1zxq2s7ycaq2ys72y7mzirxrwj954h6gdc4x1zhg9l"))))
4099 (build-system r-build-system)
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")
4108 "This package provides various R programming tools for plotting data,
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
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
4126 (license license:gpl2+)))
4128 (define-public r-rocr
4135 (uri (cran-uri "ROCR" version))
4138 "1jay8cm7lgq56i967vm5c2hgaxqkphfpip0gn941li3yhh7p3vz7"))))
4139 (properties `((upstream-name . "ROCR")))
4140 (build-system r-build-system)
4142 `(("r-gplots" ,r-gplots)))
4143 (home-page "http://rocr.bioinf.mpi-sb.mpg.de/")
4144 (synopsis "Visualizing the performance of scoring classifiers")
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
4156 (license license:gpl2+)))
4158 (define-public r-zoo
4164 (uri (cran-uri "zoo" version))
4167 "0mqklbx92ifwa0awm7gpm4r9dvwa09p55zjxjnypiqsxy532r4h9"))))
4168 (build-system r-build-system)
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+)))
4178 (define-public r-ztable
4184 (uri (cran-uri "ztable" version))
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")
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+)))
4199 (define-public r-vipor
4205 (uri (cran-uri "vipor" version))
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")
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+)))
4218 (define-public r-beeswarm
4224 (uri (cran-uri "beeswarm" version))
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")
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)))
4237 (define-public r-sourcetools
4239 (name "r-sourcetools")
4244 (uri (cran-uri "sourcetools" version))
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")
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)))
4257 (define-public r-ggbeeswarm
4259 (name "r-ggbeeswarm")
4263 (uri (cran-uri "ggbeeswarm" version))
4266 "0crk29p5vi1r3a988kms4y7r0iqwgwzsikgvh18r9wbzyr98bb5v"))))
4267 (build-system r-build-system)
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")
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+)))
4280 (define-public r-ggthemes
4286 (uri (cran-uri "ggthemes" version))
4289 "1jj8lp7jbk3489kpgbw4b5phpn01gkfmksc21c6sn3x6wmzyn6hs"))))
4290 (build-system r-build-system)
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)))
4305 (define-public r-statmod
4311 (uri (cran-uri "statmod" version))
4314 "07v4x8af60alcw6vbiwf5fp25bhra61kvxz9kqx64lszm0i1fb4x"))))
4315 (build-system r-build-system)
4316 (home-page "https://cran.r-project.org/web/packages/statmod")
4318 `(("gfortran" ,gfortran)))
4319 (synopsis "Statistical modeling")
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))))
4331 (define-public r-rann
4337 (uri (cran-uri "RANN" version))
4340 "0il5i99vbcagnxvb15af5n37g04a4q1x96bz73zh3jhki9fpw9vm"))))
4342 `((upstream-name . "RANN")))
4343 (build-system r-build-system)
4344 (home-page "https://github.com/jefferis/RANN")
4345 (synopsis "Fast nearest neighbour search")
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+)))
4352 (define-public r-fivethirtyeight
4354 (name "r-fivethirtyeight")
4359 (uri (string-append "https://mran.microsoft.com/src/contrib/"
4360 "fivethirtyeight_" version ".tar.gz"))
4363 "0fcc8rq745nsghp27dk0lgih90y4zx8hrzcvsn6ih786yv7qxhvl"))))
4364 (build-system r-build-system)
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)))
4379 (define-public r-compquadform
4381 (name "r-compquadform")
4386 (uri (cran-uri "CompQuadForm" version))
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")
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+)))
4400 (define-public r-cowplot
4407 (uri (cran-uri "cowplot" version))
4410 "13yjw7yv7imyqiawqqp304hkp6x36iv6rf6gn03dwzwkj9zwx4lb"))))
4411 (build-system r-build-system)
4413 `(("r-ggplot2" ,r-ggplot2)
4414 ("r-gtable" ,r-gtable)
4416 ("r-scales" ,r-scales)))
4417 (home-page "https://github.com/wilkelab/cowplot")
4418 (synopsis "Streamlined plot theme and plot annotations for ggplot2")
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)))
4425 (define-public r-mixtools
4432 (uri (cran-uri "mixtools" version))
4435 "13wdm0xs5bakhpa8ypg6lvhjaqkxyabwz4glxdwn0jwdvkcdhgsl"))))
4436 (build-system r-build-system)
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")
4444 "This package provides a collection of R functions for analyzing finite
4446 (license license:gpl2+)))
4448 (define-public r-lars
4455 (uri (cran-uri "lars" version))
4458 "0blj44wqrx6lmym1m9v6wkz8zxzbjax2zl6swgdczci0ixb5nx34"))))
4459 (build-system r-build-system)
4461 `(("gfortran" ,gfortran)))
4462 (home-page "http://www-stat.stanford.edu/~hastie/Papers/#LARS")
4463 (synopsis "Least angle regression software")
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
4472 (license license:gpl2)))
4474 (define-public r-fastica
4481 (uri (cran-uri "fastICA" version))
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")
4490 "This package provides an implementation of the FastICA algorithm to
4491 perform @dfn{independent component analysis} (ICA) and projection pursuit.")
4493 (license license:gpl3+)))
4495 (define-public r-randomforest
4497 (name "r-randomforest")
4502 (uri (cran-uri "randomForest" version))
4505 "1i43idaihhl6nwqw42v9dqpl6f8z3ykcn2in32lh2755i27jylbf"))))
4506 (properties `((upstream-name . "randomForest")))
4507 (build-system r-build-system)
4508 (home-page "https://www.stat.berkeley.edu/~breiman/RandomForests/")
4510 `(("gfortran" ,gfortran)))
4511 (synopsis "Breiman and Cutler's random forests for classification and regression")
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+)))
4517 (define-public r-diptest
4524 (uri (cran-uri "diptest" version))
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")
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+)))
4537 (define-public r-modeltools
4539 (name "r-modeltools")
4544 (uri (cran-uri "modeltools" version))
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")
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)))
4557 (define-public r-flexmix
4564 (uri (cran-uri "flexmix" version))
4567 "0sl4zxh1sb2sr5q7svjw9ihrm219jzn82yrc9d43q6r1b8bpyz43"))))
4568 (build-system r-build-system)
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")
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+)))
4583 (define-public r-mclust
4590 (uri (cran-uri "mclust" version))
4593 "1i3v1q8qq0al3ifvjhcvxfsg68cx9mq8jz67jwmiqai78mw0aqvk"))))
4594 (build-system r-build-system)
4596 `(("gfortran" ,gfortran)))
4597 (home-page "http://www.stat.washington.edu/mclust/")
4598 (synopsis "Gaussian mixture modelling for model-based clustering etc.")
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+)))
4606 (define-public r-prabclus
4613 (uri (cran-uri "prabclus" version))
4616 "0qjsxrx6yv338bxm4ki0w9h8hind1l98abdrz828588bwj02jya1"))))
4617 (build-system r-build-system)
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")
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+)))
4630 (define-public r-deoptimr
4637 (uri (cran-uri "DEoptimR" version))
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")
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+)))
4653 (define-public r-robustbase
4655 (name "r-robustbase")
4660 (uri (cran-uri "robustbase" version))
4663 "080ynchq8pvhnmbivj4fp74n0x9lyr9923sg0s9gq5irgm68kgxw"))))
4664 (build-system r-build-system)
4666 `(("gfortran" ,gfortran)))
4668 `(("r-deoptimr" ,r-deoptimr)))
4669 (home-page "http://robustbase.r-forge.r-project.org/")
4670 (synopsis "Basic robust statistics")
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+)))
4676 (define-public r-pcapp
4683 (uri (cran-uri "pcaPP" version))
4686 "0i2822bv86dpqmk3q17x61nsp3gjjnn4nr8191rwvbiib7xhpgaq"))))
4687 (properties `((upstream-name . "pcaPP")))
4688 (build-system r-build-system)
4690 `(("r-mvtnorm" ,r-mvtnorm)))
4691 (home-page "https://cran.r-project.org/web/packages/pcaPP")
4692 (synopsis "Robust PCA by projection pursuit")
4694 "This package provides functions for robust @dfn{principal component
4695 analysis} (PCA) by projection pursuit.")
4696 (license license:gpl3+)))
4698 (define-public r-rrcov
4705 (uri (cran-uri "rrcov" version))
4708 "0kagqggi634mvrhd67ia7mpjrj5v6w2wq0z3kyppg5xkvzh335nq"))))
4709 (build-system r-build-system)
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)))
4717 `(("gfortran" ,gfortran)))
4718 (home-page "https://cran.r-project.org/web/packages/rrcov")
4719 (synopsis "Scalable robust estimators with high breakdown Point")
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+)))
4725 (define-public r-fit-models
4727 (name "r-fit-models")
4732 (uri (cran-uri "fit.models" version))
4735 "0vjbzmx0ambm6yzidb4vbgmhclwzwv2iz2cwl54ccdkvx4cx3fck"))))
4736 (properties `((upstream-name . "fit.models")))
4737 (build-system r-build-system)
4739 `(("r-lattice" ,r-lattice)))
4740 (home-page "https://cran.r-project.org/web/packages/fit.models")
4741 (synopsis "Compare fitted models")
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
4750 ;; Any version of the GPL
4751 (license (list license:gpl2+ license:gpl3+))))
4753 (define-public r-robust
4760 (uri (cran-uri "robust" version))
4763 "1b7qh1aff500nd6dh4y2ipmjgdiq8991shflb63pc39vpc0ny6g4"))))
4764 (build-system r-build-system)
4766 `(("r-fit-models" ,r-fit-models)
4767 ("r-lattice" ,r-lattice)
4769 ("r-robustbase" ,r-robustbase)
4770 ("r-rrcov" ,r-rrcov)))
4772 `(("gfortran" ,gfortran)))
4773 (home-page "https://cran.r-project.org/web/packages/robust")
4774 (synopsis "Port of the S+ \"Robust Library\"")
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)))
4781 (define-public r-trimcluster
4783 (name "r-trimcluster")
4788 (uri (cran-uri "trimcluster" version))
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")
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
4800 (license (list license:gpl2+ license:gpl3+))))
4802 (define-public r-fpc
4809 (uri (cran-uri "fpc" version))
4812 "15m0p9l9w2v7sl0cnzyg81i2fmx3hrhvr3371544mwn3fpsca5sx"))))
4813 (build-system r-build-system)
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)
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")
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
4834 (license license:gpl2+)))
4836 (define-public r-vgam
4843 (uri (cran-uri "VGAM" version))
4846 "0r59hyp3afmvms890b3v2yyckf8v0qkjf2w11rnqd2zgg1gri0g5"))))
4847 (properties `((upstream-name . "VGAM")))
4848 (build-system r-build-system)
4850 `(("gfortran" ,gfortran)))
4851 (home-page "https://www.stat.auckland.ac.nz/~yee/VGAM")
4852 (synopsis "Vector generalized linear and additive models")
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+)))
4861 (define-public r-pbapply
4868 (uri (cran-uri "pbapply" version))
4871 "0iqhymf65jffh00qf056h1p76xf92bfmij6aymlmgnvn24fv4ybk"))))
4872 (build-system r-build-system)
4873 (home-page "https://github.com/psolymos/pbapply")
4874 (synopsis "Adding progress bar to apply functions")
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)))
4881 (define-public r-fnn
4888 (uri (cran-uri "FNN" version))
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")
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+)))
4902 (define-public r-minqa
4909 (uri (cran-uri "minqa" version))
4912 "036drja6xz7awja9iwb76x91415p26fb0jmg7y7v0p65m6j978fg"))))
4913 (build-system r-build-system)
4915 `(("r-rcpp" ,r-rcpp)))
4917 `(("gfortran" ,gfortran)))
4918 (home-page "http://optimizer.r-forge.r-project.org")
4919 (synopsis "Derivative-free optimization algorithms by quadratic approximation")
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)))
4925 (define-public r-rcppeigen
4927 (name "r-rcppeigen")
4928 (version "0.3.3.3.1")
4932 (uri (cran-uri "RcppEigen" version))
4935 "093g2wmqyk86693l0lzh2va8119w3k7rvw5q24p842jdfv5x5z8l"))))
4936 (properties `((upstream-name . "RcppEigen")))
4937 (build-system r-build-system)
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")
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+)))
4950 (define-public r-modelmetrics
4952 (name "r-modelmetrics")
4957 (uri (cran-uri "ModelMetrics" version))
4960 "119xxmzb5biq7k1yxqsf0jmmarmfn6lds9x9hfgv593xlpym6za8"))))
4961 (properties `((upstream-name . "ModelMetrics")))
4962 (build-system r-build-system)
4964 `(("r-rcpp" ,r-rcpp)))
4965 (home-page "https://cran.r-project.org/web/packages/ModelMetrics")
4966 (synopsis "Rapid calculation of model metrics")
4968 "Written in C++ using @code{Rcpp}, this package provides a collection of
4969 metrics for evaluating models.")
4970 (license license:gpl2+)))
4972 (define-public r-matrixmodels
4974 (name "r-matrixmodels")
4979 (uri (cran-uri "MatrixModels" version))
4982 "0cyfvhci2p1vr2x52ymkyqqs63x1qchn856dh2j94yb93r08x1zy"))))
4983 (properties `((upstream-name . "MatrixModels")))
4984 (build-system r-build-system)
4986 `(("r-matrix" ,r-matrix)))
4987 (home-page "https://cran.r-project.org/web/packages/MatrixModels")
4988 (synopsis "Modelling with sparse and dense matrices")
4990 "This package models with sparse and dense matrix matrices,
4991 using modular prediction and response module classes.")
4992 (license license:gpl2+)))
4994 (define-public r-quantreg
5001 (uri (cran-uri "quantreg" version))
5004 "0bmgfgnmzqwmwwaraliry682yb8kcr396q3rlzrd2qzaa9sgxxh4"))))
5005 (build-system r-build-system)
5007 `(("gfortran" ,gfortran)))
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")
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+)))
5022 (define-public r-nloptr
5029 (uri (cran-uri "nloptr" version))
5032 "1sz1xj3785x4vsm4nd6in298bk32hs2jk5nsxma7ivxi7jcmn8l4"))))
5033 (build-system r-build-system)
5035 `(("pkg-config" ,pkg-config)))
5037 `(("nlopt" ,nlopt)))
5038 (home-page "https://cran.r-project.org/web/packages/nloptr")
5039 (synopsis "R interface to NLopt")
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
5046 (license license:lgpl3)))
5048 (define-public r-lme4
5055 (uri (cran-uri "lme4" version))
5058 "1vars93604q7kyz6y1f8f886l05jkgj8bs78033l2czypvzki5la"))))
5059 (build-system r-build-system)
5061 `(("r-rcpp" ,r-rcpp)
5062 ("r-rcppeigen" ,r-rcppeigen)))
5064 `(("r-lattice" ,r-lattice)
5065 ("r-matrix" ,r-matrix)
5066 ("r-minqa" ,r-minqa)
5067 ("r-nloptr" ,r-nloptr)
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")
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+)))
5079 (define-public r-pbkrtest
5086 (uri (cran-uri "pbkrtest" version))
5089 "1si3bhi59xc51a0pgjjglccq3h4aljyhw2k1b8574s145fnh7fsw"))))
5090 (build-system r-build-system)
5092 `(("r-lme4" ,r-lme4)
5094 ("r-matrix" ,r-matrix)))
5095 (home-page "http://people.math.aau.dk/~sorenh/software/pbkrtest/")
5096 (synopsis "Methods for linear mixed model comparison")
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+)))
5103 (define-public r-car
5110 (uri (cran-uri "car" version))
5113 "14l4d9j87xnb0bz2wgqqbxnlnbcdfb5vx2fw6kdxj91kyrk6lhnj"))))
5114 (build-system r-build-system)
5116 `(("r-mass" ,r-mass)
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")
5124 "This package provides functions and datasets from book Companion
5125 to Applied regression, Second Edition, Sage, 2011.")
5126 (license license:gpl2+)))
5128 (define-public r-caret
5135 (uri (cran-uri "caret" version))
5138 "0h1nxzii2h80aslp1zsjczrlfmaks44sskabk4yq9c5rafc7ka6y"))))
5139 (build-system r-build-system)
5141 `(("r-foreach" ,r-foreach)
5142 ("r-ggplot2" ,r-ggplot2)
5143 ("r-lattice" ,r-lattice)
5144 ("r-modelmetrics" ,r-modelmetrics)
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")
5153 "This package provides misc functions for training and plotting
5154 classification and regression models.")
5155 (license license:gpl2+)))
5157 (define-public r-rcppprogress
5159 (name "r-rcppprogress")
5164 (uri (cran-uri "RcppProgress" version))
5167 "09ayw6d69i0lplmaj5md25p5hn1nmiyp6a4sh60v93nrrs1cq7iv"))))
5168 (properties `((upstream-name . "RcppProgress")))
5169 (build-system r-build-system)
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")
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+)))
5181 (define-public r-mnormt
5188 (uri (cran-uri "mnormt" version))
5191 "1b34xxrnf35khsx82mhvmk96sgfr2flyasaah7qkb2976pwxay7z"))))
5192 (build-system r-build-system)
5194 `(("gfortran" ,gfortran)))
5195 (home-page "http://azzalini.stat.unipd.it/SW/Pkg-mnormt")
5196 (synopsis "Multivariate normal and \"t\" distributions")
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+)))
5204 (define-public r-numderiv
5207 (version "2016.8-1")
5211 (uri (cran-uri "numDeriv" version))
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")
5220 "This package provides methods for calculating accurate numerical
5221 first and second order derivatives.")
5222 (license license:gpl2)))
5231 (uri (cran-uri "sn" version))
5234 "0l7qlah6dwkp8jswnr2mn3phlm15naba5zkmv0g5pcqy5ix0gz7w"))))
5235 (build-system r-build-system)
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")
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+)))
5249 (define-public r-tclust
5256 (uri (cran-uri "tclust" version))
5259 "1li62wynv81kb17fx7nk63a26qlb78l8fdf63in8yzcl7fkpji7y"))))
5260 (build-system r-build-system)
5262 `(("r-cluster" ,r-cluster)
5263 ("r-mclust" ,r-mclust)
5264 ("r-mvtnorm" ,r-mvtnorm)
5266 (home-page "https://cran.r-project.org/web/packages/tclust")
5267 (synopsis "Robust trimmed clustering")
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)))
5274 (define-public r-ranger
5281 (uri (cran-uri "ranger" version))
5284 "1fdbm879wx3hlng8s4c4f8f2x5yxz57llakcqnpa0lymybidw3vz"))))
5285 (build-system r-build-system)
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")
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)))
5299 (define-public r-tsne
5306 (uri (cran-uri "tsne" version))
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")
5314 "This package provides a pure R implementation of the t-SNE algorithm.")
5315 (license license:gpl2+)))
5317 (define-public r-cairo
5324 (uri (cran-uri "Cairo" version))
5327 "1x1q99r3r978rlkkm5gixkv03p0mcr6k7ydcqdmisrwnmrn7p1ia"))))
5328 (properties `((upstream-name . "Cairo")))
5329 (build-system r-build-system)
5334 `(("pkg-config" ,pkg-config)))
5335 (home-page "http://www.rforge.net/Cairo/")
5336 (synopsis "R graphics device using Cairo graphics library")
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
5350 (license license:gpl2)))
5352 (define-public r-lubridate
5354 (name "r-lubridate")
5359 (uri (cran-uri "lubridate" version))
5362 "0pzvazzybzvln3y676yims7whsc74g8i7kgf2nsfbxdq5943z349"))))
5363 (build-system r-build-system)
5365 `(("r-rcpp" ,r-rcpp)
5366 ("r-stringr" ,r-stringr)))
5368 "https://cran.r-project.org/web/packages/lubridate")
5369 (synopsis "Make dealing with dates a little easier")
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
5377 (license license:gpl2)))
5379 (define-public r-fdrtool
5386 (uri (cran-uri "fdrtool" version))
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")
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+)))
5407 (define-public r-forcats
5414 (uri (cran-uri "forcats" version))
5417 "1mvwkynvvgz2vi8dyz11x7xrp53kadjawjcja34hwk1d89qf7g5m"))))
5418 (build-system r-build-system)
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)))
5431 (define-public r-tgstat
5432 (let ((changeset "4f8e60c03598f49aff6f5beeab40f2b995377e9f")
5436 (version (string-append "1.0.2-" revision "." (string-take changeset 7)))
5441 (url "https://bitbucket.org/tanaylab/tgstat")
5442 (changeset changeset)))
5445 "0ilkkyximy77zbncm91kdfqbxf0qyndg16pd3q3p6a3xc9qcmxvn"))))
5446 (build-system r-build-system)
5449 (modify-phases %standard-phases
5450 (add-after 'unpack 'fix-isnan
5452 (substitute* "src/tgstat.h"
5453 (("#define isnan ::isnan")
5454 "#define isnan std::isnan"))
5457 `(("r-rcpp" ,r-rcpp)))
5458 (home-page "https://bitbucket.org/tanaylab/tgstat/")
5459 (synopsis "Tanay's group statistical utilities")
5461 "The goal of tgstat is to provide fast and efficient statistical
5463 (license license:gpl2))))
5465 (define-public r-tgconfig
5466 (let ((changeset "1e02c7614713bd0866c46f0c679a058f8c6d627e")
5470 (version (string-append "0.0.0.9000-" revision "." (string-take changeset 7)))
5475 (url "https://bitbucket.org/tanaylab/tgconfig")
5476 (changeset changeset)))
5479 "0xy6c7s7mn1yx191154bwbv1bl424bnvc80syqpl1vdl28ba46rj"))))
5480 (build-system r-build-system)
5482 `(("r-yaml" ,r-yaml)))
5483 (home-page "https://bitbucket.org/tanaylab/tgconfig/")
5484 (synopsis "Infrastructure for managing package parameters")
5486 "The goal of tgconfig is to provide infrastructure for managing package
5488 (license license:gpl3))))
5490 (define-public r-directlabels
5492 (name "r-directlabels")
5493 (version "2017.03.31")
5497 (uri (cran-uri "directlabels" version))
5500 "01ahw0c56mnzwl611s8hnghicww4c4dgf5v2wv6bl1s1pramw9pr"))))
5501 (build-system r-build-system)
5503 `(("r-quadprog" ,r-quadprog)))
5504 (home-page "http://directlabels.r-forge.r-project.org/")
5505 (synopsis "Direct labels for multicolor plots")
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)))
5514 (define-public r-catterplots
5515 (let ((commit "40063ec57f9515d231508f135ca0ec769614efb9")
5518 (name "r-catterplots")
5519 (version (string-append "0-" revision "." (string-take commit 9)))
5523 (url "https://github.com/Gibbsdavidl/CatterPlots.git")
5525 (file-name (string-append name "-" version "-checkout"))
5528 "1wl80pgbz8d9kfpffvkh439hlgz2qldm9m75wqjfrgrg8lcjzrxg"))))
5529 (build-system r-build-system)
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))))