unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#39442] [PATCH] Add rticles R package
@ 2020-02-05 16:07 Rafael Luque Leiva
  2020-02-07 13:42 ` zimoun
  2020-08-04 14:22 ` bug#39442: " Ricardo Wurmus
  0 siblings, 2 replies; 3+ messages in thread
From: Rafael Luque Leiva @ 2020-02-05 16:07 UTC (permalink / raw)
  To: 39442; +Cc: Rafael Luque Leiva

---
 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 <brettg@gnu.org>
 ;;; Copyright © 2019 Nicolò Balzarotti <anothersms@gmail.com>
 ;;; Copyright © 2019 Wiktor Żelazny <wzelazny@vurv.cz>
+;;; Copyright © 2020 Rafael Luque Leiva <rafael.luque@osoco.es>
 ;;;
 ;;; 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

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [bug#39442] [PATCH] Add rticles R package
  2020-02-05 16:07 [bug#39442] [PATCH] Add rticles R package Rafael Luque Leiva
@ 2020-02-07 13:42 ` zimoun
  2020-08-04 14:22 ` bug#39442: " Ricardo Wurmus
  1 sibling, 0 replies; 3+ messages in thread
From: zimoun @ 2020-02-07 13:42 UTC (permalink / raw)
  To: Rafael Luque Leiva; +Cc: 39442

Dear Rafael,

Thank you for your contribution.


Two minor things to be compliant. :-)


Could you please add a commit message along these lines:

    gnu: Add r-rticles.

    * gnu/packages/cran.scm (r-rticles): New variable.

?

Could you use the indenting style?

https://guix.gnu.org/manual/en/html_node/Formatting-Code.html#Formatting-Code


Note that if you use Emacs, the coding style is enforced and there is
(yas) snippets doing the commit message job for you. ;-)

https://guix.gnu.org/manual/en/html_node/The-Perfect-Setup.html#The-Perfect-Setup


Please let us know.  :-)

All the best,
simon

^ permalink raw reply	[flat|nested] 3+ messages in thread

* bug#39442: [PATCH] Add rticles R package
  2020-02-05 16:07 [bug#39442] [PATCH] Add rticles R package Rafael Luque Leiva
  2020-02-07 13:42 ` zimoun
@ 2020-08-04 14:22 ` Ricardo Wurmus
  1 sibling, 0 replies; 3+ messages in thread
From: Ricardo Wurmus @ 2020-08-04 14:22 UTC (permalink / raw)
  To: rafael.luque; +Cc: 39442-done

Hi Rafael,

thank you for your patch!
I just applied it with the changes that simon suggested.

-- 
Ricardo




^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2020-08-04 14:23 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-02-05 16:07 [bug#39442] [PATCH] Add rticles R package Rafael Luque Leiva
2020-02-07 13:42 ` zimoun
2020-08-04 14:22 ` bug#39442: " Ricardo Wurmus

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).