Projects
Eulaceura:Mainline
R-withr
_service:obs_scm:R-withr.spec
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File _service:obs_scm:R-withr.spec of Package R-withr
# Bootstrap %bcond_without bootstrap %global packname withr %global packver 2.4.3 %global rlibdir %{_datadir}/R/library Name: R-%{packname} Version: 2.4.3 Release: 1 Summary: Run Code 'With' Temporarily Modified Global State License: MIT URL: https://CRAN.R-project.org/package=%{packname} Source0: https://cran.r-project.org/src/contrib/%{packname}_%{packver}.tar.gz BuildArch: noarch BuildRequires: R-devel BuildRequires: tex(latex) BuildRequires: R-graphics BuildRequires: R-grDevices BuildRequires: R-stats %if %{without bootstrap} BuildRequires: R-callr BuildRequires: R-DBI BuildRequires: R-knitr BuildRequires: R-lattice BuildRequires: R-methods BuildRequires: R-rmarkdown BuildRequires: R-RSQLite BuildRequires: R-testthat >= 3.0.0 %endif %description A set of functions to run code 'with' safely and temporarily modified global state. Many of these functions were originally a part of the 'devtools' package, this provides a simple package with limited dependencies to provide access to these functions. %prep %setup -q -c -n %{packname} sed -i 's/covr, //g' %{packname}/DESCRIPTION %build %install mkdir -p %{buildroot}%{rlibdir} %{_bindir}/R CMD INSTALL -l %{buildroot}%{rlibdir} %{packname} test -d %{packname}/src && (cd %{packname}/src; rm -f *.o *.so) rm -f %{buildroot}%{rlibdir}/R.css %check %if %{without bootstrap} export LANG=C.UTF-8 %{_bindir}/R CMD check %{packname} %endif %files %dir %{rlibdir}/%{packname} %doc %{rlibdir}/%{packname}/doc %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 %{rlibdir}/%{packname}/R %{rlibdir}/%{packname}/help %changelog * Tue Jun 14 2022 misaka00251 <misaka00251@misakanet.cn> - 2.4.3-1 - Init package (Thanks to fedora team)
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.
浙ICP备2022010568号-2