guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

05/08: gnu: Add r-reprex.


From: Marius Bakke
Subject: 05/08: gnu: Add r-reprex.
Date: Mon, 26 Mar 2018 15:45:51 -0400 (EDT)

mbakke pushed a commit to branch master
in repository guix.

commit 948740b08a66a544754de31cc5746c89e9c2ff1d
Author: Charlie Ritter <address@hidden>
Date:   Mon Mar 12 10:58:32 2018 -0400

    gnu: Add r-reprex.
    
    * gnu/packages/cran.scm (r-reprex): New variable.
    
    Signed-off-by: Marius Bakke <address@hidden>
---
 gnu/packages/cran.scm | 28 ++++++++++++++++++++++++++++
 1 file changed, 28 insertions(+)

diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm
index b2db1af..e3bcaf3 100644
--- a/gnu/packages/cran.scm
+++ b/gnu/packages/cran.scm
@@ -37,6 +37,34 @@
   #:use-module (gnu packages statistics)
   #:use-module (gnu packages web))
 
+(define-public r-reprex
+  (package
+    (name "r-reprex")
+    (version "0.1.2")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (cran-uri "reprex" version))
+       (sha256
+        (base32
+         "105d9vsmqfilgpw8psfb2wyiz1hvcycvh4cqhb3ab37lm3rcavvs"))))
+    (build-system r-build-system)
+    (propagated-inputs
+     `(("r-callr" ,r-callr)
+       ("r-knitr" ,r-knitr)
+       ("r-rmarkdown" ,r-rmarkdown)
+       ("r-whisker" ,r-whisker)))
+    (home-page "https://github.com/tidyverse/reprex";)
+    (synopsis "Prepare reproducible R code examples for sharing")
+    (description
+     "This package provides a convenience wrapper that uses the
address@hidden package to render small snippets of code to target formats
+that include both code and output.  The goal is to encourage the sharing of
+small, reproducible, and runnable examples on code-oriented websites or email.
address@hidden also extracts clean, runnable R code from various common formats,
+such as copy/paste from an R session.")
+    (license license:expat)))
+
 (define-public r-callr
   (package
     (name "r-callr")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]