summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorPekka Ristola2022-07-02 14:18:14 +0300
committerPekka Ristola2022-07-02 14:18:14 +0300
commita93a338cbcb517fd480180bc10cd1f2c2b9ea90d (patch)
treebacb81483f1629363f314a8943921a9d14d160fc
parent15f74c01a749f16fbfe4869f0b861e012c0fba97 (diff)
downloadaur-a93a338cbcb517fd480180bc10cd1f2c2b9ea90d.tar.gz
Make tests work even when LC_ALL is set
The previous fix didn't work when user has set their locale using the LC_ALL variable.
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD4
2 files changed, 3 insertions, 3 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 3a81cdc7583..766b625caea 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = r-rcpp
pkgdesc = Seamless R and C++ Integration
pkgver = 1.0.8.3
- pkgrel = 2
+ pkgrel = 3
url = https://cran.r-project.org/package=Rcpp
arch = i686
arch = x86_64
diff --git a/PKGBUILD b/PKGBUILD
index 29fa13a3660..a896a9fd759 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -6,7 +6,7 @@ _cranname=Rcpp
_cranver=1.0.8.3
pkgname=r-${_cranname,,}
pkgver=${_cranver//[:-]/.}
-pkgrel=2
+pkgrel=3
pkgdesc="Seamless R and C++ Integration"
arch=(i686 x86_64)
url="https://cran.r-project.org/package=${_cranname}"
@@ -29,7 +29,7 @@ build() {
check() {
cd "${_cranname}/tests"
- R_LIBS="${srcdir}/build" LC_MESSAGES=C RunAllRcppTests=yes Rscript --vanilla tinytest.R
+ R_LIBS="${srcdir}/build" LC_ALL=C.UTF-8 RunAllRcppTests=yes Rscript --vanilla tinytest.R
}
package() {