{% set version = "1.14.0" %}
{% set name = "GRridge" %}
{% set bioc = "3.12" %}

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: c88d47e144186ef0a5501760ebf33837
build:
  number: 1
  rpaths:
    - lib/R/lib/
    - lib/
  noarch: generic
# Suggests: testthat
requirements:
  host:
    - 'bioconductor-graph >=1.68.0,<1.69.0'
    - r-base
    - r-glmnet
    - r-iso
    - r-mvtnorm
    - r-penalized
    - r-survival
  run:
    - 'bioconductor-graph >=1.68.0,<1.69.0'
    - r-base
    - r-glmnet
    - r-iso
    - r-mvtnorm
    - r-penalized
    - r-survival
test:
  commands:
    - '$R -e "library(''{{ name }}'')"'
about:
  home: 'https://bioconductor.org/packages/{{ bioc }}/bioc/html/{{ name }}.html'
  license: GPL-3
  summary: 'Better prediction by use of co-data: Adaptive group-regularized ridge regression'
  description: 'This package allows the use of multiple sources of co-data (e.g. external p-values, gene lists, annotation) to improve prediction of binary, continuous and survival response using (logistic, linear or Cox) group-regularized ridge regression. It also facilitates post-hoc variable selection and prediction diagnostics by cross-validation using ROC curves and AUC.'
  license_file: '{{ environ["PREFIX"] }}/lib/R/share/licenses/GPL-3'

