{% set version = "1.10.0" %}
{% set name = "graper" %}
{% set bioc = "3.14" %}

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 }}/bioconductor-{{ name }}_{{ version }}_src_all.tar.gz'
  md5: 35a8ee5478c5dc5f27299602e20277cb
build:
  number: 0
  rpaths:
    - lib/R/lib/
    - lib/
# Suggests: knitr, rmarkdown, BiocStyle, testthat
requirements:
  host:
    - r-base
    - r-bh
    - r-cowplot
    - r-ggplot2
    - r-matrix
    - r-matrixstats
    - r-rcpp
    - r-rcpparmadillo
    - libblas
    - liblapack
  run:
    - r-base
    - r-bh
    - r-cowplot
    - r-ggplot2
    - r-matrix
    - r-matrixstats
    - r-rcpp
    - r-rcpparmadillo
  build:
    - {{ compiler('c') }}
    - {{ compiler('cxx') }}
    - make
test:
  commands:
    - '$R -e "library(''{{ name }}'')"'
about:
  home: 'https://bioconductor.org/packages/{{ bioc }}/bioc/html/{{ name }}.html'
  license: 'GPL (>= 2)'
  summary: 'Adaptive penalization in high-dimensional regression and classification with external covariates using variational Bayes'
  description: 'This package enables regression and classification on high-dimensional data with different relative strengths of penalization for different feature groups, such as different assays or omic types. The optimal relative strengths are chosen adaptively. Optimisation is performed using a variational Bayes approach.'
  license_file: '{{ environ["PREFIX"] }}/lib/R/share/licenses/GPL-3'

