{% set posix = 'm2-' if win else '' %}
{% set native = 'm2w64-' if win else '' %}

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

source:
  fn: latticeExtra_0.6-28.tar.gz
  url:
    - http://cran.r-project.org/src/contrib/latticeExtra_0.6-28.tar.gz
    - http://cran.r-project.org/src/contrib/Archive/latticeExtra/latticeExtra_0.6-28.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: maps, mapproj, deldir, tripack, zoo, MASS, quantreg, mgcv
requirements:
  build:
    - r-base
    - r-rcolorbrewer
    - r-lattice

  run:
    - r-base
    - r-rcolorbrewer
    - r-lattice

test:
  commands:
    # You can put additional test commands to be run here.
    - $R -e "library('latticeExtra')" # [not win]
    - "\"%R%\" -e \"library('latticeExtra')\"" # [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: http://latticeextra.r-forge.r-project.org/
  license: GPL (>= 2)
  summary: Building on the infrastructure provided by the lattice package, this package provides
    several new high-level functions and methods, as well as additional utilities such
    as panel and axis annotation functions.
  license_family: GPL3

# The original CRAN metadata for this package was:

# Package: latticeExtra
# Version: 0.6-28
# Date: 2016-01-09
# Title: Extra Graphical Utilities Based on Lattice
# Author: Deepayan Sarkar <deepayan.sarkar@r-project.org>, Felix Andrews <felix@nfrac.org>
# Maintainer: Deepayan Sarkar <deepayan.sarkar@r-project.org>
# Description: Building on the infrastructure provided by the lattice package, this package provides several new high-level functions and methods, as well as additional utilities such as panel and axis annotation functions.
# Depends: R (>= 2.10.0), lattice, RColorBrewer
# Imports: grid, stats, utils, grDevices
# Suggests: maps, mapproj, deldir, tripack, zoo, MASS, quantreg, mgcv
# URL: http://latticeextra.r-forge.r-project.org/
# LazyLoad: yes
# LazyData: yes
# License: GPL (>= 2)
# NeedsCompilation: no
# Packaged: 2016-02-09 11:06:00 UTC; deepayan
# Repository: CRAN
# Date/Publication: 2016-02-09 14:36:31

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