Package: optparse 1.7.5
optparse: Command Line Option Parser
A command line parser inspired by Python's 'optparse' library to be used with Rscript to write "#!" shebang scripts that accept short and long flag/options.
Authors:
optparse_1.7.5.tar.gz
optparse_1.7.5.zip(r-4.5)optparse_1.7.5.zip(r-4.4)optparse_1.7.5.zip(r-4.3)
optparse_1.7.5.tgz(r-4.4-any)optparse_1.7.5.tgz(r-4.3-any)
optparse_1.7.5.tar.gz(r-4.5-noble)optparse_1.7.5.tar.gz(r-4.4-noble)
optparse_1.7.5.tgz(r-4.4-emscripten)optparse_1.7.5.tgz(r-4.3-emscripten)
optparse.pdf |optparse.html✨
optparse/json (API)
NEWS
# Install 'optparse' in R: |
install.packages('optparse', repos = c('https://trevorld.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/trevorld/r-optparse/issues
Last updated 6 months agofrom:a7f641dba9. Checks:OK: 7. Indexed: yes.
Target | Result | Date |
---|---|---|
Doc / Vignettes | OK | Nov 13 2024 |
R-4.5-win | OK | Nov 13 2024 |
R-4.5-linux | OK | Nov 13 2024 |
R-4.4-win | OK | Nov 13 2024 |
R-4.4-mac | OK | Nov 13 2024 |
R-4.3-win | OK | Nov 13 2024 |
R-4.3-mac | OK | Nov 13 2024 |
Exports:add_optionIndentedHelpFormattermake_optionOptionParserOptionParserOptionparse_argsparse_args2print_helpTitledHelpFormatter
Dependencies:getopt
Readme and manuals
Help Manual
Help page | Topics |
---|---|
Command line option parser | optparse-package optparse |
Builtin help text formatters | IndentedHelpFormatter TitledHelpFormatter |
Functions to enable our OptionParser to recognize specific command line options. | add_option make_option |
A function to create an instance of a parser object | OptionParser |
Option Parser | OptionParser-class |
Class to hold information about command-line options | OptionParserOption OptionParserOption-class |
Parse command line options. | parse_args parse_args2 |
Printing an usage message from an OptionParser object | print_help |