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

package:
  name: r-easyverification
  version: {{ version|replace("-", "_") }}

source:
  url:
    - {{ cran_mirror }}/src/contrib/easyVerification_{{ version }}.tar.gz
    - {{ cran_mirror }}/src/contrib/Archive/easyVerification/easyVerification_{{ version }}.tar.gz
  sha256: ed2c8c5a37f933b1ab34f9e5c0fda57ab34b88b154cba0d9913b809e5580b122

build:
  merge_build_host: True  # [win]
  number: 1
  rpaths:
    - lib/R/lib/
    - lib/

requirements:
  build:
    - {{ compiler('c') }}              # [not win]
    - {{ compiler('m2w64_c') }}        # [win]
    - {{ compiler('cxx') }}            # [not win]
    - {{ compiler('m2w64_cxx') }}      # [win]
    - {{ posix }}filesystem        # [win]
    - {{ posix }}make
    - {{ posix }}sed               # [win]
    - {{ posix }}coreutils         # [win]
    - {{ posix }}zip               # [win]
    - cross-r-base {{ r_base }}    # [build_platform != target_platform]
  host:
    - r-base
    - r-rcpp >=0.12.9
    - r-specsverification >=0.5
    - r-pbapply
  run:
    - r-base
    - {{ native }}gcc-libs         # [win]
    - r-rcpp >=0.12.9
    - r-specsverification >=0.5
    - r-pbapply

test:
  commands:
    - $R -e "library('easyVerification')"           # [not win]
    - "\"%R%\" -e \"library('easyVerification')\""  # [win]

about:
  home: http://www.meteoswiss.ch
  summary: Set of tools to simplify application of atomic forecast verification metrics for (comparative)
    verification of ensemble forecasts to large data sets. The forecast metrics are
    imported from the 'SpecsVerification' package, and additional forecast metrics are
    provided with this package. Alternatively, new user-defined forecast scores can
    be implemented using the example scores provided and applied using the functionality
    of this package.
  license: GPL-3.0-only
  license_family: GPL3
  license_file:
    - '{{ environ["PREFIX"] }}/lib/R/share/licenses/GPL-3'

extra:
  recipe-maintainers:
    - conda-forge/r
    - cofinoa
    

# Package: easyVerification
# Title: Ensemble Forecast Verification for Large Data Sets
# Version: 0.4.4
# Date: 2017-12-04
# Authors@R: c(person("MeteoSwiss", role=c("aut", "cph")), person("Jonas", "Bhend",  role = c("cre"), email='jonas.bhend@meteoswiss.ch'), person("Jacopo", "Ripoldi", role="ctb"), person("Claudia", "Mignani", role="ctb"), person("Irina", "Mahlstein", role="ctb"), person("Rebecca", "Hiller", role="ctb"), person("Christoph", "Spirig", role="ctb"), person("Mark", "Liniger", role="ctb"), person("Andreas", "Weigel", role="ctb"), person("Joaqu\'in", "Bedia Jimenez", role='ctb'), person("Matteo", "De Felice", role='ctb'), person("Stefan", "Siegert", role="ctb"), person("Katrin", "Sedlmeier", role='ctb'))
# Description: Set of tools to simplify application of atomic forecast verification metrics for (comparative) verification of ensemble forecasts to large data sets. The forecast metrics are imported from the 'SpecsVerification' package, and additional forecast metrics are provided with this package. Alternatively, new user-defined forecast scores can be implemented using the example scores provided and applied using the functionality of this package.
# Depends: R (>= 3.0), SpecsVerification (>= 0.5), stats, utils
# Imports: pbapply, Rcpp (>= 0.12.9)
# Suggests: testthat, knitr, rmarkdown, parallel, R.rsp, verification
# LinkingTo: Rcpp
# License: GPL-3
# Copyright: MeteoSwiss
# LazyData: true
# URL: http://www.meteoswiss.ch
# VignetteBuilder: rmarkdown, R.rsp
# RoxygenNote: 6.0.1
# NeedsCompilation: yes
# Packaged: 2017-12-04 08:58:44 UTC; bhj
# Author: MeteoSwiss [aut, cph], Jonas Bhend [cre], Jacopo Ripoldi [ctb], Claudia Mignani [ctb], Irina Mahlstein [ctb], Rebecca Hiller [ctb], Christoph Spirig [ctb], Mark Liniger [ctb], Andreas Weigel [ctb], Joaqu'in Bedia Jimenez [ctb], Matteo De Felice [ctb], Stefan Siegert [ctb], Katrin Sedlmeier [ctb]
# Maintainer: Jonas Bhend <jonas.bhend@meteoswiss.ch>
# Repository: CRAN
# Date/Publication: 2017-12-04 09:11:43 UTC
