{% set version = '0.0.9' %}

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

source:
  fn: rvcheck_{{ version }}.tar.gz
  url:
    - https://cran.r-project.org/src/contrib/rvcheck_{{ version }}.tar.gz
    - https://cran.r-project.org/src/contrib/Archive/rvcheck/rvcheck_{{ version }}.tar.gz
  sha256: 6e7be7b029d28181a1b57ebd4d25978f3459722ffdb45a3698157a7f943bea92

build:
  number: 0
  skip: true  # [win32]
  rpaths:
    - lib/R/lib/
    - lib/

requirements:
  build:
    - r-base

  run:
    - r-base

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

about:
  home: https://CRAN.R-project.org/package=rvcheck
  license: Artistic-2.0
  summary: Check latest release version of R and R package (both in 'CRAN', 'Bioconductor' or
    'Github').

extra:
  recipe-maintainers:
    - bgruening
    - daler
    - johanneskoester
    - rvalieris
