diff --git a/dev-R/parallelly/Manifest b/dev-R/parallelly/Manifest new file mode 100644 index 0000000000..6aefb2817b --- /dev/null +++ b/dev-R/parallelly/Manifest @@ -0,0 +1 @@ +DIST parallelly_1.32.0.tar.gz 124712 BLAKE2B 658c57ff6a5505d882f8c76b9217d4374531f419ed763b40f777e22d1bc0e01dcb563556e6a211fd1020ca017e742842f68af09df7d55b0829c8f0cb956c61a4 SHA512 744bab15b6e8f071645d60549e8d661fea382ad9870e3c6b1c249c2552cc42a298edd8f9955647a30b36dbed4924f0d9fcbb5f0fc8cfdc9aed2ac9555b34a79c diff --git a/dev-R/parallelly/metadata.xml b/dev-R/parallelly/metadata.xml new file mode 100644 index 0000000000..55dbe4b23e --- /dev/null +++ b/dev-R/parallelly/metadata.xml @@ -0,0 +1,17 @@ + + + + + me@r0bert.dev + Robert Greener + + Utility functions that enhance the 'parallel' package and support the built-in parallel backends of the 'future' package. For example, availableCores() gives the number of CPU cores available to your R process as given by the operating system, 'cgroups' and Linux containers, R options, and environment variables, including those set by job schedulers on high-performance compute clusters. If none is set, it will fall back to parallel::detectCores(). Another example is makeClusterPSOCK(), which is backward compatible with parallel::makePSOCKcluster() while doing a better job in setting up remote cluster workers without the need for configuring the firewall to do port-forwarding to your local computer. + + + Henrik Bengtsson + henrikb@braju.com + + https://github.com/HenrikBengtsson/parallelly/issues + HenrikBengtsson/parallelly + + diff --git a/dev-R/parallelly/parallelly-1.32.0.ebuild b/dev-R/parallelly/parallelly-1.32.0.ebuild new file mode 100644 index 0000000000..f5e040ac76 --- /dev/null +++ b/dev-R/parallelly/parallelly-1.32.0.ebuild @@ -0,0 +1,17 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit R-packages edo + +DESCRIPTION="Enhancing the 'parallel' Package" +KEYWORDS="~amd64" +LICENSE='LGPL-2.1+' + +src_test() { + cd "${WORKDIR}/${P}/tests" + for i in *.R; do + R_LIBS="${T}/R" edo Rscript --vanilla $i + done +}