/usr/lib/R/site-library/optparse/NEWS is in r-cran-optparse 1.2.0-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 | optparse 1.2.0
==============
* Parameter ``positional_arguments`` of function ``parse_args`` now accepts one
or two numeric values that denote the minimum and maximum number of supported
positional arguments.
Thanks Kirill Müller for patch.
* If ``interactive() == TRUE`` then ``parse_args`` will no longer ``quit(status=1)`` after printing a help message
but will instead throw an error. ``argparse`` will continue to ``quit(status=1)`` after printing a help message
for non-interactive Rscripts unless ``print_help_and_exit == FALSE``.
optparse 1.1.0
==============
* In ``make_option`` argument ``type="numeric"`` automatically cast to ``double``.
Previously users might have received an error passing negative numbers if they
accidentally specified "numeric" instead of "double".
* Bug fixed in printing usage message for options with default value of NA
and a help string including "%default".
Thanks Stefan Seemayer for bug report and patch.
optparse 1.0.2
==============
* Project website moved to https://github.com/trevorld/optparse
* We now replace all occurrences of %prog in usage message (including description and epilogue).
Previously we would only replace one occurrence and didn't make replacements in description and epilogue.
* Fix bug in ``parse_args`` when we have options with no short flag and positional_arguments=TRUE.
Thanks Miroslav Posta for bug report.
optparse 1.0.0
==============
* Added `description` and `epilogue` arguments to `OptionParser` to allow
users to add more information to generated help messages
* Slightly alters the generated usage string
to match more closely what the Python module does
* No longer exports S4 classes that represent OptionParser and OptionParserOption
* Now requires package getopt (>= 1.19) which has also been moved to
Imports field from Depends field in DESCRIPTION
* Now also Suggests stringr package in DESCRIPTION
|