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> |
cb7e4867 RW |
7 | ;;; |
8 | ;;; This file is part of GNU Guix. | |
9 | ;;; | |
10 | ;;; GNU Guix is free software; you can redistribute it and/or modify it | |
11 | ;;; under the terms of the GNU General Public License as published by | |
12 | ;;; the Free Software Foundation; either version 3 of the License, or (at | |
13 | ;;; your option) any later version. | |
14 | ;;; | |
15 | ;;; GNU Guix is distributed in the hope that it will be useful, but | |
16 | ;;; WITHOUT ANY WARRANTY; without even the implied warranty of | |
17 | ;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
18 | ;;; GNU General Public License for more details. | |
19 | ;;; | |
20 | ;;; You should have received a copy of the GNU General Public License | |
21 | ;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>. | |
22 | ||
23 | (define-module (gnu packages statistics) | |
24 | #:use-module ((guix licenses) #:prefix license:) | |
25 | #:use-module (guix packages) | |
26 | #:use-module (guix download) | |
27 | #:use-module (guix utils) | |
28 | #:use-module (guix build-system gnu) | |
b12636e6 | 29 | #:use-module (guix build-system r) |
9bc08aa0 | 30 | #:use-module (guix build-system python) |
cb7e4867 RW |
31 | #:use-module (gnu packages) |
32 | #:use-module (gnu packages compression) | |
cefaa79c | 33 | #:use-module (gnu packages curl) |
cb7e4867 RW |
34 | #:use-module (gnu packages gcc) |
35 | #:use-module (gnu packages gtk) | |
77bdb276 | 36 | #:use-module (gnu packages haskell) |
cb7e4867 RW |
37 | #:use-module (gnu packages icu4c) |
38 | #:use-module (gnu packages image) | |
39 | #:use-module (gnu packages java) | |
40 | #:use-module (gnu packages maths) | |
41 | #:use-module (gnu packages pcre) | |
42 | #:use-module (gnu packages perl) | |
43 | #:use-module (gnu packages pkg-config) | |
9bc08aa0 | 44 | #:use-module (gnu packages python) |
cb7e4867 | 45 | #:use-module (gnu packages readline) |
035711f1 | 46 | #:use-module (gnu packages ssh) |
cb7e4867 | 47 | #:use-module (gnu packages texinfo) |
035711f1 | 48 | #:use-module (gnu packages tls) |
ce0614dd | 49 | #:use-module (gnu packages base) |
6140747f | 50 | #:use-module (gnu packages web) |
67a167fd | 51 | #:use-module (gnu packages xml) |
9bc08aa0 RW |
52 | #:use-module (gnu packages xorg) |
53 | #:use-module (gnu packages zip) | |
54 | #:use-module (srfi srfi-1)) | |
cb7e4867 RW |
55 | |
56 | (define-public r | |
57 | (package | |
58 | (name "r") | |
695bea98 | 59 | (version "3.2.3") |
cb7e4867 RW |
60 | (source (origin |
61 | (method url-fetch) | |
62 | (uri (string-append "mirror://cran/src/base/R-" | |
63 | (version-prefix version 1) "/R-" | |
64 | version ".tar.gz")) | |
65 | (sha256 | |
66 | (base32 | |
695bea98 | 67 | "1hdnv77ralzcx5k5b88jq1r8l6zqnywpq00g2qs949rqh63psfxr")))) |
cb7e4867 RW |
68 | (build-system gnu-build-system) |
69 | (arguments | |
ff2b1c17 RW |
70 | `(#:make-flags |
71 | (list (string-append "LDFLAGS=-Wl,-rpath=" | |
72 | (assoc-ref %outputs "out") | |
73 | "/lib/R/lib")) | |
74 | #:phases | |
f4f4ced8 RW |
75 | (modify-phases %standard-phases |
76 | (add-before | |
77 | 'configure 'set-default-pager | |
78 | ;; Set default pager to "cat", because otherwise it is "false", | |
79 | ;; making "help()" print nothing at all. | |
80 | (lambda _ (setenv "PAGER" "cat") #t)) | |
81 | (add-before | |
82 | 'check 'set-timezone | |
83 | ;; Some tests require the timezone to be set. | |
af23b6e9 RW |
84 | (lambda _ (setenv "TZ" "UTC") #t)) |
85 | (add-after 'build 'make-info | |
86 | (lambda _ (zero? (system* "make" "info")))) | |
87 | (add-after 'build 'install-info | |
88 | (lambda _ (zero? (system* "make" "install-info"))))) | |
cb7e4867 | 89 | #:configure-flags |
eb2afd00 | 90 | '("--with-cairo" |
cb7e4867 RW |
91 | "--with-libpng" |
92 | "--with-jpeglib" | |
93 | "--with-libtiff" | |
94 | "--with-ICU" | |
95 | "--enable-R-shlib" | |
96 | "--enable-BLAS-shlib" | |
97 | "--with-system-zlib" | |
98 | "--with-system-bzlib" | |
99 | "--with-system-pcre" | |
100 | "--with-system-tre" | |
101 | "--with-system-xz"))) | |
5e9738b7 RW |
102 | ;; R has some support for Java. When the JDK is available at configure |
103 | ;; time environment variables pointing to the JDK will be recorded under | |
104 | ;; $R_HOME/etc and ./tools/getsp.java will be compiled which is used by "R | |
105 | ;; CMD javareconf". "R CMD javareconf" appears to only be used to update | |
106 | ;; the recorded environment variables in $R_HOME/etc. Refer to | |
107 | ;; https://cran.r-project.org/doc/manuals/r-release/R-admin.html#Java-support | |
108 | ;; for additional information. | |
109 | ||
110 | ;; As the JDK is a rather large input with only very limited effects on R, | |
111 | ;; we decided to drop it. | |
cb7e4867 RW |
112 | (native-inputs |
113 | `(("bzip2" ,bzip2) | |
114 | ("perl" ,perl) | |
115 | ("pkg-config" ,pkg-config) | |
cb7e4867 RW |
116 | ("texinfo" ,texinfo) ; for building HTML manuals |
117 | ("which" ,which) ; for tests/Examples/base-Ex.R | |
118 | ("xz" ,xz))) | |
119 | (inputs | |
95b754a1 | 120 | `(("cairo" ,cairo) |
19afbea1 | 121 | ("gfortran" ,gfortran) |
cb7e4867 | 122 | ("icu4c" ,icu4c) |
cb7e4867 RW |
123 | ("libjpeg" ,libjpeg) |
124 | ("libpng" ,libpng) | |
125 | ("libtiff" ,libtiff) | |
126 | ("libxt" ,libxt) | |
127 | ("pcre" ,pcre) | |
128 | ("readline" ,readline) | |
129 | ("zlib" ,zlib))) | |
12a9f4af RW |
130 | (native-search-paths |
131 | (list (search-path-specification | |
132 | (variable "R_LIBS_SITE") | |
133 | (files (list "site-library/"))))) | |
cb7e4867 RW |
134 | (home-page "http://www.r-project.org/") |
135 | (synopsis "Environment for statistical computing and graphics") | |
136 | (description | |
137 | "R is a language and environment for statistical computing and graphics. | |
138 | It provides a variety of statistical techniques, such as linear and nonlinear | |
139 | modeling, classical statistical tests, time-series analysis, classification | |
140 | and clustering. It also provides robust support for producing | |
141 | publication-quality data plots. A large amount of 3rd-party packages are | |
142 | available, greatly increasing its breadth and scope.") | |
143 | (license license:gpl3+))) | |
b12636e6 RW |
144 | |
145 | (define-public r-colorspace | |
146 | (package | |
147 | (name "r-colorspace") | |
148 | (version "1.2-6") | |
149 | (source | |
150 | (origin | |
151 | (method url-fetch) | |
9cda3622 | 152 | (uri (cran-uri "colorspace" version)) |
b12636e6 RW |
153 | (sha256 |
154 | (base32 "0y8n4ljwhbdvkysdwgqzcnpv107pb3px1jip3k6svv86p72nacds")))) | |
155 | (build-system r-build-system) | |
156 | (home-page "http://cran.r-project.org/web/packages/colorspace") | |
157 | (synopsis "Color space manipulation") | |
158 | (description | |
159 | "This package carries out a mapping between assorted color spaces | |
160 | including RGB, HSV, HLS, CIEXYZ, CIELUV, HCL (polar CIELUV), CIELAB and polar | |
161 | CIELAB. Qualitative, sequential, and diverging color palettes based on HCL | |
162 | colors are provided.") | |
163 | (license license:bsd-3))) | |
3587effb RW |
164 | |
165 | (define-public r-dichromat | |
166 | (package | |
167 | (name "r-dichromat") | |
168 | (version "2.0-0") | |
169 | (source | |
170 | (origin | |
171 | (method url-fetch) | |
9cda3622 | 172 | (uri (cran-uri "dichromat" version)) |
3587effb RW |
173 | (sha256 |
174 | (base32 "1l8db1nk29ccqg3mkbafvfiw0775iq4gapysf88xq2zp6spiw59i")))) | |
175 | (build-system r-build-system) | |
176 | (home-page "http://cran.r-project.org/web/packages/dichromat") | |
177 | (synopsis "Color schemes for dichromats") | |
178 | (description | |
179 | "Dichromat collapses red-green or green-blue distinctions to simulate the | |
180 | effects of different types of color-blindness.") | |
181 | (license license:gpl2+))) | |
177f38c7 RW |
182 | |
183 | (define-public r-digest | |
184 | (package | |
185 | (name "r-digest") | |
186 | (version "0.6.8") | |
187 | (source | |
188 | (origin | |
189 | (method url-fetch) | |
9cda3622 | 190 | (uri (cran-uri "digest" version)) |
177f38c7 RW |
191 | (sha256 |
192 | (base32 "0m9grqv67hhf51lz10whymhw0g0d98466ka694kya5x95hn44qih")))) | |
193 | (build-system r-build-system) | |
194 | (home-page "http://dirk.eddelbuettel.com/code/digest.html") | |
195 | (synopsis "Create cryptographic hash digests of R objects") | |
196 | (description | |
197 | "This package contains an implementation of a function 'digest()' for the | |
198 | creation of hash digests of arbitrary R objects (using the md5, sha-1, | |
199 | sha-256, crc32, xxhash and murmurhash algorithms) permitting easy comparison | |
200 | of R language objects, as well as a function 'hmac()' to create hash-based | |
201 | message authentication code. | |
202 | ||
203 | Please note that this package is not meant to be deployed for cryptographic | |
204 | purposes for which more comprehensive (and widely tested) libraries such as | |
205 | OpenSSL should be used.") | |
206 | (license license:gpl2+))) | |
112bb3c0 RW |
207 | |
208 | (define-public r-gtable | |
209 | (package | |
210 | (name "r-gtable") | |
211 | (version "0.1.2") | |
212 | (source | |
213 | (origin | |
214 | (method url-fetch) | |
9cda3622 | 215 | (uri (cran-uri "gtable" version)) |
112bb3c0 RW |
216 | (sha256 |
217 | (base32 "0k9hfj6r5y238gqh92s3cbdn34biczx3zfh79ix5xq0c5vkai2xh")))) | |
218 | (build-system r-build-system) | |
219 | (home-page "https://cran.r-project.org/web/packages/gtable") | |
220 | (synopsis "R library to arrange grobs in tables") | |
221 | (description | |
222 | "Gtable is a collection of tools to make it easier to work with | |
223 | \"tables\" of grobs.") | |
224 | (license license:gpl2+))) | |
b7eee9fc RW |
225 | |
226 | (define-public r-labeling | |
227 | (package | |
228 | (name "r-labeling") | |
229 | (version "0.3") | |
230 | (source | |
231 | (origin | |
232 | (method url-fetch) | |
9cda3622 | 233 | (uri (cran-uri "labeling" version)) |
b7eee9fc RW |
234 | (sha256 |
235 | (base32 "13sk7zrrrzry6ky1bp8mmnzcl9jhvkig8j4id9nny7z993mnk00d")))) | |
236 | (build-system r-build-system) | |
237 | (home-page "http://cran.r-project.org/web/packages/labeling") | |
238 | (synopsis "Axis labeling algorithms") | |
239 | (description "The labeling package provides a range of axis labeling | |
240 | algorithms.") | |
241 | (license license:expat))) | |
d69c4b04 RW |
242 | |
243 | (define-public r-magrittr | |
244 | (package | |
245 | (name "r-magrittr") | |
246 | (version "1.5") | |
247 | (source | |
248 | (origin | |
249 | (method url-fetch) | |
9cda3622 | 250 | (uri (cran-uri "magrittr" version)) |
d69c4b04 RW |
251 | (sha256 |
252 | (base32 "1s1ar6rag8m277qcqmdp02gn4awn9bdj9ax0r8s32i59mm1mki05")))) | |
253 | (build-system r-build-system) | |
254 | (home-page "http://cran.r-project.org/web/packages/magrittr/index.html") | |
255 | (synopsis "A forward-pipe operator for R") | |
256 | (description | |
257 | "Magrittr provides a mechanism for chaining commands with a new | |
258 | forward-pipe operator, %>%. This operator will forward a value, or the result | |
259 | of an expression, into the next function call/expression. There is flexible | |
260 | support for the type of right-hand side expressions. For more information, | |
261 | see package vignette. To quote Rene Magritte, \"Ceci n'est pas un pipe.\"") | |
262 | (license license:expat))) | |
44373339 RW |
263 | |
264 | (define-public r-munsell | |
265 | (package | |
266 | (name "r-munsell") | |
267 | (version "0.4.2") | |
268 | (source | |
269 | (origin | |
270 | (method url-fetch) | |
9cda3622 | 271 | (uri (cran-uri "munsell" version)) |
44373339 RW |
272 | (sha256 |
273 | (base32 "1bi5yi0i80778bbzx2rm4f0glpc34kvh24pwwfhm4v32izsqgrw4")))) | |
274 | (build-system r-build-system) | |
275 | (propagated-inputs | |
276 | `(("r-colorspace" ,r-colorspace))) | |
277 | (home-page "http://cran.r-project.org/web/packages/munsell") | |
278 | (synopsis "Munsell colour system") | |
279 | (description | |
280 | "The Munsell package contains Functions for exploring and using the | |
281 | Munsell colour system.") | |
282 | (license license:expat))) | |
ea69e2f8 RW |
283 | |
284 | (define-public r-rcpp | |
285 | (package | |
286 | (name "r-rcpp") | |
287 | (version "0.12.0") | |
288 | (source | |
289 | (origin | |
290 | (method url-fetch) | |
9cda3622 | 291 | (uri (cran-uri "Rcpp" version)) |
ea69e2f8 RW |
292 | (sha256 |
293 | (base32 "182109z0yc1snqgd833ssl2cix6cbq83bcxmy5344b15ym820y38")))) | |
294 | (build-system r-build-system) | |
295 | (home-page "http://www.rcpp.org") | |
296 | (synopsis "Seamless R and C++ Integration") | |
297 | (description | |
298 | "The Rcpp package provides R functions as well as C++ classes which offer | |
299 | a seamless integration of R and C++. Many R data types and objects can be | |
300 | mapped back and forth to C++ equivalents which facilitates both writing of new | |
301 | code as well as easier integration of third-party libraries. Documentation | |
302 | about Rcpp is provided by several vignettes included in this package, via the | |
303 | 'Rcpp Gallery' site at <http://gallery.rcpp.org>, the paper by Eddelbuettel | |
304 | and Francois (2011, JSS), and the book by Eddelbuettel (2013, Springer); see | |
305 | 'citation(\"Rcpp\")' for details on these last two.") | |
306 | (license license:gpl2+))) | |
7e10056b RW |
307 | |
308 | (define-public r-plyr | |
309 | (package | |
310 | (name "r-plyr") | |
311 | (version "1.8.3") | |
312 | (source | |
313 | (origin | |
314 | (method url-fetch) | |
9cda3622 | 315 | (uri (cran-uri "plyr" version)) |
7e10056b RW |
316 | (sha256 |
317 | (base32 "06v4zxawpjz37rp2q2ii5q43g664z9s29j4ydn0cz3crn7lzl6pk")))) | |
318 | (build-system r-build-system) | |
319 | (native-inputs `(("r-rcpp" ,r-rcpp))) | |
320 | (home-page "http://had.co.nz/plyr") | |
321 | (synopsis "Tools for Splitting, Applying and Combining Data") | |
322 | (description | |
323 | "Plyr is a set of tools that solves a common set of problems: you need to | |
324 | break a big problem down into manageable pieces, operate on each piece and | |
325 | then put all the pieces back together. For example, you might want to fit a | |
326 | model to each spatial location or time point in your study, summarise data by | |
327 | panels or collapse high-dimensional arrays to simpler summary statistics.") | |
328 | (license license:expat))) | |
9a4d8968 RW |
329 | |
330 | (define-public r-proto | |
331 | (package | |
332 | (name "r-proto") | |
333 | (version "0.3-10") | |
334 | (source | |
335 | (origin | |
336 | (method url-fetch) | |
9cda3622 | 337 | (uri (cran-uri "proto" version)) |
9a4d8968 RW |
338 | (sha256 |
339 | (base32 "03mvzi529y6kjcp9bkpk7zlgpcakb3iz73hca6rpjy14pyzl3nfh")))) | |
340 | (build-system r-build-system) | |
341 | (home-page "http://r-proto.googlecode.com") | |
342 | (synopsis "Prototype object-based programming") | |
343 | (description | |
344 | "Proto is an object oriented system using object-based, also called | |
345 | prototype-based, rather than class-based object oriented ideas.") | |
346 | (license license:gpl2+))) | |
a45ba127 RW |
347 | |
348 | (define-public r-rcolorbrewer | |
349 | (package | |
350 | (name "r-rcolorbrewer") | |
351 | (version "1.1-2") | |
352 | (source | |
353 | (origin | |
354 | (method url-fetch) | |
9cda3622 | 355 | (uri (cran-uri "RColorBrewer" version)) |
a45ba127 RW |
356 | (sha256 |
357 | (base32 "1pfcl8z1pnsssfaaz9dvdckyfnnc6rcq56dhislbf571hhg7isgk")))) | |
358 | (build-system r-build-system) | |
359 | (home-page "http://cran.r-project.org/web/packages/RColorBrewer") | |
360 | (synopsis "ColorBrewer palettes") | |
361 | (description | |
362 | "This package provides color schemes for maps (and other graphics) | |
363 | designed by Cynthia Brewer as described at http://colorbrewer2.org") | |
364 | ;; Includes code licensed under bsd-4 | |
365 | (license license:asl2.0))) | |
4dca98dc RW |
366 | |
367 | (define-public r-stringi | |
368 | (package | |
369 | (name "r-stringi") | |
370 | (version "0.5-5") | |
371 | (source | |
372 | (origin | |
373 | (method url-fetch) | |
9cda3622 | 374 | (uri (cran-uri "stringi" version)) |
4dca98dc RW |
375 | (sha256 |
376 | (base32 | |
377 | "183wrrjhpgl1wbnn9lhghyvhz7l2mc64mpcmzplckal7y9j7pmhw")))) | |
378 | (build-system r-build-system) | |
379 | (inputs `(("icu4c" ,icu4c))) | |
380 | (native-inputs `(("pkg-config" ,pkg-config))) | |
381 | (home-page "http://stringi.rexamine.com/") | |
382 | (synopsis "Character string processing facilities") | |
383 | (description | |
384 | "This package allows for fast, correct, consistent, portable, as well as | |
385 | convenient character string/text processing in every locale and any native | |
386 | encoding. Owing to the use of the ICU library, the package provides R users | |
387 | with platform-independent functions known to Java, Perl, Python, PHP, and Ruby | |
388 | programmers. Among available features there are: pattern searching | |
389 | (e.g. via regular expressions), random string generation, string collation, | |
390 | transliteration, concatenation, date-time formatting and parsing, etc.") | |
391 | (license license:bsd-3))) | |
d5cd5c15 RW |
392 | |
393 | (define-public r-stringr | |
394 | (package | |
395 | (name "r-stringr") | |
396 | (version "1.0.0") | |
397 | (source | |
398 | (origin | |
399 | (method url-fetch) | |
9cda3622 | 400 | (uri (cran-uri "stringr" version)) |
d5cd5c15 RW |
401 | (sha256 |
402 | (base32 "0jnz6r9yqyf7dschr2fnn1slg4wn6b4ik5q00j4zrh43bfw7s9pq")))) | |
403 | (build-system r-build-system) | |
404 | (propagated-inputs | |
405 | `(("r-magrittr" ,r-magrittr) | |
406 | ("r-stringi" ,r-stringi))) | |
718a2bde | 407 | (home-page "https://github.com/hadley/stringr") |
d5cd5c15 RW |
408 | (synopsis "Simple, consistent wrappers for common string operations") |
409 | (description | |
410 | "Stringr is a consistent, simple and easy to use set of wrappers around | |
411 | the fantastic 'stringi' package. All function and argument names (and | |
412 | positions) are consistent, all functions deal with \"NA\"'s and zero length | |
413 | vectors in the same way, and the output from one function is easy to feed into | |
414 | the input of another.") | |
415 | (license license:gpl2+))) | |
9ca731ba RW |
416 | |
417 | (define-public r-reshape2 | |
418 | (package | |
419 | (name "r-reshape2") | |
420 | (version "1.4.1") | |
421 | (source | |
422 | (origin | |
423 | (method url-fetch) | |
9cda3622 | 424 | (uri (cran-uri "reshape2" version)) |
9ca731ba RW |
425 | (sha256 |
426 | (base32 "0hl082dyk3pk07nqprpn5dvnrkqhnf6zjnjig1ijddxhlmsrzm7v")))) | |
427 | (build-system r-build-system) | |
428 | (propagated-inputs | |
429 | `(("r-plyr" ,r-plyr) | |
430 | ("r-rcpp" ,r-rcpp) | |
431 | ("r-stringr" ,r-stringr))) | |
432 | (home-page "https://github.com/hadley/reshape") | |
433 | (synopsis "Flexibly reshape data: a reboot of the \"reshape\" package") | |
434 | (description | |
435 | "Reshape2 is an R library to flexibly restructure and aggregate data | |
436 | using just two functions: melt and dcast (or acast).") | |
437 | (license license:expat))) | |
a11ee478 RW |
438 | |
439 | (define-public r-scales | |
440 | (package | |
441 | (name "r-scales") | |
91781b74 | 442 | (version "0.3.0") |
a11ee478 RW |
443 | (source |
444 | (origin | |
445 | (method url-fetch) | |
9cda3622 | 446 | (uri (cran-uri "scales" version)) |
a11ee478 | 447 | (sha256 |
91781b74 | 448 | (base32 "1kkgpqzb0a6lnpblhcprr4qzyfk5lhicdv4639xs5cq16n7bkqgl")))) |
a11ee478 RW |
449 | (build-system r-build-system) |
450 | (propagated-inputs | |
451 | `(("r-dichromat" ,r-dichromat) | |
452 | ("r-labeling" ,r-labeling) | |
453 | ("r-munsell" ,r-munsell) | |
454 | ("r-plyr" ,r-plyr) | |
455 | ("r-rcolorbrewer" ,r-rcolorbrewer) | |
456 | ("r-rcpp" ,r-rcpp))) | |
457 | (home-page "https://github.com/hadley/scales") | |
458 | (synopsis "Scale functions for visualization") | |
459 | (description | |
460 | "This package provides graphical scales that map data to aesthetics, and | |
461 | provides methods for automatically determining breaks and labels for axes and | |
462 | legends.") | |
463 | (license license:expat))) | |
d11b808f RW |
464 | |
465 | (define-public r-ggplot2 | |
466 | (package | |
467 | (name "r-ggplot2") | |
b70fa3c7 | 468 | (version "2.0.0") |
d11b808f RW |
469 | (source |
470 | (origin | |
471 | (method url-fetch) | |
9cda3622 | 472 | (uri (cran-uri "ggplot2" version)) |
d11b808f | 473 | (sha256 |
b70fa3c7 | 474 | (base32 "07r5zw0ccv4sf1mdxcz9wa86p2c6j61cnnq18qdjrh3zhhcbmdp2")))) |
d11b808f RW |
475 | (build-system r-build-system) |
476 | (propagated-inputs | |
477 | `(("r-digest" ,r-digest) | |
478 | ("r-gtable" ,r-gtable) | |
479 | ("r-plyr" ,r-plyr) | |
480 | ("r-proto" ,r-proto) | |
481 | ("r-reshape2" ,r-reshape2) | |
482 | ("r-scales" ,r-scales))) | |
483 | (home-page "http://ggplot2.org") | |
484 | (synopsis "An implementation of the grammar of graphics") | |
485 | (description | |
486 | "Ggplot2 is an implementation of the grammar of graphics in R. It | |
487 | combines the advantages of both base and lattice graphics: conditioning and | |
488 | shared axes are handled automatically, and you can still build up a plot step | |
489 | by step from multiple data sources. It also implements a sophisticated | |
490 | multidimensional conditioning system and a consistent interface to map data to | |
491 | aesthetic attributes.") | |
492 | (license license:gpl2+))) | |
ed6094fc VVP |
493 | |
494 | (define-public r-assertthat | |
495 | (package | |
496 | (name "r-assertthat") | |
497 | (version "0.1") | |
498 | (source (origin | |
499 | (method url-fetch) | |
9cda3622 | 500 | (uri (cran-uri "assertthat" version)) |
ed6094fc VVP |
501 | (sha256 |
502 | (base32 | |
503 | "0dwsqajyglfscqilj843qfqn1ndbqpswa7b4l1d633qjk9d68qqk")))) | |
504 | (build-system r-build-system) | |
505 | (home-page "https://github.com/hadley/assertthat") | |
506 | (synopsis "Easy pre and post assertions") | |
507 | (description | |
508 | "Assertthat is an extension to stopifnot() that makes it easy to declare | |
509 | the pre and post conditions that your code should satisfy, while also | |
510 | producing friendly error messages so that your users know what they've done | |
511 | wrong.") | |
512 | (license license:gpl3+))) | |
6af48134 VVP |
513 | |
514 | (define-public r-lazyeval | |
515 | (package | |
516 | (name "r-lazyeval") | |
517 | (version "0.1.10") | |
518 | (source (origin | |
519 | (method url-fetch) | |
9cda3622 | 520 | (uri (cran-uri "lazyeval" version)) |
6af48134 VVP |
521 | (sha256 |
522 | (base32 | |
523 | "02qfpn2fmy78vx4jxr7g7rhqzcm1kcivfwai7lbh0vvpawia0qwh")))) | |
524 | (build-system r-build-system) | |
525 | (home-page "https://github.com/hadley/lazyeval") | |
526 | (synopsis "Lazy (non-standard) evaluation in R") | |
527 | (description | |
528 | "This package provides the tools necessary to do non-standard | |
529 | evaluation (NSE) in R.") | |
530 | (license license:gpl3+))) | |
8ea6b30f VVP |
531 | |
532 | (define-public r-dbi | |
533 | (package | |
534 | (name "r-dbi") | |
535 | (version "0.3.1") | |
536 | (source (origin | |
537 | (method url-fetch) | |
9cda3622 | 538 | (uri (cran-uri "DBI" version)) |
8ea6b30f VVP |
539 | (sha256 |
540 | (base32 | |
541 | "0xj5baxwnhl23rd5nskhjvranrwrc68f3xlyrklglipi41bm69hw")))) | |
542 | (build-system r-build-system) | |
543 | (home-page "https://github.com/rstats-db/DBI") | |
544 | (synopsis "R database interface") | |
545 | (description | |
546 | "The DBI package provides a database interface (DBI) definition for | |
547 | communication between R and relational database management systems. All | |
548 | classes in this package are virtual and need to be extended by the various | |
549 | R/DBMS implementations.") | |
550 | (license license:lgpl2.0+))) | |
675c9f44 VVP |
551 | |
552 | (define-public r-bh | |
553 | (package | |
554 | (name "r-bh") | |
555 | (version "1.58.0-1") | |
556 | (source (origin | |
557 | (method url-fetch) | |
558 | (uri (cran-uri "BH" version)) | |
559 | (sha256 | |
560 | (base32 | |
561 | "17rnwyw9ib2pvm60iixzkbz7ff4fslpifp1nlx4czp42hy67kqpf")))) | |
562 | (build-system r-build-system) | |
563 | (home-page "https://github.com/eddelbuettel/bh") | |
564 | (synopsis "R package providing subset of Boost headers") | |
565 | (description | |
566 | "This package aims to provide the most useful subset of Boost libraries | |
567 | for template use among CRAN packages.") | |
568 | (license license:boost1.0))) | |
256ccc92 VVP |
569 | |
570 | (define-public r-evaluate | |
571 | (package | |
572 | (name "r-evaluate") | |
573 | (version "0.8") | |
574 | (source (origin | |
575 | (method url-fetch) | |
576 | (uri (cran-uri "evaluate" version)) | |
577 | (sha256 | |
578 | (base32 | |
579 | "137gc35jlizhqnx19mxim3llrkm403abj8ghb2b7v5ls9rvd40pq")))) | |
580 | (build-system r-build-system) | |
581 | (propagated-inputs | |
582 | `(("r-stringr" ,r-stringr))) | |
583 | (home-page "https://github.com/hadley/evaluate") | |
584 | (synopsis "Parsing and evaluation tools for R") | |
585 | (description | |
586 | "This package provides tools that allow you to recreate the parsing, | |
587 | evaluation and display of R code, with enough information that you can | |
588 | accurately recreate what happens at the command line. The tools can easily be | |
589 | adapted for other output formats, such as HTML or LaTeX.") | |
590 | (license license:gpl3+))) | |
c5bf3abe VVP |
591 | |
592 | (define-public r-formatr | |
593 | (package | |
594 | (name "r-formatr") | |
595 | (version "1.2.1") | |
596 | (source (origin | |
597 | (method url-fetch) | |
598 | (uri (cran-uri "formatR" version)) | |
599 | (sha256 | |
600 | (base32 | |
601 | "0f4cv2zv5wayyqx99ybfyl0p83kgjvnsv8dhcwa4s49kw6jsx1lr")))) | |
602 | (build-system r-build-system) | |
603 | (home-page "http://yihui.name/formatR") | |
604 | (synopsis "Format R code automatically") | |
605 | (description | |
606 | "This package provides a function to format R source code. Spaces and | |
607 | indent will be added to the code automatically, and comments will be preserved | |
608 | under certain conditions, so that R code will be more human-readable and tidy. | |
609 | There is also a Shiny app as a user interface in this package.") | |
610 | (license license:gpl3+))) | |
ad3f005b VVP |
611 | |
612 | (define-public r-highr | |
613 | (package | |
614 | (name "r-highr") | |
615 | (version "0.5.1") | |
616 | (source (origin | |
617 | (method url-fetch) | |
618 | (uri (cran-uri "highr" version)) | |
619 | (sha256 | |
620 | (base32 | |
621 | "11hyawzhaw3ph5y5xphi7alx6df1d0i6wh0a2n5m4sxxhdrzswnb")))) | |
622 | (build-system r-build-system) | |
623 | (home-page "https://github.com/yihui/highr") | |
624 | (synopsis "Syntax highlighting for R source code") | |
625 | (description | |
626 | "This package provides syntax highlighting for R source code. Currently | |
627 | it supports LaTeX and HTML output. Source code of other languages is | |
628 | supported via Andre Simon's highlight package.") | |
629 | (license license:gpl3+))) | |
acbb40fa VVP |
630 | |
631 | (define-public r-mime | |
632 | (package | |
633 | (name "r-mime") | |
634 | (version "0.4") | |
635 | (source (origin | |
636 | (method url-fetch) | |
637 | (uri (cran-uri "mime" version)) | |
638 | (sha256 | |
639 | (base32 | |
640 | "145cdcg252w2zsq67dmvmsqka60msfp7agymlxs3gl3ihgiwg46p")))) | |
641 | (build-system r-build-system) | |
642 | (home-page "https://github.com/yihui/mime") | |
643 | (synopsis "R package to map filenames to MIME types") | |
644 | (description | |
645 | "This package guesses the MIME type from a filename extension using the | |
646 | data derived from /etc/mime.types in UNIX-type systems.") | |
647 | (license license:gpl2))) | |
3f8ac353 VVP |
648 | |
649 | (define-public r-markdown | |
650 | (package | |
651 | (name "r-markdown") | |
652 | (version "0.7.7") | |
653 | (source (origin | |
654 | (method url-fetch) | |
655 | (uri (cran-uri "markdown" version)) | |
656 | (sha256 | |
657 | (base32 | |
658 | "00j1hlib3il50azs2vlcyhi0bjpx1r50mxr9w9dl5g1bwjjc71hb")))) | |
659 | (build-system r-build-system) | |
660 | ;; Skip check phase because the tests require the r-knitr package to be | |
661 | ;; installed. This prevents installation failures. Knitr normally | |
662 | ;; shouldn't be available since r-markdown is a dependency of the r-knitr | |
663 | ;; package. | |
664 | (arguments `(#:tests? #f)) | |
665 | (propagated-inputs | |
666 | `(("r-mime" ,r-mime))) | |
667 | (home-page "https://github.com/rstudio/markdown") | |
668 | (synopsis "Markdown rendering for R") | |
669 | (description | |
670 | "This package provides R bindings to the Sundown Markdown rendering | |
671 | library (https://github.com/vmg/sundown). Markdown is a plain-text formatting | |
672 | syntax that can be converted to XHTML or other formats.") | |
673 | (license license:gpl2))) | |
ea3a8095 VVP |
674 | |
675 | (define-public r-yaml | |
676 | (package | |
677 | (name "r-yaml") | |
678 | (version "2.1.13") | |
679 | (source (origin | |
680 | (method url-fetch) | |
681 | (uri (cran-uri "yaml" version)) | |
682 | (sha256 | |
683 | (base32 | |
684 | "18kz5mfn7qpif5pn91w4vbrc5bkycsj85vwm5wxwzjlb02i9mxi6")))) | |
685 | (build-system r-build-system) | |
686 | (home-page "https://cran.r-project.org/web/packages/yaml/") | |
687 | (synopsis "Methods to convert R data to YAML and back") | |
688 | (description | |
689 | "This package implements the libyaml YAML 1.1 parser and | |
690 | emitter (http://pyyaml.org/wiki/LibYAML) for R.") | |
691 | (license license:bsd-3))) | |
213656b9 VVP |
692 | |
693 | (define-public r-knitr | |
694 | (package | |
695 | (name "r-knitr") | |
696 | (version "1.11") | |
697 | (source (origin | |
698 | (method url-fetch) | |
699 | (uri (cran-uri "knitr" version)) | |
700 | (sha256 | |
701 | (base32 | |
702 | "1ikjla0hnpjfkdbydqhhqypc0aiizbi4nyn8c694sdk9ca4jasdd")))) | |
703 | (build-system r-build-system) | |
704 | (propagated-inputs | |
705 | `(("r-evaluate" ,r-evaluate) | |
706 | ("r-digest" ,r-digest) | |
707 | ("r-formatr" ,r-formatr) | |
708 | ("r-highr" ,r-highr) | |
709 | ("r-markdown" ,r-markdown) | |
710 | ("r-stringr" ,r-stringr) | |
711 | ("r-yaml" ,r-yaml))) | |
712 | (home-page "http://yihui.name/knitr/") | |
713 | (synopsis "General-purpose package for dynamic report generation in R") | |
714 | (description | |
715 | "This package provides a general-purpose tool for dynamic report | |
716 | generation in R using Literate Programming techniques.") | |
717 | ;; The code is released under any version of the GPL. As it is used by | |
718 | ;; r-markdown which is available under GPLv2 only, we have chosen GPLv2+ | |
719 | ;; here. | |
720 | (license license:gpl2+))) | |
4f0e8484 VVP |
721 | |
722 | (define-public r-microbenchmark | |
723 | (package | |
724 | (name "r-microbenchmark") | |
725 | (version "1.4-2") | |
726 | (source (origin | |
727 | (method url-fetch) | |
728 | (uri (cran-uri "microbenchmark" version)) | |
729 | (sha256 | |
730 | (base32 | |
731 | "05yxvdnkxr2ll94h6f2m5sn3gg7vrlm9nbdxgmj2g8cp8gfxpfkg")))) | |
732 | (build-system r-build-system) | |
733 | (propagated-inputs | |
734 | `(("r-ggplot2" ,r-ggplot2))) | |
735 | (home-page "https://cran.r-project.org/web/packages/microbenchmark/") | |
736 | (synopsis "Accurate timing functions for R") | |
737 | (description | |
738 | "This package provides infrastructure to accurately measure and compare | |
739 | the execution time of R expressions.") | |
740 | (license license:bsd-2))) | |
1cf1cbb0 VVP |
741 | |
742 | (define-public r-codetools | |
743 | (package | |
744 | (name "r-codetools") | |
745 | (version "0.2-14") | |
746 | (source (origin | |
747 | (method url-fetch) | |
748 | (uri (cran-uri "codetools" version)) | |
749 | (sha256 | |
750 | (base32 | |
751 | "0y9r4m2b8xgavr89sc179knzwpz54xljbc1dinpq2q07i4xn0397")))) | |
752 | (build-system r-build-system) | |
753 | (home-page "https://cran.r-project.org/web/packages/codetools/index.html") | |
754 | (synopsis "Code analysis tools for R") | |
755 | (description "This package provides code analysis tools for R.") | |
756 | (license license:gpl3+))) | |
0661b4db VVP |
757 | |
758 | (define-public r-pryr | |
759 | (package | |
760 | (name "r-pryr") | |
761 | (version "0.1.2") | |
762 | (source (origin | |
763 | (method url-fetch) | |
764 | (uri (cran-uri "pryr" version)) | |
765 | (sha256 | |
766 | (base32 | |
767 | "1in350a8hxwf580afavasvn3jc7x2p1b7nlwmj1scakfz74vghk5")))) | |
768 | (build-system r-build-system) | |
769 | (propagated-inputs | |
770 | `(("r-stringr" ,r-stringr) | |
771 | ("r-codetools" ,r-codetools))) | |
772 | (native-inputs | |
773 | `(("r-rcpp" ,r-rcpp))) | |
774 | (home-page "https://github.com/hadley/pryr") | |
775 | (synopsis "Tools for computing on the R language") | |
776 | (description | |
777 | "This package provides useful tools to pry back the covers of R and | |
778 | understand the language at a deeper level.") | |
779 | (license license:gpl2))) | |
b668a95c VVP |
780 | |
781 | (define-public r-memoise | |
782 | (package | |
783 | (name "r-memoise") | |
784 | (version "0.2.1") | |
785 | (source (origin | |
786 | (method url-fetch) | |
787 | (uri (cran-uri "memoise" version)) | |
788 | (sha256 | |
789 | (base32 | |
790 | "19wm4b3kq6xva43kga3xydnl7ybl5mq7b4y2fczgzzjz63jd75y4")))) | |
791 | (build-system r-build-system) | |
792 | (propagated-inputs | |
793 | `(("r-digest" ,r-digest))) | |
794 | (home-page "http://github.com/hadley/memoise") | |
795 | (synopsis "Memoise functions for R") | |
796 | (description | |
797 | "This R package allows to cache the results of a function so that when | |
798 | you call it again with the same arguments it returns the pre-computed value.") | |
799 | (license license:expat))) | |
834f7ff3 VVP |
800 | |
801 | (define-public r-crayon | |
802 | (package | |
803 | (name "r-crayon") | |
804 | (version "1.3.1") | |
805 | (source (origin | |
806 | (method url-fetch) | |
807 | (uri (cran-uri "crayon" version)) | |
808 | (sha256 | |
809 | (base32 | |
810 | "0d38fm06h272a8iqlc0d45m2rh36giwqw7mwq4z8hkp4vs975fmm")))) | |
811 | (build-system r-build-system) | |
812 | (propagated-inputs | |
813 | `(("r-memoise" ,r-memoise))) | |
814 | (home-page "https://github.com/gaborcsardi/crayon") | |
815 | (synopsis "Colored terminal output for R") | |
816 | (description | |
817 | "Colored terminal output on terminals that support ANSI color and | |
818 | highlight codes. It also works in Emacs ESS. ANSI color support is | |
819 | automatically detected. Colors and highlighting can be combined and nested. | |
820 | New styles can also be created easily. This package was inspired by the | |
821 | \"chalk\" JavaScript project.") | |
822 | (license license:expat))) | |
5b9789a6 VVP |
823 | |
824 | (define-public r-testthat | |
825 | (package | |
826 | (name "r-testthat") | |
827 | (version "0.10.0") | |
828 | (source (origin | |
829 | (method url-fetch) | |
830 | (uri (cran-uri "testthat" version)) | |
831 | (sha256 | |
832 | (base32 | |
833 | "0b3akwcx5mv9dmi8vssbk91hr3yrrdxd2fm6zhr31fnyz8kjx4pw")))) | |
834 | (build-system r-build-system) | |
835 | (propagated-inputs | |
836 | `(("r-digest" ,r-digest) | |
837 | ("r-crayon" ,r-crayon))) | |
838 | (home-page "https://github.com/hadley/testthat") | |
839 | (synopsis "Unit testing for R") | |
840 | (description | |
841 | "This package provides a unit testing system for R designed to be fun, | |
842 | flexible and easy to set up.") | |
843 | (license license:expat))) | |
ffd4b478 VVP |
844 | |
845 | (define-public r-r6 | |
846 | (package | |
847 | (name "r-r6") | |
848 | (version "2.1.1") | |
849 | (source (origin | |
850 | (method url-fetch) | |
851 | (uri (cran-uri "R6" version)) | |
852 | (sha256 | |
853 | (base32 | |
854 | "16qq35bgxgswf989yvsqkb6fv7srpf8n8dv2s2c0z9n6zgmwq66m")))) | |
855 | (build-system r-build-system) | |
856 | (propagated-inputs | |
857 | `(("r-knitr" ,r-knitr) | |
858 | ("r-microbenchmark" ,r-microbenchmark) | |
859 | ("r-pryr" ,r-pryr) | |
860 | ("r-testthat" ,r-testthat) | |
861 | ("r-ggplot2" ,r-ggplot2) | |
862 | ("r-scales" ,r-scales))) | |
863 | (home-page "https://github.com/wch/R6/") | |
864 | (synopsis "Classes with reference semantics in R") | |
865 | (description | |
866 | "The R6 package allows the creation of classes with reference semantics, | |
867 | similar to R's built-in reference classes. Compared to reference classes, R6 | |
868 | classes are simpler and lighter-weight, and they are not built on S4 classes | |
869 | so they do not require the methods package. These classes allow public and | |
870 | private members, and they support inheritance, even when the classes are | |
871 | defined in different packages.") | |
872 | (license license:expat))) | |
2a3a8ae7 VVP |
873 | |
874 | (define-public r-dplyr | |
875 | (package | |
876 | (name "r-dplyr") | |
877 | (version "0.4.3") | |
878 | (source (origin | |
879 | (method url-fetch) | |
880 | (uri (cran-uri "dplyr" version)) | |
881 | (sha256 | |
882 | (base32 | |
883 | "1p8rbn4p4yrx2840dapwiahf9iqa8gnvd35nyc200wfhmrxlqdlc")))) | |
884 | (build-system r-build-system) | |
885 | (propagated-inputs | |
886 | `(("r-assertthat" ,r-assertthat) | |
887 | ("r-r6" ,r-r6) | |
888 | ("r-magrittr" ,r-magrittr) | |
889 | ("r-lazyeval" ,r-lazyeval) | |
890 | ("r-dbi" ,r-dbi))) | |
891 | (native-inputs | |
892 | `(("r-rcpp" ,r-rcpp) | |
893 | ("r-bh" ,r-bh))) | |
894 | (home-page "https://github.com/hadley/dplyr") | |
895 | (synopsis "Tools for working with data frames in R") | |
896 | (description | |
897 | "dplyr is the next iteration of plyr. It is focussed on tools for | |
898 | working with data frames. It has three main goals: 1) identify the most | |
899 | important data manipulation tools needed for data analysis and make them easy | |
900 | to use in R; 2) provide fast performance for in-memory data by writing key | |
901 | pieces of code in C++; 3) use the same code interface to work with data no | |
902 | matter where it is stored, whether in a data frame, a data table or | |
903 | database.") | |
904 | (license license:expat))) | |
91312ebe VVP |
905 | |
906 | (define-public r-chron | |
907 | (package | |
908 | (name "r-chron") | |
909 | (version "2.3-47") | |
910 | (source (origin | |
911 | (method url-fetch) | |
912 | (uri (cran-uri "chron" version)) | |
913 | (sha256 | |
914 | (base32 | |
915 | "1xj50kk8b8mbjpszp8i0wbripb5a4b36jcscwlbyap8n4487g34s")))) | |
916 | (build-system r-build-system) | |
917 | (home-page "http://cran.r-project.org/web/packages/chron") | |
918 | (synopsis "Chronological R objects which can handle dates and times") | |
919 | (description | |
920 | "This package provides chronological R objects which can handle dates and | |
921 | times.") | |
922 | (license license:gpl2))) | |
0e4e03f8 | 923 | |
62141c07 | 924 | (define-public r-data-table |
0e4e03f8 | 925 | (package |
62141c07 | 926 | (name "r-data-table") |
0e4e03f8 VVP |
927 | (version "1.9.6") |
928 | (source (origin | |
929 | (method url-fetch) | |
930 | (uri (cran-uri "data.table" version)) | |
931 | (sha256 | |
932 | (base32 | |
933 | "0vi3zplpxqbg78z9ifjfs1kl2i8qhkqxr7l9ysp2663kq54w6x3g")))) | |
934 | (build-system r-build-system) | |
935 | (propagated-inputs | |
936 | `(("r-chron" ,r-chron))) | |
937 | (home-page "https://github.com/Rdatatable/data.table/wiki") | |
938 | (synopsis "Enhanced version of data.frame R object") | |
939 | (description | |
62141c07 RW |
940 | "The R package @code{data.table} is an extension of @code{data.frame} |
941 | providing functions for fast aggregation of large data (e.g. 100GB in RAM), | |
942 | fast ordered joins, fast add/modify/delete of columns by group, column listing | |
943 | and fast file reading.") | |
944 | (license license:gpl3+))) | |
9bc08aa0 RW |
945 | |
946 | (define-public python-patsy | |
947 | (package | |
948 | (name "python-patsy") | |
f4cd2cea | 949 | (version "0.4.1") |
9bc08aa0 RW |
950 | (source (origin |
951 | (method url-fetch) | |
f4cd2cea | 952 | (uri (pypi-uri "patsy" version ".zip")) |
9bc08aa0 RW |
953 | (sha256 |
954 | (base32 | |
f4cd2cea | 955 | "1m6knyq8hbqlx242y4da02j0x86j4qggs1j7q186w3jv0j0c476w")))) |
9bc08aa0 RW |
956 | (build-system python-build-system) |
957 | (arguments | |
958 | `(#:phases | |
959 | (modify-phases %standard-phases | |
960 | (replace 'check (lambda _ (zero? (system* "nosetests" "-v")))) | |
961 | (add-after 'unpack 'prevent-generation-of-egg-archive | |
962 | (lambda _ | |
963 | (substitute* "setup.py" | |
964 | (("from setuptools import setup") | |
965 | "from distutils.core import setup")) | |
966 | #t))))) | |
967 | (propagated-inputs | |
968 | `(("python-numpy" ,python-numpy) | |
969 | ("python-scipy" ,python-scipy) | |
970 | ("python-six" ,python-six))) | |
971 | (native-inputs | |
972 | `(("python-nose" ,python-nose) | |
973 | ("unzip" ,unzip))) | |
974 | (home-page "https://github.com/pydata/patsy") | |
975 | (synopsis "Describe statistical models and build design matrices") | |
976 | (description | |
977 | "Patsy is a Python package for describing statistical models and for | |
978 | building design matrices.") | |
979 | ;; The majority of the code is distributed under BSD-2. The module | |
980 | ;; patsy.compat contains code derived from the Python standard library, | |
981 | ;; and is covered by the PSFL. | |
5ad87e5b EF |
982 | (license (list license:bsd-2 license:psfl)) |
983 | (properties `((python2-variant . ,(delay python2-patsy)))))) | |
9bc08aa0 RW |
984 | |
985 | (define-public python2-patsy | |
5ad87e5b | 986 | (let ((patsy (package-with-python2 (strip-python2-variant python-patsy)))) |
9bc08aa0 RW |
987 | (package (inherit patsy) |
988 | (native-inputs | |
989 | `(("python2-setuptools" ,python2-setuptools) | |
5ad87e5b | 990 | ,@(package-native-inputs patsy)))))) |
37fdba7e RW |
991 | |
992 | (define-public python-statsmodels | |
993 | (package | |
994 | (name "python-statsmodels") | |
995 | (version "0.6.1") | |
996 | (source | |
997 | (origin | |
998 | (method url-fetch) | |
999 | (uri (string-append "https://pypi.python.org/packages/source/" | |
1000 | "s/statsmodels/statsmodels-" version ".tar.gz")) | |
1001 | (sha256 | |
1002 | (base32 | |
1003 | "0xn67sqr0cc1lmlhzm71352hrb4hw7g318p5ff5q97pc98vl8kmy")))) | |
1004 | (build-system python-build-system) | |
1005 | (arguments | |
1006 | `(#:phases | |
1007 | (modify-phases %standard-phases | |
1008 | ;; tests must be run after installation | |
1009 | (delete 'check) | |
1010 | (add-after 'unpack 'set-matplotlib-backend-to-agg | |
1011 | (lambda _ | |
1012 | ;; Set the matplotlib backend to Agg to avoid problems using the | |
1013 | ;; GTK backend without a display. | |
1014 | (substitute* (find-files "statsmodels/graphics/tests" "\\.py") | |
1015 | (("import matplotlib\\.pyplot as plt" line) | |
1016 | (string-append "import matplotlib;matplotlib.use('Agg');" | |
1017 | line))) | |
1018 | #t)) | |
1019 | (add-after 'install 'check | |
1020 | (lambda _ | |
1021 | (with-directory-excursion "/tmp" | |
1022 | (zero? (system* "nosetests" | |
1023 | "--stop" | |
1024 | "-v" "statsmodels")))))))) | |
1025 | (propagated-inputs | |
1026 | `(("python-numpy" ,python-numpy) | |
1027 | ("python-scipy" ,python-scipy) | |
1028 | ("python-pandas" ,python-pandas) | |
1029 | ("python-patsy" ,python-patsy) | |
1030 | ("python-matplotlib" ,python-matplotlib))) | |
1031 | (native-inputs | |
1032 | `(("python-cython" ,python-cython) | |
1033 | ("python-nose" ,python-nose) | |
1034 | ("python-sphinx" ,python-sphinx))) | |
1035 | (home-page "http://statsmodels.sourceforge.net/") | |
1036 | (synopsis "Statistical modeling and econometrics in Python") | |
1037 | (description | |
1038 | "Statsmodels is a Python package that provides a complement to scipy for | |
1039 | statistical computations including descriptive statistics and estimation and | |
1040 | inference for statistical models.") | |
1041 | (license license:bsd-3))) | |
1042 | ||
1043 | (define-public python2-statsmodels | |
1044 | (let ((stats (package-with-python2 python-statsmodels))) | |
1045 | (package (inherit stats) | |
1046 | (propagated-inputs | |
1047 | `(("python2-numpy" ,python2-numpy) | |
1048 | ("python2-scipy" ,python2-scipy) | |
1049 | ("python2-pandas" ,python2-pandas) | |
1050 | ("python2-patsy" ,python2-patsy) | |
1051 | ("python2-matplotlib" ,python2-matplotlib))) | |
1052 | (native-inputs | |
1053 | `(("python2-setuptools" ,python2-setuptools) | |
1054 | ,@(package-native-inputs stats)))))) | |
67a167fd RW |
1055 | |
1056 | (define-public r-xml2 | |
1057 | (package | |
1058 | (name "r-xml2") | |
1059 | (version "0.1.2") | |
1060 | (source | |
1061 | (origin | |
1062 | (method url-fetch) | |
1063 | (uri (cran-uri "xml2" version)) | |
1064 | (sha256 | |
1065 | (base32 | |
1066 | "0jjilz36h7vbdbkpvjnja1vgjf6d1imql3z4glqn2m2b74w5qm4c")))) | |
1067 | (build-system r-build-system) | |
1068 | (inputs | |
1069 | `(("libxml2" ,libxml2))) | |
1070 | (propagated-inputs | |
1071 | `(("r-rcpp" ,r-rcpp) | |
1072 | ("r-bh" ,r-bh))) | |
1073 | (home-page "https://github.com/hadley/xml2") | |
1074 | (synopsis "Parse XML with R") | |
1075 | (description | |
1076 | "This package provides a simple, consistent interface to working with XML | |
1077 | files in R. It is built on top of the libxml2 C library.") | |
1078 | (license license:gpl2+))) | |
6140747f RW |
1079 | |
1080 | (define-public r-rversions | |
1081 | (package | |
1082 | (name "r-rversions") | |
1083 | (version "1.0.2") | |
1084 | (source (origin | |
1085 | (method url-fetch) | |
1086 | (uri (cran-uri "rversions" version)) | |
1087 | (sha256 | |
1088 | (base32 | |
1089 | "0xmi461g1rf5ngb7r1sri798jn6icld1xq25wj9jii2ca8j8xv68")))) | |
1090 | (build-system r-build-system) | |
1091 | (propagated-inputs | |
1092 | `(("r-curl" ,r-curl) | |
1093 | ("r-xml2" ,r-xml2))) | |
1094 | (home-page "https://github.com/metacran/rversions") | |
1095 | (synopsis "Query R versions, including 'r-release' and 'r-oldrel'") | |
1096 | (description | |
1097 | "This package provides functions to query the main R repository to find | |
1098 | the versions that @code{r-release} and @code{r-oldrel} refer to, and also all | |
1099 | previous R versions and their release dates.") | |
1100 | (license license:expat))) | |
1a77eccd RW |
1101 | |
1102 | (define-public r-whisker | |
1103 | (package | |
1104 | (name "r-whisker") | |
1105 | (version "0.3-2") | |
1106 | (source (origin | |
1107 | (method url-fetch) | |
1108 | (uri (cran-uri "whisker" version)) | |
1109 | (sha256 | |
1110 | (base32 | |
1111 | "0z4cn115gxcl086d6bnqr8afi67b6a7xqg6ivmk3l4ng1x8kcj28")))) | |
1112 | (build-system r-build-system) | |
1113 | (home-page "http://github.com/edwindj/whisker") | |
1114 | (synopsis "Logicless mustache templating for R") | |
1115 | (description | |
1116 | "This package provides logicless templating, with a syntax that is not | |
1117 | limited to R.") | |
1118 | (license license:gpl3+))) | |
13d083af RW |
1119 | |
1120 | (define-public r-brew | |
1121 | (package | |
1122 | (name "r-brew") | |
1123 | (version "1.0-6") | |
1124 | (source (origin | |
1125 | (method url-fetch) | |
1126 | (uri (cran-uri "brew" version)) | |
1127 | (sha256 | |
1128 | (base32 | |
1129 | "1vghazbcha8gvkwwcdagjvzx6yl8zm7kgr0i9wxr4jng06d1l3fp")))) | |
1130 | (build-system r-build-system) | |
1131 | (home-page "http://cran.r-project.org/web/packages/brew") | |
1132 | (synopsis "Templating framework for report generation") | |
1133 | (description | |
1134 | "The brew package implements a templating framework for mixing text and R | |
1135 | code for report generation. The template syntax is similar to PHP, Ruby's erb | |
1136 | module, Java Server Pages, and Python's psp module.") | |
1137 | (license license:gpl2+))) | |
167c9882 RW |
1138 | |
1139 | (define-public r-roxygen2 | |
1140 | (package | |
1141 | (name "r-roxygen2") | |
1142 | (version "5.0.0") | |
1143 | (source (origin | |
1144 | (method url-fetch) | |
1145 | (uri (cran-uri "roxygen2" version)) | |
1146 | (sha256 | |
1147 | (base32 | |
1148 | "0xjdphjs7l1v71lylmqgp76cbcxzvm9z1a40jgkdwvz072nn08vr")))) | |
1149 | (build-system r-build-system) | |
1150 | (propagated-inputs | |
1151 | `(("r-brew" ,r-brew) | |
1152 | ("r-digest" ,r-digest) | |
1153 | ("r-rcpp" ,r-rcpp) | |
1154 | ("r-stringi" ,r-stringi) | |
1155 | ("r-stringr" ,r-stringr))) | |
1156 | (home-page "https://github.com/klutometis/roxygen") | |
1157 | (synopsis "In-source documentation system for R") | |
1158 | (description | |
1159 | "Roxygen2 is a Doxygen-like in-source documentation system for Rd, | |
1160 | collation, and NAMESPACE files.") | |
1161 | (license license:gpl2+))) | |
681e03c1 RW |
1162 | |
1163 | (define-public r-httr | |
1164 | (package | |
1165 | (name "r-httr") | |
1166 | (version "1.0.0") | |
1167 | (source (origin | |
1168 | (method url-fetch) | |
1169 | (uri (cran-uri "httr" version)) | |
1170 | (sha256 | |
1171 | (base32 | |
1172 | "1yprw8p4g8026jhravgg1hdwj1g51cpdgycyr5a58jwm4i5f79cq")))) | |
1173 | (build-system r-build-system) | |
1174 | (propagated-inputs | |
1175 | `(("r-curl" ,r-curl) | |
1176 | ("r-digest" ,r-digest) | |
1177 | ("r-jsonlite" ,r-jsonlite) | |
1178 | ("r-mime" ,r-mime) | |
1179 | ("r-r6" ,r-r6) | |
1180 | ("r-stringr" ,r-stringr))) | |
1181 | (home-page "https://github.com/hadley/httr") | |
1182 | (synopsis "Tools for working with URLs and HTTP") | |
1183 | (description | |
1184 | "The aim of httr is to provide a wrapper for RCurl customised to the | |
1185 | demands of modern web APIs. It provides useful tools for working with HTTP | |
1186 | organised by HTTP verbs (@code{GET()}, @code{POST()}, etc). Configuration | |
1187 | functions make it easy to control additional request components.") | |
1188 | (license license:expat))) | |
035711f1 RW |
1189 | |
1190 | (define-public r-git2r | |
1191 | (package | |
1192 | (name "r-git2r") | |
1193 | (version "0.11.0") | |
1194 | (source (origin | |
1195 | (method url-fetch) | |
1196 | (uri (cran-uri "git2r" version)) | |
1197 | (sha256 | |
1198 | (base32 | |
1199 | "1h5ag8sm512jsn2sp4yhiqspc7hjq5y8z0kqz24sdznxa3b7rpn9")))) | |
1200 | (build-system r-build-system) | |
1201 | ;; This R package contains modified sources of libgit2. This modified | |
1202 | ;; version of libgit2 is built as the package is built. Hence libgit2 is | |
1203 | ;; not among the inputs of this package. | |
1204 | (inputs | |
1205 | `(("libssh2" ,libssh2) | |
1206 | ("openssl" ,openssl) | |
1207 | ("zlib" ,zlib))) | |
1208 | (home-page "https://github.com/ropensci/git2r") | |
1209 | (synopsis "Access Git repositories with R") | |
1210 | (description | |
1211 | "This package provides an R interface to the libgit2 library, which is a | |
1212 | pure C implementation of the Git core methods.") | |
1213 | ;; GPLv2 only with linking exception. | |
1214 | (license license:gpl2))) | |
81a4228b RW |
1215 | |
1216 | (define-public r-rstudioapi | |
1217 | (package | |
1218 | (name "r-rstudioapi") | |
1219 | (version "0.3.1") | |
1220 | (source (origin | |
1221 | (method url-fetch) | |
1222 | (uri (cran-uri "rstudioapi" version)) | |
1223 | (sha256 | |
1224 | (base32 | |
1225 | "0q7671d924nzqsqhs8d9p7l907bcam56wjwm7vvz44xgj0saj8bs")))) | |
1226 | (build-system r-build-system) | |
1227 | (home-page "http://cran.r-project.org/web/packages/rstudioapi") | |
1228 | (synopsis "Safely access the RStudio API") | |
1229 | (description | |
1230 | "This package provides functions to access the RStudio API and provide | |
1231 | informative error messages when it's not available.") | |
1232 | (license license:expat))) | |
d6e21589 RW |
1233 | |
1234 | (define-public r-devtools | |
1235 | (package | |
1236 | (name "r-devtools") | |
1237 | (version "1.9.1") | |
1238 | (source (origin | |
1239 | (method url-fetch) | |
1240 | (uri (cran-uri "devtools" version)) | |
1241 | (sha256 | |
1242 | (base32 | |
1243 | "10ycx3kkiz5x8nmgw31d9wa5hhlx2fhda2nqzxfrczqpz1jik6ci")))) | |
1244 | (build-system r-build-system) | |
1245 | (propagated-inputs | |
1246 | `(("r-curl" ,r-curl) | |
1247 | ("r-digest" ,r-digest) | |
1248 | ("r-evaluate" ,r-evaluate) | |
1249 | ("r-git2r" ,r-git2r) | |
1250 | ("r-httr" ,r-httr) | |
1251 | ("r-jsonlite" ,r-jsonlite) | |
1252 | ("r-memoise" ,r-memoise) | |
1253 | ("r-roxygen2" ,r-roxygen2) | |
1254 | ("r-rstudioapi" ,r-rstudioapi) | |
1255 | ("r-rversions" ,r-rversions) | |
1256 | ("r-whisker" ,r-whisker))) | |
1257 | (home-page "https://github.com/hadley/devtools") | |
1258 | (synopsis "Tools to make developing R packages easier") | |
1259 | (description "The devtools package is a collection of package development | |
1260 | tools to simplify the devolpment of R packages.") | |
1261 | (license license:gpl2+))) | |
03af370f RW |
1262 | |
1263 | (define-public r-readr | |
1264 | (package | |
1265 | (name "r-readr") | |
1266 | (version "0.2.2") | |
1267 | (source (origin | |
1268 | (method url-fetch) | |
1269 | (uri (cran-uri "readr" version)) | |
1270 | (sha256 | |
1271 | (base32 | |
1272 | "156422xwvskynna5kjc8h1qqnn50kxgjrihl2h2b7vm9sxxdyr2m")))) | |
1273 | (build-system r-build-system) | |
1274 | (propagated-inputs | |
1275 | `(("r-curl" ,r-curl) | |
1276 | ("r-rcpp" ,r-rcpp) | |
1277 | ("r-bh" ,r-bh))) | |
1278 | (home-page "https://github.com/hadley/readr") | |
1279 | (synopsis "Read tabular data") | |
1280 | (description | |
1281 | "This package provides functions to read flat or tabular text files from | |
1282 | disk (or a connection).") | |
1283 | (license license:gpl2+))) | |
60a9d3d0 RW |
1284 | |
1285 | (define-public r-plotrix | |
1286 | (package | |
1287 | (name "r-plotrix") | |
1288 | (version "3.6") | |
1289 | (source (origin | |
1290 | (method url-fetch) | |
1291 | (uri (cran-uri "plotrix" version)) | |
1292 | (sha256 | |
1293 | (base32 | |
1294 | "0zn6k8azh40v0lg7q9yd4sy30a26bcc0fjvndn4z7k36avlw4i25")))) | |
1295 | (build-system r-build-system) | |
1296 | (home-page "http://cran.r-project.org/web/packages/plotrix") | |
1297 | (synopsis "Various plotting functions") | |
1298 | (description | |
1299 | "This package provides lots of plotting, various labeling, axis and color | |
1300 | scaling functions for R.") | |
1301 | (license license:gpl2+))) | |
2a40f763 RW |
1302 | |
1303 | (define-public r-gridbase | |
1304 | (package | |
1305 | (name "r-gridbase") | |
1306 | (version "0.4-7") | |
1307 | (source (origin | |
1308 | (method url-fetch) | |
1309 | (uri (cran-uri "gridBase" version)) | |
1310 | (sha256 | |
1311 | (base32 | |
1312 | "09jzw4rzwf2y5lcz7b16mb68pn0fqigv34ff7lr6w3yi9k91i1xy")))) | |
1313 | (build-system r-build-system) | |
1314 | (home-page "http://cran.r-project.org/web/packages/gridBase") | |
1315 | (synopsis "Integration of base and grid graphics") | |
1316 | (description | |
1317 | "This package provides an integration of base and grid graphics for R.") | |
1318 | (license license:gpl2+))) | |
ca3476cd RW |
1319 | |
1320 | (define-public r-lattice | |
1321 | (package | |
1322 | (name "r-lattice") | |
1323 | (version "0.20-33") | |
1324 | (source (origin | |
1325 | (method url-fetch) | |
1326 | (uri (cran-uri "lattice" version)) | |
1327 | (sha256 | |
1328 | (base32 | |
1329 | "0car12x5vl9k180i9pc86lq3cvwqakdpqn3lgdf98k9n2h52cilg")))) | |
1330 | (build-system r-build-system) | |
1331 | (home-page "http://lattice.r-forge.r-project.org/") | |
1332 | (synopsis "High-level data visualization system") | |
1333 | (description | |
1334 | "The lattice package provides a powerful and elegant high-level data | |
1335 | visualization system inspired by Trellis graphics, with an emphasis on | |
1336 | multivariate data. Lattice is sufficient for typical graphics needs, and is | |
1337 | also flexible enough to handle most nonstandard requirements.") | |
1338 | (license license:gpl2+))) | |
e22d4ca4 RW |
1339 | |
1340 | (define-public r-rcpparmadillo | |
1341 | (package | |
1342 | (name "r-rcpparmadillo") | |
1343 | (version "0.6.200.2.0") | |
1344 | (source (origin | |
1345 | (method url-fetch) | |
1346 | (uri (cran-uri "RcppArmadillo" version)) | |
1347 | (sha256 | |
1348 | (base32 | |
1349 | "137wqqga776yj6synx5awhrzgkz7mmqnvgmggh9l4k6d99vwp9gj")) | |
1350 | (modules '((guix build utils))) | |
1351 | ;; Remove bundled armadillo sources | |
1352 | (snippet | |
1353 | '(begin | |
1354 | (delete-file-recursively "inst/include/armadillo_bits") | |
1355 | (delete-file "inst/include/armadillo"))))) | |
1356 | (properties `((upstream-name . "RcppArmadillo"))) | |
1357 | (build-system r-build-system) | |
1358 | (arguments | |
1359 | `(#:phases | |
1360 | (modify-phases %standard-phases | |
1361 | (add-after 'unpack 'link-against-armadillo | |
1362 | (lambda _ | |
1363 | (substitute* "src/Makevars" | |
1364 | (("PKG_LIBS=" prefix) | |
1365 | (string-append prefix "-larmadillo")))))))) | |
1366 | (propagated-inputs | |
1367 | `(("r-rcpp" ,r-rcpp) | |
1368 | ("armadillo" ,armadillo-for-rcpparmadillo))) | |
1369 | (home-page "https://github.com/RcppCore/RcppArmadillo") | |
1370 | (synopsis "Rcpp integration for the Armadillo linear algebra library") | |
1371 | (description | |
1372 | "Armadillo is a templated C++ linear algebra library that aims towards a | |
1373 | good balance between speed and ease of use. Integer, floating point and | |
1374 | complex numbers are supported, as well as a subset of trigonometric and | |
1375 | statistics functions. Various matrix decompositions are provided through | |
1376 | optional integration with LAPACK and ATLAS libraries. This package includes | |
1377 | the header files from the templated Armadillo library.") | |
1378 | ;; Armadillo is licensed under the MPL 2.0, while RcppArmadillo (the Rcpp | |
1379 | ;; bindings to Armadillo) is licensed under the GNU GPL version 2 or | |
1380 | ;; later, as is the rest of 'Rcpp'. | |
1381 | (license license:gpl2+))) | |
bb6d2dad RW |
1382 | |
1383 | (define-public r-bitops | |
1384 | (package | |
1385 | (name "r-bitops") | |
1386 | (version "1.0-6") | |
1387 | (source (origin | |
1388 | (method url-fetch) | |
1389 | (uri (cran-uri "bitops" version)) | |
1390 | (sha256 | |
1391 | (base32 | |
1392 | "176nr5wpnkavn5z0yy9f7d47l37ndnn2w3gv854xav8nnybi6wwv")))) | |
1393 | (build-system r-build-system) | |
1394 | (home-page "http://cran.r-project.org/web/packages/bitops") | |
1395 | (synopsis "Bitwise operations") | |
1396 | (description | |
1397 | "This package provides functions for bitwise operations on integer | |
1398 | vectors.") | |
1399 | (license license:gpl2+))) | |
4c1f2705 RW |
1400 | |
1401 | (define-public r-catools | |
1402 | (package | |
1403 | (name "r-catools") | |
1404 | (version "1.17.1") | |
1405 | (source (origin | |
1406 | (method url-fetch) | |
1407 | (uri (cran-uri "caTools" version)) | |
1408 | (sha256 | |
1409 | (base32 | |
1410 | "1x4szsn2qmbzpyjfdaiz2q7jwhap2gky9wq0riah74q0pzz76ank")))) | |
1411 | (properties `((upstream-name . "caTools"))) | |
1412 | (build-system r-build-system) | |
1413 | (propagated-inputs | |
1414 | `(("r-bitops" ,r-bitops))) | |
1415 | (home-page "http://cran.r-project.org/web/packages/caTools") | |
1416 | (synopsis "Various tools including functions for moving window statistics") | |
1417 | (description | |
1418 | "This package contains several basic utility functions including: | |
1419 | moving (rolling, running) window statistic functions, read/write for GIF and | |
1420 | ENVI binary files, fast calculation of AUC, LogitBoost classifier, base64 | |
1421 | encoder/decoder, round-off-error-free sum and cumsum, etc.") | |
1422 | (license license:gpl3+))) | |
77bdb276 RW |
1423 | |
1424 | (define-public r-rmarkdown | |
1425 | (package | |
1426 | (name "r-rmarkdown") | |
1427 | (version "0.8.1") | |
1428 | (source | |
1429 | (origin | |
1430 | (method url-fetch) | |
1431 | (uri (cran-uri "rmarkdown" version)) | |
1432 | (sha256 | |
1433 | (base32 | |
1434 | "07q5g9dvac5j3vnf4sjc60mnkij1k6y7vnzjz6anf499rwdwbxza")))) | |
1435 | (properties `((upstream-name . "rmarkdown"))) | |
1436 | (build-system r-build-system) | |
1437 | (propagated-inputs | |
1438 | `(("r-catools" ,r-catools) | |
1439 | ("r-htmltools" ,r-htmltools) | |
1440 | ("r-knitr" ,r-knitr) | |
1441 | ("r-yaml" ,r-yaml) | |
1442 | ("ghc-pandoc" ,ghc-pandoc))) | |
1443 | (home-page "http://rmarkdown.rstudio.com") | |
1444 | (synopsis "Convert R Markdown documents into a variety of formats") | |
1445 | (description | |
1446 | "This package provides tools to convert R Markdown documents into a | |
1447 | variety of formats.") | |
1448 | (license license:gpl3+))) | |
b73751c8 RW |
1449 | |
1450 | (define-public r-gtable | |
1451 | (package | |
1452 | (name "r-gtable") | |
1453 | (version "0.1.2") | |
1454 | (source (origin | |
1455 | (method url-fetch) | |
1456 | (uri (cran-uri "gtable" version)) | |
1457 | (sha256 | |
1458 | (base32 | |
1459 | "0k9hfj6r5y238gqh92s3cbdn34biczx3zfh79ix5xq0c5vkai2xh")))) | |
1460 | (properties `((upstream-name . "gtable"))) | |
1461 | (build-system r-build-system) | |
1462 | (home-page "http://cran.r-project.org/web/packages/gtable") | |
1463 | (synopsis "Arrange grobs in tables") | |
1464 | (description | |
1465 | "This package provides tools to make it easier to work with tables of | |
1466 | grobs.") | |
1467 | (license license:gpl2+))) | |
9e47f30b RW |
1468 | |
1469 | (define-public r-gridextra | |
1470 | (package | |
1471 | (name "r-gridextra") | |
1472 | (version "2.0.0") | |
1473 | (source (origin | |
1474 | (method url-fetch) | |
1475 | (uri (cran-uri "gridExtra" version)) | |
1476 | (sha256 | |
1477 | (base32 | |
1478 | "19yyrfd37c5hxlavb9lca9l26wjhc80rlqhgmfj9k3xhbvvpdp17")))) | |
1479 | (properties `((upstream-name . "gridExtra"))) | |
1480 | (build-system r-build-system) | |
1481 | (propagated-inputs | |
1482 | `(("r-gtable" ,r-gtable))) | |
1483 | (native-inputs | |
1484 | `(("r-knitr" ,r-knitr))) ;for building vignettes | |
1485 | (home-page "https://github.com/baptiste/gridextra") | |
1486 | (synopsis "Miscellaneous functions for \"Grid\" graphics") | |
1487 | (description | |
1488 | "This package provides a number of user-level functions to work with | |
1489 | @code{grid} graphics, notably to arrange multiple grid-based plots on a page, | |
1490 | and draw tables.") | |
1491 | (license license:gpl2+))) | |
1492 | ||
21e4d6a9 RW |
1493 | (define-public r-rsqlite |
1494 | (package | |
1495 | (name "r-rsqlite") | |
1496 | (version "1.0.0") | |
1497 | (source (origin | |
1498 | (method url-fetch) | |
1499 | (uri (cran-uri "RSQLite" version)) | |
1500 | (sha256 | |
1501 | (base32 | |
1502 | "08b1syv8z887gxiw8i09dpqh0zisfb6ihq6qqr01zipvkahzq34f")))) | |
1503 | (properties `((upstream-name . "RSQLite"))) | |
1504 | (build-system r-build-system) | |
1505 | (propagated-inputs | |
1506 | `(("r-dbi" ,r-dbi))) | |
1507 | (home-page "https://github.com/rstats-db/RSQLite") | |
1508 | (synopsis "SQLite interface for R") | |
1509 | (description | |
1510 | "This package embeds the SQLite database engine in R and provides an | |
1511 | interface compliant with the DBI package. The source for the SQLite | |
1512 | engine (version 3.8.6) is included.") | |
1513 | (license license:lgpl2.0+))) | |
1514 | ||
cefaa79c RW |
1515 | (define-public r-rcurl |
1516 | (package | |
1517 | (name "r-rcurl") | |
1518 | (version "1.95-0.1.2") | |
1519 | (source (origin | |
1520 | (method url-fetch) | |
1521 | (uri (string-append "http://www.bioconductor.org/packages/" | |
1522 | "release/extra/src/" | |
1523 | "contrib/RCurl_" version ".tar.gz")) | |
1524 | (sha256 | |
1525 | (base32 | |
1526 | "0l7qi45jxlf898n0jazabnam1yyczvqfdknd00bdirhhiplpd1sc")))) | |
1527 | (properties `((upstream-name . "RCurl"))) | |
1528 | (build-system r-build-system) | |
1529 | (inputs | |
1530 | `(("libcurl" ,curl))) | |
1531 | (propagated-inputs | |
1532 | `(("r-bitops" ,r-bitops))) | |
1533 | (home-page "http://www.omegahat.org/RCurl") | |
1534 | (synopsis "General network client interface for R") | |
1535 | (description | |
1536 | "The package allows one to compose general HTTP requests and provides | |
1537 | convenient functions to fetch URIs, GET and POST forms, etc. and process the | |
1538 | results returned by the Web server. This provides a great deal of control | |
1539 | over the HTTP/FTP/... connection and the form of the request while providing a | |
1540 | higher-level interface than is available just using R socket connections. | |
1541 | Additionally, the underlying implementation is robust and extensive, | |
1542 | supporting FTP/FTPS/TFTP (uploads and downloads), SSL/HTTPS, telnet, dict, | |
1543 | ldap, and also supports cookies, redirects, authentication, etc.") | |
1544 | (license license:bsd-3))) | |
1545 | ||
543ded36 RW |
1546 | (define-public r-xml |
1547 | (package | |
1548 | (name "r-xml") | |
1549 | (version "3.98-1.3") | |
1550 | (source (origin | |
1551 | (method url-fetch) | |
1552 | (uri (cran-uri "XML" version)) | |
1553 | (sha256 | |
1554 | (base32 | |
1555 | "0j9ayp8a35g0227a4zd8nbmvnbfnj5w687jal6qvj4lbhi3va7sy")))) | |
1556 | (properties | |
1557 | `((upstream-name . "XML"))) | |
1558 | (build-system r-build-system) | |
1559 | (inputs | |
1560 | `(("libxml2" ,libxml2))) | |
1561 | (propagated-inputs | |
1562 | `(("r-rcurl" ,r-rcurl))) | |
1563 | (home-page "http://www.omegahat.org/RSXML") | |
1564 | (synopsis "Tools for parsing and generating XML within R") | |
1565 | (description | |
1566 | "Many approaches for both reading and creating XML (and HTML) | |
1567 | documents (including DTDs), both local and accessible via HTTP or FTP. Also | |
1568 | offers access to an XPath \"interpreter\".") | |
1569 | (license license:bsd-2))) | |
1570 | ||
ca65d387 RW |
1571 | (define-public r-lambda-r |
1572 | (package | |
1573 | (name "r-lambda-r") | |
1574 | (version "1.1.7") | |
1575 | (source (origin | |
1576 | (method url-fetch) | |
1577 | (uri (cran-uri "lambda.r" version)) | |
1578 | (sha256 | |
1579 | (base32 | |
1580 | "1lxzrwyminc3dfb07pbn1rmj45kplxgsb17b06pzflj728knbqwa")))) | |
1581 | (properties `((upstream-name . "lambda.r"))) | |
1582 | (build-system r-build-system) | |
1583 | (home-page "http://cran.r-project.org/web/packages/lambda.r") | |
1584 | (synopsis "Functional programming extension for R") | |
1585 | (description | |
1586 | "This package provides a language extension to efficiently write | |
1587 | functional programs in R. Syntax extensions include multi-part function | |
1588 | definitions, pattern matching, guard statements, built-in (optional) type | |
1589 | safety.") | |
1590 | (license license:lgpl3+))) | |
1591 | ||
b9ff33b5 RW |
1592 | (define-public r-futile-options |
1593 | (package | |
1594 | (name "r-futile-options") | |
1595 | (version "1.0.0") | |
1596 | (source (origin | |
1597 | (method url-fetch) | |
1598 | (uri (cran-uri "futile.options" version)) | |
1599 | (sha256 | |
1600 | (base32 | |
1601 | "1hp82h6xqq5cck67h7lpf22n3j7mg3v1mla5y5ivnzrrb7iyr17f")))) | |
1602 | (properties | |
1603 | `((upstream-name . "futile.options"))) | |
1604 | (build-system r-build-system) | |
1605 | (home-page "http://cran.r-project.org/web/packages/futile.options") | |
1606 | (synopsis "Options management framework") | |
1607 | (description | |
1608 | "The futile.options subsystem provides an easy user-defined options | |
1609 | management system that is properly scoped. This means that options created | |
1610 | via @code{futile.options} are fully self-contained and will not collide with | |
1611 | options defined in other packages.") | |
1612 | (license license:lgpl3+))) | |
1613 | ||
6b82f56c RW |
1614 | (define-public r-futile-logger |
1615 | (package | |
1616 | (name "r-futile-logger") | |
1617 | (version "1.4.1") | |
1618 | (source (origin | |
1619 | (method url-fetch) | |
1620 | (uri (cran-uri "futile.logger" version)) | |
1621 | (sha256 | |
1622 | (base32 | |
1623 | "1plld1icxrcay7llplbd4i8inpg97crpnczk58mbk26j8glqbr51")))) | |
1624 | (properties `((upstream-name . "futile.logger"))) | |
1625 | (build-system r-build-system) | |
1626 | (propagated-inputs | |
1627 | `(("r-futile-options" ,r-futile-options) | |
1628 | ("r-lambda-r" ,r-lambda-r))) | |
1629 | (home-page "http://cran.r-project.org/web/packages/futile.logger") | |
1630 | (synopsis "Logging utility for R") | |
1631 | (description | |
1632 | "This package provides a simple yet powerful logging utility. Based | |
1633 | loosely on log4j, futile.logger takes advantage of R idioms to make logging a | |
1634 | convenient and easy to use replacement for @code{cat} and @code{print} | |
1635 | statements.") | |
1636 | (license license:lgpl3+))) | |
1637 | ||
bc899123 RW |
1638 | (define-public r-snow |
1639 | (package | |
1640 | (name "r-snow") | |
1641 | (version "0.4-1") | |
1642 | (source (origin | |
1643 | (method url-fetch) | |
1644 | (uri (cran-uri "snow" version)) | |
1645 | (sha256 | |
1646 | (base32 | |
1647 | "19r2yq8aqw99vwyx81p6ay4afsfqffal1wzvizk3dj882s2n4j8w")))) | |
1648 | (build-system r-build-system) | |
1649 | (home-page "http://cran.r-project.org/web/packages/snow") | |
1650 | (synopsis "Support for simple parallel computing in R") | |
1651 | (description | |
1652 | "The snow package provides support for simple parallel computing on a | |
1653 | network of workstations using R. A master R process calls @code{makeCluster} | |
1654 | to start a cluster of worker processes; the master process then uses functions | |
1655 | such as @code{clusterCall} and @code{clusterApply} to execute R code on the | |
1656 | worker processes and collect and return the results on the master.") | |
1657 | (license (list license:gpl2+ license:gpl3+)))) | |
1658 | ||
d706257b RW |
1659 | (define-public r-sparsem |
1660 | (package | |
1661 | (name "r-sparsem") | |
1662 | (version "1.7") | |
1663 | (source (origin | |
1664 | (method url-fetch) | |
1665 | (uri (cran-uri "SparseM" version)) | |
1666 | (sha256 | |
1667 | (base32 | |
1668 | "0s9kab5khk7daqf6nfp1wm1qnhkssnnwnymisfwyk3kz4q5maqfz")))) | |
1669 | (properties | |
1670 | `((upstream-name . "SparseM"))) | |
d7786ce9 RW |
1671 | (inputs |
1672 | `(("gfortran" ,gfortran))) | |
d706257b RW |
1673 | (build-system r-build-system) |
1674 | (home-page "http://www.econ.uiuc.edu/~roger/research/sparse/sparse.html") | |
1675 | (synopsis "Sparse linear algebra") | |
1676 | (description | |
1677 | "This package provides some basic linear algebra functionality for sparse | |
1678 | matrices. It includes Cholesky decomposition and backsolving as well as | |
1679 | standard R subsetting and Kronecker products.") | |
1680 | (license license:gpl2+))) | |
1681 | ||
264df1a4 RW |
1682 | (define-public r-iterators |
1683 | (package | |
1684 | (name "r-iterators") | |
1685 | (version "1.0.8") | |
1686 | (source | |
1687 | (origin | |
1688 | (method url-fetch) | |
1689 | (uri (cran-uri "iterators" version)) | |
1690 | (sha256 | |
1691 | (base32 | |
1692 | "1f057pabs7ss9h1n244can26qsi5n2k3salrdk0b0vkphlrs4kmf")))) | |
1693 | (build-system r-build-system) | |
1694 | (home-page "http://cran.r-project.org/web/packages/iterators") | |
1695 | (synopsis "Iterator construct for R") | |
1696 | (description | |
1697 | "This package provides support for iterators, which allow a programmer to | |
1698 | traverse through all the elements of a vector, list, or other collection of | |
1699 | data.") | |
1700 | (license license:asl2.0))) | |
1701 | ||
7a6f5f03 RW |
1702 | (define-public r-codetools |
1703 | (package | |
1704 | (name "r-codetools") | |
1705 | (version "0.2-14") | |
1706 | (source | |
1707 | (origin | |
1708 | (method url-fetch) | |
1709 | (uri (cran-uri "codetools" version)) | |
1710 | (sha256 | |
1711 | (base32 | |
1712 | "0y9r4m2b8xgavr89sc179knzwpz54xljbc1dinpq2q07i4xn0397")))) | |
1713 | (build-system r-build-system) | |
1714 | (home-page "http://cran.r-project.org/web/packages/codetools") | |
1715 | (synopsis "Code analysis tools for R") | |
1716 | (description "This package provides code analysis tools for R to check R | |
1717 | code for possible problems.") | |
1718 | (license (list license:gpl2+ license:gpl3+)))) | |
1719 | ||
b2cdb027 RW |
1720 | (define-public r-foreach |
1721 | (package | |
1722 | (name "r-foreach") | |
1723 | (version "1.4.3") | |
1724 | (source | |
1725 | (origin | |
1726 | (method url-fetch) | |
1727 | (uri (cran-uri "foreach" version)) | |
1728 | (sha256 | |
1729 | (base32 | |
1730 | "10aqsd3rxz03s1qdb6gsb1cj89mj4vmh491zfpin4skj1xvkzw0y")))) | |
1731 | (build-system r-build-system) | |
1732 | (propagated-inputs | |
1733 | `(("r-codetools" ,r-codetools) | |
1734 | ("r-iterators" ,r-iterators))) | |
1735 | (home-page "http://cran.r-project.org/web/packages/foreach") | |
1736 | (synopsis "Foreach looping construct for R") | |
1737 | (description | |
1738 | "This package provides support for the @code{foreach} looping construct. | |
1739 | @code{foreach} is an idiom that allows for iterating over elements in a | |
1740 | collection, without the use of an explicit loop counter. This package in | |
1741 | particular is intended to be used for its return value, rather than for its | |
1742 | side effects. In that sense, it is similar to the standard @code{lapply} | |
1743 | function, but doesn't require the evaluation of a function. Using | |
1744 | @code{foreach} without side effects also facilitates executing the loop in | |
1745 | parallel.") | |
1746 | (license license:asl2.0))) | |
1747 | ||
a8227e4a RW |
1748 | (define-public r-dt |
1749 | (package | |
1750 | (name "r-dt") | |
1751 | (version "0.1") | |
1752 | (source (origin | |
1753 | (method url-fetch) | |
1754 | (uri (cran-uri "DT" version)) | |
1755 | (sha256 | |
1756 | (base32 | |
1757 | "0mj7iiy1gglw7kixybmb7kr1bcl5r006zcb3klkw7p6vvvzdm6qj")))) | |
1758 | (properties | |
1759 | `((upstream-name . "DT"))) | |
1760 | (build-system r-build-system) | |
1761 | (propagated-inputs | |
1762 | `(("r-htmltools" ,r-htmltools) | |
1763 | ("r-htmlwidgets" ,r-htmlwidgets) | |
1764 | ("r-magrittr" ,r-magrittr))) | |
1765 | (home-page "http://rstudio.github.io/DT") | |
1766 | (synopsis "R wrapper of the DataTables JavaScript library") | |
1767 | (description | |
1768 | "This package allows for data objects in R to be rendered as HTML tables | |
1769 | using the JavaScript library 'DataTables' (typically via R Markdown or Shiny). | |
1770 | The 'DataTables' library has been included in this R package.") | |
1771 | ;; The DT package as a whole is distributed under GPLv3. The DT package | |
1772 | ;; inludes other software components under different licenses: | |
1773 | ;; | |
1774 | ;; * Expat: jQuery, jquery.highlight.js, DataTables | |
1775 | ;; * ASL2.0: selectize.js | |
1776 | ;; * WTFPL: noUiSlider | |
1777 | (license (list license:gpl3 | |
1778 | license:expat | |
1779 | license:asl2.0 | |
1780 | (license:non-copyleft "http://www.wtfpl.net/txt/copying/"))))) | |
1781 | ||
a69a5935 RW |
1782 | (define-public r-base64enc |
1783 | (package | |
1784 | (name "r-base64enc") | |
1785 | (version "0.1-3") | |
1786 | (source (origin | |
1787 | (method url-fetch) | |
1788 | (uri (cran-uri "base64enc" version)) | |
1789 | (sha256 | |
1790 | (base32 | |
1791 | "13b89fhg1nx7zds82a0biz847ixphg9byf5zl2cw9kab6s56v1bd")))) | |
1792 | (build-system r-build-system) | |
1793 | (home-page "http://www.rforge.net/base64enc") | |
1794 | (synopsis "Tools for Base64 encoding") | |
1795 | (description | |
1796 | "This package provides tools for handling Base64 encoding. It is more | |
1797 | flexible than the orphaned \"base64\" package.") | |
1798 | (license license:gpl2+))) | |
1799 | ||
8bfe007c RW |
1800 | (define-public r-r-methodss3 |
1801 | (package | |
1802 | (name "r-r-methodss3") | |
1803 | (version "1.7.0") | |
1804 | (source (origin | |
1805 | (method url-fetch) | |
1806 | (uri (cran-uri "R.methodsS3" version)) | |
1807 | (sha256 | |
1808 | (base32 | |
1809 | "1dg4bbrwr8jcsqisjrrwxs942mrjq72zw8yvl2br4djdm0md8zz5")))) | |
1810 | (properties `((upstream-name . "R.methodsS3"))) | |
1811 | (build-system r-build-system) | |
1812 | (home-page "http://cran.r-project.org/web/packages/R.methodsS3") | |
1813 | (synopsis "S3 methods simplified") | |
1814 | (description | |
1815 | "This package provides methods that simplify the setup of S3 generic | |
1816 | functions and S3 methods. Major effort has been made in making definition of | |
1817 | methods as simple as possible with a minimum of maintenance for package | |
1818 | developers. For example, generic functions are created automatically, if | |
1819 | missing, and naming conflict are automatically solved, if possible. The | |
1820 | method @code{setMethodS3()} is a good start for those who in the future may | |
1821 | want to migrate to S4.") | |
1822 | (license license:lgpl2.1+))) | |
1823 | ||
c8c75a8d RW |
1824 | (define-public r-r-oo |
1825 | (package | |
1826 | (name "r-r-oo") | |
1827 | (version "1.19.0") | |
1828 | (source (origin | |
1829 | (method url-fetch) | |
1830 | (uri (cran-uri "R.oo" version)) | |
1831 | (sha256 | |
1832 | (base32 | |
1833 | "15rm1qb9a212bqazhcpk7m48hcp7jq8rh4yhd9c6zfyvdqszfmsb")))) | |
1834 | (properties `((upstream-name . "R.oo"))) | |
1835 | (build-system r-build-system) | |
1836 | (propagated-inputs | |
1837 | `(("r-r-methodss3" ,r-r-methodss3))) | |
1838 | (home-page "https://github.com/HenrikBengtsson/R.oo") | |
1839 | (synopsis "R object-oriented programming with or without references") | |
1840 | (description | |
1841 | "This package provides methods and classes for object-oriented | |
1842 | programming in R with or without references. Large effort has been made on | |
1843 | making definition of methods as simple as possible with a minimum of | |
1844 | maintenance for package developers.") | |
1845 | (license license:lgpl2.1+))) | |
1846 | ||
9c94b53b RW |
1847 | (define-public r-r-utils |
1848 | (package | |
1849 | (name "r-r-utils") | |
1850 | (version "2.1.0") | |
1851 | (source (origin | |
1852 | (method url-fetch) | |
1853 | (uri (cran-uri "R.utils" version)) | |
1854 | (sha256 | |
1855 | (base32 | |
1856 | "03pi6pkcsq65fv7cn4x74cj050dc8x5d4xyg930p6f7flk788xaz")))) | |
1857 | (properties `((upstream-name . "R.utils"))) | |
1858 | (build-system r-build-system) | |
1859 | (propagated-inputs | |
1860 | `(("r-r-methodss3" ,r-r-methodss3) | |
1861 | ("r-r-oo" ,r-r-oo))) | |
1862 | (home-page "https://github.com/HenrikBengtsson/R.utils") | |
1863 | (synopsis "Various programming utilities") | |
1864 | (description | |
1865 | "This package provides utility functions useful when programming and | |
1866 | developing R packages.") | |
1867 | (license license:lgpl2.1+))) | |
1868 | ||
a63efbb4 RW |
1869 | (define-public r-r-cache |
1870 | (package | |
1871 | (name "r-r-cache") | |
1872 | (version "0.12.0") | |
1873 | (source (origin | |
1874 | (method url-fetch) | |
1875 | (uri (cran-uri "R.cache" version)) | |
1876 | (sha256 | |
1877 | (base32 | |
1878 | "006x52w9r8phw5hgqmyp0bz8z42vn8p5yibibnzi1sfa1xlw8iyx")))) | |
1879 | (properties `((upstream-name . "R.cache"))) | |
1880 | (build-system r-build-system) | |
1881 | (propagated-inputs | |
1882 | `(("r-digest" ,r-digest) | |
1883 | ("r-r-methodss3" ,r-r-methodss3) | |
1884 | ("r-r-oo" ,r-r-oo) | |
1885 | ("r-r-utils" ,r-r-utils))) | |
1886 | (home-page "https://github.com/HenrikBengtsson/R.cache") | |
1887 | (synopsis "Light-weight caching of objects and results") | |
1888 | (description | |
1889 | "This package provides methods for caching or memoization of objects and | |
1890 | results. With this package, any R object can be cached in a key-value storage | |
1891 | where the key can be an arbitrary set of R objects. The cache memory is | |
1892 | persistent (on the file system).") | |
1893 | (license license:lgpl2.1+))) | |
1894 | ||
3703ffb4 RW |
1895 | (define-public r-r-rsp |
1896 | (package | |
1897 | (name "r-r-rsp") | |
1898 | (version "0.20.0") | |
1899 | (source (origin | |
1900 | (method url-fetch) | |
1901 | (uri (cran-uri "R.rsp" version)) | |
1902 | (sha256 | |
1903 | (base32 | |
1904 | "06vq9qq5hdz3hqc99q82622mab6ix7jwap20h4za6ap6gnwqs0fv")))) | |
1905 | (properties `((upstream-name . "R.rsp"))) | |
1906 | (build-system r-build-system) | |
1907 | (propagated-inputs | |
1908 | `(("r-r-cache" ,r-r-cache) | |
1909 | ("r-r-methodss3" ,r-r-methodss3) | |
1910 | ("r-r-oo" ,r-r-oo) | |
1911 | ("r-r-utils" ,r-r-utils))) | |
1912 | (home-page "https://github.com/HenrikBengtsson/R.rsp") | |
1913 | (synopsis "Dynamic generation of scientific reports") | |
1914 | (description | |
1915 | "The RSP markup language provides a powerful markup for controlling the | |
1916 | content and output of LaTeX, HTML, Markdown, AsciiDoc, Sweave and knitr | |
1917 | documents (and more), e.g. @code{Today's date is <%=Sys.Date()%>}. Contrary | |
1918 | to many other literate programming languages, with RSP it is straightforward | |
1919 | to loop over mixtures of code and text sections, e.g. in month-by-month | |
1920 | summaries. RSP has also several preprocessing directives for incorporating | |
1921 | static and dynamic contents of external files (local or online) among other | |
1922 | things. RSP is ideal for self-contained scientific reports and R package | |
1923 | vignettes.") | |
1924 | (license license:lgpl2.1+))) | |
1925 | ||
e05c37da RW |
1926 | (define-public r-matrixstats |
1927 | (package | |
1928 | (name "r-matrixstats") | |
1929 | (version "0.15.0") | |
1930 | (source (origin | |
1931 | (method url-fetch) | |
1932 | (uri (cran-uri "matrixStats" version)) | |
1933 | (sha256 | |
1934 | (base32 | |
1935 | "1068k85s6rlwfzlszw790c2rndydvrsw7rpck6k6z17896m8drfa")))) | |
1936 | (properties `((upstream-name . "matrixStats"))) | |
1937 | (build-system r-build-system) | |
1938 | (native-inputs | |
1939 | `(("r-r-rsp" ,r-r-rsp))) ;used to build vignettes | |
1940 | (home-page "https://github.com/HenrikBengtsson/matrixStats") | |
1941 | (synopsis "Methods applying to vectors and matrix rows and columns") | |
1942 | (description | |
1943 | "This package provides methods operating on rows and columns of matrices, | |
1944 | e.g. @code{rowMedians()}, @code{rowRanks()}, and @code{rowSds()}. There are | |
1945 | also some vector-based methods, e.g. @code{binMeans()}, @code{madDiff()} and | |
1946 | @code{weightedMedians()}. All methods have been optimized for speed and | |
1947 | memory usage.") | |
1948 | (license license:artistic2.0))) | |
1949 | ||
a28d646b RW |
1950 | (define-public r-viridis |
1951 | (package | |
1952 | (name "r-viridis") | |
1953 | (version "0.3.1") | |
1954 | (source (origin | |
1955 | (method url-fetch) | |
1956 | (uri (cran-uri "viridis" version)) | |
1957 | (sha256 | |
1958 | (base32 | |
1959 | "0zz9i874s1fwhl9bcbiprlzaz7zsy1rj6c729zn3k525d63qbnj7")))) | |
1960 | (build-system r-build-system) | |
1961 | (propagated-inputs | |
1962 | `(("r-ggplot2" ,r-ggplot2) | |
1963 | ("r-gridextra" ,r-gridextra))) | |
1964 | (home-page "https://github.com/sjmgarnier/viridis") | |
1965 | (synopsis "Matplotlib default color map") | |
1966 | (description | |
1967 | "This package is a port of the new @url{matplotlib, | |
1968 | http://matplotlib.org/} color maps (@code{viridis}--the default--, | |
1969 | @code{magma}, @code{plasma}, and @code{inferno}) to R. These color maps are | |
1970 | designed in such a way that they will analytically be perfectly | |
1971 | perceptually-uniform, both in regular form and also when converted to | |
1972 | black-and-white. They are also designed to be perceived by readers with the | |
1973 | most common form of color blindness.") | |
1974 | (license license:x11))) | |
1975 | ||
fbf6045e RW |
1976 | (define-public r-plotly |
1977 | (package | |
1978 | (name "r-plotly") | |
1979 | (version "2.0.3") | |
1980 | (source (origin | |
1981 | (method url-fetch) | |
1982 | (uri (cran-uri "plotly" version)) | |
1983 | (sha256 | |
1984 | (base32 | |
1985 | "16pqycns8qf0y1j21n009qf242lv0izwyidlx40zv88izxhg1vs0")))) | |
1986 | (build-system r-build-system) | |
1987 | (propagated-inputs | |
1988 | `(("r-base64enc" ,r-base64enc) | |
1989 | ("r-digest" ,r-digest) | |
1990 | ("r-ggplot2" ,r-ggplot2) | |
1991 | ("r-htmlwidgets" ,r-htmlwidgets) | |
1992 | ("r-httr" ,r-httr) | |
1993 | ("r-jsonlite" ,r-jsonlite) | |
1994 | ("r-magrittr" ,r-magrittr) | |
1995 | ("r-plyr" ,r-plyr) | |
1996 | ("r-viridis" ,r-viridis))) | |
1997 | (home-page "https://plot.ly/r") | |
1998 | (synopsis "Create interactive web graphics") | |
1999 | (description | |
2000 | "This package enables the translation of ggplot2 graphs to an interactive | |
2001 | web-based version and/or the creation of custom web-based visualizations | |
2002 | directly from R. Once uploaded to a plotly account, plotly graphs (and the | |
2003 | data behind them) can be viewed and modified in a web browser.") | |
2004 | (license license:x11))) | |
2005 |