{% set version = "2.0.0" %}
{% set name = "onlineFDR" %}
{% set bioc = "3.13" %}

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: 8743562f4e45794a903a474a0cec14de
build:
  number: 0
  rpaths:
    - lib/R/lib/
    - lib/
# Suggests: knitr, rmarkdown, testthat, covr
requirements:
  host:
    - r-base
    - r-dplyr
    - r-ggplot2
    - r-progress
    - r-rcpp
    - r-rcppprogress
    - r-tidyr
    - libblas
    - liblapack
  run:
    - r-base
    - r-dplyr
    - r-ggplot2
    - r-progress
    - r-rcpp
    - r-rcppprogress
    - r-tidyr
  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-3
  summary: 'Online error control'
  description: 'This package allows users to control the false discovery rate (FDR) or familywise error rate (FWER) for online hypothesis testing, where hypotheses arrive sequentially in a stream. In this framework, a null hypothesis is rejected based only on the previous decisions, as the future p-values and the number of hypotheses to be tested are unknown.'
  license_file: '{{ environ["PREFIX"] }}/lib/R/share/licenses/GPL-3'

