summary refs log tree commit diff
path: root/gnu
diff options
context:
space:
mode:
authorRafael Luque Leiva <rafael.luque@osoco.es>2020-02-05 17:07:23 +0100
committerRicardo Wurmus <rekado@elephly.net>2020-08-04 16:20:18 +0200
commit822e2173edc689a797355d9a16085d6e21bbed69 (patch)
treee1f0b437d2e16c6bbe41a86d065e14b9788d02af /gnu
parent317ed8d073e5cbccbd7e456a8f533a4e5f1ac392 (diff)
downloadguix-822e2173edc689a797355d9a16085d6e21bbed69.tar.gz
gnu: Add r-rticles.
* gnu/packages/cran.scm (r-rticles): New variable.

Signed-off-by: Ricardo Wurmus <rekado@elephly.net>
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/cran.scm27
1 files changed, 27 insertions, 0 deletions
diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm
index 31185e8e4d..a64e255787 100644
--- a/gnu/packages/cran.scm
+++ b/gnu/packages/cran.scm
@@ -23,6 +23,7 @@
 ;;; Copyright © 2020 Naga Malleswari <nagamalli@riseup.net>
 ;;; Copyright © 2020 Eric Brown <ecbrown@ericcbrown.com>
 ;;; Copyright © 2020 Peter Lo <peterloleungyau@gmail.com>
+;;; Copyright © 2020 Rafael Luque Leiva <rafael.luque@osoco.es>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -87,6 +88,32 @@
   #:use-module (gnu packages web)
   #:use-module (gnu packages xorg))
 
+(define-public r-rticles
+  (package
+    (name "r-rticles")
+    (version "0.14")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (cran-uri "rticles" version))
+       (sha256
+        (base32
+         "1377fib4asazhhki4aajvld0wa35vd3zjvyl3lf2hjm2qk3vyak7"))))
+    (properties `((upstream-name . "rticles")))
+    (build-system r-build-system)
+    (propagated-inputs
+     `(("r-knitr" ,r-knitr)
+       ("r-rmarkdown" ,r-rmarkdown)
+       ("r-tinytex" ,r-tinytex)
+       ("r-xfun" ,r-xfun)
+       ("r-yaml" ,r-yaml)))
+    (home-page "https://github.com/rstudio/rticles")
+    (synopsis "Article formats for R Markdown")
+    (description
+     "This package provides a suite of custom R Markdown formats and templates
+for authoring journal articles and conference submissions.")
+    (license license:gpl3)))
+
 (define-public r-bezier
   (package
     (name "r-bezier")