{% set version = '1.1.0' %}

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

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

source:
  fn: pinfsc50_{{ version }}.tar.gz
  url:
    - https://cran.r-project.org/src/contrib/pinfsc50_{{ version }}.tar.gz
    - https://cran.r-project.org/src/contrib/Archive/pinfsc50/pinfsc50_{{ version }}.tar.gz

  sha256: b6b9b6365a3f408533264d7ec820494f57eccaf362553e8478a46a8e5b474aba

build:
  number: 0
  skip: true  # [win32]

  rpaths:
    - lib/R/lib/
    - lib/

requirements:
  build:
    - r-base

  run:
    - r-base

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

about:
  home: https://CRAN.R-project.org/package=pinfsc50
  license: GPL
  summary: Genomic data for the plant pathogen "Phytophthora infestans." It includes a variant
    file ('VCF'), a sequence file ('FASTA') and an annotation file ('GFF'). This package
    is intended to be used as example data for packages that work with genomic data.
  license_family: GPL
extra:
   recipe-maintainers:
    - MathiasHaudgaard
    - FrodePedersen
    - ArneKr
    - johanneskoester
    - bgruening
    - daler
    - jdblischak
