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.
- Loading branch information
Showing
3 changed files
with
87 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,82 @@ | ||
{% set version = '0.3.1' %} | ||
{% set posix = 'm2-' if win else '' %} | ||
{% set native = 'm2w64-' if win else '' %} | ||
|
||
package: | ||
name: r-bigparallelr | ||
version: {{ version|replace("-", "_") }} | ||
|
||
source: | ||
url: | ||
- {{ cran_mirror }}/src/contrib/bigparallelr_{{ version }}.tar.gz | ||
- {{ cran_mirror }}/src/contrib/Archive/bigparallelr/bigparallelr_{{ version }}.tar.gz | ||
sha256: c3c4642ad4b60995ed0a3a7061af79691f41bfed5fc1f670d19385dab7c23691 | ||
|
||
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-rhpcblasctl | ||
- r-bigassertr >=0.1.1 | ||
- r-doparallel | ||
- r-flock | ||
- r-foreach | ||
- r-parallelly | ||
run: | ||
- r-base | ||
- r-rhpcblasctl | ||
- r-bigassertr >=0.1.1 | ||
- r-doparallel | ||
- r-flock | ||
- r-foreach | ||
- r-parallelly | ||
|
||
test: | ||
commands: | ||
- $R -e "library('bigparallelr')" # [not win] | ||
- "\"%R%\" -e \"library('bigparallelr')\"" # [win] | ||
|
||
about: | ||
home: https://github.com/privefl/bigparallelr | ||
license: GPL-3.0-only | ||
summary: Utility functions for easy parallelism in R. Include some reexports from other packages, | ||
utility functions for splitting and parallelizing over blocks, and choosing and | ||
setting the number of cores used. | ||
license_family: GPL3 | ||
license_file: | ||
- '{{ environ["PREFIX"] }}/lib/R/share/licenses/GPL-3' | ||
|
||
extra: | ||
recipe-maintainers: | ||
- conda-forge/r | ||
|
||
# Package: bigparallelr | ||
# Title: Easy Parallel Tools | ||
# Version: 0.3.1 | ||
# Authors@R: person(given = "Florian", family = "Prive", role = c("aut", "cre"), email = "florian.prive.21@gmail.com") | ||
# Description: Utility functions for easy parallelism in R. Include some reexports from other packages, utility functions for splitting and parallelizing over blocks, and choosing and setting the number of cores used. | ||
# License: GPL-3 | ||
# Encoding: UTF-8 | ||
# LazyData: true | ||
# RoxygenNote: 7.1.1 | ||
# Imports: bigassertr (>= 0.1.1), doParallel, flock, parallel, parallelly, RhpcBLASctl | ||
# Depends: foreach | ||
# Suggests: testthat, covr | ||
# URL: https://github.com/privefl/bigparallelr | ||
# BugReports: https://github.com/privefl/bigparallelr/issues | ||
# NeedsCompilation: no | ||
# Packaged: 2021-02-02 13:17:23 UTC; au639593 | ||
# Author: Florian Prive [aut, cre] | ||
# Maintainer: Florian Prive <florian.prive.21@gmail.com> | ||
# Repository: CRAN | ||
# Date/Publication: 2021-02-02 13:40:02 UTC |