%global __brp_check_rpaths %{nil} %global packname ShinyTester %global packver 0.1.0 %global rlibdir /usr/local/lib/R/library Name: R-CRAN-%{packname} Version: 0.1.0 Release: 3%{?dist}%{?buildtag} Summary: Functions to Minimize Bonehead Moves While Working with 'shiny' License: GPL-2 URL: https://cran.r-project.org/package=%{packname} Source0: %{url}&version=%{packver}#/%{packname}_%{packver}.tar.gz BuildRequires: R-devel Requires: R-core BuildArch: noarch BuildRequires: R-CRAN-dplyr BuildRequires: R-CRAN-purrr BuildRequires: R-CRAN-readr BuildRequires: R-CRAN-stringr BuildRequires: R-CRAN-tidyr BuildRequires: R-CRAN-visNetwork Requires: R-CRAN-dplyr Requires: R-CRAN-purrr Requires: R-CRAN-readr Requires: R-CRAN-stringr Requires: R-CRAN-tidyr Requires: R-CRAN-visNetwork %description It's my experience that working with 'shiny' is intuitive once you're into it, but can be quite daunting at first. Several common mistakes are fairly predictable, and therefore we can control for these. The functions in this package help match up the assets listed in the UI and the SERVER files, and Visualize the ad hoc structure of the 'shiny' App. %prep %setup -q -c -n %{packname} %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 %files %{rlibdir}/%{packname}