Fix tests with old R-testthat.
This commit is contained in:
parent
56cd01fe2f
commit
f8ca52161e
@ -56,6 +56,9 @@ rm %{packname}/src/{badthreads.h,tinycthread.c}
|
||||
cp %SOURCE1 %{packname}/src/tinycthread.h
|
||||
sed -i -e '/badthread/d' -e '/tinycthread/d' %{packname}/MD5
|
||||
|
||||
# Fix skip_on_ci unavailable in testthat < 2.1.0.
|
||||
sed -i -e '/skip_on_ci()/d' %{packname}/tests/testthat/*.R
|
||||
|
||||
|
||||
%build
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user