%global __brp_check_rpaths %{nil} %global packname ESTER %global packver 0.2.0 %global rlibdir /usr/local/lib/R/library Name: R-CRAN-%{packname} Version: 0.2.0 Release: 3%{?dist}%{?buildtag} Summary: Efficient Sequential Testing with Evidence Ratios License: MIT + file LICENSE URL: https://cran.r-project.org/package=%{packname} Source0: %{url}&version=%{packver}#/%{packname}_%{packver}.tar.gz BuildRequires: R-devel >= 3.3.0 Requires: R-core >= 3.3.0 BuildArch: noarch BuildRequires: R-CRAN-brms BuildRequires: R-CRAN-lme4 BuildRequires: R-CRAN-dplyr BuildRequires: R-CRAN-magrittr BuildRequires: R-CRAN-tidyr BuildRequires: R-CRAN-ggplot2 BuildRequires: R-CRAN-rlang BuildRequires: R-CRAN-foreach BuildRequires: R-CRAN-doParallel BuildRequires: R-CRAN-cowplot Requires: R-CRAN-brms Requires: R-CRAN-lme4 Requires: R-CRAN-dplyr Requires: R-CRAN-magrittr Requires: R-CRAN-tidyr Requires: R-CRAN-ggplot2 Requires: R-CRAN-rlang Requires: R-CRAN-foreach Requires: R-CRAN-doParallel Requires: R-CRAN-cowplot %description An implementation of sequential testing that uses evidence ratios computed from the weights of a set of models. These weights correspond either to Akaike weights computed from the Akaike Information Criterion (AIC) or the Bayesian Information Criterion (BIC) and following Burnham & Anderson (2004, ) recommendations, or to pseudo-BMA weights computed from the WAIC or the LOO-IC of models fitted with 'brms' and following Yao et al. (2017, ). %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}