CRAN

argparse 1.0.7

Command Line Optional and Positional Argument Parser

Released Aug 23, 2017 by Trevor L Davis. Ports examples from the argparse Python module by the Python Software Foundation. Ports examples from the getopt package by Allen Day.

This package can be loaded by Renjin but all tests failed.

Dependencies

proto 1.0.0 rjson getopt 1.20.0 findpython 1.0.2

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

Installation

Maven

This package can be included as a dependency from a Java or Scala project by including the following your project's pom.xml file. Read more about embedding Renjin in JVM-based projects.

<dependencies>
  <dependency>
    <groupId>org.renjin.cran</groupId>
    <artifactId>argparse</artifactId>
    <version>1.0.7-b7</version>
  </dependency>
</dependencies>
<repositories>
  <repository>
    <id>bedatadriven</id>
    <name>bedatadriven public repo</name>
    <url>https://nexus.bedatadriven.com/content/groups/public/</url>
  </repository>
</repositories>

View build log

Renjin CLI

If you're using Renjin from the command line, you load this library by invoking:

library('org.renjin.cran:argparse')

Test Results

This package was last tested against Renjin 0.8.2523 on Nov 12, 2017.