conditionalize check to break the testthat loop, rebuild for R 4.0.0

This commit is contained in:
Tom Callaway 2020-06-03 16:31:34 -04:00
parent cc01486482
commit 98e1b9092e
1 changed files with 11 additions and 1 deletions

View File

@ -1,10 +1,12 @@
%bcond_with check
%global packname ellipsis
%global packver 0.3.1
%global rlibdir %{_libdir}/R/library
Name: R-%{packname}
Version: 0.3.1
Release: 1%{?dist}
Release: 2%{?dist}
Summary: Tools for Working with ...
License: GPLv3
@ -21,7 +23,9 @@ Source0: https://cran.r-project.org/src/contrib/%{packname}_%{packver}.
BuildRequires: R-devel
BuildRequires: tex(latex)
BuildRequires: R-rlang >= 0.3.0
%if %{with check}
BuildRequires: R-testthat
%endif
%description
The ellipsis is a powerful tool for extending functions. Unfortunately this
@ -48,7 +52,9 @@ rm -f %{buildroot}%{rlibdir}/R.css
%check
%if %{with check}
%{_bindir}/R CMD check %{packname}
%endif
%files
@ -66,6 +72,10 @@ rm -f %{buildroot}%{rlibdir}/R.css
%changelog
* Wed Jun 3 2020 Tom Callaway <spot@fedoraproject.org> - 0.3.1-2
- conditionalize check (so we can break the loop for testthat)
- rebuild for R 4
* Thu May 21 2020 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 0.3.1-1
- Update to latest version