From 36951391f07ec4e2f7f275f6228e22ad723e6ecf Mon Sep 17 00:00:00 2001 From: Github Action Date: Fri, 29 Nov 2024 01:47:43 +0000 Subject: [PATCH] sync --- specs/R-CRAN-BAS.spec | 4 +- specs/R-CRAN-CohortSurvival.spec | 12 +-- specs/R-CRAN-CompExpDes.spec | 4 +- specs/R-CRAN-DQAgui.spec | 4 +- specs/R-CRAN-HTSeedGLM.spec | 67 ++++++++++++++++ specs/R-CRAN-LLIC.spec | 66 ++++++++++++++++ specs/R-CRAN-PatientProfiles.spec | 12 +-- specs/R-CRAN-ReporterScore.spec | 4 +- specs/R-CRAN-SudokuDesigns.spec | 4 +- specs/R-CRAN-TAD.spec | 70 +++++++++++++++++ specs/R-CRAN-bayeslist.spec | 69 +++++++++++++++++ specs/R-CRAN-callme.spec | 6 +- specs/R-CRAN-crossnma.spec | 10 +-- specs/R-CRAN-dataCompare.spec | 4 +- specs/R-CRAN-dfr.spec | 4 +- specs/R-CRAN-distillery.spec | 7 +- specs/R-CRAN-drape.spec | 6 +- ...N-GPIC.spec => R-CRAN-epiparameterDB.spec} | 11 +-- specs/R-CRAN-eudract.spec | 4 +- specs/R-CRAN-familial.spec | 4 +- specs/R-CRAN-grpsel.spec | 4 +- specs/R-CRAN-ifo.spec | 6 +- specs/R-CRAN-interpret.spec | 58 ++++++++++++++ specs/R-CRAN-isocountry.spec | 4 +- specs/R-CRAN-mlr3misc.spec | 4 +- specs/R-CRAN-monolix2rx.spec | 4 +- specs/R-CRAN-nonmem2rx.spec | 6 +- specs/R-CRAN-prim.spec | 4 +- specs/R-CRAN-priorCON.spec | 4 +- specs/R-CRAN-qVarSel.spec | 59 ++++++++++++++ specs/R-CRAN-rintcal.spec | 9 ++- specs/R-CRAN-rsofun.spec | 71 +++++++++++++++++ specs/R-CRAN-saeHB.twofold.spec | 76 +++++++++++++++++++ specs/R-CRAN-samplezoo.spec | 57 ++++++++++++++ specs/R-CRAN-sgs.spec | 4 +- specs/R-CRAN-smoothie.spec | 7 +- specs/R-CRAN-verification.spec | 27 +++++-- 37 files changed, 691 insertions(+), 85 deletions(-) create mode 100644 specs/R-CRAN-HTSeedGLM.spec create mode 100644 specs/R-CRAN-LLIC.spec create mode 100644 specs/R-CRAN-TAD.spec create mode 100644 specs/R-CRAN-bayeslist.spec rename specs/{R-CRAN-GPIC.spec => R-CRAN-epiparameterDB.spec} (81%) create mode 100644 specs/R-CRAN-interpret.spec create mode 100644 specs/R-CRAN-qVarSel.spec create mode 100644 specs/R-CRAN-rsofun.spec create mode 100644 specs/R-CRAN-saeHB.twofold.spec create mode 100644 specs/R-CRAN-samplezoo.spec diff --git a/specs/R-CRAN-BAS.spec b/specs/R-CRAN-BAS.spec index 78b1076a61..a35d5f5b10 100644 --- a/specs/R-CRAN-BAS.spec +++ b/specs/R-CRAN-BAS.spec @@ -1,11 +1,11 @@ %global __brp_check_rpaths %{nil} %global __requires_exclude ^libmpi %global packname BAS -%global packver 1.7.3 +%global packver 1.7.5 %global rlibdir /usr/local/lib/R/library Name: R-CRAN-%{packname} -Version: 1.7.3 +Version: 1.7.5 Release: 1%{?dist}%{?buildtag} Summary: Bayesian Variable Selection and Model Averaging using Bayesian Adaptive Sampling diff --git a/specs/R-CRAN-CohortSurvival.spec b/specs/R-CRAN-CohortSurvival.spec index 0b8b93a3be..1f7581860d 100644 --- a/specs/R-CRAN-CohortSurvival.spec +++ b/specs/R-CRAN-CohortSurvival.spec @@ -1,11 +1,11 @@ %global __brp_check_rpaths %{nil} %global __requires_exclude ^libmpi %global packname CohortSurvival -%global packver 0.6.0 +%global packver 0.6.1 %global rlibdir /usr/local/lib/R/library Name: R-CRAN-%{packname} -Version: 0.6.0 +Version: 0.6.1 Release: 1%{?dist}%{?buildtag} Summary: Estimate Survival from Common Data Model Cohorts @@ -20,8 +20,7 @@ BuildArch: noarch BuildRequires: R-CRAN-survival >= 3.7.0 BuildRequires: R-CRAN-CDMConnector >= 1.3.0 BuildRequires: R-CRAN-rlang >= 0.4.11 -BuildRequires: R-CRAN-visOmopResults >= 0.3.0 -BuildRequires: R-CRAN-omopgenerics >= 0.2.0 +BuildRequires: R-CRAN-omopgenerics >= 0.4.0 BuildRequires: R-CRAN-checkmate BuildRequires: R-CRAN-cli BuildRequires: R-CRAN-DBI @@ -31,7 +30,6 @@ BuildRequires: R-CRAN-magrittr BuildRequires: R-CRAN-lubridate BuildRequires: R-CRAN-broom BuildRequires: R-CRAN-PatientProfiles -BuildRequires: R-CRAN-scales BuildRequires: R-CRAN-stringr BuildRequires: R-CRAN-tibble BuildRequires: R-CRAN-tidyr @@ -40,8 +38,7 @@ BuildRequires: R-CRAN-lifecycle Requires: R-CRAN-survival >= 3.7.0 Requires: R-CRAN-CDMConnector >= 1.3.0 Requires: R-CRAN-rlang >= 0.4.11 -Requires: R-CRAN-visOmopResults >= 0.3.0 -Requires: R-CRAN-omopgenerics >= 0.2.0 +Requires: R-CRAN-omopgenerics >= 0.4.0 Requires: R-CRAN-checkmate Requires: R-CRAN-cli Requires: R-CRAN-DBI @@ -51,7 +48,6 @@ Requires: R-CRAN-magrittr Requires: R-CRAN-lubridate Requires: R-CRAN-broom Requires: R-CRAN-PatientProfiles -Requires: R-CRAN-scales Requires: R-CRAN-stringr Requires: R-CRAN-tibble Requires: R-CRAN-tidyr diff --git a/specs/R-CRAN-CompExpDes.spec b/specs/R-CRAN-CompExpDes.spec index 808fbffdb3..66a0ef4a23 100644 --- a/specs/R-CRAN-CompExpDes.spec +++ b/specs/R-CRAN-CompExpDes.spec @@ -1,11 +1,11 @@ %global __brp_check_rpaths %{nil} %global __requires_exclude ^libmpi %global packname CompExpDes -%global packver 1.0.5 +%global packver 1.0.6 %global rlibdir /usr/local/lib/R/library Name: R-CRAN-%{packname} -Version: 1.0.5 +Version: 1.0.6 Release: 1%{?dist}%{?buildtag} Summary: Computer Experiment Designs diff --git a/specs/R-CRAN-DQAgui.spec b/specs/R-CRAN-DQAgui.spec index 8c9fda3406..d616e2b133 100644 --- a/specs/R-CRAN-DQAgui.spec +++ b/specs/R-CRAN-DQAgui.spec @@ -1,11 +1,11 @@ %global __brp_check_rpaths %{nil} %global __requires_exclude ^libmpi %global packname DQAgui -%global packver 0.2.4 +%global packver 0.2.5 %global rlibdir /usr/local/lib/R/library Name: R-CRAN-%{packname} -Version: 0.2.4 +Version: 0.2.5 Release: 1%{?dist}%{?buildtag} Summary: Graphical User Interface for Data Quality Assessment diff --git a/specs/R-CRAN-HTSeedGLM.spec b/specs/R-CRAN-HTSeedGLM.spec new file mode 100644 index 0000000000..971b7c3737 --- /dev/null +++ b/specs/R-CRAN-HTSeedGLM.spec @@ -0,0 +1,67 @@ +%global __brp_check_rpaths %{nil} +%global __requires_exclude ^libmpi +%global packname HTSeedGLM +%global packver 0.1.0 +%global rlibdir /usr/local/lib/R/library + +Name: R-CRAN-%{packname} +Version: 0.1.0 +Release: 1%{?dist}%{?buildtag} +Summary: Hydro Thermal Time Analysis of Seed Germination Using Generalised Linear Model + +License: GPL-3 +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-stats +Requires: R-stats + +%description +Seed germinates through the physical process of water uptake by dry seed +driven by the difference in water potential between the seed and the +water. There exists seed-to-seed variability in the base seed water +potential. Hence, there is a need for a distribution such that a viable +seed with its base seed water potential germinates if and only if the soil +water potential is more than the base seed water potential. This package +estimates the stress tolerance and uniformity parameters of the seed lot +for germination under various temperatures by using the hydro-time model +of counts of germinated seeds under various water potentials. The +distribution of base seed water potential has been considered to follow +Normal, Logistic and Extreme value distribution. The estimated proportion +of germinated seeds along with the estimates of stress and uniformity +parameters are obtained using a generalised linear model. The significance +test of the above parameters for within and between temperatures is also +performed in the analysis. Details can be found in Kebreab and Murdoch +(1999) and Bradford (2002) +. + +%prep +%setup -q -c -n %{packname} + +# fix end of executable files +find -type f -executable -exec grep -Iq . {} \; -exec sed -i -e '$a\' {} \; +# prevent binary stripping +[ -d %{packname}/src ] && find %{packname}/src -type f -exec \ + sed -i 's@/usr/bin/strip@/usr/bin/true@g' {} \; || true +[ -d %{packname}/src ] && find %{packname}/src/Make* -type f -exec \ + sed -i 's@-g0@@g' {} \; || true +# don't allow local prefix in executable scripts +find -type f -executable -exec sed -Ei 's@#!( )*/usr/local/bin@#!/usr/bin@g' {} \; + +%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 +# remove buildroot from installed files +find %{buildroot}%{rlibdir} -type f -exec sed -i "s@%{buildroot}@@g" {} \; + +%files +%{rlibdir}/%{packname} diff --git a/specs/R-CRAN-LLIC.spec b/specs/R-CRAN-LLIC.spec new file mode 100644 index 0000000000..b81cebf835 --- /dev/null +++ b/specs/R-CRAN-LLIC.spec @@ -0,0 +1,66 @@ +%global __brp_check_rpaths %{nil} +%global __requires_exclude ^libmpi +%global packname LLIC +%global packver 3.0.0 +%global rlibdir /usr/local/lib/R/library + +Name: R-CRAN-%{packname} +Version: 3.0.0 +Release: 1%{?dist}%{?buildtag} +Summary: Likelihood Criterion (LIC) Analysis for Laplace Regression Model + +License: MIT + file LICENSE +URL: https://cran.r-project.org/package=%{packname} +Source0: %{url}&version=%{packver}#/%{packname}_%{packver}.tar.gz + + +BuildRequires: R-devel >= 3.5.0 +Requires: R-core >= 3.5.0 +BuildArch: noarch +BuildRequires: R-stats +BuildRequires: R-CRAN-VGAM +BuildRequires: R-CRAN-dplyr +BuildRequires: R-CRAN-LaplacesDemon +BuildRequires: R-CRAN-relliptical +BuildRequires: R-CRAN-ggplot2 +BuildRequires: R-CRAN-rlang +Requires: R-stats +Requires: R-CRAN-VGAM +Requires: R-CRAN-dplyr +Requires: R-CRAN-LaplacesDemon +Requires: R-CRAN-relliptical +Requires: R-CRAN-ggplot2 +Requires: R-CRAN-rlang + +%description +Performs likelihood criterion analysis using the Laplace regression model +to determine its optimal subset of variables. The methodology is based on +Guo et al. (2023), LIC criterion for optimal subset selection in +distributed interval estimation . + +%prep +%setup -q -c -n %{packname} + +# fix end of executable files +find -type f -executable -exec grep -Iq . {} \; -exec sed -i -e '$a\' {} \; +# prevent binary stripping +[ -d %{packname}/src ] && find %{packname}/src -type f -exec \ + sed -i 's@/usr/bin/strip@/usr/bin/true@g' {} \; || true +[ -d %{packname}/src ] && find %{packname}/src/Make* -type f -exec \ + sed -i 's@-g0@@g' {} \; || true +# don't allow local prefix in executable scripts +find -type f -executable -exec sed -Ei 's@#!( )*/usr/local/bin@#!/usr/bin@g' {} \; + +%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 +# remove buildroot from installed files +find %{buildroot}%{rlibdir} -type f -exec sed -i "s@%{buildroot}@@g" {} \; + +%files +%{rlibdir}/%{packname} diff --git a/specs/R-CRAN-PatientProfiles.spec b/specs/R-CRAN-PatientProfiles.spec index 8ec499d0c5..0883912a74 100644 --- a/specs/R-CRAN-PatientProfiles.spec +++ b/specs/R-CRAN-PatientProfiles.spec @@ -1,11 +1,11 @@ %global __brp_check_rpaths %{nil} %global __requires_exclude ^libmpi %global packname PatientProfiles -%global packver 1.2.1 +%global packver 1.2.2 %global rlibdir /usr/local/lib/R/library Name: R-CRAN-%{packname} -Version: 1.2.1 +Version: 1.2.2 Release: 1%{?dist}%{?buildtag} Summary: Identify Characteristics of Patients in the OMOP Common Data Model @@ -18,9 +18,7 @@ BuildRequires: R-devel >= 2.10 Requires: R-core >= 2.10 BuildArch: noarch BuildRequires: R-CRAN-CDMConnector >= 1.3.1 -BuildRequires: R-CRAN-omopgenerics >= 0.2.0 -BuildRequires: R-CRAN-visOmopResults >= 0.2.0 -BuildRequires: R-CRAN-magrittr +BuildRequires: R-CRAN-omopgenerics >= 0.4.0 BuildRequires: R-CRAN-dplyr BuildRequires: R-CRAN-tidyr BuildRequires: R-CRAN-rlang @@ -29,9 +27,7 @@ BuildRequires: R-CRAN-stringr BuildRequires: R-CRAN-purrr BuildRequires: R-CRAN-lifecycle Requires: R-CRAN-CDMConnector >= 1.3.1 -Requires: R-CRAN-omopgenerics >= 0.2.0 -Requires: R-CRAN-visOmopResults >= 0.2.0 -Requires: R-CRAN-magrittr +Requires: R-CRAN-omopgenerics >= 0.4.0 Requires: R-CRAN-dplyr Requires: R-CRAN-tidyr Requires: R-CRAN-rlang diff --git a/specs/R-CRAN-ReporterScore.spec b/specs/R-CRAN-ReporterScore.spec index f04f5f258e..4eb787c4c7 100644 --- a/specs/R-CRAN-ReporterScore.spec +++ b/specs/R-CRAN-ReporterScore.spec @@ -1,11 +1,11 @@ %global __brp_check_rpaths %{nil} %global __requires_exclude ^libmpi %global packname ReporterScore -%global packver 0.1.8 +%global packver 0.1.9 %global rlibdir /usr/local/lib/R/library Name: R-CRAN-%{packname} -Version: 0.1.8 +Version: 0.1.9 Release: 1%{?dist}%{?buildtag} Summary: Generalized Reporter Score-Based Enrichment Analysis for Omics Data diff --git a/specs/R-CRAN-SudokuDesigns.spec b/specs/R-CRAN-SudokuDesigns.spec index 51bcf18bbc..21a3626a4e 100644 --- a/specs/R-CRAN-SudokuDesigns.spec +++ b/specs/R-CRAN-SudokuDesigns.spec @@ -1,11 +1,11 @@ %global __brp_check_rpaths %{nil} %global __requires_exclude ^libmpi %global packname SudokuDesigns -%global packver 1.0.0 +%global packver 1.1.0 %global rlibdir /usr/local/lib/R/library Name: R-CRAN-%{packname} -Version: 1.0.0 +Version: 1.1.0 Release: 1%{?dist}%{?buildtag} Summary: Sudoku as an Experimental Design diff --git a/specs/R-CRAN-TAD.spec b/specs/R-CRAN-TAD.spec new file mode 100644 index 0000000000..df317684ae --- /dev/null +++ b/specs/R-CRAN-TAD.spec @@ -0,0 +1,70 @@ +%global __brp_check_rpaths %{nil} +%global __requires_exclude ^libmpi +%global packname TAD +%global packver 1.0.0 +%global rlibdir /usr/local/lib/R/library + +Name: R-CRAN-%{packname} +Version: 1.0.0 +Release: 1%{?dist}%{?buildtag} +Summary: Realize the Trait Abundance Distribution + +License: BSD_3_clause + file LICENSE +URL: https://cran.r-project.org/package=%{packname} +Source0: %{url}&version=%{packver}#/%{packname}_%{packver}.tar.gz + + +BuildRequires: R-devel >= 3.5 +Requires: R-core >= 3.5 +BuildArch: noarch +BuildRequires: R-CRAN-mblm >= 0.12 +BuildRequires: R-CRAN-doFuture +BuildRequires: R-CRAN-foreach +BuildRequires: R-methods +BuildRequires: R-stats +Requires: R-CRAN-mblm >= 0.12 +Requires: R-CRAN-doFuture +Requires: R-CRAN-foreach +Requires: R-methods +Requires: R-stats + +%description +This analytical framework is based on an analysis of the shape of the +trait abundance distributions to better understand community assembly +processes, and predict community dynamics under environmental changes. +This framework mobilized a study of the relationship between the moments +describing the shape of the distributions: the skewness and the kurtosis +(SKR). The SKR allows the identification of commonalities in the shape of +trait distributions across contrasting communities. Derived from the SKR, +we developed mathematical parameters that summarise the complex pattern of +distributions by assessing (i) the R², (ii) the Y-intercept, (iii) the +slope, (iv) the functional stability of community (TADstab), and, (v) the +distance from specific distribution families (i.e., the distance from the +skew-uniform family a limit to the highest degree of evenness: TADeve). + +%prep +%setup -q -c -n %{packname} + +# fix end of executable files +find -type f -executable -exec grep -Iq . {} \; -exec sed -i -e '$a\' {} \; +# prevent binary stripping +[ -d %{packname}/src ] && find %{packname}/src -type f -exec \ + sed -i 's@/usr/bin/strip@/usr/bin/true@g' {} \; || true +[ -d %{packname}/src ] && find %{packname}/src/Make* -type f -exec \ + sed -i 's@-g0@@g' {} \; || true +# don't allow local prefix in executable scripts +find -type f -executable -exec sed -Ei 's@#!( )*/usr/local/bin@#!/usr/bin@g' {} \; + +%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 +# remove buildroot from installed files +find %{buildroot}%{rlibdir} -type f -exec sed -i "s@%{buildroot}@@g" {} \; + +%files +%{rlibdir}/%{packname} diff --git a/specs/R-CRAN-bayeslist.spec b/specs/R-CRAN-bayeslist.spec new file mode 100644 index 0000000000..2436eb7470 --- /dev/null +++ b/specs/R-CRAN-bayeslist.spec @@ -0,0 +1,69 @@ +%global __brp_check_rpaths %{nil} +%global __requires_exclude ^libmpi +%global packname bayeslist +%global packver 0.0.1.4 +%global rlibdir /usr/local/lib/R/library + +Name: R-CRAN-%{packname} +Version: 0.0.1.4 +Release: 1%{?dist}%{?buildtag} +Summary: Bayesian Analysis of List Experiments with Prior Information + +License: MIT + file LICENSE +URL: https://cran.r-project.org/package=%{packname} +Source0: %{url}&version=%{packver}#/%{packname}_%{packver}.tar.gz + + +BuildRequires: R-devel >= 3.5.0 +Requires: R-core >= 3.5.0 +BuildRequires: R-CRAN-RcppParallel >= 5.0.1 +BuildRequires: R-CRAN-ggplot2 >= 3.3.3 +BuildRequires: R-CRAN-rstan >= 2.18.1 +BuildRequires: R-CRAN-StanHeaders >= 2.18.0 +BuildRequires: R-CRAN-rstantools >= 2.1.1 +BuildRequires: R-CRAN-BH >= 1.66.0 +BuildRequires: R-CRAN-RcppEigen >= 0.3.3.3.0 +BuildRequires: R-CRAN-Rcpp >= 0.12.0 +BuildRequires: R-methods +BuildRequires: R-CRAN-Formula +BuildRequires: R-CRAN-rstantools +Requires: R-CRAN-ggplot2 >= 3.3.3 +Requires: R-CRAN-rstan >= 2.18.1 +Requires: R-CRAN-rstantools >= 2.1.1 +Requires: R-CRAN-Rcpp >= 0.12.0 +Requires: R-methods +Requires: R-CRAN-Formula +Requires: R-CRAN-rstantools + +%description +Estimates Bayesian models of list experiments with informative priors. It +includes functionalities to estimate different types of list experiment +models with varying prior information. See Lu and Traunmüller (2021) + for examples and details of estimation. + +%prep +%setup -q -c -n %{packname} + +# fix end of executable files +find -type f -executable -exec grep -Iq . {} \; -exec sed -i -e '$a\' {} \; +# prevent binary stripping +[ -d %{packname}/src ] && find %{packname}/src -type f -exec \ + sed -i 's@/usr/bin/strip@/usr/bin/true@g' {} \; || true +[ -d %{packname}/src ] && find %{packname}/src/Make* -type f -exec \ + sed -i 's@-g0@@g' {} \; || true +# don't allow local prefix in executable scripts +find -type f -executable -exec sed -Ei 's@#!( )*/usr/local/bin@#!/usr/bin@g' {} \; + +%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 +# remove buildroot from installed files +find %{buildroot}%{rlibdir} -type f -exec sed -i "s@%{buildroot}@@g" {} \; + +%files +%{rlibdir}/%{packname} diff --git a/specs/R-CRAN-callme.spec b/specs/R-CRAN-callme.spec index 0317c665b4..f3e69c331f 100644 --- a/specs/R-CRAN-callme.spec +++ b/specs/R-CRAN-callme.spec @@ -1,13 +1,13 @@ %global __brp_check_rpaths %{nil} %global __requires_exclude ^libmpi %global packname callme -%global packver 0.1.10 +%global packver 0.1.11 %global rlibdir /usr/local/lib/R/library Name: R-CRAN-%{packname} -Version: 0.1.10 +Version: 0.1.11 Release: 1%{?dist}%{?buildtag} -Summary: Easily Compile and Call Inline C Functions +Summary: Easily Compile and Call Inline 'C' Functions License: MIT + file LICENSE URL: https://cran.r-project.org/package=%{packname} diff --git a/specs/R-CRAN-crossnma.spec b/specs/R-CRAN-crossnma.spec index 1ff833ef7e..931c28d291 100644 --- a/specs/R-CRAN-crossnma.spec +++ b/specs/R-CRAN-crossnma.spec @@ -1,11 +1,11 @@ %global __brp_check_rpaths %{nil} %global __requires_exclude ^libmpi %global packname crossnma -%global packver 1.2.0 +%global packver 1.3.0 %global rlibdir /usr/local/lib/R/library Name: R-CRAN-%{packname} -Version: 1.2.0 +Version: 1.3.0 Release: 1%{?dist}%{?buildtag} Summary: Cross-Design & Cross-Format Network Meta-Analysis and Regression @@ -17,8 +17,8 @@ Source0: %{url}&version=%{packver}#/%{packname}_%{packver}.tar.gz BuildRequires: R-devel >= 3.5 Requires: R-core >= 3.5 BuildArch: noarch +BuildRequires: R-CRAN-meta >= 8.0.1 BuildRequires: R-CRAN-netmeta >= 2.8.0 -BuildRequires: R-CRAN-meta BuildRequires: R-CRAN-rjags BuildRequires: R-CRAN-coda BuildRequires: R-CRAN-dplyr @@ -27,8 +27,8 @@ BuildRequires: R-CRAN-rlang BuildRequires: R-CRAN-magrittr BuildRequires: R-CRAN-tidyr BuildRequires: R-CRAN-ggplot2 +Requires: R-CRAN-meta >= 8.0.1 Requires: R-CRAN-netmeta >= 2.8.0 -Requires: R-CRAN-meta Requires: R-CRAN-rjags Requires: R-CRAN-coda Requires: R-CRAN-dplyr @@ -41,7 +41,7 @@ Requires: R-CRAN-ggplot2 %description Network meta-analysis and meta-regression (allows including up to three covariates) for individual participant data, aggregate data, and mixtures -of both formats using the three-level hierarchical model. Each format can +of both formats using the three-level hierarchical model. Each format can come from randomized controlled trials or non-randomized studies or mixtures of both. Estimates are generated in a Bayesian framework using JAGS. The implemented models are described by Hamza et al. 2023 diff --git a/specs/R-CRAN-dataCompare.spec b/specs/R-CRAN-dataCompare.spec index 05ecb38f3b..96bec375db 100644 --- a/specs/R-CRAN-dataCompare.spec +++ b/specs/R-CRAN-dataCompare.spec @@ -1,11 +1,11 @@ %global __brp_check_rpaths %{nil} %global __requires_exclude ^libmpi %global packname dataCompare -%global packver 1.0.4 +%global packver 1.0.5 %global rlibdir /usr/local/lib/R/library Name: R-CRAN-%{packname} -Version: 1.0.4 +Version: 1.0.5 Release: 1%{?dist}%{?buildtag} Summary: A 'shiny' App to Compare Two Data Frames diff --git a/specs/R-CRAN-dfr.spec b/specs/R-CRAN-dfr.spec index 38532bc9f1..d8aa5b34b4 100644 --- a/specs/R-CRAN-dfr.spec +++ b/specs/R-CRAN-dfr.spec @@ -1,11 +1,11 @@ %global __brp_check_rpaths %{nil} %global __requires_exclude ^libmpi %global packname dfr -%global packver 0.1.1 +%global packver 0.1.2 %global rlibdir /usr/local/lib/R/library Name: R-CRAN-%{packname} -Version: 0.1.1 +Version: 0.1.2 Release: 1%{?dist}%{?buildtag} Summary: Dual Feature Reduction for SGL diff --git a/specs/R-CRAN-distillery.spec b/specs/R-CRAN-distillery.spec index 6e49dd7cf6..4ce46fcfc1 100644 --- a/specs/R-CRAN-distillery.spec +++ b/specs/R-CRAN-distillery.spec @@ -1,10 +1,11 @@ %global __brp_check_rpaths %{nil} +%global __requires_exclude ^libmpi %global packname distillery -%global packver 1.2-1 +%global packver 1.2-2 %global rlibdir /usr/local/lib/R/library Name: R-CRAN-%{packname} -Version: 1.2.1 +Version: 1.2.2 Release: 1%{?dist}%{?buildtag} Summary: Method Functions for Confidence Intervals and to Distill Information from an Object @@ -34,6 +35,8 @@ find -type f -executable -exec grep -Iq . {} \; -exec sed -i -e '$a\' {} \; # prevent binary stripping [ -d %{packname}/src ] && find %{packname}/src -type f -exec \ sed -i 's@/usr/bin/strip@/usr/bin/true@g' {} \; || true +[ -d %{packname}/src ] && find %{packname}/src/Make* -type f -exec \ + sed -i 's@-g0@@g' {} \; || true # don't allow local prefix in executable scripts find -type f -executable -exec sed -Ei 's@#!( )*/usr/local/bin@#!/usr/bin@g' {} \; diff --git a/specs/R-CRAN-drape.spec b/specs/R-CRAN-drape.spec index ad1496ba98..adf2acd25b 100644 --- a/specs/R-CRAN-drape.spec +++ b/specs/R-CRAN-drape.spec @@ -1,11 +1,11 @@ %global __brp_check_rpaths %{nil} %global __requires_exclude ^libmpi %global packname drape -%global packver 0.0.1 +%global packver 0.0.2 %global rlibdir /usr/local/lib/R/library Name: R-CRAN-%{packname} -Version: 0.0.1 +Version: 0.0.2 Release: 1%{?dist}%{?buildtag} Summary: Doubly Robust Average Partial Effects @@ -23,7 +23,7 @@ Doubly robust average partial effect estimation. This implementation contains methods for adding additional smoothness to plug-in regression procedures and for estimating score functions using smoothing splines. Details of the method can be found in Harvey Klyne and Rajen D. Shah -(2023) . +(2023) . %prep %setup -q -c -n %{packname} diff --git a/specs/R-CRAN-GPIC.spec b/specs/R-CRAN-epiparameterDB.spec similarity index 81% rename from specs/R-CRAN-GPIC.spec rename to specs/R-CRAN-epiparameterDB.spec index 70b1ca0a7e..c21a8185f3 100644 --- a/specs/R-CRAN-GPIC.spec +++ b/specs/R-CRAN-epiparameterDB.spec @@ -1,15 +1,15 @@ %global __brp_check_rpaths %{nil} %global __requires_exclude ^libmpi -%global packname GPIC +%global packname epiparameterDB %global packver 0.1.0 %global rlibdir /usr/local/lib/R/library Name: R-CRAN-%{packname} Version: 0.1.0 Release: 1%{?dist}%{?buildtag} -Summary: Quantifying Group Performance in Individual Competitions +Summary: Database of Epidemiological Parameters -License: GPL-3 +License: CC0 URL: https://cran.r-project.org/package=%{packname} Source0: %{url}&version=%{packver}#/%{packname}_%{packver}.tar.gz @@ -19,8 +19,9 @@ Requires: R-core >= 4.0.0 BuildArch: noarch %description -Compute the GPIC index as described in Pham (2020) -. +A data package containing a database of epidemiological parameters. It +stores the data for the 'epiparameter' R package. Epidemiological +parameter estimates are extracted from the literature. %prep %setup -q -c -n %{packname} diff --git a/specs/R-CRAN-eudract.spec b/specs/R-CRAN-eudract.spec index 8ff629a058..b4b933a12e 100644 --- a/specs/R-CRAN-eudract.spec +++ b/specs/R-CRAN-eudract.spec @@ -1,11 +1,11 @@ %global __brp_check_rpaths %{nil} %global __requires_exclude ^libmpi %global packname eudract -%global packver 1.0.1 +%global packver 1.0.2 %global rlibdir /usr/local/lib/R/library Name: R-CRAN-%{packname} -Version: 1.0.1 +Version: 1.0.2 Release: 1%{?dist}%{?buildtag} Summary: Creates Safety Results Summary in XML to Upload to EudraCT, or ClinicalTrials.gov diff --git a/specs/R-CRAN-familial.spec b/specs/R-CRAN-familial.spec index 7a98ca5c1b..28182577b0 100644 --- a/specs/R-CRAN-familial.spec +++ b/specs/R-CRAN-familial.spec @@ -1,11 +1,11 @@ %global __brp_check_rpaths %{nil} %global __requires_exclude ^libmpi %global packname familial -%global packver 1.0.5 +%global packver 1.0.6 %global rlibdir /usr/local/lib/R/library Name: R-CRAN-%{packname} -Version: 1.0.5 +Version: 1.0.6 Release: 1%{?dist}%{?buildtag} Summary: Statistical Tests of Familial Hypotheses diff --git a/specs/R-CRAN-grpsel.spec b/specs/R-CRAN-grpsel.spec index 93e2d276c7..44d6fea506 100644 --- a/specs/R-CRAN-grpsel.spec +++ b/specs/R-CRAN-grpsel.spec @@ -1,11 +1,11 @@ %global __brp_check_rpaths %{nil} %global __requires_exclude ^libmpi %global packname grpsel -%global packver 1.3.1 +%global packver 1.3.2 %global rlibdir /usr/local/lib/R/library Name: R-CRAN-%{packname} -Version: 1.3.1 +Version: 1.3.2 Release: 1%{?dist}%{?buildtag} Summary: Group Subset Selection diff --git a/specs/R-CRAN-ifo.spec b/specs/R-CRAN-ifo.spec index 158228be88..33c14f9b1b 100644 --- a/specs/R-CRAN-ifo.spec +++ b/specs/R-CRAN-ifo.spec @@ -1,11 +1,11 @@ %global __brp_check_rpaths %{nil} %global __requires_exclude ^libmpi %global packname ifo -%global packver 0.1.0 +%global packver 0.2.0 %global rlibdir /usr/local/lib/R/library Name: R-CRAN-%{packname} -Version: 0.1.0 +Version: 0.2.0 Release: 1%{?dist}%{?buildtag} Summary: Client for the Ifo Institute Time Series @@ -17,10 +17,12 @@ Source0: %{url}&version=%{packver}#/%{packname}_%{packver}.tar.gz BuildRequires: R-devel >= 4.1.0 Requires: R-core >= 4.1.0 BuildArch: noarch +BuildRequires: R-CRAN-curl BuildRequires: R-CRAN-readxl BuildRequires: R-CRAN-rvest BuildRequires: R-CRAN-tidyr BuildRequires: R-utils +Requires: R-CRAN-curl Requires: R-CRAN-readxl Requires: R-CRAN-rvest Requires: R-CRAN-tidyr diff --git a/specs/R-CRAN-interpret.spec b/specs/R-CRAN-interpret.spec new file mode 100644 index 0000000000..2c9a72dc61 --- /dev/null +++ b/specs/R-CRAN-interpret.spec @@ -0,0 +1,58 @@ +%global __brp_check_rpaths %{nil} +%global __requires_exclude ^libmpi +%global packname interpret +%global packver 0.1.34 +%global rlibdir /usr/local/lib/R/library + +Name: R-CRAN-%{packname} +Version: 0.1.34 +Release: 1%{?dist}%{?buildtag} +Summary: Fit Interpretable Machine Learning Models + +License: MIT + file LICENSE +URL: https://cran.r-project.org/package=%{packname} +Source0: %{url}&version=%{packver}#/%{packname}_%{packver}.tar.gz + + +BuildRequires: R-devel >= 3.0.0 +Requires: R-core >= 3.0.0 + +%description +Package for training interpretable machine learning models. Historically, +the most interpretable machine learning models were not very accurate, and +the most accurate models were not very interpretable. Microsoft Research +has developed an algorithm called the Explainable Boosting Machine (EBM) +which has both high accuracy and interpretable characteristics. EBM uses +machine learning techniques like bagging and boosting to breathe new life +into traditional GAMs (Generalized Additive Models). This makes them as +accurate as random forests and gradient boosted trees, and also enhances +their intelligibility and editability. Details on the EBM algorithm can be +found in the paper by Rich Caruana, Yin Lou, Johannes Gehrke, Paul Koch, +Marc Sturm, and Noemie Elhadad (2015, ). + +%prep +%setup -q -c -n %{packname} + +# fix end of executable files +find -type f -executable -exec grep -Iq . {} \; -exec sed -i -e '$a\' {} \; +# prevent binary stripping +[ -d %{packname}/src ] && find %{packname}/src -type f -exec \ + sed -i 's@/usr/bin/strip@/usr/bin/true@g' {} \; || true +[ -d %{packname}/src ] && find %{packname}/src/Make* -type f -exec \ + sed -i 's@-g0@@g' {} \; || true +# don't allow local prefix in executable scripts +find -type f -executable -exec sed -Ei 's@#!( )*/usr/local/bin@#!/usr/bin@g' {} \; + +%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 +# remove buildroot from installed files +find %{buildroot}%{rlibdir} -type f -exec sed -i "s@%{buildroot}@@g" {} \; + +%files +%{rlibdir}/%{packname} diff --git a/specs/R-CRAN-isocountry.spec b/specs/R-CRAN-isocountry.spec index 108fa1cdaa..615fc262c3 100644 --- a/specs/R-CRAN-isocountry.spec +++ b/specs/R-CRAN-isocountry.spec @@ -1,11 +1,11 @@ %global __brp_check_rpaths %{nil} %global __requires_exclude ^libmpi %global packname isocountry -%global packver 0.2.0 +%global packver 0.3.0 %global rlibdir /usr/local/lib/R/library Name: R-CRAN-%{packname} -Version: 0.2.0 +Version: 0.3.0 Release: 1%{?dist}%{?buildtag} Summary: ISO 3166-1 Country Codes diff --git a/specs/R-CRAN-mlr3misc.spec b/specs/R-CRAN-mlr3misc.spec index 27c1dcd98d..1a76b051b1 100644 --- a/specs/R-CRAN-mlr3misc.spec +++ b/specs/R-CRAN-mlr3misc.spec @@ -1,11 +1,11 @@ %global __brp_check_rpaths %{nil} %global __requires_exclude ^libmpi %global packname mlr3misc -%global packver 0.15.1 +%global packver 0.16.0 %global rlibdir /usr/local/lib/R/library Name: R-CRAN-%{packname} -Version: 0.15.1 +Version: 0.16.0 Release: 1%{?dist}%{?buildtag} Summary: Helper Functions for 'mlr3' diff --git a/specs/R-CRAN-monolix2rx.spec b/specs/R-CRAN-monolix2rx.spec index fe139502f0..fc4aaddfa0 100644 --- a/specs/R-CRAN-monolix2rx.spec +++ b/specs/R-CRAN-monolix2rx.spec @@ -1,11 +1,11 @@ %global __brp_check_rpaths %{nil} %global __requires_exclude ^libmpi %global packname monolix2rx -%global packver 0.0.3 +%global packver 0.0.4 %global rlibdir /usr/local/lib/R/library Name: R-CRAN-%{packname} -Version: 0.0.3 +Version: 0.0.4 Release: 1%{?dist}%{?buildtag} Summary: Converts 'Monolix' Models to 'rxode2' diff --git a/specs/R-CRAN-nonmem2rx.spec b/specs/R-CRAN-nonmem2rx.spec index d06bb458cd..b2b45ce4bd 100644 --- a/specs/R-CRAN-nonmem2rx.spec +++ b/specs/R-CRAN-nonmem2rx.spec @@ -1,13 +1,13 @@ %global __brp_check_rpaths %{nil} %global __requires_exclude ^libmpi %global packname nonmem2rx -%global packver 0.1.5 +%global packver 0.1.6 %global rlibdir /usr/local/lib/R/library Name: R-CRAN-%{packname} -Version: 0.1.5 +Version: 0.1.6 Release: 1%{?dist}%{?buildtag} -Summary: 'nonmem2rx' Converts 'NONMEM' Models to 'rxode2' +Summary: Converts 'NONMEM' Models to 'rxode2' License: GPL (>= 3) URL: https://cran.r-project.org/package=%{packname} diff --git a/specs/R-CRAN-prim.spec b/specs/R-CRAN-prim.spec index cdda2c8d8d..d748540c44 100644 --- a/specs/R-CRAN-prim.spec +++ b/specs/R-CRAN-prim.spec @@ -1,11 +1,11 @@ %global __brp_check_rpaths %{nil} %global __requires_exclude ^libmpi %global packname prim -%global packver 1.0.21 +%global packver 1.0.22 %global rlibdir /usr/local/lib/R/library Name: R-CRAN-%{packname} -Version: 1.0.21 +Version: 1.0.22 Release: 1%{?dist}%{?buildtag} Summary: Patient Rule Induction Method (PRIM) diff --git a/specs/R-CRAN-priorCON.spec b/specs/R-CRAN-priorCON.spec index 2e4d20726a..4daccfcd26 100644 --- a/specs/R-CRAN-priorCON.spec +++ b/specs/R-CRAN-priorCON.spec @@ -1,11 +1,11 @@ %global __brp_check_rpaths %{nil} %global __requires_exclude ^libmpi %global packname priorCON -%global packver 0.1.2 +%global packver 0.1.3 %global rlibdir /usr/local/lib/R/library Name: R-CRAN-%{packname} -Version: 0.1.2 +Version: 0.1.3 Release: 1%{?dist}%{?buildtag} Summary: Graph Community Detection Methods into Systematic Conservation Planning diff --git a/specs/R-CRAN-qVarSel.spec b/specs/R-CRAN-qVarSel.spec new file mode 100644 index 0000000000..ec13f0abaa --- /dev/null +++ b/specs/R-CRAN-qVarSel.spec @@ -0,0 +1,59 @@ +%global __brp_check_rpaths %{nil} +%global __requires_exclude ^libmpi +%global packname qVarSel +%global packver 1.1 +%global rlibdir /usr/local/lib/R/library + +Name: R-CRAN-%{packname} +Version: 1.1 +Release: 1%{?dist}%{?buildtag} +Summary: Select Variables for Optimal Clustering + +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 +BuildRequires: R-CRAN-Rcpp >= 1.0.13 +BuildRequires: R-CRAN-lpSolveAPI +Requires: R-CRAN-Rcpp >= 1.0.13 +Requires: R-CRAN-lpSolveAPI + +%description +Finding hidden clusters in structured data can be hindered by the presence +of masking variables. If not detected, masking variables are used to +calculate the overall similarities between units, and therefore the +cluster attribution is more imprecise. The algorithm q-vars implements an +optimization method to find the variables that most separate units between +clusters. In this way, masking variables can be discarded from the data +frame and the clustering is more accurate. Tests can be found in Benati et +al.(2017) . + +%prep +%setup -q -c -n %{packname} + +# fix end of executable files +find -type f -executable -exec grep -Iq . {} \; -exec sed -i -e '$a\' {} \; +# prevent binary stripping +[ -d %{packname}/src ] && find %{packname}/src -type f -exec \ + sed -i 's@/usr/bin/strip@/usr/bin/true@g' {} \; || true +[ -d %{packname}/src ] && find %{packname}/src/Make* -type f -exec \ + sed -i 's@-g0@@g' {} \; || true +# don't allow local prefix in executable scripts +find -type f -executable -exec sed -Ei 's@#!( )*/usr/local/bin@#!/usr/bin@g' {} \; + +%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 +# remove buildroot from installed files +find %{buildroot}%{rlibdir} -type f -exec sed -i "s@%{buildroot}@@g" {} \; + +%files +%{rlibdir}/%{packname} diff --git a/specs/R-CRAN-rintcal.spec b/specs/R-CRAN-rintcal.spec index 2aeefcfaad..aca9f9039a 100644 --- a/specs/R-CRAN-rintcal.spec +++ b/specs/R-CRAN-rintcal.spec @@ -1,11 +1,11 @@ %global __brp_check_rpaths %{nil} %global __requires_exclude ^libmpi %global packname rintcal -%global packver 1.0.0 +%global packver 1.1.0 %global rlibdir /usr/local/lib/R/library Name: R-CRAN-%{packname} -Version: 1.0.0 +Version: 1.1.0 Release: 1%{?dist}%{?buildtag} Summary: Radiocarbon Calibration Curves @@ -25,8 +25,9 @@ Requires: R-CRAN-jsonlite %description The IntCal20 radiocarbon calibration curves (Reimer et al. 2020 ) are provided as a data package, together with -previous IntCal curves (IntCal13, IntCal09, IntCal04, IntCal98) and -postbomb curves. Also provided are functions to copy the curves into +previous IntCal curves (IntCal13, IntCal09, IntCal04, IntCal98), other +curves (e.g., NOTCal04 [van der Plicht et al. 2004], Arnold & Libby 1951) +and postbomb curves. Also provided are functions to copy the curves into memory, and to read, query and plot the data underlying the IntCal20 curves. diff --git a/specs/R-CRAN-rsofun.spec b/specs/R-CRAN-rsofun.spec new file mode 100644 index 0000000000..1dd1ef5b00 --- /dev/null +++ b/specs/R-CRAN-rsofun.spec @@ -0,0 +1,71 @@ +%global __brp_check_rpaths %{nil} +%global __requires_exclude ^libmpi +%global packname rsofun +%global packver 5.0.0 +%global rlibdir /usr/local/lib/R/library + +Name: R-CRAN-%{packname} +Version: 5.0.0 +Release: 1%{?dist}%{?buildtag} +Summary: The P-Model and BiomeE Modelling Framework + +License: GPL-3 +URL: https://cran.r-project.org/package=%{packname} +Source0: %{url}&version=%{packver}#/%{packname}_%{packver}.tar.gz + + +BuildRequires: R-devel >= 4.1.0 +Requires: R-core >= 4.1.0 +BuildRequires: R-CRAN-dplyr +BuildRequires: R-CRAN-purrr +BuildRequires: R-CRAN-tidyr +BuildRequires: R-CRAN-magrittr +BuildRequires: R-CRAN-GenSA +BuildRequires: R-CRAN-BayesianTools +BuildRequires: R-CRAN-multidplyr +BuildRequires: R-stats +BuildRequires: R-utils +Requires: R-CRAN-dplyr +Requires: R-CRAN-purrr +Requires: R-CRAN-tidyr +Requires: R-CRAN-magrittr +Requires: R-CRAN-GenSA +Requires: R-CRAN-BayesianTools +Requires: R-CRAN-multidplyr +Requires: R-stats +Requires: R-utils + +%description +Implements the Simulating Optimal FUNctioning framework for site-scale +simulations of ecosystem processes, including model calibration. It +contains 'Fortran 90' modules for the P-model (Stocker et al. (2020) +), SPLASH (Davis et al. (2017) +) and BiomeE (Weng et al. (2015) +). + +%prep +%setup -q -c -n %{packname} + +# fix end of executable files +find -type f -executable -exec grep -Iq . {} \; -exec sed -i -e '$a\' {} \; +# prevent binary stripping +[ -d %{packname}/src ] && find %{packname}/src -type f -exec \ + sed -i 's@/usr/bin/strip@/usr/bin/true@g' {} \; || true +[ -d %{packname}/src ] && find %{packname}/src/Make* -type f -exec \ + sed -i 's@-g0@@g' {} \; || true +# don't allow local prefix in executable scripts +find -type f -executable -exec sed -Ei 's@#!( )*/usr/local/bin@#!/usr/bin@g' {} \; + +%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 +# remove buildroot from installed files +find %{buildroot}%{rlibdir} -type f -exec sed -i "s@%{buildroot}@@g" {} \; + +%files +%{rlibdir}/%{packname} diff --git a/specs/R-CRAN-saeHB.twofold.spec b/specs/R-CRAN-saeHB.twofold.spec new file mode 100644 index 0000000000..a89aa03a08 --- /dev/null +++ b/specs/R-CRAN-saeHB.twofold.spec @@ -0,0 +1,76 @@ +%global __brp_check_rpaths %{nil} +%global __requires_exclude ^libmpi +%global packname saeHB.twofold +%global packver 0.1.2 +%global rlibdir /usr/local/lib/R/library + +Name: R-CRAN-%{packname} +Version: 0.1.2 +Release: 1%{?dist}%{?buildtag} +Summary: Hierarchical Bayes Twofold Subarea Level Model SAE + +License: GPL-3 +URL: https://cran.r-project.org/package=%{packname} +Source0: %{url}&version=%{packver}#/%{packname}_%{packver}.tar.gz + + +BuildRequires: R-devel >= 2.10 +Requires: R-core >= 2.10 +BuildArch: noarch +BuildRequires: R-CRAN-rjags +BuildRequires: R-CRAN-coda +BuildRequires: R-CRAN-stringr +BuildRequires: R-stats +BuildRequires: R-grDevices +BuildRequires: R-graphics +BuildRequires: R-CRAN-data.table +BuildRequires: R-utils +Requires: R-CRAN-rjags +Requires: R-CRAN-coda +Requires: R-CRAN-stringr +Requires: R-stats +Requires: R-grDevices +Requires: R-graphics +Requires: R-CRAN-data.table +Requires: R-utils + +%description +We designed this package to provides several functions for area and +subarea level of small area estimation under Twofold Subarea Level Model +using hierarchical Bayesian (HB) method with Univariate Normal +distribution for variables of interest. Some dataset simulated by a data +generation are also provided. The 'rjags' package is employed to obtain +parameter estimates using Gibbs Sampling algorithm. Model-based estimators +involves the HB estimators which include the mean, the variation of mean, +and the quantile. For the reference, see Rao and Molina (2015) +, Torabi and Rao (2014) +, Leyla Mohadjer et al.(2007) +, and +Erciulescu et al.(2019) . + +%prep +%setup -q -c -n %{packname} + +# fix end of executable files +find -type f -executable -exec grep -Iq . {} \; -exec sed -i -e '$a\' {} \; +# prevent binary stripping +[ -d %{packname}/src ] && find %{packname}/src -type f -exec \ + sed -i 's@/usr/bin/strip@/usr/bin/true@g' {} \; || true +[ -d %{packname}/src ] && find %{packname}/src/Make* -type f -exec \ + sed -i 's@-g0@@g' {} \; || true +# don't allow local prefix in executable scripts +find -type f -executable -exec sed -Ei 's@#!( )*/usr/local/bin@#!/usr/bin@g' {} \; + +%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 +# remove buildroot from installed files +find %{buildroot}%{rlibdir} -type f -exec sed -i "s@%{buildroot}@@g" {} \; + +%files +%{rlibdir}/%{packname} diff --git a/specs/R-CRAN-samplezoo.spec b/specs/R-CRAN-samplezoo.spec new file mode 100644 index 0000000000..dd5933f240 --- /dev/null +++ b/specs/R-CRAN-samplezoo.spec @@ -0,0 +1,57 @@ +%global __brp_check_rpaths %{nil} +%global __requires_exclude ^libmpi +%global packname samplezoo +%global packver 1.1.0 +%global rlibdir /usr/local/lib/R/library + +Name: R-CRAN-%{packname} +Version: 1.1.0 +Release: 1%{?dist}%{?buildtag} +Summary: Generate Samples with a Variety of Probability Distributions + +License: MIT + file LICENSE +URL: https://cran.r-project.org/package=%{packname} +Source0: %{url}&version=%{packver}#/%{packname}_%{packver}.tar.gz + + +BuildRequires: R-devel +Requires: R-core +BuildArch: noarch + +%description +The 'samplezoo' package streamlines the process of generating samples from +various probability distributions, enabling users to quickly create data +frames for demonstrations, troubleshooting, or teaching. By prioritizing +simplicity and efficiency,'samplezoo' reduces the need for repetitive +code, making it particularly useful for beginners or anyone seeking to +save time. The package implements standard methods for generating random +samples from probability distributions commonly available in base R, with +no specific external references. For more details, visit the package +documentation. + +%prep +%setup -q -c -n %{packname} + +# fix end of executable files +find -type f -executable -exec grep -Iq . {} \; -exec sed -i -e '$a\' {} \; +# prevent binary stripping +[ -d %{packname}/src ] && find %{packname}/src -type f -exec \ + sed -i 's@/usr/bin/strip@/usr/bin/true@g' {} \; || true +[ -d %{packname}/src ] && find %{packname}/src/Make* -type f -exec \ + sed -i 's@-g0@@g' {} \; || true +# don't allow local prefix in executable scripts +find -type f -executable -exec sed -Ei 's@#!( )*/usr/local/bin@#!/usr/bin@g' {} \; + +%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 +# remove buildroot from installed files +find %{buildroot}%{rlibdir} -type f -exec sed -i "s@%{buildroot}@@g" {} \; + +%files +%{rlibdir}/%{packname} diff --git a/specs/R-CRAN-sgs.spec b/specs/R-CRAN-sgs.spec index f4f16690ae..d5cb343710 100644 --- a/specs/R-CRAN-sgs.spec +++ b/specs/R-CRAN-sgs.spec @@ -1,11 +1,11 @@ %global __brp_check_rpaths %{nil} %global __requires_exclude ^libmpi %global packname sgs -%global packver 0.3.1 +%global packver 0.3.2 %global rlibdir /usr/local/lib/R/library Name: R-CRAN-%{packname} -Version: 0.3.1 +Version: 0.3.2 Release: 1%{?dist}%{?buildtag} Summary: Sparse-Group SLOPE: Adaptive Bi-Level Selection with FDR Control diff --git a/specs/R-CRAN-smoothie.spec b/specs/R-CRAN-smoothie.spec index a3f0d6da6c..df1f96cd4a 100644 --- a/specs/R-CRAN-smoothie.spec +++ b/specs/R-CRAN-smoothie.spec @@ -1,10 +1,11 @@ %global __brp_check_rpaths %{nil} +%global __requires_exclude ^libmpi %global packname smoothie -%global packver 1.0-3 +%global packver 1.0-4 %global rlibdir /usr/local/lib/R/library Name: R-CRAN-%{packname} -Version: 1.0.3 +Version: 1.0.4 Release: 1%{?dist}%{?buildtag} Summary: Two-Dimensional Field Smoothing @@ -29,6 +30,8 @@ find -type f -executable -exec grep -Iq . {} \; -exec sed -i -e '$a\' {} \; # prevent binary stripping [ -d %{packname}/src ] && find %{packname}/src -type f -exec \ sed -i 's@/usr/bin/strip@/usr/bin/true@g' {} \; || true +[ -d %{packname}/src ] && find %{packname}/src/Make* -type f -exec \ + sed -i 's@-g0@@g' {} \; || true # don't allow local prefix in executable scripts find -type f -executable -exec sed -Ei 's@#!( )*/usr/local/bin@#!/usr/bin@g' {} \; diff --git a/specs/R-CRAN-verification.spec b/specs/R-CRAN-verification.spec index 608b883106..3cc8dcfd07 100644 --- a/specs/R-CRAN-verification.spec +++ b/specs/R-CRAN-verification.spec @@ -1,11 +1,12 @@ %global __brp_check_rpaths %{nil} +%global __requires_exclude ^libmpi %global packname verification -%global packver 1.42 +%global packver 1.44 %global rlibdir /usr/local/lib/R/library Name: R-CRAN-%{packname} -Version: 1.42 -Release: 3%{?dist}%{?buildtag} +Version: 1.44 +Release: 1%{?dist}%{?buildtag} Summary: Weather Forecast Verification Utilities License: GPL (>= 2) @@ -18,17 +19,17 @@ Requires: R-core >= 2.10 BuildArch: noarch BuildRequires: R-methods BuildRequires: R-CRAN-fields -BuildRequires: R-boot +BuildRequires: R-CRAN-boot BuildRequires: R-CRAN-CircStats -BuildRequires: R-MASS +BuildRequires: R-CRAN-MASS BuildRequires: R-CRAN-dtw BuildRequires: R-graphics BuildRequires: R-stats Requires: R-methods Requires: R-CRAN-fields -Requires: R-boot +Requires: R-CRAN-boot Requires: R-CRAN-CircStats -Requires: R-MASS +Requires: R-CRAN-MASS Requires: R-CRAN-dtw Requires: R-graphics Requires: R-stats @@ -40,6 +41,15 @@ and forecasts expressed as parametric distributions are included. %prep %setup -q -c -n %{packname} +# fix end of executable files +find -type f -executable -exec grep -Iq . {} \; -exec sed -i -e '$a\' {} \; +# prevent binary stripping +[ -d %{packname}/src ] && find %{packname}/src -type f -exec \ + sed -i 's@/usr/bin/strip@/usr/bin/true@g' {} \; || true +[ -d %{packname}/src ] && find %{packname}/src/Make* -type f -exec \ + sed -i 's@-g0@@g' {} \; || true +# don't allow local prefix in executable scripts +find -type f -executable -exec sed -Ei 's@#!( )*/usr/local/bin@#!/usr/bin@g' {} \; %build @@ -47,9 +57,10 @@ and forecasts expressed as parametric distributions are included. 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 +# remove buildroot from installed files +find %{buildroot}%{rlibdir} -type f -exec sed -i "s@%{buildroot}@@g" {} \; %files %{rlibdir}/%{packname}