argparse: Command Line Optional and Positional Argument Parser

A command line parser to be used with Rscript to write "#!" shebang scripts that gracefully accept positional and optional arguments and automatically generate usage.

Version: 1.1.1
Imports: proto (≥ 1.0.0), findpython, getopt (≥ 1.19), jsonlite
Suggests: knitr (≥ 1.15.19), testthat
Published: 2018-01-24
Author: Trevor L Davis. Ports examples from the argparse Python module by the Python Software Foundation. Ports examples from the getopt package by Allen Day.
Maintainer: Trevor L Davis <trevor.l.davis at>
License: GPL-2 | GPL-3 [expanded from: GPL (≥ 2)]
Copyright: See file (inst/)COPYRIGHTS.
argparse copyright details
NeedsCompilation: no
SystemRequirements: python (>= 3.2)
CRAN checks: argparse results


Reference manual: argparse.pdf
Vignettes: argparse Command Line Argument Parsing
Package source: argparse_1.1.1.tar.gz
Windows binaries: r-devel:, r-release:, r-oldrel:
OS X binaries: r-release: argparse_1.1.1.tgz, r-oldrel: argparse_1.1.1.tgz
Old sources: argparse archive

Reverse dependencies:

Reverse suggests: pkgmaker


Please use the canonical form to link to this page.