Subject: [PATCH] Add rticles R package
From: Rafael Luque Leiva <[email-masked]>
To: [email-masked]
Cc: Rafael Luque Leiva <[email-masked]>
Date: Wed, 5 Feb 2020 17:07:23 +0100
List-Id: <debbugs-submit.debbugs.gnu.org>

---
 gnu/packages/cran.scm | 27 +++++++++++++++++++++++++++
 1 file changed, 27 insertions(+)

diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm
index 58ceed06d0..c31d9dd8a6 100644
--- a/gnu/packages/cran.scm
+++ b/gnu/packages/cran.scm
@@ -18,6 +18,7 @@
 ;;; Copyright © 2018, 2019 Brett Gilio <[email-masked]>
 ;;; Copyright © 2019 Nicolò Balzarotti <[email-masked]>
 ;;; Copyright © 2019 Wiktor Żelazny <[email-masked]>
+;;; Copyright © 2020 Rafael Luque Leiva <[email-masked]>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -79,6 +80,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-clipr
   (package
     (name "r-clipr")
-- 
2.25.0