--- Begin Message ---
Subject: |
[PATCH] gnu: add r-rematch2. |
Date: |
Fri, 1 Mar 2019 09:07:54 +0100 |
---
gnu/packages/cran.scm | 20 ++++++++++++++++++++
1 file changed, 20 insertions(+)
diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm
index a9b775f67e..6ab5ecc8da 100644
--- a/gnu/packages/cran.scm
+++ b/gnu/packages/cran.scm
@@ -10757,3 +10757,23 @@ using @code{S3}.")
"Checks adherence to a given style, syntax errors and possible semantic
issues. Supports on the fly checking of R code edited with 'RStudio IDE',
'Emacs', 'Vim', 'Sublime Text' and 'Atom'.")
(license license:expat)))
+(define-public r-rematch2
+ (package
+ (name "r-rematch2")
+ (version "2.0.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (cran-uri "rematch2" version))
+ (sha256
+ (base32
+ "16k0i5p7fa3qfxv59ijyn638wpz8n4jrkrnilqmh5g9l8f8bn4h6"))))
+ (build-system r-build-system)
+ (propagated-inputs `(("r-tibble" ,r-tibble)))
+ (home-page
+ "https://github.com/r-lib/rematch2#readme")
+ (synopsis
+ "Tidy Output from Regular Expression Matching")
+ (description
+ "Wrappers on 'regexpr' and 'gregexpr' to return the match results in tidy
data frames.")
+ (license license:expat)))
--
2.20.1
--- End Message ---
--- Begin Message ---
Subject: |
Re: [bug#34696] [PATCH] gnu: add r-rematch2. |
Date: |
Thu, 14 Mar 2019 10:58:50 +0100 |
User-agent: |
mu4e 1.0; emacs 26.1 |
Hi Nicolò,
thank you for this patch. I applied it with
100f56024e72ad5effff340d34cd7a91a34a830a after a few changes:
- the description now contains full sentences
- 'regexpr' and 'gregexpr' have been wrapped in @code{}
- I added a proper commit message (with the “add” Yasnippet in Emacs)
- I added a copyright line for you
- the words in the synopsis are now lowercase
- I removed the #readme tag from the home-page field
- adjusted the indentation
Thanks!
--
Ricardo
--- End Message ---