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

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

source:
  fn: AER_1.2-4.tar.gz
  url:
    - http://cran.r-project.org/src/contrib/AER_1.2-4.tar.gz
    - http://cran.r-project.org/src/contrib/Archive/AER/AER_1.2-4.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: boot, dynlm, effects, foreign, ineq, KernSmooth, lattice, MASS, mlogit, nlme, nnet, np, plm, pscl, quantreg, ROCR, sampleSelection, scatterplot3d, strucchange, systemfit, rgl, truncreg, tseries, urca
requirements:
  build:
    - r-base
    - r-formula >=0.2_0
    - r-car >=2.0_1
    - r-lmtest
    - r-sandwich
    - r-survival >=2.37_5
    - r-zoo

  run:
    - r-base
    - r-formula >=0.2_0
    - r-car >=2.0_1
    - r-lmtest
    - r-sandwich
    - r-survival >=2.37_5
    - r-zoo

test:
  commands:
    # You can put additional test commands to be run here.
    - $R -e "library('AER')" # [not win]
    - "\"%R%\" -e \"library('AER')\"" # [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:
  license: GPL-2 | GPL-3
  summary: Functions, data sets, examples, demos, and vignettes for the book Christian Kleiber
    and Achim Zeileis (2008), Applied Econometrics with R, Springer-Verlag, New York.
    ISBN 978-0-387-77316-2. (See the vignette for a package overview.)
  license_family: GPL3

# The original CRAN metadata for this package was:

# Package: AER
# Version: 1.2-4
# Date: 2015-06-06
# Title: Applied Econometrics with R
# Authors@R: c(person(given = "Christian", family = "Kleiber", role = "aut", email = "Christian.Kleiber@unibas.ch"), person(given = "Achim", family = "Zeileis", role = c("aut", "cre"), email = "Achim.Zeileis@R-project.org"))
# Description: Functions, data sets, examples, demos, and vignettes for the book Christian Kleiber and Achim Zeileis (2008), Applied Econometrics with R, Springer-Verlag, New York. ISBN 978-0-387-77316-2. (See the vignette for a package overview.)
# LazyLoad: yes
# Depends: R (>= 2.13.0), car (>= 2.0-1), lmtest, sandwich, survival (>= 2.37-5), zoo
# Suggests: boot, dynlm, effects, foreign, ineq, KernSmooth, lattice, MASS, mlogit, nlme, nnet, np, plm, pscl, quantreg, ROCR, sampleSelection, scatterplot3d, strucchange, systemfit, rgl, truncreg, tseries, urca
# Imports: stats, Formula (>= 0.2-0)
# License: GPL-2 | GPL-3
# NeedsCompilation: no
# Packaged: 2015-06-06 08:43:21 UTC; zeileis
# Author: Christian Kleiber [aut], Achim Zeileis [aut, cre]
# Maintainer: Achim Zeileis <Achim.Zeileis@R-project.org>
# Repository: CRAN
# Date/Publication: 2015-06-06 13:03:50

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