Description Usage Format Examples
This function produces the argument parsing object.
1 |
An object of class R6ClassGenerator
of length 24.
1 2 3 4 | args <- arg_parser() %>%
add_option(c('--verbose', '-v'), is_flag = TRUE, help = 'Prints verbose output.') %>%
add_option('--multiply', type = 'numeric', help = 'Multiply by given number.') %>%
parse_args(args = c('--verbose', '--multiply', '3'))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.