{% set version = '1.0.2' %}

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

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

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

  sha256: 0affd7f4eb25635b2410110f381809b751655a7f3709f2bc1183e0eb8f6be7f7

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

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

requirements:
  build:
    - r-base

  run:
    - r-base

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

about:
  home: https://CRAN.R-project.org/package=metaRNASeq
  license: GPL
  summary: Implementation of two p-value combination techniques (inverse normal and Fisher methods).
    A vignette is provided to explain how to perform a meta-analysis from two independent
    RNA-seq experiments.
  license_family: GPL
extra:
   recipe-maintainers:
    - MathiasHaudgaard
    - FrodePedersen
    - ArneKr
    - johanneskoester
    - bgruening
    - daler
    - jdblischak
