Compare commits

..

1 Commits
rawhide ... f29

Author SHA1 Message Date
Elliott Sales de Andrade
f8ca52161e Fix tests with old R-testthat. 2019-10-06 00:03:05 -04:00
3 changed files with 25 additions and 78 deletions

4
.gitignore vendored
View File

@ -5,7 +5,3 @@
/later_0.7.5.tar.gz
/later_0.8.0.tar.gz
/later_1.0.0.tar.gz
/later_1.1.0.1.tar.gz
/later_1.2.0.tar.gz
/later_1.3.0.tar.gz
/later_1.3.2.tar.gz

View File

@ -1,32 +1,39 @@
%global packname later
%global packver 1.3.2
%global packname later
%global rlibdir %{_libdir}/R/library
# rmarkdown is not yet available.
%global with_doc 1
Name: R-%{packname}
Version: %{packver}
Release: 2%{?dist}
Version: 1.0.0
Release: 1%{?dist}
Summary: Utilities for Scheduling Functions to Execute Later with Event Loops
License: MIT
License: GPLv2+
URL: https://CRAN.R-project.org/package=%{packname}
Source0: https://cran.r-project.org/src/contrib/%{packname}_%{packver}.tar.gz
Source0: https://cran.r-project.org/src/contrib/%{packname}_%{version}.tar.gz
# Remove bundled tinycthread and use C11 threads directly.
Source1: tinycthread-threads-wrapper.h
# Here's the R view of the dependencies world:
# Depends:
# Imports: R-Rcpp >= 0.12.9, R-rlang
# Suggests: R-knitr, R-rmarkdown, R-testthat >= 2.1.0
# LinkingTo: R-Rcpp
# Suggests: R-knitr, R-rmarkdown, R-testthat
# LinkingTo: R-Rcpp, R-BH
# Enhances:
Requires: R-Rcpp >= 0.12.9
Requires: R-rlang
BuildRequires: R-devel
BuildRequires: tex(latex)
BuildRequires: R-Rcpp-devel >= 0.12.9
BuildRequires: R-BH-devel
BuildRequires: R-rlang
BuildRequires: R-testthat
%if %{with_doc}
BuildRequires: R-knitr
BuildRequires: R-rmarkdown
BuildRequires: R-testthat >= 2.1.0
%endif
%description
Executes arbitrary R or C functions some time after the current time, after the
@ -49,6 +56,9 @@ rm %{packname}/src/{badthreads.h,tinycthread.c}
cp %SOURCE1 %{packname}/src/tinycthread.h
sed -i -e '/badthread/d' -e '/tinycthread/d' %{packname}/MD5
# Fix skip_on_ci unavailable in testthat < 2.1.0.
sed -i -e '/skip_on_ci()/d' %{packname}/tests/testthat/*.R
%build
@ -64,7 +74,11 @@ rm %{buildroot}%{rlibdir}/%{packname}/bgtest.cpp
%check
%{_bindir}/R CMD check --ignore-vignettes %{packname}
%if %{with_doc}
%{_bindir}/R CMD check %{packname}
%else
_R_CHECK_FORCE_SUGGESTS_=0 %{_bindir}/R CMD check %{packname} --ignore-vignettes
%endif
%files
@ -73,7 +87,6 @@ rm %{buildroot}%{rlibdir}/%{packname}/bgtest.cpp
%doc %{rlibdir}/%{packname}/html
%{rlibdir}/%{packname}/DESCRIPTION
%doc %{rlibdir}/%{packname}/NEWS.md
%license %{rlibdir}/%{packname}/LICENSE
%{rlibdir}/%{packname}/INDEX
%{rlibdir}/%{packname}/NAMESPACE
%{rlibdir}/%{packname}/Meta
@ -87,71 +100,9 @@ rm %{buildroot}%{rlibdir}/%{packname}/bgtest.cpp
%changelog
* Wed Jul 17 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.2-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild
* Fri Apr 26 2024 Iñaki Úcar <iucar@fedoraproject.org> - 1.3.2-1
- Update to latest version
* Thu Apr 25 2024 Iñaki Úcar <iucar@fedoraproject.org> - 1.3.0-7
- R-maint-sig mass rebuild
* Mon Jan 22 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.0-6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
* Fri Jan 19 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.0-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
* Wed Jul 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.0-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
* Fri Apr 21 2023 Iñaki Úcar <iucar@fedoraproject.org> - 1.3.0-3
- R-maint-sig mass rebuild
* Wed Jan 18 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
* Thu Sep 1 2022 Tom Callaway <spot@fedoraproject.org> - 1.3.0-1
- update to 1.3.0
- rebuild for R 4.2.1
* Wed Jul 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.0-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
* Wed Jan 19 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.0-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
* Wed Jul 21 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.0-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
* Mon Jun 14 2021 Tom Callaway <spot@fedoraproject.org> - 1.2.0-2
- Rebuilt for R 4.1.0
* Sat Apr 24 2021 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 1.2.0-1
- Update to latest version (#1952974)
* Mon Jan 25 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.0.1-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
* Mon Jul 27 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.0.1-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
* Fri Jun 05 2020 Tom Callaway <spot@fedoraproject.org> - 1.1.0.1-1
- update to 1.1.0.1
- rebuild for R 4
* Tue Jan 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
* Sat Oct 05 2019 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 1.0.0-1
- Update to latest version
* Sun Aug 11 2019 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 0.8.0-3
- Remove explicit dependencies provided by automatic dependency generator
* Wed Jul 24 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.8.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
* Mon Feb 11 2019 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 0.8.0-1
- Update to latest version

View File

@ -1 +1 @@
SHA512 (later_1.3.2.tar.gz) = 76fa81a0bf3fb69ac590992a549110fb4c59238bd662b7419eac0c4b892d40d9df4313d38f09d69d6d5dfc118fc38187e13766430900afaa3289178413dc9d5c
SHA512 (later_1.0.0.tar.gz) = 44f2575cc51511e81880e0903923e9dbebc4cc93a37becb06637371bd6ef3780619b9c29a5e5c4141ce314b985092d32fba240fa619a323529f265412bb73937