* [bug#30783] [5/8] Add r-tidyverse (r-reprex)
@ 2018-03-12 15:12 Charlie Ritter
2018-03-26 19:18 ` Marius Bakke
0 siblings, 1 reply; 2+ messages in thread
From: Charlie Ritter @ 2018-03-12 15:12 UTC (permalink / raw)
To: 30783
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1.1: 0001-gnu-Add-r-reprex.patch --]
[-- Type: text/x-patch, Size: 1805 bytes --]
From c542097b41f53429a4f70ba27cb846ab790765df Mon Sep 17 00:00:00 2001
From: Charlie Ritter <chewzerita@posteo.net>
Date: Mon, 12 Mar 2018 10:58:32 -0400
Subject: [PATCH] gnu: Add r-reprex.
* gnu/packages/cran.scm (r-reprex): New variable.
---
gnu/packages/cran.scm | 29 +++++++++++++++++++++++++++++
1 file changed, 29 insertions(+)
diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm
index c9062d2cc..49b2fedb6 100644
--- a/gnu/packages/cran.scm
+++ b/gnu/packages/cran.scm
@@ -34,6 +34,35 @@
#: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/jennybc/reprex")
+ (synopsis
+ "Prepare Reproducible Example Code for Sharing")
+ (description
+ "Convenience wrapper that uses the 'rmarkdown' 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, such as <http://stackoverflow.com> and
+<https://github.com>, or in email. 'reprex' 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")
--
2.16.1
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 487 bytes --]
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [bug#30783] [5/8] Add r-tidyverse (r-reprex)
2018-03-12 15:12 [bug#30783] [5/8] Add r-tidyverse (r-reprex) Charlie Ritter
@ 2018-03-26 19:18 ` Marius Bakke
0 siblings, 0 replies; 2+ messages in thread
From: Marius Bakke @ 2018-03-26 19:18 UTC (permalink / raw)
To: Charlie Ritter, 30783
[-- Attachment #1: Type: text/plain, Size: 447 bytes --]
Charlie Ritter <chewzerita@posteo.net> writes:
> From c542097b41f53429a4f70ba27cb846ab790765df Mon Sep 17 00:00:00 2001
> From: Charlie Ritter <chewzerita@posteo.net>
> Date: Mon, 12 Mar 2018 10:58:32 -0400
> Subject: [PATCH] gnu: Add r-reprex.
>
> * gnu/packages/cran.scm (r-reprex): New variable.
I reworked the synopsis and description to please 'guix lint', and to
not link to nonfree sites. Also changed the redirected home page.
Applied!
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 487 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2018-03-26 19:19 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-03-12 15:12 [bug#30783] [5/8] Add r-tidyverse (r-reprex) Charlie Ritter
2018-03-26 19:18 ` Marius Bakke
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.