mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-11 08:03:16 -04:00
dev-R/memoise: new package, added 2.0.1
Signed-off-by: Robert Greener <me@r0bert.dev>
This commit is contained in:
1
dev-R/memoise/Manifest
Normal file
1
dev-R/memoise/Manifest
Normal file
@@ -0,0 +1 @@
|
||||
DIST memoise_2.0.1.tar.gz 17852 BLAKE2B 0bf5e7e14a9835358367c49053289dbe929197e3c9e93cdf8dc11a73e034783269c7b392189c31f800790ed4eba2caa54fba3ec2885a6f64b669b3b970afff44 SHA512 e2565495917335cbddf8fd794e91ae1451181bab5f2daa2e8ed797461e647ecfbacc5e57bd06b274b2f6b563036895b18892898704dbc9e0966721b34584cd9b
|
||||
32
dev-R/memoise/memoise-2.0.1.ebuild
Normal file
32
dev-R/memoise/memoise-2.0.1.ebuild
Normal file
@@ -0,0 +1,32 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit R-packages edo
|
||||
|
||||
DESCRIPTION="'Memoisation' of Functions"
|
||||
KEYWORDS="~amd64"
|
||||
LICENSE='MIT'
|
||||
RESTRICT="!test? ( test )"
|
||||
IUSE="test"
|
||||
DEPEND="
|
||||
dev-R/rlang
|
||||
dev-R/cachem
|
||||
test? ( dev-R/testthat )
|
||||
"
|
||||
|
||||
SUGGESTED_PACKAGES="
|
||||
dev-R/digest
|
||||
dev-R/aws-s3
|
||||
dev-R/covr
|
||||
dev-R/googleAuthR
|
||||
dev-R/googleCloudStorageR
|
||||
dev-r/httr
|
||||
dev-R/testthat
|
||||
"
|
||||
|
||||
src_test() {
|
||||
cd "${WORKDIR}/${P}/tests"
|
||||
NOT_CRAN=true R_LIBS="${T}/R" edo Rscript --vanilla testthat.R
|
||||
}
|
||||
17
dev-R/memoise/metadata.xml
Normal file
17
dev-R/memoise/metadata.xml
Normal file
@@ -0,0 +1,17 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>me@r0bert.dev</email>
|
||||
<name>Robert Greener</name>
|
||||
</maintainer>
|
||||
<longdescription lang="en">Cache the results of a function so that when you call it again with the same arguments it returns the previously computed value.</longdescription>
|
||||
<upstream>
|
||||
<maintainer>
|
||||
<name>Winston Chang</name>
|
||||
<email>winston@rstudio.com</email>
|
||||
</maintainer>
|
||||
<bugs-to>https://github.com/r-lib/memoise/issues</bugs-to>
|
||||
<remote-id type="github">r-lib/memoise</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
Reference in New Issue
Block a user