me
/
guix
Archived
1
0
Fork 0

gnu: Add r-littler.

* gnu/packages/cran.scm (r-littler): New variable.
master
Kyle Andrews 2023-04-14 16:05:40 +00:00 committed by Ricardo Wurmus
parent b95cd3f969
commit a117510a8c
No known key found for this signature in database
GPG Key ID: 197A5888235FACAC
1 changed files with 35 additions and 0 deletions

View File

@ -6698,6 +6698,41 @@ functions from LINPACK.")
;; Any GPL version.
(license (list license:gpl2+ license:gpl3+))))
(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 'install-executable
(lambda _
(install-file "inst/bin/r"
(string-append #$output "/bin")))))))
(inputs (list icu4c zlib))
(native-inputs
(list r-simplermarkdown 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 pipelines. In other words, r
provides the R language without the environment.")
(license license:gpl2+)))
(define-public r-fitdistrplus
(package
(name "r-fitdistrplus")