Package: getopt 1.21.1

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:
getopt_1.21.1.tar.gz
getopt_1.21.1.zip(r-4.7)getopt_1.21.1.zip(r-4.6)getopt_1.21.1.zip(r-4.5)
getopt_1.21.1.tgz(r-4.6-any)getopt_1.21.1.tgz(r-4.5-any)
getopt_1.21.1.tar.gz(r-4.7-any)getopt_1.21.1.tar.gz(r-4.6-any)
getopt_1.21.1.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
DESCRIPTION |NEWS
card.svg |card.png
getopt/json (API)
| # Install 'getopt' in R: |
| install.packages('getopt', repos = c('https://trevorld.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/trevorld/r-getopt/issues
Last updated from:e5ec356541. Checks:9 OK. Indexed: yes.
| Target | Result | Time | Files | Syslog |
|---|---|---|---|---|
| linux-devel-x86_64 | OK | 137 | ||
| source / vignettes | OK | 252 | ||
| linux-release-x86_64 | OK | 97 | ||
| macos-release-arm64 | OK | 97 | ||
| macos-oldrel-arm64 | OK | 78 | ||
| windows-devel | OK | 84 | ||
| windows-release | OK | 78 | ||
| windows-oldrel | OK | 78 | ||
| wasm-release | OK | 95 |
Exports:get_Rscript_filenamegetfilegetoperandgetoptgetusagesort_list
Dependencies:
Readme and manuals
Help Manual
| Help page | Topics |
|---|---|
| Returns file name being interpreted by Rscript | getfile get_Rscript_filename |
| Extract positional arguments from a getopt result | getoperand |
| C-like getopt behavior | getopt-package getopt |
| Generate a usage string | getusage |
| Recursively sorts a list | sort_list |
