git: 4f2957021d11 - main - ftp/R-cran-curl: Fix test

From: Zsolt Udvari <uzsolt_at_FreeBSD.org>
Date: Sat, 22 Feb 2025 15:32:37 UTC
The branch main has been updated by uzsolt:

URL: https://cgit.FreeBSD.org/ports/commit/?id=4f2957021d11ec47175a70947889897bfe97f8aa

commit 4f2957021d11ec47175a70947889897bfe97f8aa
Author:     Zsolt Udvari <uzsolt@FreeBSD.org>
AuthorDate: 2025-02-22 15:27:45 +0000
Commit:     Zsolt Udvari <uzsolt@FreeBSD.org>
CommitDate: 2025-02-22 15:32:16 +0000

    ftp/R-cran-curl: Fix test
    
    The cran.mk add --no-vignettes option to 'R CMD check' and it causes
    error at test.
    The pdflatex:print/tex-formats dependency causes the --no-vignettes
    isn't included to options (see Uses/Mk/cran.mk).
    Without --no-manual option the whole print/texlive-texmf package is
    required.
---
 ftp/R-cran-curl/Makefile | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/ftp/R-cran-curl/Makefile b/ftp/R-cran-curl/Makefile
index 1b3c41b9adab..5314f2ee8cb3 100644
--- a/ftp/R-cran-curl/Makefile
+++ b/ftp/R-cran-curl/Makefile
@@ -11,7 +11,8 @@ LICENSE=	MIT
 
 BUILD_DEPENDS=	${LOCALBASE}/include/curl/curl.h:ftp/curl
 LIB_DEPENDS=	libcurl.so:ftp/curl
-TEST_DEPENDS=	R-cran-httpuv>=1.4.4:www/R-cran-httpuv \
+TEST_DEPENDS=	pdflatex:print/tex-formats \
+		R-cran-httpuv>=1.4.4:www/R-cran-httpuv \
 		R-cran-jsonlite>0:converters/R-cran-jsonlite \
 		R-cran-knitr>0:print/R-cran-knitr \
 		R-cran-later>0:devel/R-cran-later \
@@ -22,6 +23,6 @@ TEST_DEPENDS=	R-cran-httpuv>=1.4.4:www/R-cran-httpuv \
 
 USES=		cran:auto-plist,compiles
 
-TESTING_UNSAFE=	yes
+R_POSTCMD_CHECK_OPTIONS=	--no-timings --no-manual
 
 .include <bsd.port.mk>