Skip to content

Commit

Permalink
run conda_r_skeleton_helper
Browse files Browse the repository at this point in the history
  • Loading branch information
ocefpaf committed Jul 10, 2024
1 parent a0bf040 commit 390bc39
Show file tree
Hide file tree
Showing 9 changed files with 154 additions and 55 deletions.
2 changes: 2 additions & 0 deletions recipes/r-modeva/bld.bat
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
3 changes: 3 additions & 0 deletions recipes/r-modeva/build.sh
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}
58 changes: 40 additions & 18 deletions recipes/r-modeva/meta.yaml
Original file line number Diff line number Diff line change
@@ -1,47 +1,50 @@
{% set version = "3.17" %}
{% set name = "modeva" %}
{% set version = '3.17' %}
{% set posix = 'm2-' if win else '' %}
{% set native = 'm2w64-' if win else '' %}

package:
name: r-{{ name }}
version: '{{ version }}'
name: r-modeva
version: {{ version|replace("-", "_") }}

source:
url: https://cran.r-project.org/src/contrib/modEvA_{{ version }}.tar.gz
url:
- {{ cran_mirror }}/src/contrib/modEvA_{{ version }}.tar.gz
- {{ cran_mirror }}/src/contrib/Archive/modEvA/modEvA_{{ version }}.tar.gz
sha256: f27ba3da0bbbb61d57e188cbfdf1804d412b8ba256ddfa5fef7da261e5d8f3b0

build:
merge_build_host: True # [win]
number: 0
noarch: generic
merge_build_host: true # [win]
script: R CMD INSTALL --build .
rpaths:
- lib/R/lib/
- lib/

requirements:
build:
- {{ posix }}zip # [win]
- cross-r-base {{ r_base }} # [build_platform != target_platform]
host:
- r-base
- r-terra >1.5-50
- r-terra >1.5_50
run:
- r-base
- r-terra >1.5-50
- r-terra >1.5_50

test:
commands:
- $R -e "library('modEvA')" # [not win]
- $R -e "library('modEvA')" # [not win]
- "\"%R%\" -e \"library('modEvA')\"" # [win]

about:
home: http://modeva.r-forge.r-project.org/
summary: |
Analyses species distribution models and evaluates their performance.
It includes functions for variation partitioning, extracting variable importance,
computing several metrics of model discrimination and calibration performance,
optimizing prediction thresholds based on a number of criteria,
performing multivariate environmental similarity surface (MESS) analysis,
and displaying various analytical plots.
Initially described in Barbosa et al. (2013) <doi:10.1111/ddi.12100>.
license: GPL-3.0-only
summary: Analyses species distribution models and evaluates their performance. It includes
functions for variation partitioning, extracting variable importance, computing
several metrics of model discrimination and calibration performance, optimizing
prediction thresholds based on a number of criteria, performing multivariate environmental
similarity surface (MESS) analysis, and displaying various analytical plots. Initially
described in Barbosa et al. (2013) <doi:10.1111/ddi.12100>.
license_family: GPL3
license_file:
- '{{ environ["PREFIX"] }}/lib/R/share/licenses/GPL-3'
Expand All @@ -50,3 +53,22 @@ extra:
recipe-maintainers:
- conda-forge/r
- ocefpaf

# Package: modEvA
# Type: Package
# Title: Model Evaluation and Analysis
# Version: 3.17
# Date: 2024-06-06
# Author: Barbosa A.M., Brown J.A., Jimenez-Valverde A., Real R.
# Maintainer: A. Marcia Barbosa <[email protected]>
# Imports: graphics, grDevices, stats, methods, terra (> 1.5-50)
# Description: Analyses species distribution models and evaluates their performance. It includes functions for variation partitioning, extracting variable importance, computing several metrics of model discrimination and calibration performance, optimizing prediction thresholds based on a number of criteria, performing multivariate environmental similarity surface (MESS) analysis, and displaying various analytical plots. Initially described in Barbosa et al. (2013) <doi:10.1111/ddi.12100>.
# LazyLoad: yes
# LazyData: yes
# License: GPL-3
# URL: http://modeva.r-forge.r-project.org/
# NeedsCompilation: no
# Packaged: 2024-06-06 10:58:51 UTC; marcia
# Depends: R (>= 2.10)
# Repository: CRAN
# Date/Publication: 2024-06-06 11:50:07 UTC
2 changes: 2 additions & 0 deletions recipes/r-rangebuilder/bld.bat
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
3 changes: 3 additions & 0 deletions recipes/r-rangebuilder/build.sh
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}
76 changes: 52 additions & 24 deletions recipes/r-rangebuilder/meta.yaml
Original file line number Diff line number Diff line change
@@ -1,38 +1,41 @@
{% set version = "2.1" %}
{% set name = "rangebuilder" %}
{% set posix = "m2-" if win else "" %}
{% set native = "m2w64-" if win else "" %}
{% set version = '2.1' %}
{% set posix = 'm2-' if win else '' %}
{% set native = 'm2w64-' if win else '' %}

package:
name: r-{{ name }}
version: '{{ version }}'
name: r-rangebuilder
version: {{ version|replace("-", "_") }}

source:
url: https://cran.r-project.org/src/contrib/rangeBuilder_{{ version }}.tar.gz
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
merge_build_host: true # [win]
script: R CMD INSTALL --build .
rpaths:
- lib/R/lib/
- lib/

requirements:
build:
- cross-r-base {{ r_base }} # [build_platform != target_platform]
- autoconf # [not win]
- "{{ 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 # [win]
- {{ 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-rcpp >=0.12.9
- r-alphahull >=2.5
- r-pbapply
- r-rnaturalearth
Expand All @@ -42,7 +45,8 @@ requirements:
- r-units
run:
- r-base
- r-Rcpp >=0.12.9
- {{ native }}gcc-libs # [win]
- r-rcpp >=0.12.9
- r-alphahull >=2.5
- r-pbapply
- r-rnaturalearth
Expand All @@ -53,18 +57,42 @@ requirements:

test:
commands:
- $R -e "library('rangeBuilder')" # [not win]
- $R -e "library('rangeBuilder')" # [not win]
- "\"%R%\" -e \"library('rangeBuilder')\"" # [win]

about:
home: https://github.com/ptitle/rangeBuilder
summary: Provides tools for filtering occurrence records, generating alpha-hull-derived range polygons and mapping species distributions.
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
- '{{ environ["PREFIX"] }}/lib/R/share/licenses/GPL-3'

extra:
recipe-maintainers:
- conda-forge/r
- ocefpaf
- 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
2 changes: 2 additions & 0 deletions recipes/r-volumodel/bld.bat
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
3 changes: 3 additions & 0 deletions recipes/r-volumodel/build.sh
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}
60 changes: 47 additions & 13 deletions recipes/r-volumodel/meta.yaml
Original file line number Diff line number Diff line change
@@ -1,26 +1,29 @@
{% set version = "0.2.1" %}
{% set name = "volumodel" %}
{% set version = '0.2.1' %}
{% set posix = 'm2-' if win else '' %}
{% set native = 'm2w64-' if win else '' %}

package:
name: r-{{ name }}
version: '{{ version }}'
name: r-volumodel
version: {{ version|replace("-", "_") }}

source:
url:
- https://cran.r-project.org/src/contrib/voluModel_{{ version }}.tar.gz
- https://cran.r-project.org/src/contrib/Archive/voluModel/voluModel_{{ version }}.tar.gz
- {{ 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
merge_build_host: true # [win]
script: R CMD INSTALL --build .
rpaths:
- lib/R/lib/
- lib/

requirements:
build:
- {{ posix }}zip # [win]
- cross-r-base {{ r_base }} # [build_platform != target_platform]
host:
- r-base
- r-dplyr
Expand All @@ -31,7 +34,7 @@ requirements:
- r-rangebuilder >=2.0
- r-sf
- r-terra
- r-viridisLite
- r-viridislite
run:
- r-base
- r-dplyr
Expand All @@ -42,18 +45,27 @@ requirements:
- r-rangebuilder >=2.0
- r-sf
- r-terra
- r-viridisLite
- r-viridislite

test:
commands:
- $R -e "library('voluModel')" # [not win]
- $R -e "library('voluModel')" # [not win]
- "\"%R%\" -e \"library('voluModel')\"" # [win]

about:
home: https://hannahlowens.github.io/voluModel/
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: 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'
Expand All @@ -62,3 +74,25 @@ 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

0 comments on commit 390bc39

Please sign in to comment.