{% set version = '1.3.3' %}

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

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

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

  sha256: 17625e89eb8be7a6dbb77e6bd9daca1ea1acff69026049f213e30edf2325999f

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

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

requirements:
  build:
    - r-base

  run:
    - r-base

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

about:
  home: https://CRAN.R-project.org/package=SMVar
  license: GPL
  summary: Implements the structural model for variances in order to detect differentially expressed
    genes from gene expression data
  license_family: GPL
extra:
   recipe-maintainers:
    - MathiasHaudgaard
    - FrodePedersen
    - ArneKr
    - Johanneskoester
    - Bgruening
    - Daler
    - Jdblischak
