diff options
author | Pekka Ristola | 2022-08-10 17:56:45 +0300 |
---|---|---|
committer | Pekka Ristola | 2022-08-10 17:56:45 +0300 |
commit | 0368c66d3acfb254e8dc8f89b58c286ad8ba9026 (patch) | |
tree | 25dd0e874a3407ce9059932378a7f3bd0c136426 | |
parent | d6aa4c86e29e1013a3ea6b4a82d5ba601321aa96 (diff) | |
download | aur-0368c66d3acfb254e8dc8f89b58c286ad8ba9026.tar.gz |
Fix tests to work with r-vctrs 0.4.1
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 6 |
2 files changed, 6 insertions, 2 deletions
@@ -1,7 +1,7 @@ pkgbase = r-lubridate pkgdesc = Make Dealing with Dates a Little Easier pkgver = 1.8.0 - pkgrel = 2 + pkgrel = 3 url = https://cran.r-project.org/package=lubridate arch = i686 arch = x86_64 @@ -7,7 +7,7 @@ _cranname=lubridate _cranver=1.8.0 pkgname=r-${_cranname,,} pkgver=${_cranver//[:-]/.} -pkgrel=2 +pkgrel=3 pkgdesc="Make Dealing with Dates a Little Easier" arch=(i686 x86_64) url="https://cran.r-project.org/package=${_cranname}" @@ -28,6 +28,10 @@ sha256sums=('87d66efdb1f3d680db381d7e40a202d35645865a0542e2f270ef008a19002ba5') prepare() { cd "${_cranname}" + # skip snapshot test that is incompatible with r-vctrs 0.4.1 + sed -i '/"vctrs methods have informative errors"/a\ \ skip("Incompatible with vctrs>=0.4.1")' \ + tests/testthat/test-vctrs.R + # skip test that requires a French locale sed -i '/"parsing months with dots works in French linux locale"/a skip("Requires a French locale")' \ tests/testthat/test-parsers.R |