optigrab: Command-Line Parsing for an R World

Parse options from the command-line using a simple, clean syntax. It requires little or no specification and supports short and long options, GNU-, Java- or Microsoft- style syntaxes, verb commands and more.

Author
Christopher Brown
Date of publication
2015-10-09 10:28:58
Maintainer
Christopher Brown <chris.brown@decisionpatterns.com>
License
GPL (>= 2) | file LICENSE
Version
0.7.3
URLs

View on CRAN

Man pages

gnu_style
GNU-style command line options
is.flag
Determine if/which vector element are options flags
java_style
Java-style command line options
ms_style
Microsoft-style command line options
opt_assign
Get option and assign to variables
opt_expand
Expand argument vector to split names from values This is an...
opt_get
Get option's values from the command-line
opt_get_args
Return arguments to Rscript
opt_get_path
Get path current running script
opt_get_verb
Get verb from the command line
opt_help
Automatic usage/help information
optigrab
Optigrab
opt_split_args
Split command arguments
opt_style
Get or set the optigrab style
str_to_opts
Split a string bases on whitespace
this_file
this_file

Files in this package

optigrab
optigrab/inst
optigrab/inst/doc
optigrab/inst/doc/coding-conventions.Rmd
optigrab/inst/doc/optigrab.Rmd
optigrab/inst/doc/coding-conventions.html
optigrab/inst/doc/optigrab.html
optigrab/tests
optigrab/tests/testthat.R
optigrab/tests/testthat
optigrab/tests/testthat/test-opt_get_verb.r
optigrab/tests/testthat/test-opt_get.r
optigrab/tests/testthat/test-is_flag.r
optigrab/tests/testthat/test-opt_expand.r
optigrab/tests/testthat/test-opt_grab.r
optigrab/tests/testthat/test-this_file.r
optigrab/NAMESPACE
optigrab/NEWS
optigrab/R
optigrab/R/opt_assign.R
optigrab/R/str_to_opts.R
optigrab/R/optigrab-package.R
optigrab/R/opt_expand.R
optigrab/R/opt_style.R
optigrab/R/opt_help.R
optigrab/R/opt_split_args.R
optigrab/R/opt_get_path.R
optigrab/R/opt_get_args.R
optigrab/R/is.flag.R
optigrab/R/opt_get.R
optigrab/R/opt_get_verb.R
optigrab/R/java_style.R
optigrab/R/opt_grab.R
optigrab/R/ms_style.R
optigrab/R/gnu_style.R
optigrab/R/this_file.R
optigrab/R/zzz.R
optigrab/vignettes
optigrab/vignettes/coding-conventions.Rmd
optigrab/vignettes/optigrab.Rmd
optigrab/README.md
optigrab/MD5
optigrab/build
optigrab/build/vignette.rds
optigrab/DESCRIPTION
optigrab/man
optigrab/man/this_file.Rd
optigrab/man/gnu_style.Rd
optigrab/man/opt_expand.Rd
optigrab/man/java_style.Rd
optigrab/man/opt_help.Rd
optigrab/man/opt_get_path.Rd
optigrab/man/is.flag.Rd
optigrab/man/str_to_opts.Rd
optigrab/man/optigrab.Rd
optigrab/man/opt_get_verb.Rd
optigrab/man/opt_get.Rd
optigrab/man/opt_split_args.Rd
optigrab/man/opt_style.Rd
optigrab/man/opt_assign.Rd
optigrab/man/opt_get_args.Rd
optigrab/man/ms_style.Rd
optigrab/LICENSE