diff options
author | Pekka Ristola | 2022-07-02 14:18:14 +0300 |
---|---|---|
committer | Pekka Ristola | 2022-07-02 14:18:14 +0300 |
commit | a93a338cbcb517fd480180bc10cd1f2c2b9ea90d (patch) | |
tree | bacb81483f1629363f314a8943921a9d14d160fc | |
parent | 15f74c01a749f16fbfe4869f0b861e012c0fba97 (diff) | |
download | aur-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-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 4 |
2 files changed, 3 insertions, 3 deletions
@@ -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 @@ -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() { |