diff --git a/dev-R/future/Manifest b/dev-R/future/Manifest new file mode 100644 index 0000000000..08f083ad9e --- /dev/null +++ b/dev-R/future/Manifest @@ -0,0 +1 @@ +DIST future_1.26.1.tar.gz 365509 BLAKE2B 1926906dca3dc248efa68b1e8631a3e8b69feaaa4476d82436e9d276c6e72ad8dc41bb3711b409e3c91a745f18c8853fd487abe4ddc5b58ae5dc17975a991a0f SHA512 42c28cf118b2f4e1e018beafed18066c04434c8d6df764e8e73cc1987d953556471224fbdcc23eb2c4de20a927340938c027268268fc59cd182f1faed2be03ee diff --git a/dev-R/future/future-1.26.1.ebuild b/dev-R/future/future-1.26.1.ebuild new file mode 100644 index 0000000000..dcd11be151 --- /dev/null +++ b/dev-R/future/future-1.26.1.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit R-packages edo + +DESCRIPTION="Unified Parallel and Distributed Processing in R for Everyone" +KEYWORDS="~amd64" +LICENSE='LGPL-2.1+' +RESTRICT="!test? ( test )" +IUSE="test" + +DEPEND=" + dev-R/digest + >=dev-R/globals-0.15.0 + >=dev-R/listenv-0.8.0 + >=dev-R/parallelly-1.30.0 + test? ( dev-R/RhpcBLASctl ) +" + +SUGGESTED_PACKAGES=" + dev-R/RhpcBLASctl + dev-R/R-rsp + dev-R/markdown +" + +src_test() { + cd "${WORKDIR}/${P}/tests" + for i in *.R; do + R_LIBS="${T}/R" edo Rscript --vanilla $i + done +} diff --git a/dev-R/future/metadata.xml b/dev-R/future/metadata.xml new file mode 100644 index 0000000000..d7947e8c36 --- /dev/null +++ b/dev-R/future/metadata.xml @@ -0,0 +1,17 @@ + + + + + me@r0bert.dev + Robert Greener + + The purpose of this package is to provide a lightweight and unified Future API for sequential and parallel processing of R expression via futures. The simplest way to evaluate an expression in parallel is to use 'x %-% { expression }' with 'plan(multisession)'. This package implements sequential, multicore, multisession, and cluster futures. With these, R expressions can be evaluated on the local machine, in parallel a set of local machines, or distributed on a mix of local and remote machines. Extensions to this package implement additional backends for processing futures via compute cluster schedulers, etc. Because of its unified API, there is no need to modify any code in order switch from sequential on the local machine to, say, distributed processing on a remote compute cluster. Another strength of this package is that global variables and functions are automatically identified and exported as needed, making it straightforward to tweak existing code to make use of futures. + + + Henrik Bengtsson + henrikb@braju.com + + https://github.com/HenrikBengtsson/future/issues + HenrikBengtsson/future + +