Package: optigrab 0.9.2.1
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.
Authors:
optigrab_0.9.2.1.tar.gz
optigrab_0.9.2.1.zip(r-4.5)optigrab_0.9.2.1.zip(r-4.4)optigrab_0.9.2.1.zip(r-4.3)
optigrab_0.9.2.1.tgz(r-4.4-any)optigrab_0.9.2.1.tgz(r-4.3-any)
optigrab_0.9.2.1.tar.gz(r-4.5-noble)optigrab_0.9.2.1.tar.gz(r-4.4-noble)
optigrab_0.9.2.1.tgz(r-4.4-emscripten)optigrab_0.9.2.1.tgz(r-4.3-emscripten)
optigrab.pdf |optigrab.html✨
optigrab/json (API)
# Install 'optigrab' in R: |
install.packages('optigrab', repos = c('https://decisionpatterns.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/decisionpatterns/optigrab/issues
Last updated 6 years agofrom:0696dd4bf2. Checks:3 OK, 4 NOTE. Indexed: yes.
Target | Result | Latest binary |
---|---|---|
Doc / Vignettes | OK | Jan 12 2025 |
R-4.5-win | NOTE | Jan 12 2025 |
R-4.5-linux | NOTE | Jan 12 2025 |
R-4.4-win | NOTE | Jan 12 2025 |
R-4.4-mac | NOTE | Jan 12 2025 |
R-4.3-win | OK | Jan 12 2025 |
R-4.3-mac | OK | Jan 12 2025 |
Exports:gnu_stylejava_stylems_styleopt_assignopt_assign_allopt_fillopt_getopt_get_argsopt_get_gnuopt_get_javaopt_get_msopt_get_pathopt_get_verbopt_grabopt_helpopt_stylethis_file
Readme and manuals
Help Manual
Help page | Topics |
---|---|
GNU-style command line options | gnu_style |
Determine if/which vector element are options flags | is_flag which.flag |
Java-style command line options | java_style |
Microsoft-style command line options | ms_style |
Parse options and assign values | opt_assign opt_assign_all |
Expand opts to full vector | opt_expand |
opt_fill | opt_fill |
Get option's values from the command-line | opt_get opt_get_gnu opt_get_java opt_get_ms opt_grab |
Return arguments to Rscript | opt_get_args |
Get path current running script | opt_get_path |
Get verb from the command line | opt_get_verb |
Automatic usage/help information | opt_help |
Split command arguments | opt_split_args |
Get or set the optigrab style | opt_style styles |
Optigrab | optigrab-package optigrab |
Split a string bases on whitespace | str_to_opts |
this_file | this_file |