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