From 555773932d6391aaf2285cbfdc9b4b99f86d4c19 Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Mon, 22 Jan 2018 15:48:03 +0100 Subject: gnu: Add r-argparser. * gnu/packages/cran.scm (r-argparser): New variable. --- gnu/packages/cran.scm | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm index 62dc6a9bd7..cb39772ae5 100644 --- a/gnu/packages/cran.scm +++ b/gnu/packages/cran.scm @@ -1840,3 +1840,24 @@ (define-public r-cli attractive command line interfaces (CLIs). It includes tools for drawing rules, boxes, trees, and Unicode symbols with ASCII alternatives.") (license license:expat))) + +(define-public r-argparser + (package + (name "r-argparser") + (version "0.4") + (source + (origin + (method url-fetch) + (uri (cran-uri "argparser" version)) + (sha256 + (base32 + "0s1wxshx4jk69wfxhycx973q6y8cmqrfymyjklhq1i8xrj0kmmx9")))) + (build-system r-build-system) + (home-page "https://bitbucket.org/djhshih/argparser") + (synopsis "Command-line argument parser") + (description + "This package provides a cross-platform command-line argument parser +written purely in R with no external dependencies. It is useful with the +Rscript front-end and facilitates turning an R script into an executable +script.") + (license license:gpl3+))) -- cgit v1.2.3