optparse: Command Line Option Parser

A command line parser inspired by Python's 'optparse' library to be used with Rscript to write "#!" shebang scripts that accept short and long flag/options.

Package details

AuthorTrevor L. Davis [aut, cre] (<https://orcid.org/0000-0001-6341-4639>), Allen Day [ctb] (Some documentation and examples ported from the getopt package.), Python Software Foundation [ctb] (Some documentation from the optparse Python module.), Steve Lianoglou [ctb], Jim Nikelski [ctb], Kirill Müller [ctb], Peter Humburg [ctb], Rich FitzJohn [ctb], Gyu Jin Choi [ctb]
MaintainerTrevor L. Davis <trevor.l.davis@gmail.com>
LicenseGPL (>= 2)
Version1.7.5
URL https://github.com/trevorld/r-optparse
Package repositoryView on CRAN
Installation Install the latest version of this package by entering the following in R:
install.packages("optparse")

Try the optparse package in your browser

Any scripts or data that you put into this service are public.

optparse documentation built on June 24, 2024, 5:17 p.m.