Commit | Line | Data |
---|---|---|
cb7e4867 | 1 | ;;; GNU Guix --- Functional package management for GNU |
d7786ce9 | 2 | ;;; Copyright © 2015, 2016 Ricardo Wurmus <rekado@elephly.net> |
ed6094fc | 3 | ;;; Copyright © 2015 Vicente Vera Parra <vicentemvp@gmail.com> |
f4cd2cea EF |
4 | ;;; Copyright © 2016 Andreas Enge <andreas@enge.fr> |
5 | ;;; Copyright © 2016 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> |
cb7e4867 RW |
9 | ;;; |
10 | ;;; This file is part of GNU Guix. | |
11 | ;;; | |
12 | ;;; GNU Guix is free software; you can redistribute it and/or modify it | |
13 | ;;; under the terms of the GNU General Public License as published by | |
14 | ;;; the Free Software Foundation; either version 3 of the License, or (at | |
15 | ;;; your option) any later version. | |
16 | ;;; | |
17 | ;;; GNU Guix is distributed in the hope that it will be useful, but | |
18 | ;;; WITHOUT ANY WARRANTY; without even the implied warranty of | |
19 | ;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
20 | ;;; GNU General Public License for more details. | |
21 | ;;; | |
22 | ;;; You should have received a copy of the GNU General Public License | |
23 | ;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>. | |
24 | ||
25 | (define-module (gnu packages statistics) | |
26 | #:use-module ((guix licenses) #:prefix license:) | |
27 | #:use-module (guix packages) | |
28 | #:use-module (guix download) | |
29 | #:use-module (guix utils) | |
30 | #:use-module (guix build-system gnu) | |
b12636e6 | 31 | #:use-module (guix build-system r) |
9bc08aa0 | 32 | #:use-module (guix build-system python) |
cb7e4867 RW |
33 | #:use-module (gnu packages) |
34 | #:use-module (gnu packages compression) | |
cefaa79c | 35 | #:use-module (gnu packages curl) |
cb7e4867 RW |
36 | #:use-module (gnu packages gcc) |
37 | #:use-module (gnu packages gtk) | |
0b65f1a0 JD |
38 | #:use-module (gnu packages gettext) |
39 | #:use-module (gnu packages glib) | |
77bdb276 | 40 | #:use-module (gnu packages haskell) |
cb7e4867 RW |
41 | #:use-module (gnu packages icu4c) |
42 | #:use-module (gnu packages image) | |
43 | #:use-module (gnu packages java) | |
2d21d44d | 44 | #:use-module (gnu packages machine-learning) |
cb7e4867 | 45 | #:use-module (gnu packages maths) |
07f911ba | 46 | #:use-module (gnu packages multiprecision) |
cb7e4867 RW |
47 | #:use-module (gnu packages pcre) |
48 | #:use-module (gnu packages perl) | |
49 | #:use-module (gnu packages pkg-config) | |
9bc08aa0 | 50 | #:use-module (gnu packages python) |
cb7e4867 | 51 | #:use-module (gnu packages readline) |
035711f1 | 52 | #:use-module (gnu packages ssh) |
cb7e4867 | 53 | #:use-module (gnu packages texinfo) |
035711f1 | 54 | #:use-module (gnu packages tls) |
ce0614dd | 55 | #:use-module (gnu packages base) |
6140747f | 56 | #:use-module (gnu packages web) |
67a167fd | 57 | #:use-module (gnu packages xml) |
9bc08aa0 RW |
58 | #:use-module (gnu packages xorg) |
59 | #:use-module (gnu packages zip) | |
60 | #:use-module (srfi srfi-1)) | |
cb7e4867 | 61 | |
0b65f1a0 JD |
62 | |
63 | (define-public pspp | |
64 | (package | |
65 | (name "pspp") | |
df2c7563 | 66 | (version "0.10.2") |
0b65f1a0 JD |
67 | (source |
68 | (origin | |
69 | (method url-fetch) | |
70 | (uri (string-append "mirror://gnu/pspp/pspp-" | |
71 | version ".tar.gz")) | |
72 | (sha256 | |
73 | (base32 | |
df2c7563 | 74 | "1afsq0a3iij64qacczvwhk81qg0q5rfqm055y5h9ls28d6paqz7p")))) |
0b65f1a0 JD |
75 | (build-system gnu-build-system) |
76 | (inputs | |
77 | `(("cairo" ,cairo) | |
78 | ("gettext" ,gnu-gettext) | |
79 | ("gsl" ,gsl) | |
80 | ("libxml2" ,libxml2) | |
81 | ("pango" ,pango) | |
82 | ("readline" ,readline) | |
83 | ("gtk" ,gtk+) | |
84 | ("gtksourceview" ,gtksourceview) | |
85 | ("zlib" ,zlib))) | |
86 | (native-inputs | |
87 | `(("glib" ,glib "bin") ;for glib-genmarshal | |
88 | ("perl" ,perl) | |
89 | ("pkg-config" ,pkg-config))) | |
90 | (home-page "http://www.gnu.org/software/pspp/") | |
91 | (synopsis "Statistical analysis") | |
92 | (description | |
93 | "GNU PSPP is a statistical analysis program. It can perform | |
94 | descriptive statistics, T-tests, linear regression and non-parametric tests. | |
95 | It features both a graphical interface as well as command-line input. PSPP | |
96 | is designed to interoperate with Gnumeric, LibreOffice and OpenOffice. Data | |
97 | can be imported from spreadsheets, text files and database sources and it can | |
98 | be output in text, PostScript, PDF or HTML.") | |
99 | (license license:gpl3+))) | |
100 | ||
cb7e4867 RW |
101 | (define-public r |
102 | (package | |
103 | (name "r") | |
e42eb908 | 104 | (version "3.3.0") |
cb7e4867 RW |
105 | (source (origin |
106 | (method url-fetch) | |
107 | (uri (string-append "mirror://cran/src/base/R-" | |
108 | (version-prefix version 1) "/R-" | |
109 | version ".tar.gz")) | |
110 | (sha256 | |
111 | (base32 | |
e42eb908 | 112 | "1r0i0cqs3p0vrpiwq0zg5kbrmja9rmaijyzf9f23v6d5n5ab2mlj")))) |
cb7e4867 RW |
113 | (build-system gnu-build-system) |
114 | (arguments | |
ff2b1c17 RW |
115 | `(#:make-flags |
116 | (list (string-append "LDFLAGS=-Wl,-rpath=" | |
117 | (assoc-ref %outputs "out") | |
118 | "/lib/R/lib")) | |
119 | #:phases | |
f4f4ced8 RW |
120 | (modify-phases %standard-phases |
121 | (add-before | |
122 | 'configure 'set-default-pager | |
123 | ;; Set default pager to "cat", because otherwise it is "false", | |
124 | ;; making "help()" print nothing at all. | |
125 | (lambda _ (setenv "PAGER" "cat") #t)) | |
e42eb908 | 126 | (add-before 'check 'set-timezone |
f4f4ced8 | 127 | ;; Some tests require the timezone to be set. |
e42eb908 RW |
128 | (lambda* (#:key inputs #:allow-other-keys) |
129 | (setenv "TZ" "UTC") | |
130 | (setenv "TZDIR" | |
131 | (string-append (assoc-ref inputs "tzdata") | |
132 | "/share/zoneinfo")) | |
133 | #t)) | |
af23b6e9 RW |
134 | (add-after 'build 'make-info |
135 | (lambda _ (zero? (system* "make" "info")))) | |
136 | (add-after 'build 'install-info | |
137 | (lambda _ (zero? (system* "make" "install-info"))))) | |
cb7e4867 | 138 | #:configure-flags |
eb2afd00 | 139 | '("--with-cairo" |
cb7e4867 RW |
140 | "--with-libpng" |
141 | "--with-jpeglib" | |
142 | "--with-libtiff" | |
143 | "--with-ICU" | |
144 | "--enable-R-shlib" | |
145 | "--enable-BLAS-shlib" | |
146 | "--with-system-zlib" | |
147 | "--with-system-bzlib" | |
148 | "--with-system-pcre" | |
149 | "--with-system-tre" | |
150 | "--with-system-xz"))) | |
5e9738b7 RW |
151 | ;; R has some support for Java. When the JDK is available at configure |
152 | ;; time environment variables pointing to the JDK will be recorded under | |
153 | ;; $R_HOME/etc and ./tools/getsp.java will be compiled which is used by "R | |
154 | ;; CMD javareconf". "R CMD javareconf" appears to only be used to update | |
155 | ;; the recorded environment variables in $R_HOME/etc. Refer to | |
156 | ;; https://cran.r-project.org/doc/manuals/r-release/R-admin.html#Java-support | |
157 | ;; for additional information. | |
158 | ||
159 | ;; As the JDK is a rather large input with only very limited effects on R, | |
160 | ;; we decided to drop it. | |
cb7e4867 RW |
161 | (native-inputs |
162 | `(("bzip2" ,bzip2) | |
163 | ("perl" ,perl) | |
164 | ("pkg-config" ,pkg-config) | |
cb7e4867 RW |
165 | ("texinfo" ,texinfo) ; for building HTML manuals |
166 | ("which" ,which) ; for tests/Examples/base-Ex.R | |
167 | ("xz" ,xz))) | |
168 | (inputs | |
05e9f30f RW |
169 | `(;; We need not only cairo here, but pango to ensure that tests for the |
170 | ;; "cairo" bitmapType plotting backend succeed. | |
171 | ("pango" ,pango) | |
e42eb908 RW |
172 | ("curl" ,curl) |
173 | ("tzdata" ,tzdata) | |
19afbea1 | 174 | ("gfortran" ,gfortran) |
cb7e4867 | 175 | ("icu4c" ,icu4c) |
cb7e4867 RW |
176 | ("libjpeg" ,libjpeg) |
177 | ("libpng" ,libpng) | |
178 | ("libtiff" ,libtiff) | |
179 | ("libxt" ,libxt) | |
180 | ("pcre" ,pcre) | |
181 | ("readline" ,readline) | |
182 | ("zlib" ,zlib))) | |
12a9f4af RW |
183 | (native-search-paths |
184 | (list (search-path-specification | |
185 | (variable "R_LIBS_SITE") | |
186 | (files (list "site-library/"))))) | |
cb7e4867 RW |
187 | (home-page "http://www.r-project.org/") |
188 | (synopsis "Environment for statistical computing and graphics") | |
189 | (description | |
190 | "R is a language and environment for statistical computing and graphics. | |
191 | It provides a variety of statistical techniques, such as linear and nonlinear | |
192 | modeling, classical statistical tests, time-series analysis, classification | |
193 | and clustering. It also provides robust support for producing | |
194 | publication-quality data plots. A large amount of 3rd-party packages are | |
195 | available, greatly increasing its breadth and scope.") | |
196 | (license license:gpl3+))) | |
b12636e6 RW |
197 | |
198 | (define-public r-colorspace | |
199 | (package | |
200 | (name "r-colorspace") | |
201 | (version "1.2-6") | |
202 | (source | |
203 | (origin | |
204 | (method url-fetch) | |
9cda3622 | 205 | (uri (cran-uri "colorspace" version)) |
b12636e6 RW |
206 | (sha256 |
207 | (base32 "0y8n4ljwhbdvkysdwgqzcnpv107pb3px1jip3k6svv86p72nacds")))) | |
208 | (build-system r-build-system) | |
209 | (home-page "http://cran.r-project.org/web/packages/colorspace") | |
210 | (synopsis "Color space manipulation") | |
211 | (description | |
212 | "This package carries out a mapping between assorted color spaces | |
213 | including RGB, HSV, HLS, CIEXYZ, CIELUV, HCL (polar CIELUV), CIELAB and polar | |
214 | CIELAB. Qualitative, sequential, and diverging color palettes based on HCL | |
215 | colors are provided.") | |
216 | (license license:bsd-3))) | |
3587effb RW |
217 | |
218 | (define-public r-dichromat | |
219 | (package | |
220 | (name "r-dichromat") | |
221 | (version "2.0-0") | |
222 | (source | |
223 | (origin | |
224 | (method url-fetch) | |
9cda3622 | 225 | (uri (cran-uri "dichromat" version)) |
3587effb RW |
226 | (sha256 |
227 | (base32 "1l8db1nk29ccqg3mkbafvfiw0775iq4gapysf88xq2zp6spiw59i")))) | |
228 | (build-system r-build-system) | |
229 | (home-page "http://cran.r-project.org/web/packages/dichromat") | |
230 | (synopsis "Color schemes for dichromats") | |
231 | (description | |
232 | "Dichromat collapses red-green or green-blue distinctions to simulate the | |
233 | effects of different types of color-blindness.") | |
234 | (license license:gpl2+))) | |
177f38c7 RW |
235 | |
236 | (define-public r-digest | |
237 | (package | |
238 | (name "r-digest") | |
5aaa12df | 239 | (version "0.6.10") |
177f38c7 RW |
240 | (source |
241 | (origin | |
242 | (method url-fetch) | |
9cda3622 | 243 | (uri (cran-uri "digest" version)) |
177f38c7 | 244 | (sha256 |
5aaa12df | 245 | (base32 "07825781nl85gx3pqskc04ywgs0f874qj9z2nyrwz7h0aqks0l8c")))) |
177f38c7 | 246 | (build-system r-build-system) |
fe2087cc RW |
247 | ;; Vignettes require r-knitr, which requires r-digest, so we have to |
248 | ;; disable them and the tests. | |
249 | (arguments | |
250 | `(#:tests? #f | |
251 | #:configure-flags (list "--no-build-vignettes"))) | |
177f38c7 RW |
252 | (home-page "http://dirk.eddelbuettel.com/code/digest.html") |
253 | (synopsis "Create cryptographic hash digests of R objects") | |
254 | (description | |
255 | "This package contains an implementation of a function 'digest()' for the | |
256 | creation of hash digests of arbitrary R objects (using the md5, sha-1, | |
257 | sha-256, crc32, xxhash and murmurhash algorithms) permitting easy comparison | |
258 | of R language objects, as well as a function 'hmac()' to create hash-based | |
259 | message authentication code. | |
260 | ||
261 | Please note that this package is not meant to be deployed for cryptographic | |
262 | purposes for which more comprehensive (and widely tested) libraries such as | |
263 | OpenSSL should be used.") | |
264 | (license license:gpl2+))) | |
112bb3c0 | 265 | |
52ad9cb6 RJ |
266 | (define-public r-estimability |
267 | (package | |
268 | (name "r-estimability") | |
269 | (version "1.1-1") | |
270 | (source (origin | |
271 | (method url-fetch) | |
272 | (uri (cran-uri "estimability" version)) | |
273 | (sha256 | |
274 | (base32 | |
275 | "049adh8i0ad0m0qln2ylqdxcs5v2q9zfignn2a50r5f93ip2ay6w")))) | |
276 | (build-system r-build-system) | |
277 | (home-page "http://cran.r-project.org/web/packages/estimability") | |
278 | (synopsis "Tools for assessing estimability of linear predictions") | |
279 | (description "Provides tools for determining estimability of linear | |
280 | functions of regression coefficients, and 'epredict' methods that handle | |
281 | non-estimable cases correctly.") | |
282 | (license license:gpl2+))) | |
283 | ||
112bb3c0 RW |
284 | (define-public r-gtable |
285 | (package | |
286 | (name "r-gtable") | |
287 | (version "0.1.2") | |
288 | (source | |
289 | (origin | |
290 | (method url-fetch) | |
9cda3622 | 291 | (uri (cran-uri "gtable" version)) |
112bb3c0 RW |
292 | (sha256 |
293 | (base32 "0k9hfj6r5y238gqh92s3cbdn34biczx3zfh79ix5xq0c5vkai2xh")))) | |
294 | (build-system r-build-system) | |
295 | (home-page "https://cran.r-project.org/web/packages/gtable") | |
296 | (synopsis "R library to arrange grobs in tables") | |
297 | (description | |
298 | "Gtable is a collection of tools to make it easier to work with | |
299 | \"tables\" of grobs.") | |
300 | (license license:gpl2+))) | |
b7eee9fc | 301 | |
0c77fd50 RW |
302 | (define-public r-pheatmap |
303 | (package | |
304 | (name "r-pheatmap") | |
305 | (version "1.0.8") | |
306 | (source | |
307 | (origin | |
308 | (method url-fetch) | |
309 | (uri (cran-uri "pheatmap" version)) | |
310 | (sha256 | |
311 | (base32 | |
312 | "1ik0k69kb4n7xl3bkx4p09kw08ri93855zcsxq1c668171jqfiji")))) | |
313 | (build-system r-build-system) | |
314 | (propagated-inputs | |
315 | `(("r-gtable" ,r-gtable) | |
316 | ("r-rcolorbrewer" ,r-rcolorbrewer) | |
317 | ("r-scales" ,r-scales))) | |
318 | (home-page | |
319 | "http://cran.r-project.org/web/packages/pheatmap") | |
320 | (synopsis "Pretty heatmaps") | |
321 | (description | |
322 | "This package provides an implementation of heatmaps that offers more | |
323 | control over dimensions and appearance.") | |
324 | (license license:gpl2+))) | |
325 | ||
b7eee9fc RW |
326 | (define-public r-labeling |
327 | (package | |
328 | (name "r-labeling") | |
329 | (version "0.3") | |
330 | (source | |
331 | (origin | |
332 | (method url-fetch) | |
9cda3622 | 333 | (uri (cran-uri "labeling" version)) |
b7eee9fc RW |
334 | (sha256 |
335 | (base32 "13sk7zrrrzry6ky1bp8mmnzcl9jhvkig8j4id9nny7z993mnk00d")))) | |
336 | (build-system r-build-system) | |
337 | (home-page "http://cran.r-project.org/web/packages/labeling") | |
338 | (synopsis "Axis labeling algorithms") | |
339 | (description "The labeling package provides a range of axis labeling | |
340 | algorithms.") | |
341 | (license license:expat))) | |
d69c4b04 RW |
342 | |
343 | (define-public r-magrittr | |
344 | (package | |
345 | (name "r-magrittr") | |
346 | (version "1.5") | |
347 | (source | |
348 | (origin | |
349 | (method url-fetch) | |
9cda3622 | 350 | (uri (cran-uri "magrittr" version)) |
d69c4b04 RW |
351 | (sha256 |
352 | (base32 "1s1ar6rag8m277qcqmdp02gn4awn9bdj9ax0r8s32i59mm1mki05")))) | |
353 | (build-system r-build-system) | |
354 | (home-page "http://cran.r-project.org/web/packages/magrittr/index.html") | |
355 | (synopsis "A forward-pipe operator for R") | |
356 | (description | |
357 | "Magrittr provides a mechanism for chaining commands with a new | |
358 | forward-pipe operator, %>%. This operator will forward a value, or the result | |
359 | of an expression, into the next function call/expression. There is flexible | |
360 | support for the type of right-hand side expressions. For more information, | |
361 | see package vignette. To quote Rene Magritte, \"Ceci n'est pas un pipe.\"") | |
362 | (license license:expat))) | |
44373339 RW |
363 | |
364 | (define-public r-munsell | |
365 | (package | |
366 | (name "r-munsell") | |
a99bed8c | 367 | (version "0.4.3") |
44373339 RW |
368 | (source |
369 | (origin | |
370 | (method url-fetch) | |
9cda3622 | 371 | (uri (cran-uri "munsell" version)) |
44373339 | 372 | (sha256 |
a99bed8c | 373 | (base32 "0jdxlbjslkzaqgp058da1cgm85qvqi09wpcgpvp4hvwnmy83qz1r")))) |
44373339 RW |
374 | (build-system r-build-system) |
375 | (propagated-inputs | |
376 | `(("r-colorspace" ,r-colorspace))) | |
377 | (home-page "http://cran.r-project.org/web/packages/munsell") | |
378 | (synopsis "Munsell colour system") | |
379 | (description | |
380 | "The Munsell package contains Functions for exploring and using the | |
381 | Munsell colour system.") | |
382 | (license license:expat))) | |
ea69e2f8 RW |
383 | |
384 | (define-public r-rcpp | |
385 | (package | |
386 | (name "r-rcpp") | |
cb27d6ba | 387 | (version "0.12.7") |
ea69e2f8 RW |
388 | (source |
389 | (origin | |
390 | (method url-fetch) | |
9cda3622 | 391 | (uri (cran-uri "Rcpp" version)) |
ea69e2f8 | 392 | (sha256 |
cb27d6ba | 393 | (base32 "1ipid4yfqp1k5c70f7bz7izzq63srmrcxhiqrnyilk2wgrvd7ypb")))) |
ea69e2f8 RW |
394 | (build-system r-build-system) |
395 | (home-page "http://www.rcpp.org") | |
396 | (synopsis "Seamless R and C++ Integration") | |
397 | (description | |
398 | "The Rcpp package provides R functions as well as C++ classes which offer | |
399 | a seamless integration of R and C++. Many R data types and objects can be | |
400 | mapped back and forth to C++ equivalents which facilitates both writing of new | |
401 | code as well as easier integration of third-party libraries. Documentation | |
402 | about Rcpp is provided by several vignettes included in this package, via the | |
403 | 'Rcpp Gallery' site at <http://gallery.rcpp.org>, the paper by Eddelbuettel | |
404 | and Francois (2011, JSS), and the book by Eddelbuettel (2013, Springer); see | |
405 | 'citation(\"Rcpp\")' for details on these last two.") | |
406 | (license license:gpl2+))) | |
7e10056b | 407 | |
092197a5 RW |
408 | (define-public r-matrix |
409 | (package | |
410 | (name "r-matrix") | |
411 | (version "1.2-7") | |
412 | (source | |
413 | (origin | |
414 | (method url-fetch) | |
415 | (uri (cran-uri "Matrix" version)) | |
416 | (sha256 | |
417 | (base32 | |
418 | "18x3mdq5cdhbk1lw5cj7vbr41lk8w9p4i5kzh8wslgq6p3d9ac3c")))) | |
419 | (properties `((upstream-name . "Matrix"))) | |
420 | (build-system r-build-system) | |
421 | (propagated-inputs | |
422 | `(("r-lattice" ,r-lattice))) | |
423 | (home-page "http://Matrix.R-forge.R-project.org/") | |
424 | (synopsis "Sparse and dense matrix classes and methods") | |
425 | (description | |
426 | "This package provides classes and methods for dense and sparse matrices | |
427 | and operations on them using LAPACK and SuiteSparse.") | |
428 | (license license:gpl2+))) | |
429 | ||
08466208 BW |
430 | (define-public r-mgcv |
431 | (package | |
432 | (name "r-mgcv") | |
21f45c9d | 433 | (version "1.8-14") |
08466208 BW |
434 | (source |
435 | (origin | |
436 | (method url-fetch) | |
437 | (uri (cran-uri "mgcv" version)) | |
438 | (sha256 | |
439 | (base32 | |
21f45c9d | 440 | "0ly9x23q6kd7aqrsb8qjsj8jc597h3068iaqjmkkdv56r5dln29f")))) |
08466208 BW |
441 | (build-system r-build-system) |
442 | (home-page "http://cran.r-project.org/web/packages/mgcv") | |
443 | (synopsis "Mixed generalised additive model computation") | |
444 | (description | |
445 | "GAMs, GAMMs and other generalized ridge regression with multiple smoothing | |
446 | parameter estimation by GCV, REML or UBRE/AIC. The library includes a | |
447 | @code{gam()} function, a wide variety of smoothers, JAGS support and | |
448 | distributions beyond the exponential family.") | |
449 | (license license:gpl2+))) | |
450 | ||
de682e6f BW |
451 | (define-public r-permute |
452 | (package | |
453 | (name "r-permute") | |
8b2f96e7 | 454 | (version "0.9-4") |
de682e6f BW |
455 | (source |
456 | (origin | |
457 | (method url-fetch) | |
458 | (uri (cran-uri "permute" version)) | |
459 | (sha256 | |
460 | (base32 | |
8b2f96e7 | 461 | "1w8wzk1fg9q7wvisnfp2js70dg0m9wi12gkdhpyngpbdcgssahd5")))) |
de682e6f BW |
462 | (build-system r-build-system) |
463 | ;; Tests do not run correctly, but running them properly would entail a | |
464 | ;; circular dependency with vegan. | |
465 | (home-page "https://github.com/gavinsimpson/permute") | |
466 | (synopsis "Functions for Generating Restricted Permutations of Data") | |
467 | (description | |
468 | "This package provides a set of restricted permutation designs for freely | |
469 | exchangeable, line transects (time series), spatial grid designs and permutation | |
470 | of blocks (groups of samples). @code{permute} also allows split-plot designs, | |
471 | in which the whole-plots or split-plots or both can be freely exchangeable.") | |
472 | (license license:gpl2+))) | |
473 | ||
7e10056b RW |
474 | (define-public r-plyr |
475 | (package | |
476 | (name "r-plyr") | |
deb265a7 | 477 | (version "1.8.4") |
7e10056b RW |
478 | (source |
479 | (origin | |
480 | (method url-fetch) | |
9cda3622 | 481 | (uri (cran-uri "plyr" version)) |
7e10056b | 482 | (sha256 |
deb265a7 | 483 | (base32 "1igar5pcjqh0jyxv0z3jah8rz617vfa86vw0r5c7c031b7bj5db0")))) |
7e10056b RW |
484 | (build-system r-build-system) |
485 | (native-inputs `(("r-rcpp" ,r-rcpp))) | |
486 | (home-page "http://had.co.nz/plyr") | |
487 | (synopsis "Tools for Splitting, Applying and Combining Data") | |
488 | (description | |
489 | "Plyr is a set of tools that solves a common set of problems: you need to | |
490 | break a big problem down into manageable pieces, operate on each piece and | |
491 | then put all the pieces back together. For example, you might want to fit a | |
492 | model to each spatial location or time point in your study, summarise data by | |
493 | panels or collapse high-dimensional arrays to simpler summary statistics.") | |
494 | (license license:expat))) | |
9a4d8968 RW |
495 | |
496 | (define-public r-proto | |
497 | (package | |
498 | (name "r-proto") | |
499 | (version "0.3-10") | |
500 | (source | |
501 | (origin | |
502 | (method url-fetch) | |
9cda3622 | 503 | (uri (cran-uri "proto" version)) |
9a4d8968 RW |
504 | (sha256 |
505 | (base32 "03mvzi529y6kjcp9bkpk7zlgpcakb3iz73hca6rpjy14pyzl3nfh")))) | |
506 | (build-system r-build-system) | |
507 | (home-page "http://r-proto.googlecode.com") | |
508 | (synopsis "Prototype object-based programming") | |
509 | (description | |
510 | "Proto is an object oriented system using object-based, also called | |
511 | prototype-based, rather than class-based object oriented ideas.") | |
512 | (license license:gpl2+))) | |
a45ba127 RW |
513 | |
514 | (define-public r-rcolorbrewer | |
515 | (package | |
516 | (name "r-rcolorbrewer") | |
517 | (version "1.1-2") | |
518 | (source | |
519 | (origin | |
520 | (method url-fetch) | |
9cda3622 | 521 | (uri (cran-uri "RColorBrewer" version)) |
a45ba127 RW |
522 | (sha256 |
523 | (base32 "1pfcl8z1pnsssfaaz9dvdckyfnnc6rcq56dhislbf571hhg7isgk")))) | |
524 | (build-system r-build-system) | |
525 | (home-page "http://cran.r-project.org/web/packages/RColorBrewer") | |
526 | (synopsis "ColorBrewer palettes") | |
527 | (description | |
528 | "This package provides color schemes for maps (and other graphics) | |
529 | designed by Cynthia Brewer as described at http://colorbrewer2.org") | |
530 | ;; Includes code licensed under bsd-4 | |
531 | (license license:asl2.0))) | |
4dca98dc | 532 | |
8e1bfc7e RW |
533 | (define-public r-sendmailr |
534 | (package | |
535 | (name "r-sendmailr") | |
536 | (version "1.2-1") | |
537 | (source | |
538 | (origin | |
539 | (method url-fetch) | |
540 | (uri (cran-uri "sendmailR" version)) | |
541 | (sha256 | |
542 | (base32 | |
543 | "0z7ipywnzgkhfvl4zb2fjwl1xq7b5wib296vn9c9qgbndj6b1zh4")))) | |
544 | (properties `((upstream-name . "sendmailR"))) | |
545 | (build-system r-build-system) | |
546 | (propagated-inputs | |
547 | `(("r-base64enc" ,r-base64enc))) | |
548 | (home-page | |
549 | "http://cran.r-project.org/web/packages/sendmailR") | |
550 | (synopsis "Send email using R") | |
551 | (description | |
552 | "This package contains a simple SMTP client which provides a portable | |
553 | solution for sending email, including attachments, from within R.") | |
554 | (license license:gpl2+))) | |
555 | ||
4dca98dc RW |
556 | (define-public r-stringi |
557 | (package | |
558 | (name "r-stringi") | |
1f94ede8 | 559 | (version "1.1.1") |
4dca98dc RW |
560 | (source |
561 | (origin | |
562 | (method url-fetch) | |
9cda3622 | 563 | (uri (cran-uri "stringi" version)) |
4dca98dc RW |
564 | (sha256 |
565 | (base32 | |
1f94ede8 | 566 | "0rg14hga1g2havd3imhk04iyh1dnisnmxf7yhiiwhs7y72hphc94")))) |
4dca98dc RW |
567 | (build-system r-build-system) |
568 | (inputs `(("icu4c" ,icu4c))) | |
569 | (native-inputs `(("pkg-config" ,pkg-config))) | |
570 | (home-page "http://stringi.rexamine.com/") | |
571 | (synopsis "Character string processing facilities") | |
572 | (description | |
573 | "This package allows for fast, correct, consistent, portable, as well as | |
574 | convenient character string/text processing in every locale and any native | |
575 | encoding. Owing to the use of the ICU library, the package provides R users | |
576 | with platform-independent functions known to Java, Perl, Python, PHP, and Ruby | |
577 | programmers. Among available features there are: pattern searching | |
578 | (e.g. via regular expressions), random string generation, string collation, | |
579 | transliteration, concatenation, date-time formatting and parsing, etc.") | |
580 | (license license:bsd-3))) | |
d5cd5c15 RW |
581 | |
582 | (define-public r-stringr | |
583 | (package | |
584 | (name "r-stringr") | |
bf1e9e45 | 585 | (version "1.1.0") |
d5cd5c15 RW |
586 | (source |
587 | (origin | |
588 | (method url-fetch) | |
9cda3622 | 589 | (uri (cran-uri "stringr" version)) |
d5cd5c15 | 590 | (sha256 |
bf1e9e45 | 591 | (base32 "0css5j4psl80br75chg6s1s3ipzf89f71bnbys34flp9yghg1cfc")))) |
d5cd5c15 RW |
592 | (build-system r-build-system) |
593 | (propagated-inputs | |
594 | `(("r-magrittr" ,r-magrittr) | |
595 | ("r-stringi" ,r-stringi))) | |
718a2bde | 596 | (home-page "https://github.com/hadley/stringr") |
d5cd5c15 RW |
597 | (synopsis "Simple, consistent wrappers for common string operations") |
598 | (description | |
599 | "Stringr is a consistent, simple and easy to use set of wrappers around | |
600 | the fantastic 'stringi' package. All function and argument names (and | |
601 | positions) are consistent, all functions deal with \"NA\"'s and zero length | |
602 | vectors in the same way, and the output from one function is easy to feed into | |
603 | the input of another.") | |
604 | (license license:gpl2+))) | |
9ca731ba RW |
605 | |
606 | (define-public r-reshape2 | |
607 | (package | |
608 | (name "r-reshape2") | |
609 | (version "1.4.1") | |
610 | (source | |
611 | (origin | |
612 | (method url-fetch) | |
9cda3622 | 613 | (uri (cran-uri "reshape2" version)) |
9ca731ba RW |
614 | (sha256 |
615 | (base32 "0hl082dyk3pk07nqprpn5dvnrkqhnf6zjnjig1ijddxhlmsrzm7v")))) | |
616 | (build-system r-build-system) | |
617 | (propagated-inputs | |
618 | `(("r-plyr" ,r-plyr) | |
619 | ("r-rcpp" ,r-rcpp) | |
620 | ("r-stringr" ,r-stringr))) | |
621 | (home-page "https://github.com/hadley/reshape") | |
622 | (synopsis "Flexibly reshape data: a reboot of the \"reshape\" package") | |
623 | (description | |
624 | "Reshape2 is an R library to flexibly restructure and aggregate data | |
625 | using just two functions: melt and dcast (or acast).") | |
626 | (license license:expat))) | |
a11ee478 RW |
627 | |
628 | (define-public r-scales | |
629 | (package | |
630 | (name "r-scales") | |
cf2e19a9 | 631 | (version "0.4.0") |
a11ee478 RW |
632 | (source |
633 | (origin | |
634 | (method url-fetch) | |
9cda3622 | 635 | (uri (cran-uri "scales" version)) |
a11ee478 | 636 | (sha256 |
cf2e19a9 | 637 | (base32 "19y6q4j8vpmc73dnn4ncp5wj44gri7m77ys3z2rn3crrcc9zc7l5")))) |
a11ee478 RW |
638 | (build-system r-build-system) |
639 | (propagated-inputs | |
640 | `(("r-dichromat" ,r-dichromat) | |
641 | ("r-labeling" ,r-labeling) | |
642 | ("r-munsell" ,r-munsell) | |
643 | ("r-plyr" ,r-plyr) | |
644 | ("r-rcolorbrewer" ,r-rcolorbrewer) | |
645 | ("r-rcpp" ,r-rcpp))) | |
646 | (home-page "https://github.com/hadley/scales") | |
647 | (synopsis "Scale functions for visualization") | |
648 | (description | |
649 | "This package provides graphical scales that map data to aesthetics, and | |
650 | provides methods for automatically determining breaks and labels for axes and | |
651 | legends.") | |
652 | (license license:expat))) | |
d11b808f RW |
653 | |
654 | (define-public r-ggplot2 | |
655 | (package | |
656 | (name "r-ggplot2") | |
b268e496 | 657 | (version "2.1.0") |
d11b808f RW |
658 | (source |
659 | (origin | |
660 | (method url-fetch) | |
9cda3622 | 661 | (uri (cran-uri "ggplot2" version)) |
d11b808f | 662 | (sha256 |
b268e496 | 663 | (base32 "0s9rvp0f736ji6p9xpxq54agxf95pjkql4sj7ag0hv2xhnp27hzj")))) |
d11b808f RW |
664 | (build-system r-build-system) |
665 | (propagated-inputs | |
666 | `(("r-digest" ,r-digest) | |
667 | ("r-gtable" ,r-gtable) | |
668 | ("r-plyr" ,r-plyr) | |
669 | ("r-proto" ,r-proto) | |
670 | ("r-reshape2" ,r-reshape2) | |
975cd29a BW |
671 | ("r-scales" ,r-scales) |
672 | ("r-svglite" ,r-svglite))) | |
d11b808f RW |
673 | (home-page "http://ggplot2.org") |
674 | (synopsis "An implementation of the grammar of graphics") | |
675 | (description | |
676 | "Ggplot2 is an implementation of the grammar of graphics in R. It | |
677 | combines the advantages of both base and lattice graphics: conditioning and | |
678 | shared axes are handled automatically, and you can still build up a plot step | |
679 | by step from multiple data sources. It also implements a sophisticated | |
680 | multidimensional conditioning system and a consistent interface to map data to | |
681 | aesthetic attributes.") | |
682 | (license license:gpl2+))) | |
ed6094fc | 683 | |
c5940b15 BW |
684 | (define-public r-gdtools |
685 | (package | |
686 | (name "r-gdtools") | |
687 | (version "0.0.7") | |
688 | (source | |
689 | (origin | |
690 | (method url-fetch) | |
691 | (uri (cran-uri "gdtools" version)) | |
692 | (sha256 | |
693 | (base32 | |
694 | "1bmnf9d677f2jy8jnb9ymjz1qzm4yrd0qp6k5qrrly06jfffyx7g")))) | |
695 | (build-system r-build-system) | |
696 | (native-inputs | |
697 | `(("r-rcpp" ,r-rcpp) | |
698 | ("pkg-config" ,pkg-config))) | |
699 | (inputs | |
700 | `(("cairo" ,cairo))) | |
701 | (home-page "http://cran.r-project.org/web/packages/gdtools") | |
702 | (synopsis "Utilities for graphical rendering") | |
703 | (description | |
704 | "The @code{gdtools} package provides functionalities to get font metrics | |
705 | and to generate base64 encoded string from raster matrix.") | |
706 | (license license:gpl3))) | |
707 | ||
3aebedcc BW |
708 | (define-public r-svglite |
709 | (package | |
710 | (name "r-svglite") | |
711 | (version "1.1.0") | |
712 | (source | |
713 | (origin | |
714 | (method url-fetch) | |
715 | (uri (cran-uri "svglite" version)) | |
716 | (sha256 | |
717 | (base32 | |
718 | "11ryicjglfi6jvkk4jgg5kra42qbs5z2zid7jjhlslpjcljfwc70")))) | |
719 | (build-system r-build-system) | |
720 | (native-inputs `(("r-rcpp" ,r-rcpp))) | |
721 | (propagated-inputs | |
722 | `(("r-bh" ,r-bh) | |
723 | ("r-gdtools" ,r-gdtools))) | |
724 | (home-page "https://github.com/hadley/svglite") | |
725 | (synopsis "SVG graphics device") | |
726 | (description | |
727 | "@code{svglite} is a graphics device that produces clean | |
728 | @dfn{SVG} (Scalable Vector Graphics) output, suitable for use on the web, or | |
729 | hand editing. Compared to the built-in @code{svg()}, @code{svglite} is | |
730 | considerably faster, produces smaller files, and leaves text as is.") | |
731 | (license license:gpl2+))) | |
732 | ||
ed6094fc VVP |
733 | (define-public r-assertthat |
734 | (package | |
735 | (name "r-assertthat") | |
736 | (version "0.1") | |
737 | (source (origin | |
738 | (method url-fetch) | |
9cda3622 | 739 | (uri (cran-uri "assertthat" version)) |
ed6094fc VVP |
740 | (sha256 |
741 | (base32 | |
742 | "0dwsqajyglfscqilj843qfqn1ndbqpswa7b4l1d633qjk9d68qqk")))) | |
743 | (build-system r-build-system) | |
744 | (home-page "https://github.com/hadley/assertthat") | |
745 | (synopsis "Easy pre and post assertions") | |
746 | (description | |
747 | "Assertthat is an extension to stopifnot() that makes it easy to declare | |
748 | the pre and post conditions that your code should satisfy, while also | |
749 | producing friendly error messages so that your users know what they've done | |
750 | wrong.") | |
751 | (license license:gpl3+))) | |
6af48134 VVP |
752 | |
753 | (define-public r-lazyeval | |
754 | (package | |
755 | (name "r-lazyeval") | |
6d6a917a | 756 | (version "0.2.0") |
6af48134 VVP |
757 | (source (origin |
758 | (method url-fetch) | |
9cda3622 | 759 | (uri (cran-uri "lazyeval" version)) |
6af48134 VVP |
760 | (sha256 |
761 | (base32 | |
6d6a917a | 762 | "1jwdz40nznlc44hpjli7h98gnpa4d98ifggmj7z88h84n9aqywqk")))) |
6af48134 VVP |
763 | (build-system r-build-system) |
764 | (home-page "https://github.com/hadley/lazyeval") | |
765 | (synopsis "Lazy (non-standard) evaluation in R") | |
766 | (description | |
767 | "This package provides the tools necessary to do non-standard | |
768 | evaluation (NSE) in R.") | |
769 | (license license:gpl3+))) | |
8ea6b30f VVP |
770 | |
771 | (define-public r-dbi | |
772 | (package | |
773 | (name "r-dbi") | |
5b67bd6e | 774 | (version "0.5-1") |
8ea6b30f VVP |
775 | (source (origin |
776 | (method url-fetch) | |
9cda3622 | 777 | (uri (cran-uri "DBI" version)) |
8ea6b30f VVP |
778 | (sha256 |
779 | (base32 | |
5b67bd6e | 780 | "1idwm9lkmz6ns6h0vvgml18mg0k7vjqiv9p5svrdcmx7r1rirpdi")))) |
8ea6b30f VVP |
781 | (build-system r-build-system) |
782 | (home-page "https://github.com/rstats-db/DBI") | |
783 | (synopsis "R database interface") | |
784 | (description | |
785 | "The DBI package provides a database interface (DBI) definition for | |
786 | communication between R and relational database management systems. All | |
787 | classes in this package are virtual and need to be extended by the various | |
788 | R/DBMS implementations.") | |
789 | (license license:lgpl2.0+))) | |
675c9f44 VVP |
790 | |
791 | (define-public r-bh | |
792 | (package | |
793 | (name "r-bh") | |
9a0ccf43 | 794 | (version "1.60.0-2") |
675c9f44 VVP |
795 | (source (origin |
796 | (method url-fetch) | |
797 | (uri (cran-uri "BH" version)) | |
798 | (sha256 | |
799 | (base32 | |
9a0ccf43 | 800 | "136497fng9bcvrf8favpj8inz96pxdwp1rrb2k00sxjxjbgawhg4")))) |
675c9f44 VVP |
801 | (build-system r-build-system) |
802 | (home-page "https://github.com/eddelbuettel/bh") | |
803 | (synopsis "R package providing subset of Boost headers") | |
804 | (description | |
805 | "This package aims to provide the most useful subset of Boost libraries | |
806 | for template use among CRAN packages.") | |
807 | (license license:boost1.0))) | |
256ccc92 VVP |
808 | |
809 | (define-public r-evaluate | |
810 | (package | |
811 | (name "r-evaluate") | |
84e53687 | 812 | (version "0.9") |
256ccc92 VVP |
813 | (source (origin |
814 | (method url-fetch) | |
815 | (uri (cran-uri "evaluate" version)) | |
816 | (sha256 | |
817 | (base32 | |
84e53687 | 818 | "1bn6bympg9prr8d16g1g530bddii8i04hf4i2bkw0yf4dsfqq4g8")))) |
256ccc92 VVP |
819 | (build-system r-build-system) |
820 | (propagated-inputs | |
821 | `(("r-stringr" ,r-stringr))) | |
822 | (home-page "https://github.com/hadley/evaluate") | |
823 | (synopsis "Parsing and evaluation tools for R") | |
824 | (description | |
825 | "This package provides tools that allow you to recreate the parsing, | |
826 | evaluation and display of R code, with enough information that you can | |
827 | accurately recreate what happens at the command line. The tools can easily be | |
828 | adapted for other output formats, such as HTML or LaTeX.") | |
829 | (license license:gpl3+))) | |
c5bf3abe VVP |
830 | |
831 | (define-public r-formatr | |
832 | (package | |
833 | (name "r-formatr") | |
df25b004 | 834 | (version "1.4") |
c5bf3abe VVP |
835 | (source (origin |
836 | (method url-fetch) | |
837 | (uri (cran-uri "formatR" version)) | |
838 | (sha256 | |
839 | (base32 | |
df25b004 | 840 | "1fvynq0fj1r9grg9vvfdh5fl2riv6qki9f2rfpyvbvqq3xxpmi3f")))) |
c5bf3abe VVP |
841 | (build-system r-build-system) |
842 | (home-page "http://yihui.name/formatR") | |
843 | (synopsis "Format R code automatically") | |
844 | (description | |
845 | "This package provides a function to format R source code. Spaces and | |
846 | indent will be added to the code automatically, and comments will be preserved | |
847 | under certain conditions, so that R code will be more human-readable and tidy. | |
848 | There is also a Shiny app as a user interface in this package.") | |
849 | (license license:gpl3+))) | |
ad3f005b VVP |
850 | |
851 | (define-public r-highr | |
852 | (package | |
853 | (name "r-highr") | |
d5130e63 | 854 | (version "0.6") |
ad3f005b VVP |
855 | (source (origin |
856 | (method url-fetch) | |
857 | (uri (cran-uri "highr" version)) | |
858 | (sha256 | |
859 | (base32 | |
d5130e63 | 860 | "0n9v44dxdy5fhkdmpbpa2p78whyd9z3rhhy42ipdz5m5vsr55qa3")))) |
ad3f005b VVP |
861 | (build-system r-build-system) |
862 | (home-page "https://github.com/yihui/highr") | |
863 | (synopsis "Syntax highlighting for R source code") | |
864 | (description | |
865 | "This package provides syntax highlighting for R source code. Currently | |
866 | it supports LaTeX and HTML output. Source code of other languages is | |
867 | supported via Andre Simon's highlight package.") | |
868 | (license license:gpl3+))) | |
acbb40fa VVP |
869 | |
870 | (define-public r-mime | |
871 | (package | |
872 | (name "r-mime") | |
2d037a2d | 873 | (version "0.5") |
acbb40fa VVP |
874 | (source (origin |
875 | (method url-fetch) | |
876 | (uri (cran-uri "mime" version)) | |
877 | (sha256 | |
878 | (base32 | |
2d037a2d | 879 | "0i91m3ivaja1k33jwcvz16pfjypkci27awm8glil7sxhmwaj3izw")))) |
acbb40fa VVP |
880 | (build-system r-build-system) |
881 | (home-page "https://github.com/yihui/mime") | |
882 | (synopsis "R package to map filenames to MIME types") | |
883 | (description | |
884 | "This package guesses the MIME type from a filename extension using the | |
885 | data derived from /etc/mime.types in UNIX-type systems.") | |
886 | (license license:gpl2))) | |
3f8ac353 VVP |
887 | |
888 | (define-public r-markdown | |
889 | (package | |
890 | (name "r-markdown") | |
891 | (version "0.7.7") | |
892 | (source (origin | |
893 | (method url-fetch) | |
894 | (uri (cran-uri "markdown" version)) | |
895 | (sha256 | |
896 | (base32 | |
897 | "00j1hlib3il50azs2vlcyhi0bjpx1r50mxr9w9dl5g1bwjjc71hb")))) | |
898 | (build-system r-build-system) | |
899 | ;; Skip check phase because the tests require the r-knitr package to be | |
900 | ;; installed. This prevents installation failures. Knitr normally | |
901 | ;; shouldn't be available since r-markdown is a dependency of the r-knitr | |
902 | ;; package. | |
903 | (arguments `(#:tests? #f)) | |
904 | (propagated-inputs | |
905 | `(("r-mime" ,r-mime))) | |
906 | (home-page "https://github.com/rstudio/markdown") | |
907 | (synopsis "Markdown rendering for R") | |
908 | (description | |
909 | "This package provides R bindings to the Sundown Markdown rendering | |
910 | library (https://github.com/vmg/sundown). Markdown is a plain-text formatting | |
911 | syntax that can be converted to XHTML or other formats.") | |
912 | (license license:gpl2))) | |
ea3a8095 VVP |
913 | |
914 | (define-public r-yaml | |
915 | (package | |
916 | (name "r-yaml") | |
917 | (version "2.1.13") | |
918 | (source (origin | |
919 | (method url-fetch) | |
920 | (uri (cran-uri "yaml" version)) | |
921 | (sha256 | |
922 | (base32 | |
923 | "18kz5mfn7qpif5pn91w4vbrc5bkycsj85vwm5wxwzjlb02i9mxi6")))) | |
924 | (build-system r-build-system) | |
925 | (home-page "https://cran.r-project.org/web/packages/yaml/") | |
926 | (synopsis "Methods to convert R data to YAML and back") | |
927 | (description | |
928 | "This package implements the libyaml YAML 1.1 parser and | |
929 | emitter (http://pyyaml.org/wiki/LibYAML) for R.") | |
930 | (license license:bsd-3))) | |
213656b9 VVP |
931 | |
932 | (define-public r-knitr | |
933 | (package | |
934 | (name "r-knitr") | |
ad28491e | 935 | (version "1.14") |
213656b9 VVP |
936 | (source (origin |
937 | (method url-fetch) | |
938 | (uri (cran-uri "knitr" version)) | |
939 | (sha256 | |
940 | (base32 | |
ad28491e | 941 | "1v0s0knb294p7a2xkwy35bhg0w8p3qcgyphd748sj86hh8a30vds")))) |
213656b9 VVP |
942 | (build-system r-build-system) |
943 | (propagated-inputs | |
944 | `(("r-evaluate" ,r-evaluate) | |
945 | ("r-digest" ,r-digest) | |
946 | ("r-formatr" ,r-formatr) | |
947 | ("r-highr" ,r-highr) | |
948 | ("r-markdown" ,r-markdown) | |
949 | ("r-stringr" ,r-stringr) | |
950 | ("r-yaml" ,r-yaml))) | |
951 | (home-page "http://yihui.name/knitr/") | |
952 | (synopsis "General-purpose package for dynamic report generation in R") | |
953 | (description | |
954 | "This package provides a general-purpose tool for dynamic report | |
955 | generation in R using Literate Programming techniques.") | |
956 | ;; The code is released under any version of the GPL. As it is used by | |
957 | ;; r-markdown which is available under GPLv2 only, we have chosen GPLv2+ | |
958 | ;; here. | |
959 | (license license:gpl2+))) | |
4f0e8484 | 960 | |
4ce3c287 RW |
961 | (define-public r-knitrbootstrap |
962 | (package | |
963 | (name "r-knitrbootstrap") | |
964 | (version "1.0.0") | |
965 | (source | |
966 | (origin | |
967 | (method url-fetch) | |
968 | (uri (cran-uri "knitrBootstrap" version)) | |
969 | (sha256 | |
970 | (base32 | |
971 | "0pshn2slzqwpryklslsxwh1dmqcnwv6bwi7yfm6m342wjybpk0wl")))) | |
972 | (properties `((upstream-name . "knitrBootstrap"))) | |
973 | (build-system r-build-system) | |
974 | (propagated-inputs | |
975 | `(("r-knitr" ,r-knitr) | |
976 | ("r-rmarkdown" ,r-rmarkdown))) | |
977 | (home-page "https://github.com/jimhester/knitrBootstrap") | |
978 | (synopsis "Knitr bootstrap framework") | |
979 | (description | |
980 | "This package provides a framework to create Bootstrap 3 HTML reports | |
981 | from knitr Rmarkdown.") | |
982 | (license license:expat))) | |
983 | ||
4f0e8484 VVP |
984 | (define-public r-microbenchmark |
985 | (package | |
986 | (name "r-microbenchmark") | |
8e4edf08 | 987 | (version "1.4-2.1") |
4f0e8484 VVP |
988 | (source (origin |
989 | (method url-fetch) | |
990 | (uri (cran-uri "microbenchmark" version)) | |
991 | (sha256 | |
992 | (base32 | |
8e4edf08 | 993 | "0qn5r1a6qidghcisc2hpbdmj62pnixc3zz6p4ipk8mvakf0hdsvg")))) |
4f0e8484 VVP |
994 | (build-system r-build-system) |
995 | (propagated-inputs | |
996 | `(("r-ggplot2" ,r-ggplot2))) | |
997 | (home-page "https://cran.r-project.org/web/packages/microbenchmark/") | |
998 | (synopsis "Accurate timing functions for R") | |
999 | (description | |
1000 | "This package provides infrastructure to accurately measure and compare | |
1001 | the execution time of R expressions.") | |
1002 | (license license:bsd-2))) | |
1cf1cbb0 VVP |
1003 | |
1004 | (define-public r-codetools | |
1005 | (package | |
1006 | (name "r-codetools") | |
1007 | (version "0.2-14") | |
1008 | (source (origin | |
1009 | (method url-fetch) | |
1010 | (uri (cran-uri "codetools" version)) | |
1011 | (sha256 | |
1012 | (base32 | |
1013 | "0y9r4m2b8xgavr89sc179knzwpz54xljbc1dinpq2q07i4xn0397")))) | |
1014 | (build-system r-build-system) | |
1015 | (home-page "https://cran.r-project.org/web/packages/codetools/index.html") | |
1016 | (synopsis "Code analysis tools for R") | |
1017 | (description "This package provides code analysis tools for R.") | |
1018 | (license license:gpl3+))) | |
0661b4db VVP |
1019 | |
1020 | (define-public r-pryr | |
1021 | (package | |
1022 | (name "r-pryr") | |
1023 | (version "0.1.2") | |
1024 | (source (origin | |
1025 | (method url-fetch) | |
1026 | (uri (cran-uri "pryr" version)) | |
1027 | (sha256 | |
1028 | (base32 | |
1029 | "1in350a8hxwf580afavasvn3jc7x2p1b7nlwmj1scakfz74vghk5")))) | |
1030 | (build-system r-build-system) | |
1031 | (propagated-inputs | |
1032 | `(("r-stringr" ,r-stringr) | |
1033 | ("r-codetools" ,r-codetools))) | |
1034 | (native-inputs | |
1035 | `(("r-rcpp" ,r-rcpp))) | |
1036 | (home-page "https://github.com/hadley/pryr") | |
1037 | (synopsis "Tools for computing on the R language") | |
1038 | (description | |
1039 | "This package provides useful tools to pry back the covers of R and | |
1040 | understand the language at a deeper level.") | |
1041 | (license license:gpl2))) | |
b668a95c VVP |
1042 | |
1043 | (define-public r-memoise | |
1044 | (package | |
1045 | (name "r-memoise") | |
618dbdd7 | 1046 | (version "1.0.0") |
b668a95c VVP |
1047 | (source (origin |
1048 | (method url-fetch) | |
1049 | (uri (cran-uri "memoise" version)) | |
1050 | (sha256 | |
1051 | (base32 | |
618dbdd7 | 1052 | "0sq2dhpvxy17v1baj256r0jnygdy3m5a8x4zh6vhv29957qnq6zx")))) |
b668a95c VVP |
1053 | (build-system r-build-system) |
1054 | (propagated-inputs | |
1055 | `(("r-digest" ,r-digest))) | |
1056 | (home-page "http://github.com/hadley/memoise") | |
1057 | (synopsis "Memoise functions for R") | |
1058 | (description | |
1059 | "This R package allows to cache the results of a function so that when | |
1060 | you call it again with the same arguments it returns the pre-computed value.") | |
1061 | (license license:expat))) | |
834f7ff3 VVP |
1062 | |
1063 | (define-public r-crayon | |
1064 | (package | |
1065 | (name "r-crayon") | |
344d5323 | 1066 | (version "1.3.2") |
834f7ff3 VVP |
1067 | (source (origin |
1068 | (method url-fetch) | |
1069 | (uri (cran-uri "crayon" version)) | |
1070 | (sha256 | |
1071 | (base32 | |
344d5323 | 1072 | "0s2yam18slph7xsw4pyc9f92gdyf609r5w92yax69zh57kb7asws")))) |
834f7ff3 VVP |
1073 | (build-system r-build-system) |
1074 | (propagated-inputs | |
1075 | `(("r-memoise" ,r-memoise))) | |
1076 | (home-page "https://github.com/gaborcsardi/crayon") | |
1077 | (synopsis "Colored terminal output for R") | |
1078 | (description | |
1079 | "Colored terminal output on terminals that support ANSI color and | |
1080 | highlight codes. It also works in Emacs ESS. ANSI color support is | |
1081 | automatically detected. Colors and highlighting can be combined and nested. | |
1082 | New styles can also be created easily. This package was inspired by the | |
1083 | \"chalk\" JavaScript project.") | |
1084 | (license license:expat))) | |
5b9789a6 | 1085 | |
35b2001a RW |
1086 | (define-public r-praise |
1087 | (package | |
1088 | (name "r-praise") | |
1089 | (version "1.0.0") | |
1090 | (source | |
1091 | (origin | |
1092 | (method url-fetch) | |
1093 | (uri (cran-uri "praise" version)) | |
1094 | (sha256 | |
1095 | (base32 | |
1096 | "1gfyypnvmih97p2r0php9qa39grzqpsdbq5g0fdsbpq5zms5w0sw")))) | |
1097 | (build-system r-build-system) | |
1098 | (home-page "https://github.com/gaborcsardi/praise") | |
1099 | (synopsis "Functions to praise users") | |
1100 | (description | |
1101 | "This package provides template functions to assist in building friendly | |
1102 | R packages that praise their users.") | |
1103 | (license license:expat))) | |
1104 | ||
5b9789a6 VVP |
1105 | (define-public r-testthat |
1106 | (package | |
1107 | (name "r-testthat") | |
383f6337 | 1108 | (version "1.0.2") |
5b9789a6 VVP |
1109 | (source (origin |
1110 | (method url-fetch) | |
1111 | (uri (cran-uri "testthat" version)) | |
1112 | (sha256 | |
1113 | (base32 | |
383f6337 | 1114 | "0pj1r01x4ny4capr83dfa19hi5i2sjjxky99schzip8zrq5dzxqf")))) |
5b9789a6 VVP |
1115 | (build-system r-build-system) |
1116 | (propagated-inputs | |
1117 | `(("r-digest" ,r-digest) | |
99eca2b1 RW |
1118 | ("r-crayon" ,r-crayon) |
1119 | ("r-magrittr" ,r-magrittr) | |
1120 | ("r-praise" ,r-praise) | |
1121 | ("r-r6" ,r-r6))) | |
5b9789a6 VVP |
1122 | (home-page "https://github.com/hadley/testthat") |
1123 | (synopsis "Unit testing for R") | |
1124 | (description | |
1125 | "This package provides a unit testing system for R designed to be fun, | |
1126 | flexible and easy to set up.") | |
1127 | (license license:expat))) | |
ffd4b478 VVP |
1128 | |
1129 | (define-public r-r6 | |
1130 | (package | |
1131 | (name "r-r6") | |
ef82bd58 | 1132 | (version "2.1.3") |
ffd4b478 VVP |
1133 | (source (origin |
1134 | (method url-fetch) | |
1135 | (uri (cran-uri "R6" version)) | |
1136 | (sha256 | |
1137 | (base32 | |
ef82bd58 | 1138 | "19qrkgxvssyi51fm80h93sabzz0n2vgqgv1w8xjqbsap0nx379vy")))) |
ffd4b478 | 1139 | (build-system r-build-system) |
ffd4b478 VVP |
1140 | (home-page "https://github.com/wch/R6/") |
1141 | (synopsis "Classes with reference semantics in R") | |
1142 | (description | |
1143 | "The R6 package allows the creation of classes with reference semantics, | |
1144 | similar to R's built-in reference classes. Compared to reference classes, R6 | |
1145 | classes are simpler and lighter-weight, and they are not built on S4 classes | |
1146 | so they do not require the methods package. These classes allow public and | |
1147 | private members, and they support inheritance, even when the classes are | |
1148 | defined in different packages.") | |
1149 | (license license:expat))) | |
2a3a8ae7 | 1150 | |
a589acfb RW |
1151 | (define-public r-tibble |
1152 | (package | |
1153 | (name "r-tibble") | |
1154 | (version "1.2") | |
1155 | (source | |
1156 | (origin | |
1157 | (method url-fetch) | |
1158 | (uri (cran-uri "tibble" version)) | |
1159 | (sha256 | |
1160 | (base32 | |
1161 | "011i352ylq9b4xfcj7h10h7qsqd9qkc1rzc0pr1gf8qjb788p2pd")))) | |
1162 | (build-system r-build-system) | |
1163 | (propagated-inputs | |
1164 | `(("r-assertthat" ,r-assertthat) | |
1165 | ("r-lazyeval" ,r-lazyeval) | |
1166 | ("r-rcpp" ,r-rcpp))) | |
1167 | (home-page "https://github.com/hadley/tibble") | |
1168 | (synopsis "Simple data frames") | |
1169 | (description | |
1170 | "This package provides a @code{tbl_df} class that offers better checking | |
1171 | and printing capabilities than traditional data frames.") | |
1172 | (license license:expat))) | |
1173 | ||
2a3a8ae7 VVP |
1174 | (define-public r-dplyr |
1175 | (package | |
1176 | (name "r-dplyr") | |
de1eebd7 | 1177 | (version "0.5.0") |
2a3a8ae7 VVP |
1178 | (source (origin |
1179 | (method url-fetch) | |
1180 | (uri (cran-uri "dplyr" version)) | |
1181 | (sha256 | |
1182 | (base32 | |
de1eebd7 | 1183 | "0ks5cklb03laqf5ygcw986g1lv7wk1ipvypjlha8xly2y4lvilwk")))) |
2a3a8ae7 VVP |
1184 | (build-system r-build-system) |
1185 | (propagated-inputs | |
1186 | `(("r-assertthat" ,r-assertthat) | |
1187 | ("r-r6" ,r-r6) | |
1188 | ("r-magrittr" ,r-magrittr) | |
1189 | ("r-lazyeval" ,r-lazyeval) | |
de1eebd7 RW |
1190 | ("r-dbi" ,r-dbi) |
1191 | ("r-tibble" ,r-tibble))) | |
2a3a8ae7 VVP |
1192 | (native-inputs |
1193 | `(("r-rcpp" ,r-rcpp) | |
1194 | ("r-bh" ,r-bh))) | |
1195 | (home-page "https://github.com/hadley/dplyr") | |
1196 | (synopsis "Tools for working with data frames in R") | |
1197 | (description | |
1198 | "dplyr is the next iteration of plyr. It is focussed on tools for | |
1199 | working with data frames. It has three main goals: 1) identify the most | |
1200 | important data manipulation tools needed for data analysis and make them easy | |
1201 | to use in R; 2) provide fast performance for in-memory data by writing key | |
1202 | pieces of code in C++; 3) use the same code interface to work with data no | |
1203 | matter where it is stored, whether in a data frame, a data table or | |
1204 | database.") | |
1205 | (license license:expat))) | |
91312ebe | 1206 | |
b4d6f408 RW |
1207 | (define-public r-acepack |
1208 | (package | |
1209 | (name "r-acepack") | |
1210 | (version "1.3-3.3") | |
1211 | (source | |
1212 | (origin | |
1213 | (method url-fetch) | |
1214 | (uri (cran-uri "acepack" version)) | |
1215 | (sha256 | |
1216 | (base32 | |
1217 | "13ry3vyys12iplb14jfhmkrl9g5fxg3iijiggq4s4zb5m5436b1y")))) | |
1218 | (build-system r-build-system) | |
1219 | (inputs | |
1220 | `(("gfortran" ,gfortran))) | |
1221 | (home-page "http://cran.r-project.org/web/packages/acepack") | |
1222 | (synopsis "Functions for regression transformations") | |
1223 | (description | |
1224 | "This package provides ACE and AVAS methods for choosing regression | |
1225 | transformations.") | |
1226 | (license license:expat))) | |
1227 | ||
0926b877 RW |
1228 | (define-public r-cluster |
1229 | (package | |
1230 | (name "r-cluster") | |
2448c723 | 1231 | (version "2.0.4") |
0926b877 RW |
1232 | (source |
1233 | (origin | |
1234 | (method url-fetch) | |
1235 | (uri (cran-uri "cluster" version)) | |
1236 | (sha256 | |
1237 | (base32 | |
2448c723 | 1238 | "1r669aaaia05i8sv8hxiig1ddah7hm8qw869wgig5i0zzk22bnfl")))) |
0926b877 RW |
1239 | (build-system r-build-system) |
1240 | (inputs | |
1241 | `(("gfortran" ,gfortran))) | |
1242 | (home-page "http://cran.r-project.org/web/packages/cluster") | |
1243 | (synopsis "Methods for data cluster analysis") | |
1244 | (description | |
1245 | "This package provides tools that are useful in finding groups in data. | |
1246 | It is based on the methods described in Kaufman and Rousseeuw (1990) \"Finding | |
1247 | Groups in Data\".") | |
1248 | (license license:gpl2+))) | |
1249 | ||
0837dd07 RW |
1250 | (define-public r-foreign |
1251 | (package | |
1252 | (name "r-foreign") | |
1253 | (version "0.8-66") | |
1254 | (source | |
1255 | (origin | |
1256 | (method url-fetch) | |
1257 | (uri (cran-uri "foreign" version)) | |
1258 | (sha256 | |
1259 | (base32 | |
1260 | "19278jm85728zb20800w6hq9q8jy8ywdn81mgmlnxkmrr9giwh6p")))) | |
1261 | (build-system r-build-system) | |
1262 | (home-page "http://cran.r-project.org/web/packages/foreign") | |
1263 | (synopsis "Read data stored by other statistics software in R") | |
1264 | (description | |
1265 | "This package provides functions for reading and writing data stored by | |
1266 | some versions of Epi Info, Minitab, S, SAS, SPSS, Stata, Systat and Weka, and | |
1267 | for reading and writing some dBase files.") | |
1268 | (license license:gpl2+))) | |
1269 | ||
b1acb445 RW |
1270 | (define-public r-formula |
1271 | (package | |
1272 | (name "r-formula") | |
1273 | (version "1.2-1") | |
1274 | (source | |
1275 | (origin | |
1276 | (method url-fetch) | |
1277 | (uri (cran-uri "Formula" version)) | |
1278 | (sha256 | |
1279 | (base32 | |
1280 | "02in5325zzrqbhlygx6s0dinj6ymw845q70y56frqacv25ayzcax")))) | |
1281 | (properties `((upstream-name . "Formula"))) | |
1282 | (build-system r-build-system) | |
1283 | (home-page "http://cran.r-project.org/web/packages/Formula") | |
1284 | (synopsis "Extended model formulas") | |
1285 | (description | |
1286 | "This package provides a new class @code{Formula}, which extends the base | |
1287 | class @code{formula}. It supports extended formulas with multiple parts of | |
1288 | regressors on the right-hand side and/or multiple responses on the left-hand | |
1289 | side.") | |
1290 | (license (list license:gpl2+ license:gpl3+)))) | |
1291 | ||
97ee973d RW |
1292 | (define-public r-locfit |
1293 | (package | |
1294 | (name "r-locfit") | |
1295 | (version "1.5-9.1") | |
1296 | (source | |
1297 | (origin | |
1298 | (method url-fetch) | |
1299 | (uri (cran-uri "locfit" version)) | |
1300 | (sha256 | |
1301 | (base32 | |
1302 | "0lafrmq1q7x026m92h01hc9cjjiximqqi3v1g2hw7ai9vf7i897m")))) | |
1303 | (build-system r-build-system) | |
1304 | (home-page "http://cran.r-project.org/web/packages/locfit") | |
1305 | (synopsis "Local regression, likelihood and density estimation") | |
1306 | (description | |
1307 | "This package provides functions used for local regression, likelihood | |
1308 | and density estimation.") | |
1309 | (license (list license:gpl2+ license:gpl3+)))) | |
1310 | ||
91312ebe VVP |
1311 | (define-public r-chron |
1312 | (package | |
1313 | (name "r-chron") | |
1314 | (version "2.3-47") | |
1315 | (source (origin | |
1316 | (method url-fetch) | |
1317 | (uri (cran-uri "chron" version)) | |
1318 | (sha256 | |
1319 | (base32 | |
1320 | "1xj50kk8b8mbjpszp8i0wbripb5a4b36jcscwlbyap8n4487g34s")))) | |
1321 | (build-system r-build-system) | |
1322 | (home-page "http://cran.r-project.org/web/packages/chron") | |
1323 | (synopsis "Chronological R objects which can handle dates and times") | |
1324 | (description | |
1325 | "This package provides chronological R objects which can handle dates and | |
1326 | times.") | |
1327 | (license license:gpl2))) | |
0e4e03f8 | 1328 | |
62141c07 | 1329 | (define-public r-data-table |
0e4e03f8 | 1330 | (package |
62141c07 | 1331 | (name "r-data-table") |
0e4e03f8 VVP |
1332 | (version "1.9.6") |
1333 | (source (origin | |
1334 | (method url-fetch) | |
1335 | (uri (cran-uri "data.table" version)) | |
1336 | (sha256 | |
1337 | (base32 | |
1338 | "0vi3zplpxqbg78z9ifjfs1kl2i8qhkqxr7l9ysp2663kq54w6x3g")))) | |
1339 | (build-system r-build-system) | |
1340 | (propagated-inputs | |
1341 | `(("r-chron" ,r-chron))) | |
1342 | (home-page "https://github.com/Rdatatable/data.table/wiki") | |
1343 | (synopsis "Enhanced version of data.frame R object") | |
1344 | (description | |
62141c07 RW |
1345 | "The R package @code{data.table} is an extension of @code{data.frame} |
1346 | providing functions for fast aggregation of large data (e.g. 100GB in RAM), | |
1347 | fast ordered joins, fast add/modify/delete of columns by group, column listing | |
1348 | and fast file reading.") | |
1349 | (license license:gpl3+))) | |
9bc08aa0 | 1350 | |
a73f4cd1 RW |
1351 | (define-public r-xtable |
1352 | (package | |
1353 | (name "r-xtable") | |
1354 | (version "1.8-2") | |
1355 | (source | |
1356 | (origin | |
1357 | (method url-fetch) | |
1358 | (uri (cran-uri "xtable" version)) | |
1359 | (sha256 | |
1360 | (base32 | |
1361 | "0398qkpvlw3dv0myz4mjcyqwpwc2m31l127r8vdzwc71wb6s28qn")))) | |
1362 | (build-system r-build-system) | |
1363 | (native-inputs | |
1364 | `(("r-knitr" ,r-knitr))) | |
1365 | (home-page "http://xtable.r-forge.r-project.org/") | |
1366 | (synopsis "Export R tables to LaTeX or HTML") | |
1367 | (description | |
1368 | "This package provides tools to export R data as LaTeX and HTML tables.") | |
1369 | (license license:gpl2+))) | |
1370 | ||
9bc08aa0 RW |
1371 | (define-public python-patsy |
1372 | (package | |
1373 | (name "python-patsy") | |
f4cd2cea | 1374 | (version "0.4.1") |
9bc08aa0 RW |
1375 | (source (origin |
1376 | (method url-fetch) | |
f4cd2cea | 1377 | (uri (pypi-uri "patsy" version ".zip")) |
9bc08aa0 RW |
1378 | (sha256 |
1379 | (base32 | |
f4cd2cea | 1380 | "1m6knyq8hbqlx242y4da02j0x86j4qggs1j7q186w3jv0j0c476w")))) |
9bc08aa0 RW |
1381 | (build-system python-build-system) |
1382 | (arguments | |
1383 | `(#:phases | |
1384 | (modify-phases %standard-phases | |
1385 | (replace 'check (lambda _ (zero? (system* "nosetests" "-v")))) | |
1386 | (add-after 'unpack 'prevent-generation-of-egg-archive | |
1387 | (lambda _ | |
1388 | (substitute* "setup.py" | |
1389 | (("from setuptools import setup") | |
1390 | "from distutils.core import setup")) | |
1391 | #t))))) | |
1392 | (propagated-inputs | |
1393 | `(("python-numpy" ,python-numpy) | |
1394 | ("python-scipy" ,python-scipy) | |
1395 | ("python-six" ,python-six))) | |
1396 | (native-inputs | |
1397 | `(("python-nose" ,python-nose) | |
1398 | ("unzip" ,unzip))) | |
1399 | (home-page "https://github.com/pydata/patsy") | |
1400 | (synopsis "Describe statistical models and build design matrices") | |
1401 | (description | |
1402 | "Patsy is a Python package for describing statistical models and for | |
1403 | building design matrices.") | |
1404 | ;; The majority of the code is distributed under BSD-2. The module | |
1405 | ;; patsy.compat contains code derived from the Python standard library, | |
1406 | ;; and is covered by the PSFL. | |
5ad87e5b EF |
1407 | (license (list license:bsd-2 license:psfl)) |
1408 | (properties `((python2-variant . ,(delay python2-patsy)))))) | |
9bc08aa0 RW |
1409 | |
1410 | (define-public python2-patsy | |
5ad87e5b | 1411 | (let ((patsy (package-with-python2 (strip-python2-variant python-patsy)))) |
9bc08aa0 RW |
1412 | (package (inherit patsy) |
1413 | (native-inputs | |
1414 | `(("python2-setuptools" ,python2-setuptools) | |
5ad87e5b | 1415 | ,@(package-native-inputs patsy)))))) |
37fdba7e RW |
1416 | |
1417 | (define-public python-statsmodels | |
1418 | (package | |
1419 | (name "python-statsmodels") | |
1420 | (version "0.6.1") | |
1421 | (source | |
1422 | (origin | |
1423 | (method url-fetch) | |
1424 | (uri (string-append "https://pypi.python.org/packages/source/" | |
1425 | "s/statsmodels/statsmodels-" version ".tar.gz")) | |
1426 | (sha256 | |
1427 | (base32 | |
8b52167e RW |
1428 | "0xn67sqr0cc1lmlhzm71352hrb4hw7g318p5ff5q97pc98vl8kmy")) |
1429 | (patches (search-patches "python-statsmodels-fix-tests.patch")))) | |
37fdba7e RW |
1430 | (build-system python-build-system) |
1431 | (arguments | |
1432 | `(#:phases | |
1433 | (modify-phases %standard-phases | |
1434 | ;; tests must be run after installation | |
1435 | (delete 'check) | |
1436 | (add-after 'unpack 'set-matplotlib-backend-to-agg | |
1437 | (lambda _ | |
1438 | ;; Set the matplotlib backend to Agg to avoid problems using the | |
1439 | ;; GTK backend without a display. | |
1440 | (substitute* (find-files "statsmodels/graphics/tests" "\\.py") | |
1441 | (("import matplotlib\\.pyplot as plt" line) | |
1442 | (string-append "import matplotlib;matplotlib.use('Agg');" | |
1443 | line))) | |
1444 | #t)) | |
1445 | (add-after 'install 'check | |
1446 | (lambda _ | |
1447 | (with-directory-excursion "/tmp" | |
1448 | (zero? (system* "nosetests" | |
1449 | "--stop" | |
1450 | "-v" "statsmodels")))))))) | |
1451 | (propagated-inputs | |
1452 | `(("python-numpy" ,python-numpy) | |
1453 | ("python-scipy" ,python-scipy) | |
1454 | ("python-pandas" ,python-pandas) | |
1455 | ("python-patsy" ,python-patsy) | |
1456 | ("python-matplotlib" ,python-matplotlib))) | |
1457 | (native-inputs | |
1458 | `(("python-cython" ,python-cython) | |
1459 | ("python-nose" ,python-nose) | |
1460 | ("python-sphinx" ,python-sphinx))) | |
1461 | (home-page "http://statsmodels.sourceforge.net/") | |
1462 | (synopsis "Statistical modeling and econometrics in Python") | |
1463 | (description | |
1464 | "Statsmodels is a Python package that provides a complement to scipy for | |
1465 | statistical computations including descriptive statistics and estimation and | |
1466 | inference for statistical models.") | |
1467 | (license license:bsd-3))) | |
1468 | ||
1469 | (define-public python2-statsmodels | |
1470 | (let ((stats (package-with-python2 python-statsmodels))) | |
1471 | (package (inherit stats) | |
1472 | (propagated-inputs | |
8b52167e RW |
1473 | `(("python2-pytz" ,python2-pytz) |
1474 | ("python2-numpy" ,python2-numpy) | |
37fdba7e RW |
1475 | ("python2-scipy" ,python2-scipy) |
1476 | ("python2-pandas" ,python2-pandas) | |
1477 | ("python2-patsy" ,python2-patsy) | |
1478 | ("python2-matplotlib" ,python2-matplotlib))) | |
1479 | (native-inputs | |
1480 | `(("python2-setuptools" ,python2-setuptools) | |
1481 | ,@(package-native-inputs stats)))))) | |
67a167fd | 1482 | |
82047474 RJ |
1483 | (define-public r-coda |
1484 | (package | |
1485 | (name "r-coda") | |
1486 | (version "0.18-1") | |
1487 | (source (origin | |
1488 | (method url-fetch) | |
1489 | (uri (cran-uri "coda" version)) | |
1490 | (sha256 | |
1491 | (base32 | |
1492 | "03sc780734zj2kqcm8lkyvf76fql0jbfhkblpn8l58zmb6cqi958")))) | |
1493 | (build-system r-build-system) | |
1494 | (propagated-inputs | |
1495 | `(("r-lattice" ,r-lattice))) | |
1496 | (home-page "http://cran.r-project.org/web/packages/coda") | |
1497 | (synopsis "This is a package for Output Analysis and Diagnostics for MCMC") | |
1498 | (description "This package provides functions for summarizing and plotting | |
1499 | the output from Markov Chain Monte Carlo (MCMC) simulations, as well as | |
1500 | diagnostic tests of convergence to the equilibrium distribution of the Markov | |
1501 | chain.") | |
1502 | (license license:gpl2+))) | |
1503 | ||
fdd0f7b2 RW |
1504 | (define-public r-ade4 |
1505 | (package | |
1506 | (name "r-ade4") | |
1507 | (version "1.7-4") | |
1508 | (source | |
1509 | (origin | |
1510 | (method url-fetch) | |
1511 | (uri (cran-uri "ade4" version)) | |
1512 | (sha256 | |
1513 | (base32 | |
1514 | "17sbicash7z4b63dlrbaf8xx2pbwh62vykzvhdjs43h8jkl881y7")))) | |
1515 | (build-system r-build-system) | |
1516 | (home-page "http://pbil.univ-lyon1.fr/ADE-4") | |
1517 | (synopsis "Multivariate data analysis and graphical display") | |
1518 | (description | |
1519 | "The ade4 package contains data analysis functions to analyze ecological | |
1520 | and environmental data in the framework of Euclidean exploratory methods.") | |
1521 | (license license:gpl2+))) | |
1522 | ||
67a167fd RW |
1523 | (define-public r-xml2 |
1524 | (package | |
1525 | (name "r-xml2") | |
e2ad0228 | 1526 | (version "1.0.0") |
67a167fd RW |
1527 | (source |
1528 | (origin | |
1529 | (method url-fetch) | |
1530 | (uri (cran-uri "xml2" version)) | |
1531 | (sha256 | |
1532 | (base32 | |
e2ad0228 | 1533 | "0f2alsrk3yykznbhnz4pcsg9mb72cv607vbapqx5kqfv39772kgr")))) |
67a167fd RW |
1534 | (build-system r-build-system) |
1535 | (inputs | |
1536 | `(("libxml2" ,libxml2))) | |
1537 | (propagated-inputs | |
1538 | `(("r-rcpp" ,r-rcpp) | |
1539 | ("r-bh" ,r-bh))) | |
1540 | (home-page "https://github.com/hadley/xml2") | |
1541 | (synopsis "Parse XML with R") | |
1542 | (description | |
1543 | "This package provides a simple, consistent interface to working with XML | |
1544 | files in R. It is built on top of the libxml2 C library.") | |
1545 | (license license:gpl2+))) | |
6140747f | 1546 | |
9003957e RW |
1547 | (define-public r-multitaper |
1548 | (package | |
1549 | (name "r-multitaper") | |
03306201 | 1550 | (version "1.0-12") |
9003957e RW |
1551 | (source |
1552 | (origin | |
1553 | (method url-fetch) | |
1554 | (uri (cran-uri "multitaper" version)) | |
1555 | (sha256 | |
1556 | (base32 | |
03306201 | 1557 | "011qpkwpjclfc24y2qqigmdnikqwdnanflfhihigh5b5k7qwgm5j")))) |
9003957e RW |
1558 | (build-system r-build-system) |
1559 | (native-inputs | |
1560 | `(("gfortran" ,gfortran))) | |
1561 | (home-page "http://github.com/wesleyburr/multitaper/") | |
1562 | (synopsis "Multitaper spectral analysis tools") | |
1563 | (description | |
1564 | "This package implements multitaper spectral estimation | |
1565 | techniques using prolate spheroidal sequences (Slepians) and sine | |
1566 | tapers for time series analysis. It includes an adaptive weighted | |
1567 | multitaper spectral estimate, a coherence estimate, Thomson's Harmonic | |
1568 | F-test, and complex demodulation. The Slepians sequences are | |
1569 | generated efficiently using a tridiagonal matrix solution, and | |
1570 | jackknifed confidence intervals are available for most estimates.") | |
1571 | (license license:gpl2+))) | |
1572 | ||
6140747f RW |
1573 | (define-public r-rversions |
1574 | (package | |
1575 | (name "r-rversions") | |
81147fe8 | 1576 | (version "1.0.3") |
6140747f RW |
1577 | (source (origin |
1578 | (method url-fetch) | |
1579 | (uri (cran-uri "rversions" version)) | |
1580 | (sha256 | |
1581 | (base32 | |
81147fe8 | 1582 | "0i2gi05nrvknr7g89rbppkswyfcwwd4r9gp75fdfhpah8sgq1l11")))) |
6140747f RW |
1583 | (build-system r-build-system) |
1584 | (propagated-inputs | |
1585 | `(("r-curl" ,r-curl) | |
1586 | ("r-xml2" ,r-xml2))) | |
1587 | (home-page "https://github.com/metacran/rversions") | |
1588 | (synopsis "Query R versions, including 'r-release' and 'r-oldrel'") | |
1589 | (description | |
1590 | "This package provides functions to query the main R repository to find | |
1591 | the versions that @code{r-release} and @code{r-oldrel} refer to, and also all | |
1592 | previous R versions and their release dates.") | |
1593 | (license license:expat))) | |
1a77eccd RW |
1594 | |
1595 | (define-public r-whisker | |
1596 | (package | |
1597 | (name "r-whisker") | |
1598 | (version "0.3-2") | |
1599 | (source (origin | |
1600 | (method url-fetch) | |
1601 | (uri (cran-uri "whisker" version)) | |
1602 | (sha256 | |
1603 | (base32 | |
1604 | "0z4cn115gxcl086d6bnqr8afi67b6a7xqg6ivmk3l4ng1x8kcj28")))) | |
1605 | (build-system r-build-system) | |
1606 | (home-page "http://github.com/edwindj/whisker") | |
1607 | (synopsis "Logicless mustache templating for R") | |
1608 | (description | |
1609 | "This package provides logicless templating, with a syntax that is not | |
1610 | limited to R.") | |
1611 | (license license:gpl3+))) | |
13d083af | 1612 | |
0d90462f RW |
1613 | (define-public r-backports |
1614 | (package | |
1615 | (name "r-backports") | |
1616 | (version "1.0.3") | |
1617 | (source | |
1618 | (origin | |
1619 | (method url-fetch) | |
1620 | (uri (cran-uri "backports" version)) | |
1621 | (sha256 | |
1622 | (base32 | |
1623 | "0s04mbb7imqc00jl37i081y4yf7qdimk687dyrkvb20nixvjvjyh")))) | |
1624 | (build-system r-build-system) | |
1625 | (home-page "http://cran.r-project.org/web/packages/backports") | |
1626 | (synopsis "Reimplementations of functions introduced since R 3.0.0") | |
1627 | (description | |
1628 | "Provides implementations of functions which have been introduced in R | |
1629 | since version 3.0.0. The backports are conditionally exported which results | |
1630 | in R resolving the function names to the version shipped with R (if available) | |
1631 | and uses the implemented backports as fallback. This way package developers | |
1632 | can make use of the new functions without worrying about the minimum required | |
1633 | R version.") | |
1634 | (license license:gpl2+))) | |
1635 | ||
929d4aae RW |
1636 | (define-public r-checkmate |
1637 | (package | |
1638 | (name "r-checkmate") | |
1639 | (version "1.8.1") | |
1640 | (source | |
1641 | (origin | |
1642 | (method url-fetch) | |
1643 | (uri (cran-uri "checkmate" version)) | |
1644 | (sha256 | |
1645 | (base32 | |
1646 | "1nqyi58jl33af82y8kw8iy9xbna2080y1khhy90kf6lim6q74024")))) | |
1647 | (build-system r-build-system) | |
1648 | (propagated-inputs | |
1649 | `(("r-backports" ,r-backports))) | |
1650 | (home-page "https://github.com/mllg/checkmate") | |
1651 | (synopsis "Fast and versatile argument checks") | |
1652 | (description | |
1653 | "This package provides tests and assertions to perform frequent argument | |
1654 | checks. A substantial part of the package was written in C to minimize any | |
1655 | worries about execution time overhead.") | |
1656 | (license license:bsd-3))) | |
1657 | ||
cd26ec3b RW |
1658 | (define-public r-bbmisc |
1659 | (package | |
1660 | (name "r-bbmisc") | |
1661 | (version "1.10") | |
1662 | (source | |
1663 | (origin | |
1664 | (method url-fetch) | |
1665 | (uri (cran-uri "BBmisc" version)) | |
1666 | (sha256 | |
1667 | (base32 | |
1668 | "0cw2mhw7qhdrx91zzd5iwyh7ch9fy4wxga8j63731q6sxr1airjl")))) | |
1669 | (properties `((upstream-name . "BBmisc"))) | |
1670 | (build-system r-build-system) | |
1671 | (propagated-inputs | |
1672 | `(("r-checkmate" ,r-checkmate))) | |
1673 | (home-page "https://github.com/berndbischl/BBmisc") | |
1674 | (synopsis "Miscellaneous functions for R package development") | |
1675 | (description | |
1676 | "This package provides miscellaneous helper functions for the development | |
1677 | of R packages.") | |
1678 | (license license:bsd-3))) | |
1679 | ||
dc4fb16d RW |
1680 | (define-public r-fail |
1681 | (package | |
1682 | (name "r-fail") | |
1683 | (version "1.3") | |
1684 | (source | |
1685 | (origin | |
1686 | (method url-fetch) | |
1687 | (uri (cran-uri "fail" version)) | |
1688 | (sha256 | |
1689 | (base32 | |
1690 | "0vfm6kmpmgsamda5p0sl771kbnsscan31l2chzssyw93kwmams7d")))) | |
1691 | (build-system r-build-system) | |
1692 | (propagated-inputs | |
1693 | `(("r-bbmisc" ,r-bbmisc) | |
1694 | ("r-checkmate" ,r-checkmate))) | |
1695 | (home-page "https://github.com/mllg/fail") | |
1696 | (synopsis "File abstraction interface layer (FAIL)") | |
1697 | (description | |
1698 | "This package provides a more comfortable interface to work with R data | |
1699 | or source files in a key-value fashion.") | |
1700 | (license license:bsd-3))) | |
1701 | ||
9e330278 RW |
1702 | (define-public r-batchjobs |
1703 | (package | |
1704 | (name "r-batchjobs") | |
1705 | (version "1.6") | |
1706 | (source | |
1707 | (origin | |
1708 | (method url-fetch) | |
1709 | (uri (cran-uri "BatchJobs" version)) | |
1710 | (sha256 | |
1711 | (base32 | |
1712 | "1kb99024jih5bycc226bl4jyvbbl1sg72q3m2wnlshl7s8p6vva0")))) | |
1713 | (properties `((upstream-name . "BatchJobs"))) | |
1714 | (build-system r-build-system) | |
1715 | (propagated-inputs | |
1716 | `(("r-bbmisc" ,r-bbmisc) | |
1717 | ("r-brew" ,r-brew) | |
1718 | ("r-checkmate" ,r-checkmate) | |
1719 | ("r-dbi" ,r-dbi) | |
1720 | ("r-digest" ,r-digest) | |
1721 | ("r-fail" ,r-fail) | |
1722 | ("r-rsqlite" ,r-rsqlite) | |
1723 | ("r-sendmailr" ,r-sendmailr) | |
1724 | ("r-stringr" ,r-stringr))) | |
1725 | (home-page "https://github.com/tudo-r/BatchJobs") | |
1726 | (synopsis "Batch computing with R") | |
1727 | (description | |
1728 | "This package provides @code{Map}, @code{Reduce} and @code{Filter} | |
1729 | variants to generate jobs on batch computing systems like PBS/Torque, LSF, | |
1730 | SLURM and Sun Grid Engine. Multicore and SSH systems are also supported.") | |
1731 | (license license:bsd-2))) | |
1732 | ||
13d083af RW |
1733 | (define-public r-brew |
1734 | (package | |
1735 | (name "r-brew") | |
1736 | (version "1.0-6") | |
1737 | (source (origin | |
1738 | (method url-fetch) | |
1739 | (uri (cran-uri "brew" version)) | |
1740 | (sha256 | |
1741 | (base32 | |
1742 | "1vghazbcha8gvkwwcdagjvzx6yl8zm7kgr0i9wxr4jng06d1l3fp")))) | |
1743 | (build-system r-build-system) | |
1744 | (home-page "http://cran.r-project.org/web/packages/brew") | |
1745 | (synopsis "Templating framework for report generation") | |
1746 | (description | |
1747 | "The brew package implements a templating framework for mixing text and R | |
1748 | code for report generation. The template syntax is similar to PHP, Ruby's erb | |
1749 | module, Java Server Pages, and Python's psp module.") | |
1750 | (license license:gpl2+))) | |
167c9882 RW |
1751 | |
1752 | (define-public r-roxygen2 | |
1753 | (package | |
1754 | (name "r-roxygen2") | |
904fa49d | 1755 | (version "5.0.1") |
167c9882 RW |
1756 | (source (origin |
1757 | (method url-fetch) | |
1758 | (uri (cran-uri "roxygen2" version)) | |
1759 | (sha256 | |
1760 | (base32 | |
904fa49d | 1761 | "19gblyrrn29msbpawcb1hn5m1rshiqwxy0lby0vf92rm13fmsxcz")))) |
167c9882 RW |
1762 | (build-system r-build-system) |
1763 | (propagated-inputs | |
1764 | `(("r-brew" ,r-brew) | |
1765 | ("r-digest" ,r-digest) | |
1766 | ("r-rcpp" ,r-rcpp) | |
1767 | ("r-stringi" ,r-stringi) | |
1768 | ("r-stringr" ,r-stringr))) | |
1769 | (home-page "https://github.com/klutometis/roxygen") | |
1770 | (synopsis "In-source documentation system for R") | |
1771 | (description | |
1772 | "Roxygen2 is a Doxygen-like in-source documentation system for Rd, | |
1773 | collation, and NAMESPACE files.") | |
1774 | (license license:gpl2+))) | |
681e03c1 | 1775 | |
c26c0628 RW |
1776 | (define-public r-openssl |
1777 | (package | |
1778 | (name "r-openssl") | |
130c3c8b | 1779 | (version "0.9.4") |
c26c0628 RW |
1780 | (source |
1781 | (origin | |
1782 | (method url-fetch) | |
1783 | (uri (cran-uri "openssl" version)) | |
1784 | (sha256 | |
1785 | (base32 | |
130c3c8b | 1786 | "0rpb3xdzab453yjddr8ryad53ll27zss8abnj30aqa2lzbg4jwyb")))) |
c26c0628 RW |
1787 | (build-system r-build-system) |
1788 | (inputs | |
1789 | `(("openssl" ,openssl))) | |
1790 | (home-page "https://github.com/jeroenooms/openssl") | |
1791 | (synopsis "Toolkit for encryption, signatures and certificates") | |
1792 | (description | |
1793 | "This package provides R bindings to OpenSSL libssl and libcrypto, plus | |
1794 | custom SSH pubkey parsers. It supports RSA, DSA and NIST curves P-256, P-384 | |
1795 | and P-521. Cryptographic signatures can either be created and verified | |
1796 | manually or via x509 certificates. AES block cipher is used in CBC mode for | |
1797 | symmetric encryption; RSA for asymmetric (public key) encryption. High-level | |
1798 | envelope functions combine RSA and AES for encrypting arbitrary sized data. | |
1799 | Other utilities include key generators, hash functions (md5, sha1, sha256, | |
1800 | etc), base64 encoder, a secure random number generator, and @code{bignum} math | |
1801 | methods for manually performing crypto calculations on large multibyte | |
1802 | integers.") | |
1803 | (license license:expat))) | |
1804 | ||
681e03c1 RW |
1805 | (define-public r-httr |
1806 | (package | |
1807 | (name "r-httr") | |
e58498b6 | 1808 | (version "1.2.1") |
681e03c1 RW |
1809 | (source (origin |
1810 | (method url-fetch) | |
1811 | (uri (cran-uri "httr" version)) | |
1812 | (sha256 | |
1813 | (base32 | |
e58498b6 | 1814 | "03kkjlhyvvi5znwaxfm6cmdsg3q7ivwsvkzgabhjdj2jxs80pfg7")))) |
681e03c1 RW |
1815 | (build-system r-build-system) |
1816 | (propagated-inputs | |
1817 | `(("r-curl" ,r-curl) | |
1818 | ("r-digest" ,r-digest) | |
1819 | ("r-jsonlite" ,r-jsonlite) | |
59bf9f4e | 1820 | ("r-openssl" ,r-openssl) |
681e03c1 RW |
1821 | ("r-mime" ,r-mime) |
1822 | ("r-r6" ,r-r6) | |
1823 | ("r-stringr" ,r-stringr))) | |
1824 | (home-page "https://github.com/hadley/httr") | |
1825 | (synopsis "Tools for working with URLs and HTTP") | |
1826 | (description | |
1827 | "The aim of httr is to provide a wrapper for RCurl customised to the | |
1828 | demands of modern web APIs. It provides useful tools for working with HTTP | |
1829 | organised by HTTP verbs (@code{GET()}, @code{POST()}, etc). Configuration | |
1830 | functions make it easy to control additional request components.") | |
1831 | (license license:expat))) | |
035711f1 RW |
1832 | |
1833 | (define-public r-git2r | |
1834 | (package | |
1835 | (name "r-git2r") | |
3624ad71 | 1836 | (version "0.15.0") |
035711f1 RW |
1837 | (source (origin |
1838 | (method url-fetch) | |
1839 | (uri (cran-uri "git2r" version)) | |
1840 | (sha256 | |
1841 | (base32 | |
3624ad71 | 1842 | "1rpdf85wy9fp456ypvbhl3p9whkb7kgl0n7rkqxd2bhvyzkvjak8")))) |
035711f1 RW |
1843 | (build-system r-build-system) |
1844 | ;; This R package contains modified sources of libgit2. This modified | |
1845 | ;; version of libgit2 is built as the package is built. Hence libgit2 is | |
1846 | ;; not among the inputs of this package. | |
1847 | (inputs | |
1848 | `(("libssh2" ,libssh2) | |
1849 | ("openssl" ,openssl) | |
1850 | ("zlib" ,zlib))) | |
1851 | (home-page "https://github.com/ropensci/git2r") | |
1852 | (synopsis "Access Git repositories with R") | |
1853 | (description | |
1854 | "This package provides an R interface to the libgit2 library, which is a | |
1855 | pure C implementation of the Git core methods.") | |
1856 | ;; GPLv2 only with linking exception. | |
1857 | (license license:gpl2))) | |
81a4228b RW |
1858 | |
1859 | (define-public r-rstudioapi | |
1860 | (package | |
1861 | (name "r-rstudioapi") | |
e2cfac44 | 1862 | (version "0.6") |
81a4228b RW |
1863 | (source (origin |
1864 | (method url-fetch) | |
1865 | (uri (cran-uri "rstudioapi" version)) | |
1866 | (sha256 | |
1867 | (base32 | |
e2cfac44 | 1868 | "1zkvz72z6nw0xc8bhb21y5x1nk6avijs0w8n4vsbvw9sn76wc96s")))) |
81a4228b RW |
1869 | (build-system r-build-system) |
1870 | (home-page "http://cran.r-project.org/web/packages/rstudioapi") | |
1871 | (synopsis "Safely access the RStudio API") | |
1872 | (description | |
1873 | "This package provides functions to access the RStudio API and provide | |
1874 | informative error messages when it's not available.") | |
1875 | (license license:expat))) | |
d6e21589 RW |
1876 | |
1877 | (define-public r-devtools | |
1878 | (package | |
1879 | (name "r-devtools") | |
3bb9708a | 1880 | (version "1.12.0") |
d6e21589 RW |
1881 | (source (origin |
1882 | (method url-fetch) | |
1883 | (uri (cran-uri "devtools" version)) | |
1884 | (sha256 | |
1885 | (base32 | |
3bb9708a | 1886 | "16l18szmj482vf3dvl2fqwwa4zaqylmic1pk7dwh428cp0d86mzi")))) |
d6e21589 RW |
1887 | (build-system r-build-system) |
1888 | (propagated-inputs | |
1889 | `(("r-curl" ,r-curl) | |
1890 | ("r-digest" ,r-digest) | |
1891 | ("r-evaluate" ,r-evaluate) | |
1892 | ("r-git2r" ,r-git2r) | |
1893 | ("r-httr" ,r-httr) | |
1894 | ("r-jsonlite" ,r-jsonlite) | |
1895 | ("r-memoise" ,r-memoise) | |
1896 | ("r-roxygen2" ,r-roxygen2) | |
1897 | ("r-rstudioapi" ,r-rstudioapi) | |
1898 | ("r-rversions" ,r-rversions) | |
fa9f0e6c RJ |
1899 | ("r-whisker" ,r-whisker) |
1900 | ("r-withr" ,r-withr))) | |
d6e21589 RW |
1901 | (home-page "https://github.com/hadley/devtools") |
1902 | (synopsis "Tools to make developing R packages easier") | |
1903 | (description "The devtools package is a collection of package development | |
1904 | tools to simplify the devolpment of R packages.") | |
1905 | (license license:gpl2+))) | |
03af370f | 1906 | |
a080e50c RJ |
1907 | (define-public r-withr |
1908 | (package | |
1909 | (name "r-withr") | |
348bb8d6 | 1910 | (version "1.0.2") |
a080e50c RJ |
1911 | (source (origin |
1912 | (method url-fetch) | |
1913 | (uri (cran-uri "withr" version)) | |
1914 | (sha256 | |
1915 | (base32 | |
348bb8d6 | 1916 | "042z8nmqqilgrvhmbqrjc05qys3gzwq1rqy2wxp2bi5d41859493")))) |
a080e50c RJ |
1917 | (build-system r-build-system) |
1918 | (home-page "https://github.com/jimhester/withr") | |
1919 | (synopsis "Run code with temporarily modified global state") | |
1920 | (description | |
1921 | "This package provides a set of functions to run R code in an environment | |
1922 | in which global state has been temporarily modified. Many of these functions | |
1923 | were originally a part of the r-devtools package.") | |
1924 | (license license:gpl2+))) | |
1925 | ||
b90314b4 RW |
1926 | (define-public r-hms |
1927 | (package | |
1928 | (name "r-hms") | |
1929 | (version "0.2") | |
1930 | (source | |
1931 | (origin | |
1932 | (method url-fetch) | |
1933 | (uri (cran-uri "hms" version)) | |
1934 | (sha256 | |
1935 | (base32 | |
1936 | "0ln1dc26mkl5pc26vvyf01d35x75q6cjaj39cccxp67chbwbdlds")))) | |
1937 | (build-system r-build-system) | |
1938 | (home-page "https://github.com/rstats-db/hms") | |
1939 | (synopsis "Pretty time of day") | |
1940 | (description | |
1941 | "This package implements an S3 class for storing and formatting | |
1942 | time-of-day values, based on the @code{difftime} class.") | |
1943 | (license license:gpl3+))) | |
1944 | ||
03af370f RW |
1945 | (define-public r-readr |
1946 | (package | |
1947 | (name "r-readr") | |
8c6e2b84 | 1948 | (version "1.0.0") |
03af370f RW |
1949 | (source (origin |
1950 | (method url-fetch) | |
1951 | (uri (cran-uri "readr" version)) | |
1952 | (sha256 | |
1953 | (base32 | |
8c6e2b84 | 1954 | "0xji0dbal6xcxnsmjj678fw29n7wrj45wrd5ng99yhqqijcm9f6g")))) |
03af370f RW |
1955 | (build-system r-build-system) |
1956 | (propagated-inputs | |
1957 | `(("r-curl" ,r-curl) | |
1958 | ("r-rcpp" ,r-rcpp) | |
8c6e2b84 RW |
1959 | ("r-hms" ,r-hms) |
1960 | ("r-tibble" ,r-tibble) | |
1961 | ("r-r6" ,r-r6) | |
03af370f RW |
1962 | ("r-bh" ,r-bh))) |
1963 | (home-page "https://github.com/hadley/readr") | |
1964 | (synopsis "Read tabular data") | |
1965 | (description | |
1966 | "This package provides functions to read flat or tabular text files from | |
1967 | disk (or a connection).") | |
1968 | (license license:gpl2+))) | |
60a9d3d0 RW |
1969 | |
1970 | (define-public r-plotrix | |
1971 | (package | |
1972 | (name "r-plotrix") | |
bdfc2c95 | 1973 | (version "3.6-3") |
60a9d3d0 RW |
1974 | (source (origin |
1975 | (method url-fetch) | |
1976 | (uri (cran-uri "plotrix" version)) | |
1977 | (sha256 | |
1978 | (base32 | |
bdfc2c95 | 1979 | "0h97jra8zqssi9j4i0psa6c7ya49ya8jd2qc18lc61a4s2yn8w91")))) |
60a9d3d0 RW |
1980 | (build-system r-build-system) |
1981 | (home-page "http://cran.r-project.org/web/packages/plotrix") | |
1982 | (synopsis "Various plotting functions") | |
1983 | (description | |
1984 | "This package provides lots of plotting, various labeling, axis and color | |
1985 | scaling functions for R.") | |
1986 | (license license:gpl2+))) | |
2a40f763 RW |
1987 | |
1988 | (define-public r-gridbase | |
1989 | (package | |
1990 | (name "r-gridbase") | |
1991 | (version "0.4-7") | |
1992 | (source (origin | |
1993 | (method url-fetch) | |
1994 | (uri (cran-uri "gridBase" version)) | |
1995 | (sha256 | |
1996 | (base32 | |
1997 | "09jzw4rzwf2y5lcz7b16mb68pn0fqigv34ff7lr6w3yi9k91i1xy")))) | |
1998 | (build-system r-build-system) | |
1999 | (home-page "http://cran.r-project.org/web/packages/gridBase") | |
2000 | (synopsis "Integration of base and grid graphics") | |
2001 | (description | |
2002 | "This package provides an integration of base and grid graphics for R.") | |
2003 | (license license:gpl2+))) | |
ca3476cd RW |
2004 | |
2005 | (define-public r-lattice | |
2006 | (package | |
2007 | (name "r-lattice") | |
fce4dfd8 | 2008 | (version "0.20-34") |
ca3476cd RW |
2009 | (source (origin |
2010 | (method url-fetch) | |
2011 | (uri (cran-uri "lattice" version)) | |
2012 | (sha256 | |
2013 | (base32 | |
fce4dfd8 | 2014 | "0615h69czr73k47whhzimf1qxv5qk0cabcrkljwhyrn6m6piq6ja")))) |
ca3476cd RW |
2015 | (build-system r-build-system) |
2016 | (home-page "http://lattice.r-forge.r-project.org/") | |
2017 | (synopsis "High-level data visualization system") | |
2018 | (description | |
2019 | "The lattice package provides a powerful and elegant high-level data | |
2020 | visualization system inspired by Trellis graphics, with an emphasis on | |
2021 | multivariate data. Lattice is sufficient for typical graphics needs, and is | |
2022 | also flexible enough to handle most nonstandard requirements.") | |
2023 | (license license:gpl2+))) | |
e22d4ca4 | 2024 | |
b20abbcd RW |
2025 | (define-public r-latticeextra |
2026 | (package | |
2027 | (name "r-latticeextra") | |
2028 | (version "0.6-28") | |
2029 | (source | |
2030 | (origin | |
2031 | (method url-fetch) | |
2032 | (uri (cran-uri "latticeExtra" version)) | |
2033 | (sha256 | |
2034 | (base32 | |
2035 | "1hkyqsa7klk5glj9y1hg3rxr5qilqw8h0017zc4c3nps7lr9a1kq")))) | |
2036 | (properties `((upstream-name . "latticeExtra"))) | |
2037 | (build-system r-build-system) | |
2038 | (propagated-inputs | |
2039 | `(("r-lattice" ,r-lattice) | |
2040 | ("r-rcolorbrewer" ,r-rcolorbrewer))) | |
2041 | (home-page "http://latticeextra.r-forge.r-project.org/") | |
2042 | (synopsis "Extra graphical utilities based on lattice") | |
2043 | (description | |
2044 | "Building on the infrastructure provided by the lattice package, this | |
2045 | package provides several new high-level graphics functions and methods, as | |
2046 | well as additional utilities such as panel and axis annotation functions.") | |
2047 | (license license:gpl2+))) | |
2048 | ||
e22d4ca4 RW |
2049 | (define-public r-rcpparmadillo |
2050 | (package | |
2051 | (name "r-rcpparmadillo") | |
5e675072 | 2052 | (version "0.7.400.2.0") |
e22d4ca4 RW |
2053 | (source (origin |
2054 | (method url-fetch) | |
2055 | (uri (cran-uri "RcppArmadillo" version)) | |
2056 | (sha256 | |
2057 | (base32 | |
5e675072 | 2058 | "0g2658iy43higy1cay00ljibgnwh0zv5gcwvbhckjs48y8z1a2pb")) |
e22d4ca4 RW |
2059 | (modules '((guix build utils))) |
2060 | ;; Remove bundled armadillo sources | |
2061 | (snippet | |
2062 | '(begin | |
2063 | (delete-file-recursively "inst/include/armadillo_bits") | |
2064 | (delete-file "inst/include/armadillo"))))) | |
2065 | (properties `((upstream-name . "RcppArmadillo"))) | |
2066 | (build-system r-build-system) | |
2067 | (arguments | |
2068 | `(#:phases | |
2069 | (modify-phases %standard-phases | |
2070 | (add-after 'unpack 'link-against-armadillo | |
2071 | (lambda _ | |
2072 | (substitute* "src/Makevars" | |
2073 | (("PKG_LIBS=" prefix) | |
2074 | (string-append prefix "-larmadillo")))))))) | |
2075 | (propagated-inputs | |
2076 | `(("r-rcpp" ,r-rcpp) | |
2077 | ("armadillo" ,armadillo-for-rcpparmadillo))) | |
2078 | (home-page "https://github.com/RcppCore/RcppArmadillo") | |
2079 | (synopsis "Rcpp integration for the Armadillo linear algebra library") | |
2080 | (description | |
2081 | "Armadillo is a templated C++ linear algebra library that aims towards a | |
2082 | good balance between speed and ease of use. Integer, floating point and | |
2083 | complex numbers are supported, as well as a subset of trigonometric and | |
2084 | statistics functions. Various matrix decompositions are provided through | |
2085 | optional integration with LAPACK and ATLAS libraries. This package includes | |
2086 | the header files from the templated Armadillo library.") | |
2087 | ;; Armadillo is licensed under the MPL 2.0, while RcppArmadillo (the Rcpp | |
2088 | ;; bindings to Armadillo) is licensed under the GNU GPL version 2 or | |
2089 | ;; later, as is the rest of 'Rcpp'. | |
2090 | (license license:gpl2+))) | |
bb6d2dad RW |
2091 | |
2092 | (define-public r-bitops | |
2093 | (package | |
2094 | (name "r-bitops") | |
2095 | (version "1.0-6") | |
2096 | (source (origin | |
2097 | (method url-fetch) | |
2098 | (uri (cran-uri "bitops" version)) | |
2099 | (sha256 | |
2100 | (base32 | |
2101 | "176nr5wpnkavn5z0yy9f7d47l37ndnn2w3gv854xav8nnybi6wwv")))) | |
2102 | (build-system r-build-system) | |
2103 | (home-page "http://cran.r-project.org/web/packages/bitops") | |
2104 | (synopsis "Bitwise operations") | |
2105 | (description | |
2106 | "This package provides functions for bitwise operations on integer | |
2107 | vectors.") | |
2108 | (license license:gpl2+))) | |
4c1f2705 RW |
2109 | |
2110 | (define-public r-catools | |
2111 | (package | |
2112 | (name "r-catools") | |
2113 | (version "1.17.1") | |
2114 | (source (origin | |
2115 | (method url-fetch) | |
2116 | (uri (cran-uri "caTools" version)) | |
2117 | (sha256 | |
2118 | (base32 | |
2119 | "1x4szsn2qmbzpyjfdaiz2q7jwhap2gky9wq0riah74q0pzz76ank")))) | |
2120 | (properties `((upstream-name . "caTools"))) | |
2121 | (build-system r-build-system) | |
2122 | (propagated-inputs | |
2123 | `(("r-bitops" ,r-bitops))) | |
2124 | (home-page "http://cran.r-project.org/web/packages/caTools") | |
2125 | (synopsis "Various tools including functions for moving window statistics") | |
2126 | (description | |
2127 | "This package contains several basic utility functions including: | |
2128 | moving (rolling, running) window statistic functions, read/write for GIF and | |
2129 | ENVI binary files, fast calculation of AUC, LogitBoost classifier, base64 | |
2130 | encoder/decoder, round-off-error-free sum and cumsum, etc.") | |
2131 | (license license:gpl3+))) | |
77bdb276 RW |
2132 | |
2133 | (define-public r-rmarkdown | |
2134 | (package | |
2135 | (name "r-rmarkdown") | |
87a7c55e | 2136 | (version "1.0") |
77bdb276 RW |
2137 | (source |
2138 | (origin | |
2139 | (method url-fetch) | |
2140 | (uri (cran-uri "rmarkdown" version)) | |
2141 | (sha256 | |
2142 | (base32 | |
87a7c55e | 2143 | "0c7gs9c8xdjfxviw0syh13pf3vys2b2ssixmnyqbji64xdscn7pz")))) |
77bdb276 RW |
2144 | (properties `((upstream-name . "rmarkdown"))) |
2145 | (build-system r-build-system) | |
b78891b0 RW |
2146 | (arguments |
2147 | `(#:phases | |
2148 | (modify-phases %standard-phases | |
2149 | ;; See https://github.com/rstudio/rmarkdown/pull/800 | |
2150 | ;; The resource files are in the store and have mode 444. After | |
2151 | ;; copying the files R fails to remove them again because it doesn't | |
2152 | ;; have write access to them. | |
2153 | (add-after 'unpack 'copy-files-without-mode | |
2154 | (lambda _ | |
2155 | (substitute* "R/render.R" | |
2156 | (("file.copy\\(from = from," prefix) | |
2157 | (string-append prefix | |
2158 | " copy.mode = FALSE, "))) | |
2159 | #t))))) | |
77bdb276 RW |
2160 | (propagated-inputs |
2161 | `(("r-catools" ,r-catools) | |
2162 | ("r-htmltools" ,r-htmltools) | |
87a7c55e RW |
2163 | ("r-jsonlite" ,r-jsonlite) |
2164 | ("r-base64enc" ,r-base64enc) | |
77bdb276 RW |
2165 | ("r-knitr" ,r-knitr) |
2166 | ("r-yaml" ,r-yaml) | |
2167 | ("ghc-pandoc" ,ghc-pandoc))) | |
2168 | (home-page "http://rmarkdown.rstudio.com") | |
2169 | (synopsis "Convert R Markdown documents into a variety of formats") | |
2170 | (description | |
2171 | "This package provides tools to convert R Markdown documents into a | |
2172 | variety of formats.") | |
2173 | (license license:gpl3+))) | |
b73751c8 RW |
2174 | |
2175 | (define-public r-gtable | |
2176 | (package | |
2177 | (name "r-gtable") | |
810e4195 | 2178 | (version "0.2.0") |
b73751c8 RW |
2179 | (source (origin |
2180 | (method url-fetch) | |
2181 | (uri (cran-uri "gtable" version)) | |
2182 | (sha256 | |
2183 | (base32 | |
810e4195 | 2184 | "0vz7073m0a2q12qzzihrfh5c2kx5jqi5l7z470fxmwqghdllh7l0")))) |
b73751c8 RW |
2185 | (properties `((upstream-name . "gtable"))) |
2186 | (build-system r-build-system) | |
2187 | (home-page "http://cran.r-project.org/web/packages/gtable") | |
2188 | (synopsis "Arrange grobs in tables") | |
2189 | (description | |
2190 | "This package provides tools to make it easier to work with tables of | |
2191 | grobs.") | |
2192 | (license license:gpl2+))) | |
9e47f30b RW |
2193 | |
2194 | (define-public r-gridextra | |
2195 | (package | |
2196 | (name "r-gridextra") | |
1647e10e | 2197 | (version "2.2.1") |
9e47f30b RW |
2198 | (source (origin |
2199 | (method url-fetch) | |
2200 | (uri (cran-uri "gridExtra" version)) | |
2201 | (sha256 | |
2202 | (base32 | |
1647e10e | 2203 | "0638ihwl00j76ivaxxhxvi8z573lwy1jym3srr78mx6dbdd4bzj4")))) |
9e47f30b RW |
2204 | (properties `((upstream-name . "gridExtra"))) |
2205 | (build-system r-build-system) | |
2206 | (propagated-inputs | |
2207 | `(("r-gtable" ,r-gtable))) | |
2208 | (native-inputs | |
2209 | `(("r-knitr" ,r-knitr))) ;for building vignettes | |
2210 | (home-page "https://github.com/baptiste/gridextra") | |
2211 | (synopsis "Miscellaneous functions for \"Grid\" graphics") | |
2212 | (description | |
2213 | "This package provides a number of user-level functions to work with | |
2214 | @code{grid} graphics, notably to arrange multiple grid-based plots on a page, | |
2215 | and draw tables.") | |
2216 | (license license:gpl2+))) | |
2217 | ||
21e4d6a9 RW |
2218 | (define-public r-rsqlite |
2219 | (package | |
2220 | (name "r-rsqlite") | |
2221 | (version "1.0.0") | |
2222 | (source (origin | |
2223 | (method url-fetch) | |
2224 | (uri (cran-uri "RSQLite" version)) | |
2225 | (sha256 | |
2226 | (base32 | |
2227 | "08b1syv8z887gxiw8i09dpqh0zisfb6ihq6qqr01zipvkahzq34f")))) | |
2228 | (properties `((upstream-name . "RSQLite"))) | |
2229 | (build-system r-build-system) | |
2230 | (propagated-inputs | |
2231 | `(("r-dbi" ,r-dbi))) | |
2232 | (home-page "https://github.com/rstats-db/RSQLite") | |
2233 | (synopsis "SQLite interface for R") | |
2234 | (description | |
2235 | "This package embeds the SQLite database engine in R and provides an | |
2236 | interface compliant with the DBI package. The source for the SQLite | |
2237 | engine (version 3.8.6) is included.") | |
2238 | (license license:lgpl2.0+))) | |
2239 | ||
cefaa79c RW |
2240 | (define-public r-rcurl |
2241 | (package | |
2242 | (name "r-rcurl") | |
2243 | (version "1.95-0.1.2") | |
2244 | (source (origin | |
2245 | (method url-fetch) | |
2246 | (uri (string-append "http://www.bioconductor.org/packages/" | |
2247 | "release/extra/src/" | |
2248 | "contrib/RCurl_" version ".tar.gz")) | |
2249 | (sha256 | |
2250 | (base32 | |
2251 | "0l7qi45jxlf898n0jazabnam1yyczvqfdknd00bdirhhiplpd1sc")))) | |
2252 | (properties `((upstream-name . "RCurl"))) | |
2253 | (build-system r-build-system) | |
2254 | (inputs | |
2255 | `(("libcurl" ,curl))) | |
2256 | (propagated-inputs | |
2257 | `(("r-bitops" ,r-bitops))) | |
2258 | (home-page "http://www.omegahat.org/RCurl") | |
2259 | (synopsis "General network client interface for R") | |
2260 | (description | |
2261 | "The package allows one to compose general HTTP requests and provides | |
2262 | convenient functions to fetch URIs, GET and POST forms, etc. and process the | |
2263 | results returned by the Web server. This provides a great deal of control | |
2264 | over the HTTP/FTP/... connection and the form of the request while providing a | |
2265 | higher-level interface than is available just using R socket connections. | |
2266 | Additionally, the underlying implementation is robust and extensive, | |
2267 | supporting FTP/FTPS/TFTP (uploads and downloads), SSL/HTTPS, telnet, dict, | |
2268 | ldap, and also supports cookies, redirects, authentication, etc.") | |
2269 | (license license:bsd-3))) | |
2270 | ||
543ded36 RW |
2271 | (define-public r-xml |
2272 | (package | |
2273 | (name "r-xml") | |
1e4abc0f | 2274 | (version "3.98-1.4") |
543ded36 RW |
2275 | (source (origin |
2276 | (method url-fetch) | |
2277 | (uri (cran-uri "XML" version)) | |
2278 | (sha256 | |
2279 | (base32 | |
1e4abc0f | 2280 | "09hiy5a875v2fhsgrsfymrwccn9249wnnsr6ck2slrig65svq2lw")))) |
543ded36 RW |
2281 | (properties |
2282 | `((upstream-name . "XML"))) | |
2283 | (build-system r-build-system) | |
2284 | (inputs | |
2285 | `(("libxml2" ,libxml2))) | |
2286 | (propagated-inputs | |
2287 | `(("r-rcurl" ,r-rcurl))) | |
2288 | (home-page "http://www.omegahat.org/RSXML") | |
2289 | (synopsis "Tools for parsing and generating XML within R") | |
2290 | (description | |
2291 | "Many approaches for both reading and creating XML (and HTML) | |
2292 | documents (including DTDs), both local and accessible via HTTP or FTP. Also | |
2293 | offers access to an XPath \"interpreter\".") | |
2294 | (license license:bsd-2))) | |
2295 | ||
b74f64a9 RW |
2296 | (define-public r-xnomial |
2297 | (package | |
2298 | (name "r-xnomial") | |
2299 | (version "1.0.4") | |
2300 | (source | |
2301 | (origin (method url-fetch) | |
2302 | (uri (cran-uri "XNomial" version)) | |
2303 | (sha256 | |
2304 | (base32 | |
2305 | "1mwx302576rmsjllbq2clfxilm3hkyp5bw0wmwqbn0kgv5wpy8z6")))) | |
2306 | (properties (quasiquote ((upstream-name . "XNomial")))) | |
2307 | (build-system r-build-system) | |
2308 | (home-page "http://cran.r-project.org/web/packages/XNomial") | |
2309 | (synopsis "Goodness-of-Fit test for multinomial data") | |
2310 | (description | |
2311 | "This package provides an exact Goodness-of-Fit test for | |
2312 | multinomial data with fixed probabilities. It can be used to | |
2313 | determine whether a set of counts fits a given expected ratio. To see | |
2314 | whether a set of observed counts fits an expectation, one can examine | |
2315 | all possible outcomes with @code{xmulti()} or a random sample of them | |
2316 | with @code{xmonte()} and find the probability of an observation | |
2317 | deviating from the expectation by at least as much as the observed. | |
2318 | As a measure of deviation from the expected, one can use the | |
2319 | log-likelihood ratio, the multinomial probability, or the classic | |
2320 | chi-square statistic. A histogram of the test statistic can also be | |
2321 | plotted and compared with the asymptotic curve.") | |
2322 | (license (list license:gpl2+ license:gpl3+)))) | |
2323 | ||
ca65d387 RW |
2324 | (define-public r-lambda-r |
2325 | (package | |
2326 | (name "r-lambda-r") | |
b9ab3b08 | 2327 | (version "1.1.9") |
ca65d387 RW |
2328 | (source (origin |
2329 | (method url-fetch) | |
2330 | (uri (cran-uri "lambda.r" version)) | |
2331 | (sha256 | |
2332 | (base32 | |
b9ab3b08 | 2333 | "1j6287iqvs3ill6r5g6ksf5809qp0l0nf20ib8266m1r09lc9j14")))) |
ca65d387 RW |
2334 | (properties `((upstream-name . "lambda.r"))) |
2335 | (build-system r-build-system) | |
2336 | (home-page "http://cran.r-project.org/web/packages/lambda.r") | |
2337 | (synopsis "Functional programming extension for R") | |
2338 | (description | |
2339 | "This package provides a language extension to efficiently write | |
2340 | functional programs in R. Syntax extensions include multi-part function | |
2341 | definitions, pattern matching, guard statements, built-in (optional) type | |
2342 | safety.") | |
2343 | (license license:lgpl3+))) | |
2344 | ||
b9ff33b5 RW |
2345 | (define-public r-futile-options |
2346 | (package | |
2347 | (name "r-futile-options") | |
2348 | (version "1.0.0") | |
2349 | (source (origin | |
2350 | (method url-fetch) | |
2351 | (uri (cran-uri "futile.options" version)) | |
2352 | (sha256 | |
2353 | (base32 | |
2354 | "1hp82h6xqq5cck67h7lpf22n3j7mg3v1mla5y5ivnzrrb7iyr17f")))) | |
2355 | (properties | |
2356 | `((upstream-name . "futile.options"))) | |
2357 | (build-system r-build-system) | |
2358 | (home-page "http://cran.r-project.org/web/packages/futile.options") | |
2359 | (synopsis "Options management framework") | |
2360 | (description | |
2361 | "The futile.options subsystem provides an easy user-defined options | |
2362 | management system that is properly scoped. This means that options created | |
2363 | via @code{futile.options} are fully self-contained and will not collide with | |
2364 | options defined in other packages.") | |
2365 | (license license:lgpl3+))) | |
2366 | ||
6b82f56c RW |
2367 | (define-public r-futile-logger |
2368 | (package | |
2369 | (name "r-futile-logger") | |
27f10d3d | 2370 | (version "1.4.3") |
6b82f56c RW |
2371 | (source (origin |
2372 | (method url-fetch) | |
2373 | (uri (cran-uri "futile.logger" version)) | |
2374 | (sha256 | |
2375 | (base32 | |
27f10d3d | 2376 | "1r3nayk0z9n1svbf8640vw90dal5q07nkn0gv4bnva3pbzb352sy")))) |
6b82f56c RW |
2377 | (properties `((upstream-name . "futile.logger"))) |
2378 | (build-system r-build-system) | |
2379 | (propagated-inputs | |
2380 | `(("r-futile-options" ,r-futile-options) | |
2381 | ("r-lambda-r" ,r-lambda-r))) | |
2382 | (home-page "http://cran.r-project.org/web/packages/futile.logger") | |
2383 | (synopsis "Logging utility for R") | |
2384 | (description | |
2385 | "This package provides a simple yet powerful logging utility. Based | |
2386 | loosely on log4j, futile.logger takes advantage of R idioms to make logging a | |
2387 | convenient and easy to use replacement for @code{cat} and @code{print} | |
2388 | statements.") | |
2389 | (license license:lgpl3+))) | |
2390 | ||
3e4c0c66 RW |
2391 | (define-public r-segmented |
2392 | (package | |
2393 | (name "r-segmented") | |
2394 | (version "0.5-1.4") | |
2395 | (source | |
2396 | (origin | |
2397 | (method url-fetch) | |
2398 | (uri (cran-uri "segmented" version)) | |
2399 | (sha256 | |
2400 | (base32 | |
2401 | "1740cvx2q4v23g4q0zkvg50s5bv8jcrlzzhm7fac4xn0riwmzp5i")))) | |
2402 | (build-system r-build-system) | |
2403 | (home-page "http://cran.r-project.org/web/packages/segmented") | |
2404 | (synopsis "Regression models with breakpoints estimation") | |
2405 | (description | |
2406 | "Given a regression model, segmented updates the model by adding one or | |
2407 | more segmented (i.e., piecewise-linear) relationships. Several variables with | |
2408 | multiple breakpoints are allowed.") | |
2409 | (license (list license:gpl2+ license:gpl3+)))) | |
2410 | ||
bc899123 RW |
2411 | (define-public r-snow |
2412 | (package | |
2413 | (name "r-snow") | |
2414 | (version "0.4-1") | |
2415 | (source (origin | |
2416 | (method url-fetch) | |
2417 | (uri (cran-uri "snow" version)) | |
2418 | (sha256 | |
2419 | (base32 | |
2420 | "19r2yq8aqw99vwyx81p6ay4afsfqffal1wzvizk3dj882s2n4j8w")))) | |
2421 | (build-system r-build-system) | |
2422 | (home-page "http://cran.r-project.org/web/packages/snow") | |
2423 | (synopsis "Support for simple parallel computing in R") | |
2424 | (description | |
2425 | "The snow package provides support for simple parallel computing on a | |
2426 | network of workstations using R. A master R process calls @code{makeCluster} | |
2427 | to start a cluster of worker processes; the master process then uses functions | |
2428 | such as @code{clusterCall} and @code{clusterApply} to execute R code on the | |
2429 | worker processes and collect and return the results on the master.") | |
2430 | (license (list license:gpl2+ license:gpl3+)))) | |
2431 | ||
d706257b RW |
2432 | (define-public r-sparsem |
2433 | (package | |
2434 | (name "r-sparsem") | |
7931531a | 2435 | (version "1.72") |
d706257b RW |
2436 | (source (origin |
2437 | (method url-fetch) | |
2438 | (uri (cran-uri "SparseM" version)) | |
2439 | (sha256 | |
2440 | (base32 | |
7931531a | 2441 | "0zpb1swn9xjkb22sky10ixff7vqfiz9m36nkbc1qqbm9frcldnka")))) |
d706257b RW |
2442 | (properties |
2443 | `((upstream-name . "SparseM"))) | |
d7786ce9 RW |
2444 | (inputs |
2445 | `(("gfortran" ,gfortran))) | |
d706257b RW |
2446 | (build-system r-build-system) |
2447 | (home-page "http://www.econ.uiuc.edu/~roger/research/sparse/sparse.html") | |
2448 | (synopsis "Sparse linear algebra") | |
2449 | (description | |
2450 | "This package provides some basic linear algebra functionality for sparse | |
2451 | matrices. It includes Cholesky decomposition and backsolving as well as | |
2452 | standard R subsetting and Kronecker products.") | |
2453 | (license license:gpl2+))) | |
2454 | ||
264df1a4 RW |
2455 | (define-public r-iterators |
2456 | (package | |
2457 | (name "r-iterators") | |
2458 | (version "1.0.8") | |
2459 | (source | |
2460 | (origin | |
2461 | (method url-fetch) | |
2462 | (uri (cran-uri "iterators" version)) | |
2463 | (sha256 | |
2464 | (base32 | |
2465 | "1f057pabs7ss9h1n244can26qsi5n2k3salrdk0b0vkphlrs4kmf")))) | |
2466 | (build-system r-build-system) | |
2467 | (home-page "http://cran.r-project.org/web/packages/iterators") | |
2468 | (synopsis "Iterator construct for R") | |
2469 | (description | |
2470 | "This package provides support for iterators, which allow a programmer to | |
2471 | traverse through all the elements of a vector, list, or other collection of | |
2472 | data.") | |
2473 | (license license:asl2.0))) | |
2474 | ||
7a6f5f03 RW |
2475 | (define-public r-codetools |
2476 | (package | |
2477 | (name "r-codetools") | |
2478 | (version "0.2-14") | |
2479 | (source | |
2480 | (origin | |
2481 | (method url-fetch) | |
2482 | (uri (cran-uri "codetools" version)) | |
2483 | (sha256 | |
2484 | (base32 | |
2485 | "0y9r4m2b8xgavr89sc179knzwpz54xljbc1dinpq2q07i4xn0397")))) | |
2486 | (build-system r-build-system) | |
2487 | (home-page "http://cran.r-project.org/web/packages/codetools") | |
2488 | (synopsis "Code analysis tools for R") | |
2489 | (description "This package provides code analysis tools for R to check R | |
2490 | code for possible problems.") | |
2491 | (license (list license:gpl2+ license:gpl3+)))) | |
2492 | ||
b2cdb027 RW |
2493 | (define-public r-foreach |
2494 | (package | |
2495 | (name "r-foreach") | |
2496 | (version "1.4.3") | |
2497 | (source | |
2498 | (origin | |
2499 | (method url-fetch) | |
2500 | (uri (cran-uri "foreach" version)) | |
2501 | (sha256 | |
2502 | (base32 | |
2503 | "10aqsd3rxz03s1qdb6gsb1cj89mj4vmh491zfpin4skj1xvkzw0y")))) | |
2504 | (build-system r-build-system) | |
2505 | (propagated-inputs | |
2506 | `(("r-codetools" ,r-codetools) | |
2507 | ("r-iterators" ,r-iterators))) | |
2508 | (home-page "http://cran.r-project.org/web/packages/foreach") | |
2509 | (synopsis "Foreach looping construct for R") | |
2510 | (description | |
2511 | "This package provides support for the @code{foreach} looping construct. | |
2512 | @code{foreach} is an idiom that allows for iterating over elements in a | |
2513 | collection, without the use of an explicit loop counter. This package in | |
2514 | particular is intended to be used for its return value, rather than for its | |
2515 | side effects. In that sense, it is similar to the standard @code{lapply} | |
2516 | function, but doesn't require the evaluation of a function. Using | |
2517 | @code{foreach} without side effects also facilitates executing the loop in | |
2518 | parallel.") | |
2519 | (license license:asl2.0))) | |
2520 | ||
71cafa04 RW |
2521 | (define-public r-doparallel |
2522 | (package | |
2523 | (name "r-doparallel") | |
2524 | (version "1.0.10") | |
2525 | (source | |
2526 | (origin | |
2527 | (method url-fetch) | |
2528 | (uri (cran-uri "doParallel" version)) | |
2529 | (sha256 | |
2530 | (base32 | |
2531 | "1mddx25l25pw9d0csnx2q203dbg5hbrhkr1f08kw0p02a1lln0kh")))) | |
2532 | (properties `((upstream-name . "doParallel"))) | |
2533 | (build-system r-build-system) | |
2534 | (propagated-inputs | |
2535 | `(("r-foreach" ,r-foreach) | |
2536 | ("r-iterators" ,r-iterators))) | |
2537 | (home-page "http://cran.r-project.org/web/packages/doParallel") | |
2538 | (synopsis "Foreach parallel adaptor for the 'parallel' package") | |
2539 | (description | |
2540 | "This package provides a parallel backend for the @code{%dopar%} function | |
2541 | using the parallel package.") | |
2542 | (license license:gpl2+))) | |
2543 | ||
66cf0f05 RW |
2544 | (define-public r-domc |
2545 | (package | |
2546 | (name "r-domc") | |
2547 | (version "1.3.4") | |
2548 | (source | |
2549 | (origin | |
2550 | (method url-fetch) | |
2551 | (uri (cran-uri "doMC" version)) | |
2552 | (sha256 | |
2553 | (base32 | |
2554 | "0y47jl6g4f83r14pj8bafdzq1phj7bxy5dwyz3k43d2rr8phk8bn")))) | |
2555 | (properties `((upstream-name . "doMC"))) | |
2556 | (build-system r-build-system) | |
2557 | (propagated-inputs | |
2558 | `(("r-foreach" ,r-foreach) | |
2559 | ("r-iterators" ,r-iterators))) | |
2560 | (home-page "http://cran.r-project.org/web/packages/doMC") | |
2561 | (synopsis "Foreach parallel adaptor for the 'parallel' package") | |
2562 | (description | |
2563 | "This package provides a parallel backend for the @code{%dopar%} function | |
2564 | using the multicore functionality of the parallel package.") | |
2565 | (license license:gpl2+))) | |
2566 | ||
a8227e4a RW |
2567 | (define-public r-dt |
2568 | (package | |
2569 | (name "r-dt") | |
f791b689 | 2570 | (version "0.2") |
a8227e4a RW |
2571 | (source (origin |
2572 | (method url-fetch) | |
2573 | (uri (cran-uri "DT" version)) | |
2574 | (sha256 | |
2575 | (base32 | |
f791b689 | 2576 | "1g86p0jcjqi2ph5rhm45jkzibsa6yfcj8n5cg3giy90sqgjzkdx1")))) |
a8227e4a RW |
2577 | (properties |
2578 | `((upstream-name . "DT"))) | |
2579 | (build-system r-build-system) | |
2580 | (propagated-inputs | |
2581 | `(("r-htmltools" ,r-htmltools) | |
2582 | ("r-htmlwidgets" ,r-htmlwidgets) | |
2583 | ("r-magrittr" ,r-magrittr))) | |
2584 | (home-page "http://rstudio.github.io/DT") | |
2585 | (synopsis "R wrapper of the DataTables JavaScript library") | |
2586 | (description | |
2587 | "This package allows for data objects in R to be rendered as HTML tables | |
2588 | using the JavaScript library 'DataTables' (typically via R Markdown or Shiny). | |
2589 | The 'DataTables' library has been included in this R package.") | |
2590 | ;; The DT package as a whole is distributed under GPLv3. The DT package | |
2591 | ;; inludes other software components under different licenses: | |
2592 | ;; | |
2593 | ;; * Expat: jQuery, jquery.highlight.js, DataTables | |
2594 | ;; * ASL2.0: selectize.js | |
2595 | ;; * WTFPL: noUiSlider | |
2596 | (license (list license:gpl3 | |
2597 | license:expat | |
2598 | license:asl2.0 | |
2599 | (license:non-copyleft "http://www.wtfpl.net/txt/copying/"))))) | |
2600 | ||
a69a5935 RW |
2601 | (define-public r-base64enc |
2602 | (package | |
2603 | (name "r-base64enc") | |
2604 | (version "0.1-3") | |
2605 | (source (origin | |
2606 | (method url-fetch) | |
2607 | (uri (cran-uri "base64enc" version)) | |
2608 | (sha256 | |
2609 | (base32 | |
2610 | "13b89fhg1nx7zds82a0biz847ixphg9byf5zl2cw9kab6s56v1bd")))) | |
2611 | (build-system r-build-system) | |
2612 | (home-page "http://www.rforge.net/base64enc") | |
2613 | (synopsis "Tools for Base64 encoding") | |
2614 | (description | |
2615 | "This package provides tools for handling Base64 encoding. It is more | |
2616 | flexible than the orphaned \"base64\" package.") | |
2617 | (license license:gpl2+))) | |
2618 | ||
dada39aa RW |
2619 | (define-public r-irlba |
2620 | (package | |
2621 | (name "r-irlba") | |
c3253ce1 | 2622 | (version "2.1.1") |
dada39aa RW |
2623 | (source |
2624 | (origin | |
2625 | (method url-fetch) | |
2626 | (uri (cran-uri "irlba" version)) | |
2627 | (sha256 | |
2628 | (base32 | |
c3253ce1 | 2629 | "0yb8b8g6f3cb0f56r702fn2px8nf5rx8cyy2scq36xai9w7f25jj")))) |
dada39aa RW |
2630 | (build-system r-build-system) |
2631 | (home-page "http://cran.r-project.org/web/packages/irlba") | |
2632 | (synopsis "Methods for eigendecomposition of large matrices") | |
2633 | (description | |
2634 | "This package provides fast and memory efficient methods for truncated | |
2635 | singular and eigenvalue decompositions, as well as for principal component | |
2636 | analysis of large sparse or dense matrices.") | |
2637 | (license (list license:gpl2+ license:gpl3+)))) | |
2638 | ||
c7f04517 BW |
2639 | (define-public r-glmnet |
2640 | (package | |
2641 | (name "r-glmnet") | |
2642 | (version "2.0-5") | |
2643 | (source | |
2644 | (origin | |
2645 | (method url-fetch) | |
2646 | (uri (cran-uri "glmnet" version)) | |
2647 | (sha256 | |
2648 | (base32 | |
2649 | "1cbpzmbv837fvq88rgn6mgzgr9f1wqp9fg8gh2kkmngvr1957a9c")))) | |
2650 | (build-system r-build-system) | |
2651 | (inputs | |
2652 | `(("gfortran" ,gfortran))) | |
2653 | (propagated-inputs | |
2654 | `(("r-foreach" ,r-foreach))) | |
2655 | (home-page "http://www.jstatsoft.org/v33/i01") | |
2656 | (synopsis "Lasso and elastic-net regularized generalized linear models") | |
2657 | (description | |
2658 | "The glmnet package provides efficient procedures for fitting the entire | |
2659 | lasso or elastic-net regularization path for linear and Poisson regression, as | |
2660 | well as logistic, multinomial, Cox, multiple-response Gaussian and grouped | |
2661 | multinomial models. The algorithm uses cyclical coordinate descent in a | |
2662 | path-wise fashion.") | |
2663 | (license license:gpl2+))) | |
2664 | ||
3a6607f0 RW |
2665 | (define-public r-pkgmaker |
2666 | (package | |
2667 | (name "r-pkgmaker") | |
2668 | (version "0.22") | |
2669 | (source | |
2670 | (origin | |
2671 | (method url-fetch) | |
2672 | (uri (cran-uri "pkgmaker" version)) | |
2673 | (sha256 | |
2674 | (base32 | |
2675 | "0vrqnd3kg6liqvpbd969jjsdx0f0rvmmxgdbwwrp6xfmdg0pib8r")))) | |
2676 | (build-system r-build-system) | |
2677 | (propagated-inputs | |
2678 | `(("r-codetools" ,r-codetools) | |
2679 | ("r-digest" ,r-digest) | |
2680 | ("r-registry" ,r-registry) | |
2681 | ("r-stringr" ,r-stringr) | |
2682 | ("r-xtable" ,r-xtable))) | |
2683 | (home-page "https://renozao.github.io/pkgmaker") | |
2684 | (synopsis "Package development utilities") | |
2685 | (description | |
2686 | "This package provides some low-level utilities to use for R package | |
2687 | development. It currently provides managers for multiple package specific | |
2688 | options and registries, vignette, unit test and bibtex related utilities.") | |
2689 | (license license:gpl2+))) | |
2690 | ||
2d0f7d80 RW |
2691 | (define-public r-registry |
2692 | (package | |
2693 | (name "r-registry") | |
2694 | (version "0.3") | |
2695 | (source | |
2696 | (origin | |
2697 | (method url-fetch) | |
2698 | (uri (cran-uri "registry" version)) | |
2699 | (sha256 | |
2700 | (base32 | |
2701 | "0c7lscfxncwwd8zp46h2xfw9gw14dypqv6m2kx85xjhjh0xw99aq")))) | |
2702 | (build-system r-build-system) | |
2703 | (home-page "http://cran.r-project.org/web/packages/registry") | |
2704 | (synopsis "Infrastructure for R package registries") | |
2705 | (description | |
2706 | "This package provides a generic infrastructure for creating and using R | |
2707 | package registries.") | |
2708 | (license license:gpl2+))) | |
2709 | ||
790034bd RW |
2710 | (define-public r-rngtools |
2711 | (package | |
2712 | (name "r-rngtools") | |
2713 | (version "1.2.4") | |
2714 | (source | |
2715 | (origin | |
2716 | (method url-fetch) | |
2717 | (uri (cran-uri "rngtools" version)) | |
2718 | (sha256 | |
2719 | (base32 | |
2720 | "1fcgfqrrb48z37xgy8sffx91p9irp39yqzxv7nqp1x2hnwsrh097")))) | |
2721 | (build-system r-build-system) | |
2722 | (propagated-inputs | |
2723 | `(("r-digest" ,r-digest) | |
2724 | ("r-pkgmaker" ,r-pkgmaker) | |
2725 | ("r-stringr" ,r-stringr))) | |
2726 | (home-page "https://renozao.github.io/rngtools") | |
2727 | (synopsis "Utility functions for working with random number generators") | |
2728 | (description | |
2729 | "This package contains a set of functions for working with Random Number | |
2730 | Generators (RNGs). In particular, it defines a generic S4 framework for | |
2731 | getting/setting the current RNG, or RNG data that are embedded into objects | |
2732 | for reproducibility. Notably, convenient default methods greatly facilitate | |
2733 | the way current RNG settings can be changed.") | |
2734 | (license license:gpl3+))) | |
2735 | ||
c72c1249 RW |
2736 | (define-public r-rtsne |
2737 | (package | |
2738 | (name "r-rtsne") | |
2739 | (version "0.11") | |
2740 | (source | |
2741 | (origin | |
2742 | (method url-fetch) | |
2743 | (uri (cran-uri "Rtsne" version)) | |
2744 | (sha256 | |
2745 | (base32 | |
2746 | "0zi4nxgpiv1gpdmcnqdhz5kymzp8m5xj02zpf290p1yyydl76bhy")))) | |
2747 | (properties `((upstream-name . "Rtsne"))) | |
2748 | (build-system r-build-system) | |
2749 | (propagated-inputs | |
2750 | `(("r-rcpp" ,r-rcpp))) | |
2751 | (home-page "https://github.com/jkrijthe/Rtsne") | |
2752 | (synopsis "T-distributed stochastic neighbor embedding") | |
2753 | (description | |
2754 | "This package provides an R wrapper around the fast T-distributed | |
2755 | Stochastic Neighbor Embedding using a Barnes-Hut implementation.") | |
2756 | ;; The declared license for this package is BSD-3, but it also includes | |
2757 | ;; code licensed under BSD-4. | |
2758 | (license (list license:bsd-3 license:bsd-4)))) | |
2759 | ||
c533589c RW |
2760 | (define-public r-e1071 |
2761 | (package | |
2762 | (name "r-e1071") | |
2763 | (version "1.6-7") | |
2764 | (source | |
2765 | (origin | |
2766 | (method url-fetch) | |
2767 | (uri (cran-uri "e1071" version)) | |
2768 | (sha256 | |
2769 | (base32 | |
2770 | "1069qwj9gsjq6par2cgfah8nn5x2w38830761x1f7mqpmk0gnj3h")))) | |
2771 | (build-system r-build-system) | |
2772 | (home-page "http://cran.r-project.org/web/packages/e1071") | |
2773 | (synopsis "Miscellaneous functions for probability theory") | |
2774 | (description | |
2775 | "This package provides functions for latent class analysis, short time | |
2776 | Fourier transform, fuzzy clustering, support vector machines, shortest path | |
2777 | computation, bagged clustering, naive Bayes classifier, and more.") | |
2778 | (license license:gpl2+))) | |
2779 | ||
b783ff78 RW |
2780 | (define-public r-nmf |
2781 | (package | |
2782 | (name "r-nmf") | |
2783 | (version "0.20.6") | |
2784 | (source | |
2785 | (origin | |
2786 | (method url-fetch) | |
2787 | (uri (cran-uri "NMF" version)) | |
2788 | (sha256 | |
2789 | (base32 | |
2790 | "0mmh9bz0zjwd8h9jplz4rq3g94npaqj8s4px51vcv47csssd9k6z")))) | |
2791 | (properties `((upstream-name . "NMF"))) | |
2792 | (build-system r-build-system) | |
2793 | (propagated-inputs | |
2794 | `(("r-cluster" ,r-cluster) | |
2795 | ("r-colorspace" ,r-colorspace) | |
2796 | ("r-digest" ,r-digest) | |
2797 | ("r-doparallel" ,r-doparallel) | |
2798 | ("r-foreach" ,r-foreach) | |
2799 | ("r-ggplot2" ,r-ggplot2) | |
2800 | ("r-gridbase" ,r-gridbase) | |
2801 | ("r-pkgmaker" ,r-pkgmaker) | |
2802 | ("r-rcolorbrewer" ,r-rcolorbrewer) | |
2803 | ("r-registry" ,r-registry) | |
2804 | ("r-reshape2" ,r-reshape2) | |
2805 | ("r-rngtools" ,r-rngtools) | |
2806 | ("r-stringr" ,r-stringr))) | |
2807 | (home-page "http://renozao.github.io/NMF") | |
2808 | (synopsis "Algorithms and framework for nonnegative matrix factorization") | |
2809 | (description | |
2810 | "This package provides a framework to perform Non-negative Matrix | |
2811 | Factorization (NMF). The package implements a set of already published | |
2812 | algorithms and seeding methods, and provides a framework to test, develop and | |
2813 | plug new or custom algorithms. Most of the built-in algorithms have been | |
2814 | optimized in C++, and the main interface function provides an easy way of | |
2815 | performing parallel computations on multicore machines.") | |
2816 | (license license:gpl2+))) | |
2817 | ||
07f911ba RW |
2818 | (define-public r-igraph |
2819 | (package | |
2820 | (name "r-igraph") | |
2821 | (version "1.0.1") | |
2822 | (source | |
2823 | (origin | |
2824 | (method url-fetch) | |
2825 | (uri (cran-uri "igraph" version)) | |
2826 | (sha256 | |
2827 | (base32 | |
2828 | "00jnm8v3kvxpxav5klld2z2nnkcpj4sdwv4ksipddy5mp04ysr6w")))) | |
2829 | (build-system r-build-system) | |
2830 | (native-inputs | |
2831 | `(("gfortran" ,gfortran))) | |
2832 | (inputs | |
2833 | `(("gmp" ,gmp) | |
2834 | ("libxml2" ,libxml2))) | |
2835 | (propagated-inputs | |
2836 | `(("r-irlba" ,r-irlba) | |
2837 | ("r-magrittr" ,r-magrittr) | |
2838 | ("r-nmf" ,r-nmf))) | |
2839 | (home-page "http://igraph.org") | |
2840 | (synopsis "Network analysis and visualization") | |
2841 | (description | |
2842 | "This package provides routines for simple graphs and network analysis. | |
2843 | It can handle large graphs very well and provides functions for generating | |
2844 | random and regular graphs, graph visualization, centrality methods and much | |
2845 | more.") | |
2846 | (license license:gpl2+))) | |
2847 | ||
8bfe007c RW |
2848 | (define-public r-r-methodss3 |
2849 | (package | |
2850 | (name "r-r-methodss3") | |
887d45d4 | 2851 | (version "1.7.1") |
8bfe007c RW |
2852 | (source (origin |
2853 | (method url-fetch) | |
2854 | (uri (cran-uri "R.methodsS3" version)) | |
2855 | (sha256 | |
2856 | (base32 | |
887d45d4 | 2857 | "11z6v2i7jl647wxi9p5z66yvfnnqv6s7fxqmz7w2gkb6j8wl1f24")))) |
8bfe007c RW |
2858 | (properties `((upstream-name . "R.methodsS3"))) |
2859 | (build-system r-build-system) | |
2860 | (home-page "http://cran.r-project.org/web/packages/R.methodsS3") | |
2861 | (synopsis "S3 methods simplified") | |
2862 | (description | |
2863 | "This package provides methods that simplify the setup of S3 generic | |
2864 | functions and S3 methods. Major effort has been made in making definition of | |
2865 | methods as simple as possible with a minimum of maintenance for package | |
2866 | developers. For example, generic functions are created automatically, if | |
2867 | missing, and naming conflict are automatically solved, if possible. The | |
2868 | method @code{setMethodS3()} is a good start for those who in the future may | |
2869 | want to migrate to S4.") | |
2870 | (license license:lgpl2.1+))) | |
2871 | ||
c8c75a8d RW |
2872 | (define-public r-r-oo |
2873 | (package | |
2874 | (name "r-r-oo") | |
b2436f6a | 2875 | (version "1.20.0") |
c8c75a8d RW |
2876 | (source (origin |
2877 | (method url-fetch) | |
2878 | (uri (cran-uri "R.oo" version)) | |
2879 | (sha256 | |
2880 | (base32 | |
b2436f6a | 2881 | "1l1x4r69mdchjyi6sq52p580fz3b3bqv6dpn1706y9n4vq47qx24")))) |
c8c75a8d RW |
2882 | (properties `((upstream-name . "R.oo"))) |
2883 | (build-system r-build-system) | |
2884 | (propagated-inputs | |
2885 | `(("r-r-methodss3" ,r-r-methodss3))) | |
2886 | (home-page "https://github.com/HenrikBengtsson/R.oo") | |
2887 | (synopsis "R object-oriented programming with or without references") | |
2888 | (description | |
2889 | "This package provides methods and classes for object-oriented | |
2890 | programming in R with or without references. Large effort has been made on | |
2891 | making definition of methods as simple as possible with a minimum of | |
2892 | maintenance for package developers.") | |
2893 | (license license:lgpl2.1+))) | |
2894 | ||
9c94b53b RW |
2895 | (define-public r-r-utils |
2896 | (package | |
2897 | (name "r-r-utils") | |
801e9e73 | 2898 | (version "2.3.0") |
9c94b53b RW |
2899 | (source (origin |
2900 | (method url-fetch) | |
2901 | (uri (cran-uri "R.utils" version)) | |
2902 | (sha256 | |
2903 | (base32 | |
801e9e73 | 2904 | "0f4z7ka1wb7bgxc5wyqihqxsnqwgyyzbglwvfwmx0gn8i0wzi647")))) |
9c94b53b RW |
2905 | (properties `((upstream-name . "R.utils"))) |
2906 | (build-system r-build-system) | |
2907 | (propagated-inputs | |
2908 | `(("r-r-methodss3" ,r-r-methodss3) | |
2909 | ("r-r-oo" ,r-r-oo))) | |
2910 | (home-page "https://github.com/HenrikBengtsson/R.utils") | |
2911 | (synopsis "Various programming utilities") | |
2912 | (description | |
2913 | "This package provides utility functions useful when programming and | |
2914 | developing R packages.") | |
2915 | (license license:lgpl2.1+))) | |
2916 | ||
a63efbb4 RW |
2917 | (define-public r-r-cache |
2918 | (package | |
2919 | (name "r-r-cache") | |
2920 | (version "0.12.0") | |
2921 | (source (origin | |
2922 | (method url-fetch) | |
2923 | (uri (cran-uri "R.cache" version)) | |
2924 | (sha256 | |
2925 | (base32 | |
2926 | "006x52w9r8phw5hgqmyp0bz8z42vn8p5yibibnzi1sfa1xlw8iyx")))) | |
2927 | (properties `((upstream-name . "R.cache"))) | |
2928 | (build-system r-build-system) | |
2929 | (propagated-inputs | |
2930 | `(("r-digest" ,r-digest) | |
2931 | ("r-r-methodss3" ,r-r-methodss3) | |
2932 | ("r-r-oo" ,r-r-oo) | |
2933 | ("r-r-utils" ,r-r-utils))) | |
2934 | (home-page "https://github.com/HenrikBengtsson/R.cache") | |
2935 | (synopsis "Light-weight caching of objects and results") | |
2936 | (description | |
2937 | "This package provides methods for caching or memoization of objects and | |
2938 | results. With this package, any R object can be cached in a key-value storage | |
2939 | where the key can be an arbitrary set of R objects. The cache memory is | |
2940 | persistent (on the file system).") | |
2941 | (license license:lgpl2.1+))) | |
2942 | ||
3703ffb4 RW |
2943 | (define-public r-r-rsp |
2944 | (package | |
2945 | (name "r-r-rsp") | |
b8f6a97e | 2946 | (version "0.30.0") |
3703ffb4 RW |
2947 | (source (origin |
2948 | (method url-fetch) | |
2949 | (uri (cran-uri "R.rsp" version)) | |
2950 | (sha256 | |
2951 | (base32 | |
b8f6a97e | 2952 | "1ssykygqkxzx9qblxhavxlf2z6r5bhk0s47yw1dllfiyc8zy7jv2")))) |
3703ffb4 RW |
2953 | (properties `((upstream-name . "R.rsp"))) |
2954 | (build-system r-build-system) | |
2955 | (propagated-inputs | |
2956 | `(("r-r-cache" ,r-r-cache) | |
2957 | ("r-r-methodss3" ,r-r-methodss3) | |
2958 | ("r-r-oo" ,r-r-oo) | |
2959 | ("r-r-utils" ,r-r-utils))) | |
2960 | (home-page "https://github.com/HenrikBengtsson/R.rsp") | |
2961 | (synopsis "Dynamic generation of scientific reports") | |
2962 | (description | |
2963 | "The RSP markup language provides a powerful markup for controlling the | |
2964 | content and output of LaTeX, HTML, Markdown, AsciiDoc, Sweave and knitr | |
2965 | documents (and more), e.g. @code{Today's date is <%=Sys.Date()%>}. Contrary | |
2966 | to many other literate programming languages, with RSP it is straightforward | |
2967 | to loop over mixtures of code and text sections, e.g. in month-by-month | |
2968 | summaries. RSP has also several preprocessing directives for incorporating | |
2969 | static and dynamic contents of external files (local or online) among other | |
2970 | things. RSP is ideal for self-contained scientific reports and R package | |
2971 | vignettes.") | |
2972 | (license license:lgpl2.1+))) | |
2973 | ||
b5f13fdb RJ |
2974 | (define-public r-mvtnorm |
2975 | (package | |
2976 | (name "r-mvtnorm") | |
2977 | (version "1.0-5") | |
2978 | (source (origin | |
2979 | (method url-fetch) | |
2980 | (uri (cran-uri "mvtnorm" version)) | |
2981 | (sha256 | |
2982 | (base32 | |
2983 | "1pc1mi2h063gh4a40009xk5j6pf5bm4274i5kycln38dixsry3yh")))) | |
2984 | (build-system r-build-system) | |
2985 | (inputs | |
2986 | `(("gfortran" ,gfortran))) | |
2987 | (home-page "http://mvtnorm.R-forge.R-project.org") | |
2988 | (synopsis "Package for multivariate normal and t-distributions") | |
2989 | (description "This package can compute multivariate normal and | |
2990 | t-probabilities, quantiles, random deviates and densities.") | |
2991 | (license license:gpl2))) | |
2992 | ||
e05c37da RW |
2993 | (define-public r-matrixstats |
2994 | (package | |
2995 | (name "r-matrixstats") | |
95513f28 | 2996 | (version "0.50.2") |
e05c37da RW |
2997 | (source (origin |
2998 | (method url-fetch) | |
2999 | (uri (cran-uri "matrixStats" version)) | |
3000 | (sha256 | |
3001 | (base32 | |
95513f28 | 3002 | "0zj27xxx9cyrq16rn4g3l0krqg68p8f2qp18w1w4i767j87amlbj")))) |
e05c37da RW |
3003 | (properties `((upstream-name . "matrixStats"))) |
3004 | (build-system r-build-system) | |
3005 | (native-inputs | |
3006 | `(("r-r-rsp" ,r-r-rsp))) ;used to build vignettes | |
3007 | (home-page "https://github.com/HenrikBengtsson/matrixStats") | |
3008 | (synopsis "Methods applying to vectors and matrix rows and columns") | |
3009 | (description | |
3010 | "This package provides methods operating on rows and columns of matrices, | |
3011 | e.g. @code{rowMedians()}, @code{rowRanks()}, and @code{rowSds()}. There are | |
3012 | also some vector-based methods, e.g. @code{binMeans()}, @code{madDiff()} and | |
3013 | @code{weightedMedians()}. All methods have been optimized for speed and | |
3014 | memory usage.") | |
3015 | (license license:artistic2.0))) | |
3016 | ||
a28d646b RW |
3017 | (define-public r-viridis |
3018 | (package | |
3019 | (name "r-viridis") | |
0fc42136 | 3020 | (version "0.3.4") |
a28d646b RW |
3021 | (source (origin |
3022 | (method url-fetch) | |
3023 | (uri (cran-uri "viridis" version)) | |
3024 | (sha256 | |
3025 | (base32 | |
0fc42136 | 3026 | "1a9hqn2pccpc51vh8ghw698ni6xzdnp8v0n8kgjh51nlz5hhc87j")))) |
a28d646b RW |
3027 | (build-system r-build-system) |
3028 | (propagated-inputs | |
3029 | `(("r-ggplot2" ,r-ggplot2) | |
3030 | ("r-gridextra" ,r-gridextra))) | |
3031 | (home-page "https://github.com/sjmgarnier/viridis") | |
3032 | (synopsis "Matplotlib default color map") | |
3033 | (description | |
3034 | "This package is a port of the new @url{matplotlib, | |
3035 | http://matplotlib.org/} color maps (@code{viridis}--the default--, | |
3036 | @code{magma}, @code{plasma}, and @code{inferno}) to R. These color maps are | |
3037 | designed in such a way that they will analytically be perfectly | |
3038 | perceptually-uniform, both in regular form and also when converted to | |
3039 | black-and-white. They are also designed to be perceived by readers with the | |
3040 | most common form of color blindness.") | |
3041 | (license license:x11))) | |
3042 | ||
94b7e9b7 RW |
3043 | (define-public r-tidyr |
3044 | (package | |
3045 | (name "r-tidyr") | |
1b7f85f5 | 3046 | (version "0.6.0") |
94b7e9b7 RW |
3047 | (source |
3048 | (origin | |
3049 | (method url-fetch) | |
3050 | (uri (cran-uri "tidyr" version)) | |
3051 | (sha256 | |
3052 | (base32 | |
1b7f85f5 | 3053 | "1bpwbphgl43ym433b0nrshwhr7pprmj1wkpkamdzix1zvf9dcbc2")))) |
94b7e9b7 RW |
3054 | (build-system r-build-system) |
3055 | (propagated-inputs | |
3056 | `(("r-dplyr" ,r-dplyr) | |
3057 | ("r-lazyeval" ,r-lazyeval) | |
3058 | ("r-magrittr" ,r-magrittr) | |
3059 | ("r-rcpp" ,r-rcpp) | |
3060 | ("r-stringi" ,r-stringi))) | |
3061 | (home-page "https://github.com/hadley/tidyr") | |
3062 | (synopsis "Tidy data with `spread()` and `gather()` functions") | |
3063 | (description | |
3064 | "tidyr is a reframing of the reshape2 package designed to accompany the | |
3065 | tidy data framework, and to work hand-in-hand with magrittr and dplyr to build | |
3066 | a solid pipeline for data analysis. It is designed specifically for tidying | |
3067 | data, not the general reshaping that reshape2 does, or the general aggregation | |
3068 | that reshape did. In particular, built-in methods only work for data frames, | |
3069 | and tidyr provides no margins or aggregation.") | |
3070 | (license license:expat))) | |
3071 | ||
bae79538 RW |
3072 | (define-public r-hexbin |
3073 | (package | |
3074 | (name "r-hexbin") | |
3075 | (version "1.27.1") | |
3076 | (source | |
3077 | (origin | |
3078 | (method url-fetch) | |
3079 | (uri (cran-uri "hexbin" version)) | |
3080 | (sha256 | |
3081 | (base32 | |
3082 | "0xi6fbf1fvyn2gffr052n3viibqzpr3603sgi4xaminbzja4syjh")))) | |
3083 | (build-system r-build-system) | |
3084 | (propagated-inputs | |
3085 | `(("r-lattice" ,r-lattice))) | |
3086 | (native-inputs | |
3087 | `(("gfortran" ,gfortran))) | |
3088 | (home-page "http://github.com/edzer/hexbin") | |
3089 | (synopsis "Hexagonal binning routines") | |
3090 | (description | |
3091 | "This package provides binning and plotting functions for hexagonal bins. | |
3092 | It uses and relies on grid graphics and formal (S4) classes and methods.") | |
3093 | (license license:gpl2+))) | |
3094 | ||
fbf6045e RW |
3095 | (define-public r-plotly |
3096 | (package | |
3097 | (name "r-plotly") | |
c969453e | 3098 | (version "3.6.0") |
fbf6045e RW |
3099 | (source (origin |
3100 | (method url-fetch) | |
3101 | (uri (cran-uri "plotly" version)) | |
3102 | (sha256 | |
3103 | (base32 | |
c969453e | 3104 | "15hvqa0sf4z6l6vvr614zjszfphwpv66zpc665iyiynq0pd1jv2c")))) |
fbf6045e RW |
3105 | (build-system r-build-system) |
3106 | (propagated-inputs | |
3107 | `(("r-base64enc" ,r-base64enc) | |
3108 | ("r-digest" ,r-digest) | |
3109 | ("r-ggplot2" ,r-ggplot2) | |
2c81794e | 3110 | ("r-hexbin" ,r-hexbin) |
fbf6045e RW |
3111 | ("r-htmlwidgets" ,r-htmlwidgets) |
3112 | ("r-httr" ,r-httr) | |
3113 | ("r-jsonlite" ,r-jsonlite) | |
3114 | ("r-magrittr" ,r-magrittr) | |
3115 | ("r-plyr" ,r-plyr) | |
2c81794e RW |
3116 | ("r-scales" ,r-scales) |
3117 | ("r-tidyr" ,r-tidyr) | |
fbf6045e RW |
3118 | ("r-viridis" ,r-viridis))) |
3119 | (home-page "https://plot.ly/r") | |
3120 | (synopsis "Create interactive web graphics") | |
3121 | (description | |
3122 | "This package enables the translation of ggplot2 graphs to an interactive | |
3123 | web-based version and/or the creation of custom web-based visualizations | |
3124 | directly from R. Once uploaded to a plotly account, plotly graphs (and the | |
3125 | data behind them) can be viewed and modified in a web browser.") | |
3126 | (license license:x11))) | |
3127 | ||
0947698c BW |
3128 | (define-public r-biased-urn |
3129 | (package | |
3130 | (name "r-biased-urn") | |
3131 | (version "1.07") | |
3132 | (source | |
3133 | (origin | |
3134 | (method url-fetch) | |
3135 | (uri (cran-uri "BiasedUrn" version)) | |
3136 | (sha256 | |
3137 | (base32 | |
3138 | "13i2lgfnjhlbbm2yxfc2l5hswqw6x03pwba5csjmirv8kpjw4xr3")))) | |
3139 | (properties `((upstream-name . "BiasedUrn"))) | |
3140 | (build-system r-build-system) | |
3141 | (home-page "http://www.agner.org/random/") | |
3142 | (synopsis "Biased urn model distributions") | |
3143 | (description | |
3144 | "This package provides statistical models of biased sampling in the form | |
3145 | of univariate and multivariate noncentral hypergeometric distributions, | |
3146 | including Wallenius' noncentral hypergeometric distribution and Fisher's | |
3147 | noncentral hypergeometric distribution (also called extended hypergeometric | |
3148 | distribution).") | |
3149 | (license license:gpl3+))) | |
6499b70e | 3150 | |
2213730c RW |
3151 | (define-public r-rpart |
3152 | (package | |
3153 | (name "r-rpart") | |
3154 | (version "4.1-10") | |
3155 | (source | |
3156 | (origin | |
3157 | (method url-fetch) | |
3158 | (uri (cran-uri "rpart" version)) | |
3159 | (sha256 | |
3160 | (base32 | |
3161 | "119dvh2cpab4vq9blvbkil5hgq6w018amiwlda3ii0fki39axpf5")))) | |
3162 | (build-system r-build-system) | |
3163 | (home-page "http://cran.r-project.org/web/packages/rpart") | |
3164 | (synopsis "Recursive partitioning and regression trees") | |
3165 | (description | |
3166 | "This package provides recursive partitioning functions for | |
3167 | classification, regression and survival trees.") | |
3168 | (license (list license:gpl2+ license:gpl3+)))) | |
3169 | ||
2d21d44d RW |
3170 | (define-public r-hmisc |
3171 | (package | |
3172 | (name "r-hmisc") | |
3173 | (version "3.17-4") | |
3174 | (source | |
3175 | (origin | |
3176 | (method url-fetch) | |
3177 | (uri (cran-uri "Hmisc" version)) | |
3178 | (sha256 | |
3179 | (base32 | |
3180 | "1hr2kycpm0h3li9gnlbx9pl6h13das7g2wqfk6cip1kx6lv00ypw")))) | |
3181 | (properties `((upstream-name . "Hmisc"))) | |
3182 | (build-system r-build-system) | |
3183 | (native-inputs | |
3184 | `(("gfortran" ,gfortran))) | |
3185 | (propagated-inputs | |
3186 | `(("r-acepack" ,r-acepack) | |
3187 | ("r-cluster" ,r-cluster) | |
3188 | ("r-data-table" ,r-data-table) | |
3189 | ("r-foreign" ,r-foreign) | |
3190 | ("r-formula" ,r-formula) | |
3191 | ("r-ggplot2" ,r-ggplot2) | |
3192 | ("r-gridextra" ,r-gridextra) | |
3193 | ("r-gtable" ,r-gtable) | |
3194 | ("r-lattice" ,r-lattice) | |
3195 | ("r-latticeextra" ,r-latticeextra) | |
3196 | ("r-nnet" ,r-nnet) | |
3197 | ("r-rpart" ,r-rpart))) | |
3198 | (home-page "http://biostat.mc.vanderbilt.edu/Hmisc") | |
3199 | (synopsis "Miscellaneous data analysis and graphics functions") | |
3200 | (description | |
3201 | "This package contains many functions useful for data analysis, | |
3202 | high-level graphics, utility operations, functions for computing sample size | |
3203 | and power, importing and annotating datasets, imputing missing values, | |
3204 | advanced table making, variable clustering, character string manipulation, | |
3205 | conversion of R objects to LaTeX code, and recoding variables.") | |
3206 | (license license:gpl2+))) | |
3207 | ||
aa3b3910 RW |
3208 | (define-public r-runit |
3209 | (package | |
3210 | (name "r-runit") | |
3211 | (version "0.4.31") | |
3212 | (source | |
3213 | (origin | |
3214 | (method url-fetch) | |
3215 | (uri (cran-uri "RUnit" version)) | |
3216 | (sha256 | |
3217 | (base32 | |
3218 | "1jqr871jkll2xmk7wk5hv1z3a36hyn2ibgivw7bwk4b346940xlx")))) | |
3219 | (properties `((upstream-name . "RUnit"))) | |
3220 | (build-system r-build-system) | |
3221 | (home-page "http://cran.r-project.org/web/packages/RUnit") | |
3222 | (synopsis "R unit test framework") | |
3223 | (description | |
3224 | "This package provides R functions implementing a standard unit testing | |
3225 | framework, with additional code inspection and report generation tools.") | |
3226 | (license license:gpl2+))) | |
3227 | ||
031cf6b6 RJ |
3228 | (define-public r-zoo |
3229 | (package | |
3230 | (name "r-zoo") | |
3231 | (version "1.7-13") | |
3232 | (source (origin | |
3233 | (method url-fetch) | |
3234 | (uri (cran-uri "zoo" version)) | |
3235 | (sha256 | |
3236 | (base32 | |
3237 | "0m67bnrg7r1jxvs9p7rpa430szp5qfp65r056yb8bivpc16jd98c")))) | |
3238 | (build-system r-build-system) | |
3239 | (propagated-inputs | |
3240 | `(("r-lattice" ,r-lattice))) | |
3241 | (home-page "http://zoo.R-Forge.R-project.org/") | |
3242 | (synopsis "S3 infrastructure for regular and irregular time series") | |
3243 | (description "This package contains an S3 class with methods for totally | |
3244 | ordered indexed observations. It is particularly aimed at irregular time | |
3245 | series of numeric vectors/matrices and factors.") | |
3246 | (license license:gpl2+))) | |
3247 | ||
6499b70e RW |
3248 | (define-public r-ztable |
3249 | (package | |
3250 | (name "r-ztable") | |
3251 | (version "0.1.5") | |
3252 | (source (origin | |
3253 | (method url-fetch) | |
3254 | (uri (cran-uri "ztable" version)) | |
3255 | (sha256 | |
3256 | (base32 | |
3257 | "1jfqnqy9544gfvz3bsb48v4177nwp4b4n9l2743asq8sbq305b5r")))) | |
3258 | (build-system r-build-system) | |
3259 | (home-page "http://cran.r-project.org/web/packages/ztable") | |
3260 | (synopsis "Zebra-striped tables in LaTeX and HTML formats for R") | |
3261 | (description | |
3262 | "This package provides functions to make zebra-striped tables (tables | |
3263 | with alternating row colors) in LaTeX and HTML formats easily from | |
3264 | @code{data.frame}, @code{matrix}, @code{lm}, @code{aov}, @code{anova}, | |
3265 | @code{glm}, @code{coxph}, @code{nls}, @code{fitdistr}, @code{mytable} and | |
3266 | @code{cbind.mytable} objects.") | |
3267 | (license license:gpl2+))) |