-
-
Notifications
You must be signed in to change notification settings - Fork 5.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add R volumodel rangebuilder and modeva
- Loading branch information
Showing
6 changed files
with
206 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,98 @@ | ||
{% set version = '2.1' %} | ||
{% set posix = 'm2-' if win else '' %} | ||
{% set native = 'm2w64-' if win else '' %} | ||
|
||
package: | ||
name: r-rangebuilder | ||
version: {{ version|replace("-", "_") }} | ||
|
||
source: | ||
url: | ||
- {{ cran_mirror }}/src/contrib/rangeBuilder_{{ version }}.tar.gz | ||
- {{ cran_mirror }}/src/contrib/Archive/rangeBuilder/rangeBuilder_{{ version }}.tar.gz | ||
sha256: fceee76e8ee2841261a49b4a36c8966224913def895acd3a15d42dee6acd02e5 | ||
|
||
build: | ||
merge_build_host: True # [win] | ||
number: 0 | ||
rpaths: | ||
- lib/R/lib/ | ||
- lib/ | ||
|
||
requirements: | ||
build: | ||
- {{ compiler('c') }} # [not win] | ||
- {{ stdlib('c') }} # [not win] | ||
- {{ compiler('m2w64_c') }} # [win] | ||
- {{ stdlib('m2w64_c') }} # [win] | ||
- {{ compiler('cxx') }} # [not win] | ||
- {{ compiler('m2w64_cxx') }} # [win] | ||
- {{ posix }}filesystem # [win] | ||
- {{ posix }}make | ||
- {{ posix }}sed # [win] | ||
- {{ posix }}coreutils # [win] | ||
- {{ posix }}zip # [win] | ||
- cross-r-base {{ r_base }} # [build_platform != target_platform] | ||
host: | ||
- r-base | ||
- r-rcpp >=0.12.9 | ||
- r-alphahull >=2.5 | ||
- r-pbapply | ||
- r-rnaturalearth | ||
- r-sf | ||
- r-stringi | ||
- r-terra | ||
- r-units | ||
run: | ||
- r-base | ||
- {{ native }}gcc-libs # [win] | ||
- r-rcpp >=0.12.9 | ||
- r-alphahull >=2.5 | ||
- r-pbapply | ||
- r-rnaturalearth | ||
- r-sf | ||
- r-stringi | ||
- r-terra | ||
- r-units | ||
|
||
test: | ||
commands: | ||
- $R -e "library('rangeBuilder')" # [not win] | ||
- "\"%R%\" -e \"library('rangeBuilder')\"" # [win] | ||
|
||
about: | ||
home: https://github.com/ptitle/rangeBuilder | ||
license: GPL-3.0-or-later | ||
summary: Provides tools for filtering occurrence records, generating alpha-hull-derived range | ||
polygons and mapping species distributions. | ||
license_family: GPL3 | ||
license_file: | ||
- '{{ environ["PREFIX"] }}/lib/R/share/licenses/GPL-3' | ||
|
||
extra: | ||
recipe-maintainers: | ||
- conda-forge/r | ||
- ocefpaf | ||
|
||
# Package: rangeBuilder | ||
# Type: Package | ||
# Title: Occurrence Filtering, Geographic Standardization and Generation of Species Range Polygons | ||
# Version: 2.1 | ||
# Authors@R: person("Pascal", "Title", email = "[email protected]", role = c("aut", "cre"), comment = c(ORCID = "0000-0002-6316-0736")) | ||
# Imports: alphahull (>= 2.5), stringi, sf, terra, pbapply, units, rnaturalearth, methods, Rcpp (>= 0.12.9) | ||
# Depends: R (>= 3.5.0) | ||
# Description: Provides tools for filtering occurrence records, generating alpha-hull-derived range polygons and mapping species distributions. | ||
# License: GPL (>= 3) | ||
# URL: https://github.com/ptitle/rangeBuilder | ||
# BugReports: https://github.com/ptitle/rangeBuilder/issues | ||
# NeedsCompilation: yes | ||
# LinkingTo: Rcpp | ||
# LazyData: true | ||
# Encoding: UTF-8 | ||
# RoxygenNote: 7.2.3 | ||
# ByteCompile: true | ||
# Packaged: 2023-03-03 14:57:49 UTC; pascaltitle | ||
# Author: Pascal Title [aut, cre] (<https://orcid.org/0000-0002-6316-0736>) | ||
# Maintainer: Pascal Title <[email protected]> | ||
# Repository: CRAN | ||
# Date/Publication: 2023-03-03 15:40:02 UTC |
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,98 @@ | ||
{% set version = '0.2.1' %} | ||
{% set posix = 'm2-' if win else '' %} | ||
{% set native = 'm2w64-' if win else '' %} | ||
|
||
package: | ||
name: r-volumodel | ||
version: {{ version|replace("-", "_") }} | ||
|
||
source: | ||
url: | ||
- {{ cran_mirror }}/src/contrib/voluModel_{{ version }}.tar.gz | ||
- {{ cran_mirror }}/src/contrib/Archive/voluModel/voluModel_{{ version }}.tar.gz | ||
sha256: 8fd558baa1d8ec5c31710693ee9576100cc4beb0cbd5b30750913f2df57a78ce | ||
|
||
build: | ||
merge_build_host: True # [win] | ||
number: 0 | ||
noarch: generic | ||
rpaths: | ||
- lib/R/lib/ | ||
- lib/ | ||
|
||
requirements: | ||
build: | ||
- {{ posix }}zip # [win] | ||
- cross-r-base {{ r_base }} # [build_platform != target_platform] | ||
host: | ||
- r-base | ||
- r-dplyr | ||
- r-fields | ||
- r-ggplot2 | ||
- r-ggtext | ||
- r-modeva | ||
- r-rangebuilder >=2.0 | ||
- r-sf | ||
- r-terra | ||
- r-viridislite | ||
run: | ||
- r-base | ||
- r-dplyr | ||
- r-fields | ||
- r-ggplot2 | ||
- r-ggtext | ||
- r-modeva | ||
- r-rangebuilder >=2.0 | ||
- r-sf | ||
- r-terra | ||
- r-viridislite | ||
|
||
test: | ||
commands: | ||
- $R -e "library('voluModel')" # [not win] | ||
- "\"%R%\" -e \"library('voluModel')\"" # [win] | ||
|
||
about: | ||
home: https://hannahlowens.github.io/voluModel/ | ||
license: GPL-3.0-only | ||
summary: Facilitates modeling species' ecological niches and geographic distributions based | ||
on occurrences and environments that have a vertical as well as horizontal component, | ||
and projecting models into three-dimensional geographic space. Working in three | ||
dimensions is useful in an aquatic context when the organisms one wishes to model | ||
can be found across a wide range of depths in the water column. The package also | ||
contains functions to automatically generate marine training model training regions | ||
using machine learning, and interpolate and smooth patchily sampled environmental | ||
rasters using thin plate splines. Davis Rabosky AR, Cox CL, Rabosky DL, Title PO, | ||
Holmes IA, Feldman A, McGuire JA (2016) <doi:10.1038/ncomms11484>. Nychka D, Furrer | ||
R, Paige J, Sain S (2021) <doi:10.5065/D6W957CT>. Pateiro-Lopez B, Rodriguez-Casal | ||
A (2022) <https://CRAN.R-project.org/package=alphahull>. | ||
license_family: GPL3 | ||
license_file: | ||
- '{{ environ["PREFIX"] }}/lib/R/share/licenses/GPL-3' | ||
|
||
extra: | ||
recipe-maintainers: | ||
- conda-forge/r | ||
- ocefpaf | ||
|
||
# Package: voluModel | ||
# Title: Modeling Species Distributions in Three Dimensions | ||
# Version: 0.2.1 | ||
# Authors@R: c(person(given = "Hannah L.", family = "Owens", role = c("aut", "cre"), email = "[email protected]", comment = c(ORCID = "0000-0003-0071-1745")), person(given = "Carsten", family = "Rahbek",,, role="aut", comment = c(ORCID = "0000-0003-4585-0300"))) | ||
# Maintainer: Hannah L. Owens <[email protected]> | ||
# Description: Facilitates modeling species' ecological niches and geographic distributions based on occurrences and environments that have a vertical as well as horizontal component, and projecting models into three-dimensional geographic space. Working in three dimensions is useful in an aquatic context when the organisms one wishes to model can be found across a wide range of depths in the water column. The package also contains functions to automatically generate marine training model training regions using machine learning, and interpolate and smooth patchily sampled environmental rasters using thin plate splines. Davis Rabosky AR, Cox CL, Rabosky DL, Title PO, Holmes IA, Feldman A, McGuire JA (2016) <doi:10.1038/ncomms11484>. Nychka D, Furrer R, Paige J, Sain S (2021) <doi:10.5065/D6W957CT>. Pateiro-Lopez B, Rodriguez-Casal A (2022) <https://CRAN.R-project.org/package=alphahull>. | ||
# License: GPL-3 | ||
# URL: https://hannahlowens.github.io/voluModel/ | ||
# BugReports: https://github.com/hannahlowens/voluModel/issues | ||
# Encoding: UTF-8 | ||
# Depends: R (>= 4.0.0) | ||
# Imports: dplyr, fields, ggplot2, ggtext, grDevices, methods, modEvA, rangeBuilder (>= 2.0), terra, viridisLite, sf | ||
# Suggests: testthat (>= 3.0.0), nlme, knitr, covr, gridExtra, lattice, rmarkdown, rnaturalearth, rnaturalearthdata, tibble | ||
# VignetteBuilder: knitr | ||
# RoxygenNote: 7.3.0 | ||
# Config/testthat/edition: 3 | ||
# NeedsCompilation: no | ||
# Packaged: 2024-01-24 14:23:44 UTC; HannahOwens | ||
# Author: Hannah L. Owens [aut, cre] (<https://orcid.org/0000-0003-0071-1745>), Carsten Rahbek [aut] (<https://orcid.org/0000-0003-4585-0300>) | ||
# Repository: CRAN | ||
# Date/Publication: 2024-01-24 14:50:06 UTC |