Skip to content

Commit

Permalink
Add r-bigparallelr
Browse files Browse the repository at this point in the history
  • Loading branch information
dpryan79 committed Jun 6, 2021
1 parent 52b5b83 commit 1fc66ea
Show file tree
Hide file tree
Showing 3 changed files with 87 additions and 0 deletions.
2 changes: 2 additions & 0 deletions recipes/r-bigparallelr/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-bigparallelr/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}
82 changes: 82 additions & 0 deletions recipes/r-bigparallelr/meta.yaml
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

0 comments on commit 1fc66ea

Please sign in to comment.