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