Fix tests with old R-testthat.

This commit is contained in:
Elliott Sales de Andrade 2019-10-06 00:03:05 -04:00
parent 56cd01fe2f
commit f8ca52161e

View File

@ -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