Crandore Hub

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.

Versions across snapshots

VersionRepositoryFileSize
1.20.4 2026-04-09 windows/windows R-4.5 getopt_1.20.4.zip 39.5 KiB

Dependencies (latest)

Imports

Suggests