From f8ca52161e1c488e50fca262451e888b95a43ec4 Mon Sep 17 00:00:00 2001 From: Elliott Sales de Andrade Date: Sun, 6 Oct 2019 00:03:05 -0400 Subject: [PATCH] Fix tests with old R-testthat. --- R-later.spec | 3 +++ 1 file changed, 3 insertions(+) diff --git a/R-later.spec b/R-later.spec index 98bf193..256d79d 100644 --- a/R-later.spec +++ b/R-later.spec @@ -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