CRAN
GetoptLong 0.1.7
Parsing Command-Line Arguments and Variable Interpolation
Released Jun 10, 2018 by Zuguang Gu
This package can be loaded by Renjin but 29 out 48 tests failed.
An older version of this package is
more compatible with Renjin.
Dependencies
This is yet another command-line argument parser which wraps the powerful Perl module Getopt::Long and with some adaptation for easier use in R. It also provides a simple way for variable interpolation in R.
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>GetoptLong</artifactId> <version>0.1.7-b3</version> </dependency> </dependencies> <repositories> <repository> <id>bedatadriven</id> <name>bedatadriven public repo</name> <url>https://nexus.bedatadriven.com/content/groups/public/</url> </repository> </repositories>
Renjin CLI
If you're using Renjin from the command line, you load this library by invoking:
library('org.renjin.cran:GetoptLong')
Test Results
This package was last tested against Renjin 0.9.2725 on May 4, 2019.
- GetOptions.rd
- GetoptLong.options.rd
- GetoptLong.rd
- Test_`GetoptLong`.--tag_1_--_/usr/bin/perl
- Test_`GetoptLong`.no_default_value_under_interactive_session
- Test_`GetoptLong`.test_`length=i`_E1
- Test_`GetoptLong`.test_`length=i`_E2
- Test_`GetoptLong`.test_`len|size=i`
- Test_`GetoptLong`.test_`tag=f`
- Test_`GetoptLong`.test_`tag=i%`
- Test_`GetoptLong`.test_`tag=i@`
- Test_`GetoptLong`.test_`tag=i`
- Test_`GetoptLong`.test_`tag=i{,3}`
- Test_`GetoptLong`.test_`tag=i{,}`
- Test_`GetoptLong`.test_`tag=i{2,3}`
- Test_`GetoptLong`.test_`tag=i{2,}`
- Test_`GetoptLong`.test_`tag=i{2}`
- Test_`GetoptLong`.test_`tag=o`
- Test_`GetoptLong`.test_`tag=s`
- Test_`GetoptLong`.test_`tag`
- Test_`GetoptLong`.test_`verbose!`
- Test_`GetoptLong`.test_`version`_and_`help`_options
- Test_`GetoptLong`.test_default_values_E1
- Test_`GetoptLong`.test_default_values_E2
- Test_`GetoptLong`.test_other_configurations
- Test_`GetoptLong`.test_simple
- Test_`qq`_and_`qqcat`.Simple_test_E1
- Test_`qq`_and_`qqcat`.Simple_test_E2
- Test_`qq`_and_`qqcat`.different_code_patterns_E1
- Test_`qq`_and_`qqcat`.different_code_patterns_E2
- Test_`qq`_and_`qqcat`.different_code_patterns_E3
- Test_`qq`_and_`qqcat`.different_code_patterns_E4
- Test_`qq`_and_`qqcat`.different_code_patterns_E5
- Test_`qq`_and_`qqcat`.different_code_patterns_E6
- Test_`qq`_and_`qqcat`.different_code_patterns_E7
- Test_`qq`_and_`qqcat`.different_code_patterns_E8
- Test_`qq`_and_`qqcat`.pass_a_list_as_an_environment_E1
- Test_`qq`_and_`qqcat`.pass_a_list_as_an_environment_E2
- Test_`qq`_and_`qqcat`.simple_template
- Test_`qq`_and_`qqcat`.test_`cat_prefix`
- Test_`qq`_and_`qqcat`.variables_are_multiple_element_vector_E1
- Test_`qq`_and_`qqcat`.variables_are_multiple_element_vector_E2
- get_scriptdir.rd
- get_scriptname.rd
- qq.options.rd
- qq.rd
- qqcat.rd
- test-all