Package: defineOptions 0.9
defineOptions: Define and Parse Command Line Options
Parses command line arguments and supplies values to scripts. Users can specify names to which parsed inputs are assigned, value types into which inputs are cast, long options or short options, input splitters and callbacks that define how options should be specified and how input values are supplied.
Authors:
defineOptions_0.9.tar.gz
defineOptions_0.9.zip(r-4.5)defineOptions_0.9.zip(r-4.4)defineOptions_0.9.zip(r-4.3)
defineOptions_0.9.tgz(r-4.4-any)defineOptions_0.9.tgz(r-4.3-any)
defineOptions_0.9.tar.gz(r-4.5-noble)defineOptions_0.9.tar.gz(r-4.4-noble)
defineOptions_0.9.tgz(r-4.4-emscripten)defineOptions_0.9.tgz(r-4.3-emscripten)
defineOptions.pdf |defineOptions.html✨
defineOptions/json (API)
# Install 'defineOptions' in R: |
install.packages('defineOptions', repos = c('https://niceume.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/niceume/defineoptions/issues
Last updated 1 years agofrom:4ecdd33ae4. Checks:OK: 7. Indexed: yes.
Target | Result | Date |
---|---|---|
Doc / Vignettes | OK | Nov 05 2024 |
R-4.5-win | OK | Nov 05 2024 |
R-4.5-linux | OK | Nov 05 2024 |
R-4.4-win | OK | Nov 05 2024 |
R-4.4-mac | OK | Nov 05 2024 |
R-4.3-win | OK | Nov 05 2024 |
R-4.3-mac | OK | Nov 05 2024 |
Exports:define_optionnew_parser_defopt_optional_input_disallowedopt_optional_input_requiredopt_required_input_requiredparse_with_defs
Dependencies:
Readme and manuals
Help Manual
Help page | Topics |
---|---|
Define and Parse Command Line Options | defineOptions-package defineOptions |
Built-in callbacks for option definitions | callbacks opt_optional_input_disallowed opt_optional_input_required opt_required_input_required |
Function to define an option for argument parsing | define_option define_option,ParserDef,list-method |
Constructor of ParserDef class | new_parser_def |
Function to parse command line arguments with ParserDef S4 object | parse_with_defs parse_with_defs,ParserDef,character-method |
ParserDef S4 class | ParserDef ParserDef-class |
Summarize parsed_result S3 object | summary.parsed_result |