git: 87b934b2aadb - main - misc/R-cran-optimx: Update test dependency

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

URL: https://cgit.FreeBSD.org/ports/commit/?id=87b934b2aadb32585715ea1e862bfa00906e4e7b

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

    misc/R-cran-optimx: Update test dependency
    
    Use R.rsp from ports as it is available now.
    
    Reported by:    uzsolt
---
 misc/R-cran-optimx/Makefile | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/misc/R-cran-optimx/Makefile b/misc/R-cran-optimx/Makefile
index c9008e30586a..efc37bdbe188 100644
--- a/misc/R-cran-optimx/Makefile
+++ b/misc/R-cran-optimx/Makefile
@@ -15,6 +15,7 @@ CRAN_DEPENDS=	R-cran-nloptr>0:math/R-cran-nloptr \
 BUILD_DEPENDS=	${CRAN_DEPENDS}
 RUN_DEPENDS=	${CRAN_DEPENDS}
 TEST_DEPENDS=	R-cran-minqa>0:math/R-cran-minqa \
+		R-cran-R.rsp>0:textproc/R-cran-R.rsp \
 		R-cran-testthat>0:devel/R-cran-testthat
 
 USES=		cran:auto-plist
@@ -22,7 +23,7 @@ USES=		cran:auto-plist
 pre-test:
 
 # Test depends not ported yet
-.for pkg in BB R.rsp dfoptim lbfgsb3c subplex ucminf
+.for pkg in BB dfoptim lbfgsb3c subplex ucminf
 	@${LOCALBASE}/bin/Rscript -e 'install.packages("${pkg}", \
 		repos = "https://cloud.r-project.org")'
 .endfor