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.

Version: 1.7.5
Depends: R (≥ 3.6.0)
Imports: methods, getopt (≥ 1.20.2)
Suggests: knitr (≥ 1.15.19), stringr, testthat
Published: 2024-04-16
DOI: 10.32614/CRAN.package.optparse
Author: Trevor L. Davis ORCID iD [aut, cre], 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]
Maintainer: Trevor L. Davis <trevor.l.davis at gmail.com>
BugReports: https://github.com/trevorld/r-optparse/issues
License: GPL-2 | GPL-3 [expanded from: GPL (≥ 2)]
Copyright: See file (inst/)COPYRIGHTS.
optparse copyright details
URL: https://github.com/trevorld/r-optparse
NeedsCompilation: no
Materials: README NEWS
CRAN checks: optparse results


Reference manual: optparse.pdf
Vignettes: optparse Command Line Option Parsing


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

Reverse dependencies:

Reverse imports: flowml, fmriqa, Maaslin2, numbat, PhenotypeSimulator, plinkQC, REPTILE, RIbench
Reverse suggests: enveomics.R, Macarron, PureCN, singleCellTK, TexExamRandomizer, W4MRUtils


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