all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: kyle <kyle@posteo.net>
To: 62733@debbugs.gnu.org
Cc: rekado@elephly.net, Kyle Andrews <kyle@posteo.net>
Subject: [bug#62733] [PATCH v3] gnu: Add r-littler
Date: Fri, 14 Apr 2023 16:05:40 +0000	[thread overview]
Message-ID: <211e245d7f8e899145bcf2325b23b6a4cf1fa9c6.1681488328.git.kyle@posteo.net> (raw)
In-Reply-To: <62733@debbugs.gnu.org>

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..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	other threads:[~2023-04-14 16:06 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <62733@debbugs.gnu.org>
2023-04-14 16:05 ` kyle [this message]
2023-04-17  9:37   ` bug#62733: [PATCH v3] gnu: Add r-littler Ricardo Wurmus

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=211e245d7f8e899145bcf2325b23b6a4cf1fa9c6.1681488328.git.kyle@posteo.net \
    --to=kyle@posteo.net \
    --cc=62733@debbugs.gnu.org \
    --cc=rekado@elephly.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.