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.4
Depends: R (≥ 3.6.0)
Imports: methods, getopt (≥ 1.20.2)
Suggests: knitr (≥ 1.15.19), stringr, testthat
Published: 2024-01-16
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

Documentation:

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

Downloads:

Package source: optparse_1.7.4.tar.gz
Windows binaries: r-devel: optparse_1.7.4.zip, r-release: optparse_1.7.4.zip, r-oldrel: optparse_1.7.4.zip
macOS binaries: r-release (arm64): optparse_1.7.4.tgz, r-oldrel (arm64): optparse_1.7.4.tgz, r-release (x86_64): optparse_1.7.4.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

Linking:

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