-
-
Notifications
You must be signed in to change notification settings - Fork 5k
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 #27617 from PaulineSGN/add-r-indicspecies-package
Add r-indicspecies package
- Loading branch information
Showing
3 changed files
with
86 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 . %R_ARGS% | ||
IF %ERRORLEVEL% NEQ 0 exit /B 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,3 @@ | ||
#!/bin/bash | ||
export DISABLE_AUTOBREW=1 | ||
${R} CMD INSTALL --build . ${R_ARGS} |
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,81 @@ | ||
{% set version = '1.7.15' %} | ||
{% set posix = 'm2-' if win else '' %} | ||
{% set native = 'm2w64-' if win else '' %} | ||
|
||
package: | ||
name: r-indicspecies | ||
version: {{ version|replace("-", "_") }} | ||
|
||
source: | ||
url: | ||
- {{ cran_mirror }}/src/contrib/indicspecies_{{ version }}.tar.gz | ||
- {{ cran_mirror }}/src/contrib/Archive/indicspecies/indicspecies_{{ version }}.tar.gz | ||
sha256: 17bf1f6c3b4af5c373ae31e58ebeb81b6b469f0c90618c399983508637278340 | ||
|
||
build: | ||
merge_build_host: True # [win] | ||
number: 0 | ||
noarch: generic | ||
rpaths: | ||
- lib/R/lib/ | ||
- lib/ | ||
missing_dso_whitelist: | ||
- '*/R.dll' # [win] | ||
- '*/Rblas.dll' # [win] | ||
- '*/Rlapack.dll' # [win] | ||
|
||
requirements: | ||
build: | ||
- {{ posix }}zip # [win] | ||
- cross-r-base {{ r_base }} # [build_platform != target_platform] | ||
host: | ||
- r-base | ||
- r-permute | ||
run: | ||
- r-base | ||
- r-permute | ||
|
||
test: | ||
commands: | ||
- $R -e "library('indicspecies')" # [not win] | ||
- "\"%R%\" -e \"library('indicspecies')\"" # [win] | ||
|
||
about: | ||
home: https://emf-creaf.github.io/indicspecies/ | ||
license: GPL-2.0-or-later | ||
summary: Functions to assess the strength and statistical significance of the relationship | ||
between species occurrence/abundance and groups of sites [De Caceres & Legendre | ||
(2009) <doi:10.1890/08-1823.1>]. Also includes functions to measure species niche | ||
breadth using resource categories [De Caceres et al. (2011) <doi:10.1111/J.1600-0706.2011.19679.x>]. | ||
license_family: GPL2 | ||
license_file: | ||
- '{{ environ["PREFIX"] }}/lib/R/share/licenses/GPL-2' | ||
|
||
extra: | ||
recipe-maintainers: | ||
- conda-forge/r | ||
- PaulineSGN | ||
|
||
# Package: indicspecies | ||
# Type: Package | ||
# Title: Relationship Between Species and Groups of Sites | ||
# Version: 1.7.15 | ||
# Date: 2024-08-21 | ||
# Authors@R: c( person('Miquel', 'De Caceres', role=c('aut','cre'), email='[email protected]', comment = c(ORCID = "0000-0001-7132-2080")), person('Florian', 'Jansen', role='aut'), person('Noah', 'Dell', role='aut')) | ||
# Description: Functions to assess the strength and statistical significance of the relationship between species occurrence/abundance and groups of sites [De Caceres & Legendre (2009) <doi:10.1890/08-1823.1>]. Also includes functions to measure species niche breadth using resource categories [De Caceres et al. (2011) <doi:10.1111/J.1600-0706.2011.19679.x>]. | ||
# Depends: permute | ||
# Suggests: rmarkdown, knitr, testthat (>= 3.0.0) | ||
# Encoding: UTF-8 | ||
# License: GPL (>= 2) | ||
# URL: https://emf-creaf.github.io/indicspecies/ | ||
# BugReports: https://github.com/emf-creaf/indicspecies/issues | ||
# RoxygenNote: 7.3.2 | ||
# LazyLoad: yes | ||
# VignetteBuilder: knitr | ||
# Config/testthat/edition: 3 | ||
# NeedsCompilation: no | ||
# Packaged: 2024-08-21 10:07:03 UTC; miquel | ||
# Author: Miquel De Caceres [aut, cre] (<https://orcid.org/0000-0001-7132-2080>), Florian Jansen [aut], Noah Dell [aut] | ||
# Maintainer: Miquel De Caceres <[email protected]> | ||
# Repository: CRAN | ||
# Date/Publication: 2024-08-21 21:30:02 UTC |