git: 4323ce2c667e - main - math/R-cran-matrixStats: Update test dependency

From: Nuno Teixeira <eduardo_at_FreeBSD.org>
Date: Thu, 20 Feb 2025 10:15:12 UTC
The branch main has been updated by eduardo:

URL: https://cgit.FreeBSD.org/ports/commit/?id=4323ce2c667e29f20d17278e8c4c3b6e6c72b80f

commit 4323ce2c667e29f20d17278e8c4c3b6e6c72b80f
Author:     Nuno Teixeira <eduardo@FreeBSD.org>
AuthorDate: 2025-02-20 10:13:20 +0000
Commit:     Nuno Teixeira <eduardo@FreeBSD.org>
CommitDate: 2025-02-20 10:15:00 +0000

    math/R-cran-matrixStats: Update test dependency
    
    Use R.rsp from ports as it is available now.
    
    Reported by:    uzsolt
---
 math/R-cran-matrixStats/Makefile | 7 ++-----
 1 file changed, 2 insertions(+), 5 deletions(-)

diff --git a/math/R-cran-matrixStats/Makefile b/math/R-cran-matrixStats/Makefile
index f17a8110acc0..4449a5289bc9 100644
--- a/math/R-cran-matrixStats/Makefile
+++ b/math/R-cran-matrixStats/Makefile
@@ -9,11 +9,8 @@ WWW=		https://cran.r-project.org/web/packages/matrixStats/
 
 LICENSE=	ART20
 
-USES=		cran:auto-plist,compiles
+TEST_DEPENDS=	R-cran-R.rsp>0:textproc/R-cran-R.rsp
 
-pre-test:
-# R-cran-R.rsp package does not exist yet
-	@${LOCALBASE}/bin/Rscript -e 'install.packages("R.rsp", \
-		repos = "https://cloud.r-project.org")'
+USES=		cran:auto-plist,compiles
 
 .include <bsd.port.mk>