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