{% set version = "1.12.2" %}
{% set name = "sparseMatrixStats" %}
{% set bioc = "3.17" %}

package:
  name: 'bioconductor-{{ name|lower }}'
  version: '{{ version }}'
source:
  url:
    - 'https://bioconductor.org/packages/{{ bioc }}/bioc/src/contrib/{{ name }}_{{ version }}.tar.gz'
    - 'https://bioconductor.org/packages/{{ bioc }}/bioc/src/contrib/Archive/{{ name }}/{{ 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: 7669451759bb18ece433548b067ac73e
build:
  number: 0
  rpaths:
    - lib/R/lib/
    - lib/
# Suggests: testthat (>= 2.1.0), knitr, bench, rmarkdown, BiocStyle
# SystemRequirements: C++11
requirements:
  host:
    - 'bioconductor-matrixgenerics >=1.12.0,<1.13.0'
    - r-base
    - r-matrix
    - 'r-matrixstats >=0.60.0'
    - r-rcpp
    - libblas
    - liblapack
  run:
    - 'bioconductor-matrixgenerics >=1.12.0,<1.13.0'
    - r-base
    - r-matrix
    - 'r-matrixstats >=0.60.0'
    - r-rcpp
  build:
    - {{ compiler('c') }}
    - {{ compiler('cxx') }}
    - make
test:
  commands:
    - '$R -e "library(''{{ name }}'')"'
about:
  home: 'https://bioconductor.org/packages/{{ bioc }}/bioc/html/{{ name }}.html'
  license: 'MIT + file LICENSE'
  summary: 'Summary Statistics for Rows and Columns of Sparse Matrices'
  description: 'High performance functions for row and column operations on sparse matrices. For example: col / rowMeans2, col / rowMedians, col / rowVars etc. Currently, the optimizations are limited to data in the column sparse format. This package is inspired by the matrixStats package by Henrik Bengtsson.'
  license_file: LICENSE

