Switch bootstrap -> suggests to avoid checking those, package R-ggbeeswarm|ggridges not available
This commit is contained in:
parent
92f9dde9f0
commit
7bcff329ca
@ -4,8 +4,7 @@
|
||||
|
||||
%global __suggests_exclude ^R\\((ggbeeswarm|ggplot2|ggridges)\\)
|
||||
|
||||
# When we are bootstrapping, we drop some dependencies, and/or build time tests.
|
||||
%bcond_with bootstrap
|
||||
%bcond_with suggests
|
||||
|
||||
Name: R-%{packname}
|
||||
Version: %{packver}
|
||||
@ -36,7 +35,7 @@ BuildRequires: R-utils
|
||||
BuildRequires: R-mockery
|
||||
BuildRequires: R-parallel
|
||||
BuildRequires: R-testthat
|
||||
%if %{without bootstrap}
|
||||
%if %{with suggests}
|
||||
BuildRequires: R-dplyr
|
||||
BuildRequires: R-forcats
|
||||
BuildRequires: R-ggbeeswarm
|
||||
@ -71,7 +70,7 @@ rm -f %{buildroot}%{rlibdir}/R.css
|
||||
|
||||
|
||||
%check
|
||||
%if %{without bootstrap}
|
||||
%if %{with suggests}
|
||||
%{_bindir}/R CMD check %{packname}
|
||||
%else
|
||||
_R_CHECK_FORCE_SUGGESTS_=0 %{_bindir}/R CMD check %{packname}
|
||||
|
Loading…
Reference in New Issue
Block a user