Package: getopt 1.20.4

getopt: C-Like 'getopt' Behavior

Package designed to be used with Rscript to write '#!' shebang scripts that accept short and long flags/options. Many users will prefer using instead the packages optparse or argparse which add extra features like automatically generated help option and usage, support for default values, positional argument support, etc.

Authors:Trevor L Davis [aut, cre], Allen Day [aut], Roman Zenka [ctb]

getopt_1.20.4.tar.gz
getopt_1.20.4.zip(r-4.5)getopt_1.20.4.zip(r-4.4)getopt_1.20.4.zip(r-4.3)
getopt_1.20.4.tgz(r-4.4-any)getopt_1.20.4.tgz(r-4.3-any)
getopt_1.20.4.tar.gz(r-4.5-noble)getopt_1.20.4.tar.gz(r-4.4-noble)
getopt_1.20.4.tgz(r-4.4-emscripten)getopt_1.20.4.tgz(r-4.3-emscripten)
getopt.pdf |getopt.html
getopt/json (API)
NEWS

# Install 'getopt' in R:
install.packages('getopt', repos = c('https://trevorld.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

Bug tracker:https://github.com/trevorld/r-getopt/issues

On CRAN:

8.85 score 13 stars 33 packages 1.5k scripts 12k downloads 3 mentions 3 exports 0 dependencies

Last updated 1 years agofrom:74be81da0d. Checks:7 OK. Indexed: yes.

TargetResultLatest binary
Doc / VignettesOKJan 09 2025
R-4.5-winOKJan 09 2025
R-4.5-linuxOKJan 09 2025
R-4.4-winOKJan 09 2025
R-4.4-macOKJan 09 2025
R-4.3-winOKJan 09 2025
R-4.3-macOKJan 09 2025

Exports:get_Rscript_filenamegetoptsort_list

Dependencies: