Disable checks to bootstrap testthat

Signed-off-by: Jason Montleon <jmontleo@redhat.com>
This commit is contained in:
Jason Montleon 2024-08-11 16:08:26 -04:00
parent 3ee6024fc1
commit 4243f22859

View File

@ -6,7 +6,7 @@
Name: R-%{packname}
Version: %{packver}
Release: 2%{?dist}
Release: 2.0.risc64%{?dist}
Summary: Parse XML
# Automatically converted from old format: GPLv2+ - review is highly recommended.
@ -26,7 +26,7 @@ BuildRequires: R-devel
BuildRequires: tex(latex)
BuildRequires: R-methods
BuildRequires: R-magrittr
BuildRequires: R-testthat >= 2.1.0
#BuildRequires: R-testthat >= 2.1.0
%if %{with_suggests}
BuildRequires: R-mockery
BuildRequires: R-curl
@ -70,7 +70,7 @@ rm -f %{buildroot}%{rlibdir}/R.css
%if %{with_suggests}
%{_bindir}/R CMD check %{packname} --no-examples
%else
_R_CHECK_FORCE_SUGGESTS_=0 %{_bindir}/R CMD check %{packname} --ignore-vignettes --no-examples --no-tests
#_R_CHECK_FORCE_SUGGESTS_=0 %{_bindir}/R CMD check %{packname} --ignore-vignettes --no-examples --no-tests
%endif