disable tests to bootstrap testthat

Signed-off-by: Jason Montleon <jmontleo@redhat.com>
This commit is contained in:
Jason Montleon 2024-08-12 02:00:41 -04:00
parent 27ce11db14
commit 3824e73e37

View File

@ -32,7 +32,7 @@ BuildRequires: R-httr
BuildRequires: R-knitr
BuildRequires: R-lubridate
BuildRequires: R-rmarkdown
BuildRequires: R-testthat >= 3.0.0
#BuildRequires: R-testthat >= 3.0.0
%if %{without bootstrap}
BuildRequires: R-tibble
BuildRequires: R-dplyr >= 0.7.8
@ -64,7 +64,7 @@ rm -f %{buildroot}%{rlibdir}/R.css
%if %{without bootstrap}
%{_bindir}/R CMD check --ignore-vignettes %{packname}
%else
_R_CHECK_FORCE_SUGGESTS_=0 %{_bindir}/R CMD check --ignore-vignettes %{packname} --no-examples
#_R_CHECK_FORCE_SUGGESTS_=0 %{_bindir}/R CMD check --ignore-vignettes %{packname} --no-examples
%endif