GNU bug report logs -
#62733
[PATCH] gnu: Add r-littler
Previous Next
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.
Full log
View this message in rfc822 format
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
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.