r-getoptlong

Summary

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.

Versions

  • 0.1.0

License

GPL (>= 2)

Meta

package:
  name: r-getoptlong
  # Note that conda versions cannot contain -, so any -'s in the version have
  # been replaced with _'s.
  version: "0.1.0"

source:
  fn: GetoptLong_0.1.0.tar.gz
  url:
    - http://cran.r-project.org/src/contrib/GetoptLong_0.1.0.tar.gz
    - http://cran.r-project.org/src/contrib/Archive/GetoptLong/GetoptLong_0.1.0.tar.gz


  # You can add a hash for the file here, like md5 or sha1
  # md5: 49448ba4863157652311cc5ea4fea3ea
  # sha1: 3bcfbee008276084cbb37a2b453963c61176a322
  # patches:
   # List any patch files here
   # - fix.patch

build:
  # If this is a new build for the same version, increment the build
  # number. If you do not include this key, it defaults to 0.
  # number: 1

  # This is required to make R link correctly on Linux.
  rpaths:
    - lib/R/lib/
    - lib/

# Suggests: testthat (>= 0.3), knitr
requirements:
  build:
    - r
    - r-globaloptions >=0.0.6
    - r-rjson

  run:
    - r
    - r-globaloptions >=0.0.6
    - r-rjson

test:
  commands:
    # You can put additional test commands to be run here.
    - $R -e "library('GetoptLong')" # [not win]
    - "\"%R%\" -e \"library('GetoptLong')\"" # [win]

  # You can also put a file called run_test.py, run_test.sh, or run_test.bat
  # in the recipe that will be run at test time.

  # requires:
    # Put any additional test requirements here.

about:
  home: https://github.com/jokergoo/GetoptLong
  license: GPL (>= 2)
  summary: 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.

# The original CRAN metadata for this package was:

# Package: GetoptLong
# Type: Package
# Title: Parsing Command-Line Arguments and Variable Interpolation
# Version: 0.1.0
# Date: 2015-3-8
# Author: Zuguang Gu
# Maintainer: Zuguang Gu <z.gu@dkfz.de>
# Depends: R (>= 2.10.0)
# Suggests: testthat (>= 0.3), knitr
# VignetteBuilder: knitr
# Imports: rjson, methods, GlobalOptions (>= 0.0.6)
# Description: 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.
# URL: https://github.com/jokergoo/GetoptLong
# SystemRequirements: Perl, Getopt::Long
# License: GPL (>= 2)
# Packaged: 2015-03-09 09:55:20 UTC; IBM
# Repository: CRAN
# Date/Publication: 2015-03-09 12:47:36
# NeedsCompilation: no

# See
# http://docs.continuum.io/conda/build.html for
# more information about meta.yaml