dev-R/tinytest: new package, add 1.3.1

Signed-off-by: Robert Greener <me@r0bert.dev>
This commit is contained in:
Robert Greener
2022-07-03 14:31:36 +01:00
parent aad1db44e3
commit e0dbb0a36e
3 changed files with 33 additions and 0 deletions

1
dev-R/tinytest/Manifest Normal file
View File

@@ -0,0 +1 @@
DIST tinytest_1.3.1.tar.gz 445398 BLAKE2B 481f8510dd09a75acdf2cba63ecf29c2ed7d39ea80042cc68fc3c8921806a97ef6010057c7c0d8f9a398e3948c467d55d9ff42adf4b4216e893863f32a273381 SHA512 bb580f42f47375e730a698072645c1cb8c5e6d46c8ab2e69b2fbd4c0f9edd5c97ddbbc0d4d3cc35d3d785e937f10d74a4c2c41f86777add8c81ec43c884bc019

View 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">Provides a lightweight (zero-dependency) and easy to use unit testing framework. Main features: install tests with the package. Test results are treated as data that can be stored and manipulated. Test files are R scripts interspersed with test commands, that can be programmed over. Fully automated build-install-test sequence for packages. Skip tests when not run locally (e.g. on CRAN). Flexible and configurable output printing. Compare computed output with output stored with the package. Run tests in parallel. Extensible by other packages. Report side effects.</longdescription>
<upstream>
<maintainer>
<name>Mark van der Loo</name>
<email>mark.vanderloo@gmail.com</email>
</maintainer>
<bugs-to>https://github.com/markvanderloo/tinytest/issues</bugs-to>
<remote-id type="github">markvanderloo/tinytest</remote-id>
</upstream>
</pkgmetadata>

View File

@@ -0,0 +1,15 @@
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit R-packages edo
DESCRIPTION='Lightweight and Feature Complete Unit Testing Framework'
KEYWORDS="~amd64"
LICENSE='GPL-3'
src_test() {
cd "${WORKDIR}/${P}/tests" || die
R_LIBS="${T}/R" edo Rscript --vanilla tinytest.R
}