forked from conda-forge/staged-recipes
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request conda-forge#5907 from leylabmpi/master
Add r-caper recipe
- Loading branch information
Showing
6 changed files
with
144 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
"%R%" CMD INSTALL --build . | ||
IF %ERRORLEVEL% NEQ 0 exit 1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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/caper | ||
mv * $PREFIX/lib/R/library/caper | ||
fi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,57 @@ | ||
{% set version = '1.0.1' %} | ||
{% set posix = 'm2-' if win else '' %} | ||
{% set native = 'm2w64-' if win else '' %} | ||
{% set cran_mirror = 'https://cran.r-project.org' %} | ||
|
||
package: | ||
name: r-caper | ||
version: {{ version|replace("-", "_") }} | ||
|
||
source: | ||
fn: caper_{{ version }}.tar.gz | ||
url: | ||
- {{ cran_mirror }}/src/contrib/caper_{{ version }}.tar.gz | ||
- {{ cran_mirror }}/src/contrib/Archive/caper/caper_{{ version }}.tar.gz | ||
sha256: 44047c53883e7c4c579878d0a4ef9855478cd3f7bebad348135bf3239fd5a055 | ||
|
||
build: | ||
number: 0 | ||
skip: true # [win32] | ||
rpaths: | ||
- lib/R/lib/ | ||
- lib/ | ||
|
||
requirements: | ||
build: | ||
host: | ||
- r-base | ||
- r-mass | ||
- r-ape >=3.0_6 | ||
- r-mvtnorm | ||
run: | ||
- r-base | ||
- r-mass | ||
- r-ape >=3.0_6 | ||
- r-mvtnorm | ||
|
||
test: | ||
commands: | ||
- $R -e "library('caper')" # [not win] | ||
- "\"%R%\" -e \"library('caper')\"" # [win] | ||
|
||
about: | ||
home: https://CRAN.R-project.org/package=caper | ||
license: GPL (>= 2) | ||
summary: Functions for performing phylogenetic comparative analyses. | ||
license_family: GPL3 | ||
license_file: '{{ environ["PREFIX"] }}/lib/R/share/licenses/GPL-3' # [unix] | ||
license_file: '{{ environ["PREFIX"] }}\R\share\licenses\GPL-3' # [win] | ||
|
||
extra: | ||
recipe-maintainers: | ||
- nick-youngblut | ||
- johanneskoester | ||
- bgruening | ||
- daler | ||
- jdblischak | ||
- cbrueffer |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
"%R%" CMD INSTALL --build . | ||
IF %ERRORLEVEL% NEQ 0 exit 1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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/picante | ||
mv * $PREFIX/lib/R/library/picante | ||
fi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,67 @@ | ||
{% set version = '1.7' %} | ||
{% set posix = 'm2-' if win else '' %} | ||
{% set native = 'm2w64-' if win else '' %} | ||
{% set cran_mirror = 'https://cran.r-project.org' %} | ||
|
||
package: | ||
name: r-picante | ||
version: {{ version|replace("-", "_") }} | ||
|
||
source: | ||
fn: picante_{{ version }}.tar.gz | ||
url: | ||
- {{ cran_mirror }}/src/contrib/picante_{{ version }}.tar.gz | ||
- {{ cran_mirror }}/src/contrib/Archive/picante/picante_{{ version }}.tar.gz | ||
sha256: 75e4d73080db67e776562a1d58685438461cbde39af46900c7838da56aef0a62 | ||
|
||
build: | ||
number: 0 | ||
skip: true # [win] | ||
rpaths: | ||
- lib/R/lib/ | ||
- lib/ | ||
|
||
requirements: | ||
build: | ||
- {{ compiler('c') }} # [not win] | ||
- {{native}}toolchain # [win] | ||
- {{posix}}filesystem # [win] | ||
- {{posix}}make | ||
host: | ||
- r-base | ||
- r-ape | ||
- r-nlme | ||
- r-vegan | ||
run: | ||
- r-base | ||
- {{native}}gcc-libs # [win] | ||
- r-ape | ||
- r-nlme | ||
- r-vegan | ||
|
||
test: | ||
commands: | ||
- $R -e "library('picante')" # [not win] | ||
- "\"%R%\" -e \"library('picante')\"" # [win] | ||
|
||
about: | ||
home: https://CRAN.R-project.org/package=picante | ||
license: GPL-2 | ||
summary: Functions for phylocom integration, community analyses, null-models, traits and evolution. | ||
Implements numerous ecophylogenetic approaches including measures of community phylogenetic | ||
and trait diversity, phylogenetic signal, estimation of trait values for unobserved | ||
taxa, null models for community and phylogeny randomizations, and utility functions | ||
for data input/output and phylogeny plotting. A full description of package functionality | ||
and methods are provided by Kembel et al. (2010) <doi:10.1093/bioinformatics/btq166>. | ||
license_family: GPL2 | ||
license_file: '{{ environ["PREFIX"] }}/lib/R/share/licenses/GPL-2' # [unix] | ||
license_file: '{{ environ["PREFIX"] }}\R\share\licenses\GPL-2' # [win] | ||
|
||
extra: | ||
recipe-maintainers: | ||
- nick-youngblut | ||
- johanneskoester | ||
- bgruening | ||
- daler | ||
- jdblischak | ||
- cbrueffer |