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

Documentation

Manual: argparse.pdf
Vignette: argparse Command Line Argument Parsing

Maintainer: Trevor L Davis <trevor.l.davis at gmail.com>

Author(s): Trevor L Davis. Ports examples from the argparse Python module by the Python Software Foundation. Ports examples from the getopt package by Allen Day.

Install package and any missing dependencies by running this line in your R console:

install.packages("argparse")

Depends proto
Imports findpython, getopt(>=1.19), rjson
Suggests knitr, testthat
Enhances
Linking to
Reverse
depends
Reverse
imports
Reverse
suggests
pkgmaker
Reverse
enhances
Reverse
linking to

Package argparse
Materials
URL https://github.com/trevorld/argparse
Task Views
Version 1.0.4
Published 2016-10-28
License GPL (>= 2)
BugReports https://github.com/trevorld/argparse/issues
SystemRequirements python (>= 2.7)
NeedsCompilation no
Citation
CRAN checks argparse check results
Package source argparse_1.0.4.tar.gz