diff --git a/recipes/r-htssip/build.sh b/recipes/r-htssip/build.sh new file mode 100644 index 0000000000000..6b12898290847 --- /dev/null +++ b/recipes/r-htssip/build.sh @@ -0,0 +1,8 @@ +#!/bin/bash +if [[ $target_platform =~ linux.* ]] || [[ $target_platform == win-32 ]] || [[ $target_platform == win-64 ]] || [[ $target_platform == osx-64 ]]; then + export DISABLE_AUTOBREW=1 + $R CMD INSTALL --build . +else + mkdir -p $PREFIX/lib/R/library/HTSSIP + mv * $PREFIX/lib/R/library/HTSSIP +fi diff --git a/recipes/r-htssip/meta.yaml b/recipes/r-htssip/meta.yaml new file mode 100644 index 0000000000000..0fc6632db2279 --- /dev/null +++ b/recipes/r-htssip/meta.yaml @@ -0,0 +1,68 @@ +{% set version = '1.4.0' %} +{% set posix = '' %} +{% set native = '' %} + +package: + name: r-htssip + version: {{ version|replace("-", "_") }} + +source: + url: {{ cran_mirror }}/src/contrib/HTSSIP_{{ version }}.tar.gz + sha256: db93fe66ac3cbde74816cd4c1354e450b398f190fb291b9369b2e753e2e28e13 + +build: + number: 0 + rpaths: + - lib/R/lib/ + - lib/ + +requirements: + build: + host: + - r-base + - bioconductor-deseq2 >=1.16.1 + - r-ape >=4.1 + - r-coenocliner >=0.2.2 + - r-dplyr >=0.7.4 + - r-ggplot2 >=2.2.1 + - r-igraph >=1.1.2 + - r-lazyeval >=0.2.0 + - r-magrittr >=1.5 + - bioconductor-phyloseq >=1.20.0 + - r-plyr >=1.8.4 + - r-stringr >=1.2.0 + - r-tidyr >=0.7.2 + - r-vegan >=2.4.0 + run: + - r-base + - bioconductor-deseq2 >=1.16.1 + - r-ape >=4.1 + - r-coenocliner >=0.2.2 + - r-dplyr >=0.7.4 + - r-ggplot2 >=2.2.1 + - r-igraph >=1.1.2 + - r-lazyeval >=0.2.0 + - r-magrittr >=1.5 + - bioconductor-phyloseq >=1.20.0 + - r-plyr >=1.8.4 + - r-stringr >=1.2.0 + - r-tidyr >=0.7.2 + - r-vegan >=2.4.0 + +test: + commands: + - $R -e "library('HTSSIP')" + +about: + home: https://CRAN.R-project.org/package=HTSSIP + license: GPL-2 + summary: 'Functions for analyzing high throughput sequencing stable isotope probing (HTS-SIP) + data. Analyses include high resolution stable isotope probing (HR-SIP), multi-window + high resolution stable isotope probing (MW-HR-SIP), and quantitative stable isotope + probing (q-SIP).' + license_family: GPL2 + license_file: '{{ environ["PREFIX"] }}/lib/R/share/licenses/GPL-2' + +extra: + recipe-maintainers: + - nick-youngblut