all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Charlie Ritter <chewzerita@posteo.net>
To: 30783@debbugs.gnu.org
Subject: [bug#30783] [5/8] Add r-tidyverse (r-reprex)
Date: Mon, 12 Mar 2018 11:12:44 -0400	[thread overview]
Message-ID: <cuca7vdfhub.fsf@posteo.net> (raw)


[-- 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 --]

             reply	other threads:[~2018-03-12 16:37 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-03-12 15:12 Charlie Ritter [this message]
2018-03-26 19:18 ` [bug#30783] [5/8] Add r-tidyverse (r-reprex) Marius Bakke

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=cuca7vdfhub.fsf@posteo.net \
    --to=chewzerita@posteo.net \
    --cc=30783@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.