Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

R packages crew and crew.cluster, along with prerequisites. From conda_r_skeleton_helper #24498

Merged
merged 13 commits into from
Feb 23, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions recipes/r-crew.cluster/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-crew.cluster/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}
93 changes: 93 additions & 0 deletions recipes/r-crew.cluster/meta.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,93 @@
{% set version = '0.3.0' %}
{% set posix = 'm2-' if win else '' %}
{% set native = 'm2w64-' if win else '' %}

package:
name: r-crew.cluster
version: {{ version|replace("-", "_") }}

source:
url:
- {{ cran_mirror }}/src/contrib/crew.cluster_{{ version }}.tar.gz
- {{ cran_mirror }}/src/contrib/Archive/crew.cluster/crew.cluster_{{ version }}.tar.gz
sha256: 6805ea476f0765330f6918d93be72381cb6613b10b40fc65cba900460c99341b

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-r6
- r-crew >=0.8.0
- r-lifecycle
- r-ps
- r-rlang
- r-vctrs
- r-xml2
run:
- r-base
- r-r6
- r-crew >=0.8.0
- r-lifecycle
- r-ps
- r-rlang
- r-vctrs
- r-xml2

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

about:
home: https://wlandau.github.io/crew.cluster/
dev_url: https://github.com/wlandau/crew.cluster
license: MIT
summary: In computationally demanding analysis projects, statisticians and data scientists
asynchronously deploy long-running tasks to distributed systems, ranging from traditional
clusters to cloud services. The 'crew.cluster' package extends the 'mirai'-powered
'crew' package with worker launcher plugins for traditional high-performance computing
systems. Inspiration also comes from packages 'mirai' by Gao (2023) <https://github.com/shikokuchuo/mirai>,
'future' by Bengtsson (2021) <doi:10.32614/RJ-2021-048>, 'rrq' by FitzJohn and Ashton
(2023) <https://github.com/mrc-ide/rrq>, 'clustermq' by Schubert (2019) <doi:10.1093/bioinformatics/btz284>),
and 'batchtools' by Lang, Bischl, and Surmann (2017). <doi:10.21105/joss.00135>.
license_family: MIT
license_file:
- '{{ environ["PREFIX"] }}/lib/R/share/licenses/MIT'
- LICENSE

extra:
recipe-maintainers:
- conda-forge/r
- brendanf

# Package: crew.cluster
# Title: Crew Launcher Plugins for Traditional High-Performance Computing Clusters
# Description: In computationally demanding analysis projects, statisticians and data scientists asynchronously deploy long-running tasks to distributed systems, ranging from traditional clusters to cloud services. The 'crew.cluster' package extends the 'mirai'-powered 'crew' package with worker launcher plugins for traditional high-performance computing systems. Inspiration also comes from packages 'mirai' by Gao (2023) <https://github.com/shikokuchuo/mirai>, 'future' by Bengtsson (2021) <doi:10.32614/RJ-2021-048>, 'rrq' by FitzJohn and Ashton (2023) <https://github.com/mrc-ide/rrq>, 'clustermq' by Schubert (2019) <doi:10.1093/bioinformatics/btz284>), and 'batchtools' by Lang, Bischl, and Surmann (2017). <doi:10.21105/joss.00135>.
# Version: 0.3.0
# License: MIT + file LICENSE
# URL: https://wlandau.github.io/crew.cluster/, https://github.com/wlandau/crew.cluster
# BugReports: https://github.com/wlandau/crew.cluster/issues
# Authors@R: c( person( given = c("William", "Michael"), family = "Landau", role = c("aut", "cre"), email = "[email protected]", comment = c(ORCID = "0000-0003-1878-3253") ), person( given = c("Michael", "Gilbert"), family = "Levin", role = "aut", email = "[email protected]", comment = c(ORCID = "0000-0002-9937-9932") ), person( family = "Eli Lilly and Company", role = "cph" ))
# Depends: R (>= 4.0.0)
# Imports: crew (>= 0.8.0), ps, lifecycle, R6, rlang, utils, vctrs, xml2
# Suggests: knitr (>= 1.30), markdown (>= 1.1), rmarkdown (>= 2.4), testthat (>= 3.0.0)
# Encoding: UTF-8
# Language: en-US
# Config/testthat/edition: 3
# RoxygenNote: 7.3.0
# NeedsCompilation: no
# Packaged: 2024-02-07 13:48:03 UTC; C240390
# Author: William Michael Landau [aut, cre] (<https://orcid.org/0000-0003-1878-3253>), Michael Gilbert Levin [aut] (<https://orcid.org/0000-0002-9937-9932>), Eli Lilly and Company [cph]
# Maintainer: William Michael Landau <[email protected]>
# Repository: CRAN
# Date/Publication: 2024-02-08 04:20:02 UTC
2 changes: 2 additions & 0 deletions recipes/r-crew/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-crew/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}
107 changes: 107 additions & 0 deletions recipes/r-crew/meta.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,107 @@
{% set version = '0.9.0' %}
{% set posix = 'm2-' if win else '' %}
{% set native = 'm2w64-' if win else '' %}

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

source:
url:
- {{ cran_mirror }}/src/contrib/crew_{{ version }}.tar.gz
- {{ cran_mirror }}/src/contrib/Archive/crew/crew_{{ version }}.tar.gz
sha256: d3bef8fcec3142fc5c00f8e399c9214deed9a7168a9e597c99ecc84965d3e19d

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-r6
- r-cli >=3.1.0
- r-data.table
- r-getip
- r-later
- r-mirai >=0.12.0
- r-nanonext >=0.12.0
- r-processx
- r-promises
- r-ps
- r-rlang
- r-tibble
- r-tidyselect
run:
- r-base
- r-r6
- r-cli >=3.1.0
- r-data.table
- r-getip
- r-later
- r-mirai >=0.12.0
- r-nanonext >=0.12.0
- r-processx
- r-promises
- r-ps
- r-rlang
- r-tibble
- r-tidyselect

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

about:
home: https://wlandau.github.io/crew/
dev_url: https://github.com/wlandau/crew
license: MIT
summary: In computationally demanding analysis projects, statisticians and data scientists
asynchronously deploy long-running tasks to distributed systems, ranging from traditional
clusters to cloud services. The 'NNG'-powered 'mirai' R package by Gao (2023) <https://CRAN.R-project.org/package=mirai>
is a sleek and sophisticated scheduler that efficiently processes these intense
workloads. The 'crew' package extends 'mirai' with a unifying interface for third-party
worker launchers. Inspiration also comes from packages. 'future' by Bengtsson (2021)
<doi:10.32614/RJ-2021-048>, 'rrq' by FitzJohn and Ashton (2023) <https://github.com/mrc-ide/rrq>,
'clustermq' by Schubert (2019) <doi:10.1093/bioinformatics/btz284>), and 'batchtools'
by Lang, Bischel, and Surmann (2017) <doi:10.21105/joss.00135>.
license_family: MIT
license_file:
- '{{ environ["PREFIX"] }}/lib/R/share/licenses/MIT'
- LICENSE

extra:
recipe-maintainers:
- conda-forge/r
- brendanf

# Package: crew
# Title: A Distributed Worker Launcher Framework
# Description: In computationally demanding analysis projects, statisticians and data scientists asynchronously deploy long-running tasks to distributed systems, ranging from traditional clusters to cloud services. The 'NNG'-powered 'mirai' R package by Gao (2023) <https://CRAN.R-project.org/package=mirai> is a sleek and sophisticated scheduler that efficiently processes these intense workloads. The 'crew' package extends 'mirai' with a unifying interface for third-party worker launchers. Inspiration also comes from packages. 'future' by Bengtsson (2021) <doi:10.32614/RJ-2021-048>, 'rrq' by FitzJohn and Ashton (2023) <https://github.com/mrc-ide/rrq>, 'clustermq' by Schubert (2019) <doi:10.1093/bioinformatics/btz284>), and 'batchtools' by Lang, Bischel, and Surmann (2017) <doi:10.21105/joss.00135>.
# Version: 0.9.0
# License: MIT + file LICENSE
# URL: https://wlandau.github.io/crew/, https://github.com/wlandau/crew
# BugReports: https://github.com/wlandau/crew/issues
# Authors@R: c( person( given = c("William", "Michael"), family = "Landau", role = c("aut", "cre"), email = "[email protected]", comment = c(ORCID = "0000-0003-1878-3253") ), person( given = "Daniel", family = "Woodie", role = "ctb" ), person( family = "Eli Lilly and Company", role = "cph" ))
# Depends: R (>= 4.0.0)
# Imports: cli (>= 3.1.0), data.table, getip, later, mirai (>= 0.12.0), nanonext (>= 0.12.0), processx, promises, ps, R6, rlang, stats, tibble, tidyselect, tools, utils
# Suggests: knitr (>= 1.30), markdown (>= 1.1), rmarkdown (>= 2.4), testthat (>= 3.0.0)
# Encoding: UTF-8
# Language: en-US
# VignetteBuilder: knitr
# Config/testthat/edition: 3
# RoxygenNote: 7.3.1
# NeedsCompilation: no
# Packaged: 2024-02-07 13:38:50 UTC; C240390
# Author: William Michael Landau [aut, cre] (<https://orcid.org/0000-0003-1878-3253>), Daniel Woodie [ctb], Eli Lilly and Company [cph]
# Maintainer: William Michael Landau <[email protected]>
# Repository: CRAN
# Date/Publication: 2024-02-08 05:30:02 UTC
2 changes: 2 additions & 0 deletions recipes/r-mirai/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-mirai/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}
79 changes: 79 additions & 0 deletions recipes/r-mirai/meta.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,79 @@
{% set version = '0.12.1' %}
{% set posix = 'm2-' if win else '' %}
{% set native = 'm2w64-' if win else '' %}

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

source:
url:
- {{ cran_mirror }}/src/contrib/mirai_{{ version }}.tar.gz
- {{ cran_mirror }}/src/contrib/Archive/mirai/mirai_{{ version }}.tar.gz
sha256: d58b7cb7eced17545099ba4bd609e3835fe859f40204cfae9a9f07fa5267c514

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-nanonext >=0.12.0

run:
- r-base
- r-nanonext >=0.12.0

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

about:
home: https://shikokuchuo.net/mirai/
dev_url: https://github.com/shikokuchuo/mirai/
license: GPL-3.0-or-later
summary: Lightweight parallel code execution and distributed computing. Designed for simplicity,
a 'mirai' evaluates an R expression asynchronously, on local or network resources,
resolving automatically upon completion. Efficient scheduling over fast inter-process
communications or secure TLS connections over TCP/IP, built on 'nanonext' and 'NNG'
(Nanomsg Next Gen).
license_family: GPL3
license_file:
- '{{ environ["PREFIX"] }}/lib/R/share/licenses/GPL-3'

extra:
recipe-maintainers:
- conda-forge/r
- brendanf

# Package: mirai
# Type: Package
# Title: Minimalist Async Evaluation Framework for R
# Version: 0.12.1
# Description: Lightweight parallel code execution and distributed computing. Designed for simplicity, a 'mirai' evaluates an R expression asynchronously, on local or network resources, resolving automatically upon completion. Efficient scheduling over fast inter-process communications or secure TLS connections over TCP/IP, built on 'nanonext' and 'NNG' (Nanomsg Next Gen).
# Authors@R: c(person(given = "Charlie", family = "Gao", role = c("aut", "cre"), email = "[email protected]", comment = c(ORCID = "0000-0002-0750-061X")), person(given = "Hibiki AI Limited", role = "cph"))
# License: GPL (>= 3)
# BugReports: https://github.com/shikokuchuo/mirai/issues
# URL: https://shikokuchuo.net/mirai/, https://github.com/shikokuchuo/mirai/
# Encoding: UTF-8
# Depends: R (>= 3.5)
# Imports: nanonext (>= 0.12.0)
# Enhances: parallel, promises
# Suggests: knitr, markdown
# VignetteBuilder: knitr
# RoxygenNote: 7.3.1
# NeedsCompilation: no
# Packaged: 2024-02-02 08:04:02 UTC; cg334
# Author: Charlie Gao [aut, cre] (<https://orcid.org/0000-0002-0750-061X>), Hibiki AI Limited [cph]
# Maintainer: Charlie Gao <[email protected]>
# Repository: CRAN
# Date/Publication: 2024-02-02 08:30:02 UTC
Loading