misc/R-cran-gapminder: New port

An excerpt of the data available at Gapminder.org. For each of 142 countries,
the package provides values for life expectancy, GDP per capita, and population,
every five years, from 1952 to 2007.
This commit is contained in:
Zsolt Udvari 2025-03-05 20:29:17 +01:00
parent 58972f6dd4
commit 4ebedebd9d
4 changed files with 33 additions and 0 deletions

View file

@ -1,5 +1,6 @@
COMMENT = Miscellaneous utilities
SUBDIR += R-cran-gapminder
SUBDIR += R-cran-mime
SUBDIR += R-cran-optimx
SUBDIR += R-cran-xfun

View file

@ -0,0 +1,26 @@
PORTNAME= gapminder
DISTVERSION= 1.0.0
CATEGORIES= misc
DISTNAME= ${PORTNAME}_${PORTVERSION}
MAINTAINER= uzsolt@FreeBSD.org
COMMENT= Data from Gapminder
WWW= https://cran.r-project.org/package=gapminder
LICENSE= CC0-1.0
RUN_DEPENDS= R-cran-tibble>0:devel/R-cran-tibble
TEST_DEPENDS= R-cran-dplyr>0:math/R-cran-dplyr \
R-cran-ggplot2>0:graphics/R-cran-ggplot2 \
R-cran-knitr>=1.47:print/R-cran-knitr \
R-cran-rmarkdown>0:textproc/R-cran-rmarkdown \
R-cran-testthat>0:devel/R-cran-testthat
USES= cran:auto-plist
do-test:
@${FIND} ${WRKSRC} \( -name '*.o' -o -name '*.so' \) -delete
@cd ${WRKDIR} ; ${SETENV} ${MAKE_ENV} _R_CHECK_FORCE_SUGGESTS_=FALSE \
${LOCALBASE}/bin/R CMD check --no-manual ${PORTNAME}
.include <bsd.port.mk>

View file

@ -0,0 +1,3 @@
TIMESTAMP = 1741201028
SHA256 (gapminder_1.0.0.tar.gz) = 90e82fb90f795be8121b05ec24db749d5767289fd6b00b5d38f27c12656b97c2
SIZE (gapminder_1.0.0.tar.gz) = 2202445

View file

@ -0,0 +1,3 @@
An excerpt of the data available at Gapminder.org. For each of 142 countries,
the package provides values for life expectancy, GDP per capita, and population,
every five years, from 1952 to 2007.