From: Charlie Ritter <chewzerita@posteo.net>
To: 30782@debbugs.gnu.org
Subject: [bug#30782] [6/8] Add r-tidyverse (r-selectr)
Date: Mon, 12 Mar 2018 11:13:28 -0400 [thread overview]
Message-ID: <cuc7eqhfht3.fsf@posteo.net> (raw)
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1.1: 0001-gnu-Add-r-selectr.patch --]
[-- Type: text/x-patch, Size: 1625 bytes --]
From 2d3727f18dae9d904f9d394fae01a3f82e326dd4 Mon Sep 17 00:00:00 2001
From: Charlie Ritter <chewzerita@posteo.net>
Date: Mon, 12 Mar 2018 10:59:56 -0400
Subject: [PATCH] gnu: Add r-selectr.
* gnu/packages/cran.scm (r-selectr): New variable.
---
gnu/packages/cran.scm | 24 ++++++++++++++++++++++++
1 file changed, 24 insertions(+)
diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm
index 49b2fedb6..648906bf9 100644
--- a/gnu/packages/cran.scm
+++ b/gnu/packages/cran.scm
@@ -34,6 +34,30 @@
#:use-module (gnu packages statistics)
#:use-module (gnu packages web))
+(define-public r-selectr
+ (package
+ (name "r-selectr")
+ (version "0.3-2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (cran-uri "selectr" version))
+ (sha256
+ (base32
+ "0kdrj64rqg4z6hg92y9r2h602a2i73r5rnlpg23ys33d5d32n8jy"))))
+ (build-system r-build-system)
+ (propagated-inputs `(("r-stringr" ,r-stringr)))
+ (home-page "https://sjp.co.nz/projects/selectr")
+ (synopsis
+ "Translate CSS Selectors to XPath Expressions")
+ (description
+ "Translates a CSS3 selector into an equivalent XPath expression. This
+allows us to use CSS selectors when working with the XML package as it can
+only evaluate XPath expressions. Also provided are convenience functions
+useful for using CSS selectors on XML nodes. This package is a port of the
+Python package 'cssselect' (<https://pythonhosted.org/cssselect/>).")
+ (license license:bsd-3)))
+
(define-public r-reprex
(package
(name "r-reprex")
--
2.16.1
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 487 bytes --]
next 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:13 Charlie Ritter [this message]
2018-03-26 19:22 ` [bug#30782] [6/8] Add r-tidyverse (r-selectr) 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=cuc7eqhfht3.fsf@posteo.net \
--to=chewzerita@posteo.net \
--cc=30782@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.