disable check to break testthat loop, rebuild for R 4

This commit is contained in:
Tom Callaway 2020-06-03 15:44:28 -04:00
parent 145563b40c
commit 3d411edd71
1 changed files with 8 additions and 4 deletions

View File

@ -3,11 +3,11 @@
%global rlibdir %{_libdir}/R/library
# Tests requires processx which requires this package.
%global with_test 1
%global with_test 0
Name: R-%{packname}
Version: 1.3.3
Release: 1%{?dist}
Release: 2%{?dist}
Summary: List, Query, Manipulate System Processes
License: BSD
@ -26,10 +26,10 @@ Patch0001: 0001-Don-t-run-example-that-uses-the-network.patch
BuildRequires: R-devel
BuildRequires: tex(latex)
BuildRequires: R-utils
%if %{with_test}
BuildRequires: R-R6
BuildRequires: R-rlang
BuildRequires: R-tibble
%if %{with_test}
BuildRequires: R-callr
BuildRequires: R-curl
BuildRequires: R-pingr
@ -70,7 +70,7 @@ rm %{buildroot}%{rlibdir}/%{packname}/tools/winver.R
%if %{with_test}
%{_bindir}/R CMD check %{packname}
%else
_R_CHECK_FORCE_SUGGESTS_=0 %{_bindir}/R CMD check %{packname} --no-tests
# _R_CHECK_FORCE_SUGGESTS_=0 %{_bindir}/R CMD check %{packname} --no-tests
%endif
@ -94,6 +94,10 @@ _R_CHECK_FORCE_SUGGESTS_=0 %{_bindir}/R CMD check %{packname} --no-tests
%changelog
* Wed Jun 3 2020 Tom Callaway <spot@fedoraproject.org> - 1.3.3-2
- expand with_test to cover all BR, then disable to break testthat loop
- rebuild for R 4
* Thu May 21 2020 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 1.3.3-1
- Update to latest version