summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--print/R-cran-knitr/Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/print/R-cran-knitr/Makefile b/print/R-cran-knitr/Makefile
index a85a7d517721..bef7c5699075 100644
--- a/print/R-cran-knitr/Makefile
+++ b/print/R-cran-knitr/Makefile
@@ -21,6 +21,7 @@ TEST_DEPENDS= R-cran-bslib>0:www/R-cran-bslib \
R-cran-formatR>0:textproc/R-cran-formatR \
R-cran-htmlwidgets>=0.7:www/R-cran-htmlwidgets \
R-cran-jpeg>0:graphics/R-cran-jpeg \
+ R-cran-litedown>0:textproc/R-cran-litedown \
R-cran-magick>0:graphics/R-cran-magick \
R-cran-markdown>=1.3:textproc/R-cran-markdown \
R-cran-png>0:graphics/R-cran-png \
@@ -33,8 +34,12 @@ TEST_DEPENDS= R-cran-bslib>0:www/R-cran-bslib \
R-cran-tibble>0:devel/R-cran-tibble \
R-cran-tinytex>=0.46:print/R-cran-tinytex \
R-cran-webshot>0:www/R-cran-webshot
-TESTING_UNSAFE= Required some packages that are not available in ports tree
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>