From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ricardo Wurmus Subject: Re: [PATCH 6/7] gnu: Add r-getopt. * gnu/packages/bioinformatics.scm (r-getopt): New variable. --- gnu/packages/bioinformatics.scm | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) Date: Mon, 19 Sep 2016 14:43:18 +0200 Message-ID: <87bmzkm55l.fsf@elephly.net> References: <87d1k5s88e.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:60253) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1blxv4-0004KN-S1 for guix-devel@gnu.org; Mon, 19 Sep 2016 08:43:38 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1blxuz-0006CJ-VU for guix-devel@gnu.org; Mon, 19 Sep 2016 08:43:33 -0400 In-reply-to: <87d1k5s88e.fsf@gnu.org> List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: Roel Janssen Cc: guix-devel@gnu.org There seems to be something wrong with the summary. Did you forget to leave the second line empty? > diff --git a/gnu/packages/bioinformatics.scm b/gnu/packages/bioinformatics.scm > index af32d66..902d1d2 100644 > --- a/gnu/packages/bioinformatics.scm > +++ b/gnu/packages/bioinformatics.scm > @@ -5404,6 +5404,28 @@ functionality.") > scripts that accept short and long flag/options.") > (license license:gpl2+))) > > +(define-public r-getopt > + (package > + (name "r-getopt") > + (version "1.20.0") > + (source > + (origin > + (method url-fetch) > + (uri (cran-uri "getopt" version)) > + (sha256 > + (base32 > + "00f57vgnzmg7cz80rjmjz1556xqcmx8nhrlbbhaq4w7gl2ibl87r")))) > + (build-system r-build-system) > + (home-page "https://github.com/trevorld/getopt") > + (synopsis "C-like getopt behavior") This is a bit cryptic. If you can, replace “behavior” with something more … tangible. > + (description > + "Package designed to be used with Rscript to write ``#!'' shebang > +scripts that accept short and long flags/options. Many users will prefer > +using instead the packages optparse or argparse which add extra features > +like automatically generated help option and usage, support for default > +values, positional argument support, etc.") Here’s what I wrote for my version of the package: “This package is designed to be used with Rscript to write shebang scripts that accept short and long options. Many users will prefer to use the packages @code{optparse} or @code{argparse} which add extra features like automatically generated help options and usage texts, support for default values, positional argument support, etc.” ~~ Ricardo