Description Usage Arguments Examples
This function can be used to interact with the low-level functionality of the cmdline.arguments package. The match_args function takes a vector of commandline argmuments, parser arguments and other descriptors and returns a named list of extracted value from cmdArgs. The interface is however not user-friendly.
1 2 3 4 5 6 7 8 | match_args(
cmdArgs = commandArgs(TRUE),
parserArgs,
parserArgsRequired,
helpArg,
sarg,
larg
)
|
cmdArgs |
vector of commandline arguments. Defaults to commandArgs(TRUE) |
parserArgs |
arguments to be searched for |
parserArgsRequired |
logical vector indicaing whether an argument is strictly required |
helpArg |
the argument used if one seeks help with the package |
sarg |
short argument indicator (one letter arguments). No default |
larg |
long argument indicator (one or more letter). |
1 2 3 4 5 6 7 8 9 10 11 12 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.