Releases: trevorld/r-optparse
Releases · trevorld/r-optparse
optparse 1.7.5
optparse 1.7.4
- Revises vignette engine specification in the
DESCRIPTION
to suppress new CRAN check NOTE (#43).
optparse 1.7.3
-
The errors raised by
parse_args()
(andparse_args2()
) are now of class "optparse_parse_error".When
interactive()
isFALSE
we now print out a usage string followed by
a (less verbose) error message. -
Throws a more informative error message for unknown short flags when
positional_arguments=TRUE
.
Thanks Greg Minshall for bug report (#42).
optparse 1.7.1
- Add a
formatter
argument toOptionParser()
for a function to format the usage message (#30).
By default uses the new functionIndentedHelpFormatter()
.
{optparse}
also provides the new functionTitledHelpFormatter()
.
Thanks Ni Huang for suggestion.
optparse 1.6.6
- Throws an error for unknown short flags and long flags when
positional_arguments=TRUE
.
Thanks Greg Minshall for bug report (#34). - If the
callback
parameter ofadd_option
/make_option
is notNULL
then
the default ofaction
is now"callback"
. Thanks Greg Minshall for suggestion (#35). - Better documentation of
action=="callback"
in the man page foradd_option
andmake_option
.
Thanks Greg Minshall for bug report (#35).
optparse 1.6.4
optparse 1.6.2
- Fixs a parsing bug when
action=="callback"
andpositional_argument==TRUE
(#28). Thanks Ni Huang for bug report.
optparse 1.6.1
- Improve accuracy of README (#27). Thanks Alex Penson for bug report.
optparse 1.6.0
- Support for callback actions (#26). Thanks Gyu Jin Choi for patch.