commit: 860ceecdb6cabf5f7a9e11a7960c21a7303bc3c5 Author: Robert Greener <me <AT> r0bert <DOT> dev> AuthorDate: Sun Jul 3 08:19:11 2022 +0000 Commit: Robert Greener <me <AT> r0bert <DOT> dev> CommitDate: Sun Jul 3 08:19:11 2022 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=860ceecd
dev-R/xtable: new package, add 1.8.4 Signed-off-by: Robert Greener <me <AT> r0bert.dev> dev-R/xtable/Manifest | 1 + dev-R/xtable/metadata.xml | 15 +++++++++++++++ dev-R/xtable/xtable-1.8.4.ebuild | 29 +++++++++++++++++++++++++++++ 3 files changed, 45 insertions(+) diff --git a/dev-R/xtable/Manifest b/dev-R/xtable/Manifest new file mode 100644 index 000000000..ec744cba3 --- /dev/null +++ b/dev-R/xtable/Manifest @@ -0,0 +1 @@ +DIST xtable_1.8-4.tar.gz 564589 BLAKE2B 86573fa5e1e27fa93730eef771b9d998b2b93ab8b651a92e40f527969766af5f9bf7f4773d2aba17310551f960dd015398cf53e6f8f3518b67e046def21fdf61 SHA512 0143e22d3fc60c30159387f1614ecb269bc90d8d7a32d10f7f1e7f77863dfe33a71ca95cb1abd7b3d0f889e26a63d16e60dea4a1d4a33bbcbe6b5c823ed96b09 diff --git a/dev-R/xtable/metadata.xml b/dev-R/xtable/metadata.xml new file mode 100644 index 000000000..37b67bd79 --- /dev/null +++ b/dev-R/xtable/metadata.xml @@ -0,0 +1,15 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>m...@r0bert.dev</email> + <name>Robert Greener</name> + </maintainer> + <longdescription lang="en">Coerce data to LaTeX and HTML tables.</longdescription> + <upstream> + <maintainer> + <name>David Scott</name> + <email>d.sc...@auckland.ac.nz</email> + </maintainer> + </upstream> +</pkgmetadata> diff --git a/dev-R/xtable/xtable-1.8.4.ebuild b/dev-R/xtable/xtable-1.8.4.ebuild new file mode 100644 index 000000000..43733745f --- /dev/null +++ b/dev-R/xtable/xtable-1.8.4.ebuild @@ -0,0 +1,29 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit R-packages edo + +DESCRIPTION="Export Tables to LaTeX or HTML" +KEYWORDS="~amd64" +LICENSE='GPL-2+' +RESTRICT="!test? ( test )" +IUSE="test" +CRAN_PV="1.8-4" + +SRC_URI="mirror://cran/src/contrib/${PN}_${CRAN_PV}.tar.gz" + +SUGGESTED_PACKAGES=" + dev-R/knitr + dev-R/plm + dev-R/zoo + dev-R/survival +" + +src_test() { + cd "${WORKDIR}/${P}/tests" || die + for i in *.R; do + R_LIBS="${T}/R" edo Rscript --vanilla $i + done +}