mirror of
https://github.com/BioArchLinux/Packages.git
synced 2025-03-10 12:02:42 +00:00
r-tidyselect: fix NeedsCompilation value
This commit is contained in:
parent
3a9329f04c
commit
269984537b
2 changed files with 8 additions and 24 deletions
|
@ -4,10 +4,10 @@
|
||||||
# Contributor: frichtlm <frichtlm@gmail.com>
|
# Contributor: frichtlm <frichtlm@gmail.com>
|
||||||
|
|
||||||
_pkgname=tidyselect
|
_pkgname=tidyselect
|
||||||
_pkgver=1.2.0
|
_pkgver=1.2.1
|
||||||
pkgname=r-${_pkgname,,}
|
pkgname=r-${_pkgname,,}
|
||||||
pkgver=${_pkgver//-/.}
|
pkgver=${_pkgver//-/.}
|
||||||
pkgrel=4
|
pkgrel=0
|
||||||
pkgdesc="Select from a Set of Strings"
|
pkgdesc="Select from a Set of Strings"
|
||||||
arch=(any)
|
arch=(any)
|
||||||
url="https://cran.r-project.org/package=$_pkgname"
|
url="https://cran.r-project.org/package=$_pkgname"
|
||||||
|
@ -36,27 +36,8 @@ optdepends=(
|
||||||
r-tibble
|
r-tibble
|
||||||
)
|
)
|
||||||
source=("https://cran.r-project.org/src/contrib/${_pkgname}_${_pkgver}.tar.gz")
|
source=("https://cran.r-project.org/src/contrib/${_pkgname}_${_pkgver}.tar.gz")
|
||||||
md5sums=('147069ee8d8bc42f63f253311f6c1806')
|
md5sums=('49c581292e819a2a39aac321f27ab0a8')
|
||||||
b2sums=('2a2f24e7833f3f164ef6e5fbe35493bb05a768afba1498f75e8807943944f7355d7c3622930e6e8339e2b8ab06ed0b1bbe82af8069e3a632d022f6b891866f21')
|
b2sums=('f742f3be6807caf31213331a8aa72f7603fdef3e66665f2d667a4a518716c134b0864e107157745462a97c1fa4138e1c3efc83b0df463d8f525c80981b864475')
|
||||||
|
|
||||||
prepare() {
|
|
||||||
cd "$_pkgname/tests/testthat"
|
|
||||||
|
|
||||||
# skip outdated snapshot tests
|
|
||||||
sed -i '/"eval_select() produces correct backtraces"/a\ \ skip("outdated snapshot")' \
|
|
||||||
test-eval-select.R
|
|
||||||
sed -i -e '/"all_of() and any_of() check their inputs"/a\ \ skip("outdated snapshot")' \
|
|
||||||
-e '/"`all_of()` fails even if `.strict` is FALSE"/a\ \ skip("outdated snapshot")' \
|
|
||||||
test-helpers-vector.R
|
|
||||||
sed -i '/"where() checks return values"/a\ \ skip("outdated snapshot")' \
|
|
||||||
test-helpers-where.R
|
|
||||||
sed -i -e '/"vars_select() type-checks inputs"/a\ \ skip("outdated snapshot")' \
|
|
||||||
-e '/"vars_rename() type-checks arguments"/a\ \ skip("outdated snapshot")' \
|
|
||||||
test-lifecycle-deprecated.R
|
|
||||||
sed -i -e '/"errors for bad inputs"/a\ \ skip("outdated snapshot")' \
|
|
||||||
-e '/"vars_pull() produces correct backtraces"/a\ \ skip("outdated snapshot")' \
|
|
||||||
test-vars-pull.R
|
|
||||||
}
|
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
mkdir build
|
mkdir build
|
||||||
|
|
|
@ -7,7 +7,10 @@ sys.path.append(os.path.normpath(f'{__file__}/../../../lilac-extensions'))
|
||||||
from lilac_r_utils import r_pre_build
|
from lilac_r_utils import r_pre_build
|
||||||
|
|
||||||
def pre_build():
|
def pre_build():
|
||||||
r_pre_build(_G)
|
r_pre_build(
|
||||||
|
_G,
|
||||||
|
expect_needscompilation = True,
|
||||||
|
)
|
||||||
|
|
||||||
def post_build():
|
def post_build():
|
||||||
git_pkgbuild_commit()
|
git_pkgbuild_commit()
|
||||||
|
|
Loading…
Add table
Reference in a new issue