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.

Version: 1.20.4
Imports: stats
Suggests: testthat
Published: 2023-10-01
Author: Trevor L Davis ORCID iD [aut, cre], Allen Day [aut] (Original package author), Roman Zenka [ctb]
Maintainer: Trevor L Davis <trevor.l.davis at gmail.com>
BugReports: https://github.com/trevorld/r-getopt/issues
License: GPL-2 | GPL-3 [expanded from: GPL (≥ 2)]
URL: https://github.com/trevorld/r-getopt
NeedsCompilation: no
Materials: README NEWS
CRAN checks: getopt results

Documentation:

Reference manual: getopt.pdf

Downloads:

Package source: getopt_1.20.4.tar.gz
Windows binaries: r-devel: getopt_1.20.4.zip, r-release: getopt_1.20.4.zip, r-oldrel: getopt_1.20.4.zip
macOS binaries: r-release (arm64): getopt_1.20.4.tgz, r-oldrel (arm64): getopt_1.20.4.tgz, r-release (x86_64): getopt_1.20.4.tgz
Old sources: getopt archive

Reverse dependencies:

Reverse imports: artMS, optparse
Reverse suggests: SoilR

Linking:

Please use the canonical form https://CRAN.R-project.org/package=getopt to link to this page.