{% set version = "3.34.0" %}
{% set name = "CGEN" %}
{% set bioc = "3.16" %}

package:
  name: 'bioconductor-{{ name|lower }}'
  version: '{{ version }}'
source:
  url:
    - 'https://bioconductor.org/packages/{{ bioc }}/bioc/src/contrib/{{ name }}_{{ version }}.tar.gz'
    - 'https://bioarchive.galaxyproject.org/{{ name }}_{{ version }}.tar.gz'
    - 'https://depot.galaxyproject.org/software/bioconductor-{{ name|lower }}/bioconductor-{{ name|lower }}_{{ version }}_src_all.tar.gz'
  md5: e9bf77b09a94b53a3c3e1f6052ec007a
build:
  number: 0
  rpaths:
    - lib/R/lib/
    - lib/
# Suggests: cluster
requirements:
  host:
    - r-base
    - r-mvtnorm
    - r-survival
    - libblas
    - liblapack
  run:
    - r-base
    - r-mvtnorm
    - r-survival
  build:
    - {{ compiler('c') }}
    - {{ compiler('fortran') }}
    - make
test:
  commands:
    - '$R -e "library(''{{ name }}'')"'
about:
  home: 'https://bioconductor.org/packages/{{ bioc }}/bioc/html/{{ name }}.html'
  license: 'GPL-2 + file LICENSE'
  summary: 'An R package for analysis of case-control studies in genetic epidemiology'
  description: 'This is a package for analysis of case-control data in genetic epidemiology. It provides a set of statistical methods for evaluating gene-environment (or gene-genes) interactions under multiplicative and additive risk models, with or without assuming gene-environment (or gene-gene) independence in the underlying population.'
  license_file: LICENSE

