all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Ricardo Wurmus <rekado@elephly.net>
To: Roel Janssen <roel@gnu.org>
Cc: guix-devel@gnu.org
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	[thread overview]
Message-ID: <87bmzkm55l.fsf@elephly.net> (raw)
In-Reply-To: <87d1k5s88e.fsf@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

      reply	other threads:[~2016-09-19 12:43 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-09-15 11:38 [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(+) Roel Janssen
2016-09-19 12:43 ` Ricardo Wurmus [this message]

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=87bmzkm55l.fsf@elephly.net \
    --to=rekado@elephly.net \
    --cc=guix-devel@gnu.org \
    --cc=roel@gnu.org \
    /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.