GNU bug report logs - #62733
[PATCH] gnu: Add r-littler

Previous Next

Package: guix-patches;

Reported by: kyle <kyle <at> posteo.net>

Date: Sun, 9 Apr 2023 03:15:02 UTC

Severity: normal

Tags: patch

Done: Ricardo Wurmus <rekado <at> elephly.net>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 62733 in the body.
You can then email your comments to 62733 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to guix-patches <at> gnu.org:
bug#62733; Package guix-patches. (Sun, 09 Apr 2023 03:15:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to kyle <kyle <at> posteo.net>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Sun, 09 Apr 2023 03:15:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: kyle <kyle <at> posteo.net>
To: guix-patches <at> gnu.org
Cc: rekado <at> elephly.net, Kyle Andrews <kyle <at> posteo.net>
Subject: [PATCH] gnu: Add r-littler
Date: Sun,  9 Apr 2023 03:13:56 +0000
From: Kyle Andrews <kyle <at> posteo.net>

---
 gnu/packages/statistics.scm | 36 ++++++++++++++++++++++++++++++++++++
 1 file changed, 36 insertions(+)

diff --git a/gnu/packages/statistics.scm b/gnu/packages/statistics.scm
index 628057a189..e61d06721e 100644
--- a/gnu/packages/statistics.scm
+++ b/gnu/packages/statistics.scm
@@ -1010,6 +1010,42 @@ (define-public r-labeling
 algorithms.")
     (license license:expat)))
 
+(define-public r-littler
+  (package
+    (name "r-littler")
+    (version "0.3.18")
+    (source (origin
+              (method url-fetch)
+              (uri (cran-uri "littler" version))
+              (sha256
+               (base32
+                "1lp6a62g3yhzr4pv9kynibv7k9pd546w6hifs1aficyxbyg4dgqq"))))
+    (properties `((upstream-name . "littler")))
+    (build-system r-build-system)
+    (arguments
+     (list
+      #:phases
+      #~(modify-phases %standard-phases
+	  (add-after 'install 'add-to-path
+	    (lambda _
+              (mkdir (string-append #$output "/bin"))
+              (copy-file "inst/bin/r"
+                         (string-append #$output "/bin/r")))))))
+    (inputs (list icu4c))
+    (native-inputs
+     (list r-simplermarkdown automake autoconf zlib))
+    (home-page "https://github.com/eddelbuettel/littler")
+    (synopsis "R at the Command-Line via 'r'")
+    (description
+     "This package provides a scripting and command-line front-end is provided by r
+(aka littler') as a lightweight binary wrapper around the GNU R language and
+environment for statistical computing and graphics.  While R can be used in
+batch mode, the r binary adds full support for both shebang'-style scripting
+(i.e.  using a hash-mark-exclamation-path expression as the first line in
+scripts) as well as command-line use in standard Unix pipelines.  In other
+words, r provides the R language without the environment.")
+    (license license:gpl2+)))
+
 (define-public r-magrittr
   (package
     (name "r-magrittr")
-- 
2.39.2





Information forwarded to guix-patches <at> gnu.org:
bug#62733; Package guix-patches. (Sun, 09 Apr 2023 13:38:01 GMT) Full text and rfc822 format available.

Message #8 received at 62733 <at> debbugs.gnu.org (full text, mbox):

From: kyle <kyle <at> posteo.net>
To: 62733 <at> debbugs.gnu.org
Cc: rekado <at> elephly.net, Kyle Andrews <kyle <at> posteo.net>
Subject: [PATCH] gnu: Add r-littler
Date: Sun,  9 Apr 2023 13:36:54 +0000
From: Kyle Andrews <kyle <at> posteo.net>

---
 gnu/packages/statistics.scm | 36 ++++++++++++++++++++++++++++++++++++
 1 file changed, 36 insertions(+)

diff --git a/gnu/packages/statistics.scm b/gnu/packages/statistics.scm
index 628057a189..d057f52f08 100644
--- a/gnu/packages/statistics.scm
+++ b/gnu/packages/statistics.scm
@@ -1010,6 +1010,42 @@ (define-public r-labeling
 algorithms.")
     (license license:expat)))
 
+(define-public r-littler
+  (package
+    (name "r-littler")
+    (version "0.3.18")
+    (source (origin
+              (method url-fetch)
+              (uri (cran-uri "littler" version))
+              (sha256
+               (base32
+                "1lp6a62g3yhzr4pv9kynibv7k9pd546w6hifs1aficyxbyg4dgqq"))))
+    (properties `((upstream-name . "littler")))
+    (build-system r-build-system)
+    (arguments
+     (list
+      #:phases
+      #~(modify-phases %standard-phases
+	  (add-after 'install 'add-to-path
+	    (lambda _
+              (install-file
+	       "inst/bin/r"
+	       (string-append #$output "/bin")))))))
+    (inputs (list icu4c))
+    (native-inputs
+     (list r-simplermarkdown automake autoconf zlib pkg-config))
+    (home-page "https://github.com/eddelbuettel/littler")
+    (synopsis "R at the Command-Line via 'r'")
+    (description
+     "This package provides a scripting and command-line front-end is provided by r
+(aka littler') as a lightweight binary wrapper around the GNU R language and
+environment for statistical computing and graphics.  While R can be used in
+batch mode, the r binary adds full support for both shebang'-style scripting
+(i.e.  using a hash-mark-exclamation-path expression as the first line in
+scripts) as well as command-line use in standard Unix pipelines.  In other
+words, r provides the R language without the environment.")
+    (license license:gpl2+)))
+
 (define-public r-magrittr
   (package
     (name "r-magrittr")
-- 
2.39.2





Information forwarded to guix-patches <at> gnu.org:
bug#62733; Package guix-patches. (Sun, 09 Apr 2023 13:52:01 GMT) Full text and rfc822 format available.

Message #11 received at 62733 <at> debbugs.gnu.org (full text, mbox):

From: "(" <paren <at> disroot.org>
To: "kyle" <kyle <at> posteo.net>, <62733 <at> debbugs.gnu.org>
Cc: rekado <at> elephly.net
Subject: Re: [bug#62733] [PATCH] gnu: Add r-littler
Date: Sun, 09 Apr 2023 14:51:08 +0100
[Message part 1 (text/plain, inline)]
On Sun Apr 9, 2023 at 2:36 PM BST, kyle wrote:
> +    (native-inputs
> +     (list r-simplermarkdown automake autoconf zlib pkg-config))

zlib should be a regular input

    -- (
[signature.asc (application/pgp-signature, inline)]

Information forwarded to guix-patches <at> gnu.org:
bug#62733; Package guix-patches. (Fri, 14 Apr 2023 16:06:02 GMT) Full text and rfc822 format available.

Message #14 received at 62733 <at> debbugs.gnu.org (full text, mbox):

From: kyle <kyle <at> posteo.net>
To: 62733 <at> debbugs.gnu.org
Cc: rekado <at> elephly.net, Kyle Andrews <kyle <at> posteo.net>
Subject: [PATCH v3] gnu: Add r-littler
Date: Fri, 14 Apr 2023 16:05:40 +0000
From: Kyle Andrews <kyle <at> posteo.net>

---
 gnu/packages/statistics.scm | 36 ++++++++++++++++++++++++++++++++++++
 1 file changed, 36 insertions(+)

diff --git a/gnu/packages/statistics.scm b/gnu/packages/statistics.scm
index 628057a189..b960ed5631 100644
--- a/gnu/packages/statistics.scm
+++ b/gnu/packages/statistics.scm
@@ -1010,6 +1010,42 @@ (define-public r-labeling
 algorithms.")
     (license license:expat)))
 
+(define-public r-littler
+  (package
+    (name "r-littler")
+    (version "0.3.18")
+    (source (origin
+              (method url-fetch)
+              (uri (cran-uri "littler" version))
+              (sha256
+               (base32
+                "1lp6a62g3yhzr4pv9kynibv7k9pd546w6hifs1aficyxbyg4dgqq"))))
+    (properties `((upstream-name . "littler")))
+    (build-system r-build-system)
+    (arguments
+     (list
+      #:phases
+      #~(modify-phases %standard-phases
+	  (add-after 'install 'add-to-path
+	    (lambda _
+              (install-file
+	       "inst/bin/r"
+	       (string-append #$output "/bin")))))))
+    (inputs (list icu4c zlib))
+    (native-inputs
+     (list r-simplermarkdown automake autoconf pkg-config))
+    (home-page "https://github.com/eddelbuettel/littler")
+    (synopsis "R at the Command-Line via 'r'")
+    (description
+     "This package provides a scripting and command-line front-end is provided by r
+(aka littler') as a lightweight binary wrapper around the GNU R language and
+environment for statistical computing and graphics.  While R can be used in
+batch mode, the r binary adds full support for both shebang'-style scripting
+(i.e.  using a hash-mark-exclamation-path expression as the first line in
+scripts) as well as command-line use in standard Unix pipelines.  In other
+words, r provides the R language without the environment.")
+    (license license:gpl2+)))
+
 (define-public r-magrittr
   (package
     (name "r-magrittr")
-- 
2.39.2





Reply sent to Ricardo Wurmus <rekado <at> elephly.net>:
You have taken responsibility. (Mon, 17 Apr 2023 09:39:02 GMT) Full text and rfc822 format available.

Notification sent to kyle <kyle <at> posteo.net>:
bug acknowledged by developer. (Mon, 17 Apr 2023 09:39:02 GMT) Full text and rfc822 format available.

Message #19 received at 62733-done <at> debbugs.gnu.org (full text, mbox):

From: Ricardo Wurmus <rekado <at> elephly.net>
To: kyle <kyle <at> posteo.net>
Cc: 62733-done <at> debbugs.gnu.org
Subject: Re: [PATCH v3] gnu: Add r-littler
Date: Mon, 17 Apr 2023 11:37:33 +0200
Thanks, I applied it with a few changes with commit
a117510a8c9246f8e09577780ccaf3955f98d7ad.

-- 
Ricardo




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Mon, 15 May 2023 11:24:06 GMT) Full text and rfc822 format available.

This bug report was last modified 2 years and 39 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.