emacs-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#62733: closed ([PATCH] gnu: Add r-littler)


From: GNU bug Tracking System
Subject: bug#62733: closed ([PATCH] gnu: Add r-littler)
Date: Mon, 17 Apr 2023 09:39:02 +0000

Your message dated Mon, 17 Apr 2023 11:37:33 +0200
with message-id <875y9usvbc.fsf@elephly.net>
and subject line Re: [PATCH v3] gnu: Add r-littler
has caused the debbugs.gnu.org bug report #62733,
regarding [PATCH] gnu: Add r-littler
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs@gnu.org.)


-- 
62733: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=62733
GNU Bug Tracking System
Contact help-debbugs@gnu.org with problems
--- Begin Message --- Subject: [PATCH] gnu: Add r-littler Date: Sun, 9 Apr 2023 03:13:56 +0000
From: Kyle Andrews <kyle@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




--- End Message ---
--- Begin Message --- Subject: Re: [PATCH v3] gnu: Add r-littler Date: Mon, 17 Apr 2023 11:37:33 +0200 User-agent: mu4e 1.10.2; emacs 28.2
Thanks, I applied it with a few changes with commit
a117510a8c9246f8e09577780ccaf3955f98d7ad.

-- 
Ricardo


--- End Message ---

reply via email to

[Prev in Thread] Current Thread [Next in Thread]