Package: optparse 1.8.2

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.8.2.tar.gz
optparse_1.8.2.zip(r-4.7)optparse_1.8.2.zip(r-4.6)optparse_1.8.2.zip(r-4.5)
optparse_1.8.2.tgz(r-4.6-any)optparse_1.8.2.tgz(r-4.5-any)
optparse_1.8.2.tar.gz(r-4.7-any)optparse_1.8.2.tar.gz(r-4.6-any)
optparse_1.8.2.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
card.svg |card.png
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
Pkgdown/docs site:https://trevorldavis.com
Last updated from:a8287e9111. Checks:9 OK. Indexed: yes.
| Target | Result | Time | Files | Syslog |
|---|---|---|---|---|
| linux-devel-x86_64 | OK | 115 | ||
| source / vignettes | OK | 285 | ||
| linux-release-x86_64 | OK | 119 | ||
| macos-release-arm64 | OK | 119 | ||
| macos-oldrel-arm64 | OK | 115 | ||
| windows-devel | OK | 97 | ||
| windows-release | OK | 77 | ||
| windows-oldrel | OK | 82 | ||
| wasm-release | OK | 86 |
Exports:add_optionIndentedHelpFormattermake_optionOptionParserOptionParserOptionparse_argsparse_args2print_helpTitledHelpFormatter
Dependencies:
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 |
