git: 439b483bb560 - main - devel/R-cran-sessioninfo: Fix tests
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 13 Feb 2025 19:08:29 UTC
The branch main has been updated by uzsolt:
URL: https://cgit.FreeBSD.org/ports/commit/?id=439b483bb560d22725085b0f51f236458a2b25bc
commit 439b483bb560d22725085b0f51f236458a2b25bc
Author: Zsolt Udvari <uzsolt@FreeBSD.org>
AuthorDate: 2025-02-13 19:03:08 +0000
Commit: Zsolt Udvari <uzsolt@FreeBSD.org>
CommitDate: 2025-02-13 19:08:19 +0000
devel/R-cran-sessioninfo: Fix tests
The reason of test failing is the value of LC_ALL. If it's C some tests
fail. If the value is C.UTF-8 all tests passed.
---
devel/R-cran-sessioninfo/Makefile | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/devel/R-cran-sessioninfo/Makefile b/devel/R-cran-sessioninfo/Makefile
index 9e9c37631824..6ee1bb5660b2 100644
--- a/devel/R-cran-sessioninfo/Makefile
+++ b/devel/R-cran-sessioninfo/Makefile
@@ -17,8 +17,9 @@ TEST_DEPENDS= R-cran-callr>0:devel/R-cran-callr \
R-cran-rmarkdown>0:textproc/R-cran-rmarkdown \
R-cran-testthat>0:devel/R-cran-testthat \
R-cran-withr>0:devel/R-cran-withr
-TESTING_UNSAFE= https://github.com/r-lib/sessioninfo/issues/111
USES= cran:auto-plist
+MAKE_ENV+= LC_ALL="C.UTF-8"
+
.include <bsd.port.mk>