Skip to content

Commit

Permalink
sync
Browse files Browse the repository at this point in the history
  • Loading branch information
Enchufa2 committed Nov 11, 2024
1 parent 7d7bd15 commit 7042bbf
Show file tree
Hide file tree
Showing 29 changed files with 310 additions and 98 deletions.
10 changes: 4 additions & 6 deletions specs/R-CRAN-CodelistGenerator.spec
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
%global __brp_check_rpaths %{nil}
%global __requires_exclude ^libmpi
%global packname CodelistGenerator
%global packver 3.2.1
%global packver 3.3.0
%global rlibdir /usr/local/lib/R/library

Name: R-CRAN-%{packname}
Version: 3.2.1
Version: 3.3.0
Release: 1%{?dist}%{?buildtag}
Summary: Identify Relevant Clinical Codes and Evaluate Their Use

Expand All @@ -32,9 +32,8 @@ BuildRequires: R-CRAN-visOmopResults >= 0.3.0
BuildRequires: R-CRAN-omopgenerics >= 0.2.2
BuildRequires: R-CRAN-purrr
BuildRequires: R-CRAN-lubridate
BuildRequires: R-CRAN-RJSONIO
BuildRequires: R-CRAN-vctrs
BuildRequires: R-CRAN-lifecycle
BuildRequires: R-CRAN-RJSONIO
Requires: R-CRAN-cli >= 3.1.0
Requires: R-CRAN-checkmate >= 2.0.0
Requires: R-CRAN-magrittr >= 2.0.0
Expand All @@ -50,9 +49,8 @@ Requires: R-CRAN-visOmopResults >= 0.3.0
Requires: R-CRAN-omopgenerics >= 0.2.2
Requires: R-CRAN-purrr
Requires: R-CRAN-lubridate
Requires: R-CRAN-RJSONIO
Requires: R-CRAN-vctrs
Requires: R-CRAN-lifecycle
Requires: R-CRAN-RJSONIO

%description
Generate a candidate code list for the Observational Medical Outcomes
Expand Down
10 changes: 6 additions & 4 deletions specs/R-CRAN-CohortSurvival.spec
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
%global __brp_check_rpaths %{nil}
%global __requires_exclude ^libmpi
%global packname CohortSurvival
%global packver 0.5.2
%global packver 0.6.0
%global rlibdir /usr/local/lib/R/library

Name: R-CRAN-%{packname}
Version: 0.5.2
Version: 0.6.0
Release: 1%{?dist}%{?buildtag}
Summary: Estimate Survival from Common Data Model Cohorts

Expand All @@ -17,6 +17,7 @@ Source0: %{url}&version=%{packver}#/%{packname}_%{packver}.tar.gz
BuildRequires: R-devel
Requires: R-core
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
Expand All @@ -30,12 +31,13 @@ BuildRequires: R-CRAN-magrittr
BuildRequires: R-CRAN-lubridate
BuildRequires: R-CRAN-broom
BuildRequires: R-CRAN-PatientProfiles
BuildRequires: R-CRAN-survival
BuildRequires: R-CRAN-scales
BuildRequires: R-CRAN-stringr
BuildRequires: R-CRAN-tibble
BuildRequires: R-CRAN-tidyr
BuildRequires: R-CRAN-purrr
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
Expand All @@ -49,12 +51,12 @@ Requires: R-CRAN-magrittr
Requires: R-CRAN-lubridate
Requires: R-CRAN-broom
Requires: R-CRAN-PatientProfiles
Requires: R-CRAN-survival
Requires: R-CRAN-scales
Requires: R-CRAN-stringr
Requires: R-CRAN-tibble
Requires: R-CRAN-tidyr
Requires: R-CRAN-purrr
Requires: R-CRAN-lifecycle

%description
Estimate survival using data mapped to the Observational Medical Outcomes
Expand Down
6 changes: 2 additions & 4 deletions specs/R-CRAN-GeoModels.spec
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
%global __brp_check_rpaths %{nil}
%global __requires_exclude ^libmpi
%global packname GeoModels
%global packver 2.0.7
%global packver 2.0.8
%global rlibdir /usr/local/lib/R/library

Name: R-CRAN-%{packname}
Version: 2.0.7
Version: 2.0.8
Release: 1%{?dist}%{?buildtag}
Summary: Procedures for Gaussian and Non Gaussian Geostatistical (Large) Data Analysis

Expand Down Expand Up @@ -35,7 +35,6 @@ BuildRequires: R-CRAN-lamW
BuildRequires: R-CRAN-nabor
BuildRequires: R-CRAN-hypergeo
BuildRequires: R-CRAN-VGAM
BuildRequires: R-CRAN-data.table
BuildRequires: R-CRAN-foreach
BuildRequires: R-CRAN-future
BuildRequires: R-CRAN-doFuture
Expand All @@ -60,7 +59,6 @@ Requires: R-CRAN-lamW
Requires: R-CRAN-nabor
Requires: R-CRAN-hypergeo
Requires: R-CRAN-VGAM
Requires: R-CRAN-data.table
Requires: R-CRAN-foreach
Requires: R-CRAN-future
Requires: R-CRAN-doFuture
Expand Down
6 changes: 3 additions & 3 deletions specs/R-CRAN-PakPMICS2018.spec
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
%global __brp_check_rpaths %{nil}
%global __requires_exclude ^libmpi
%global packname PakPMICS2018
%global packver 1.1.0
%global packver 1.2.0
%global rlibdir /usr/local/lib/R/library

Name: R-CRAN-%{packname}
Version: 1.1.0
Version: 1.2.0
Release: 1%{?dist}%{?buildtag}
Summary: Multiple Indicator Cluster Survey (MICS) 2017-18 Data for Punjab, Pakistan

License: GPL-2 | GPL-3
License: GPL-3
URL: https://cran.r-project.org/package=%{packname}
Source0: %{url}&version=%{packver}#/%{packname}_%{packver}.tar.gz

Expand Down
4 changes: 2 additions & 2 deletions specs/R-CRAN-ProbBreed.spec
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
%global __brp_check_rpaths %{nil}
%global __requires_exclude ^libmpi
%global packname ProbBreed
%global packver 1.0.4.3
%global packver 1.0.4.4
%global rlibdir /usr/local/lib/R/library

Name: R-CRAN-%{packname}
Version: 1.0.4.3
Version: 1.0.4.4
Release: 1%{?dist}%{?buildtag}
Summary: Probability Theory for Selecting Candidates in Plant Breeding

Expand Down
4 changes: 2 additions & 2 deletions specs/R-CRAN-Rcssplot.spec
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
%global __brp_check_rpaths %{nil}
%global __requires_exclude ^libmpi
%global packname Rcssplot
%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: Styling of Graphics using Cascading Style Sheets

Expand Down
28 changes: 15 additions & 13 deletions specs/R-CRAN-RoBTT.spec
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
%global __brp_check_rpaths %{nil}
%global __requires_exclude ^libmpi
%global packname RoBTT
%global packver 1.3.0
%global packver 1.3.1
%global rlibdir /usr/local/lib/R/library

Name: R-CRAN-%{packname}
Version: 1.3.0
Version: 1.3.1
Release: 1%{?dist}%{?buildtag}
Summary: Robust Bayesian T-Test

Expand Down Expand Up @@ -41,17 +41,19 @@ Requires: R-CRAN-Rdpack
Requires: R-CRAN-rstantools

%description
An implementation of Bayesian model-averaged t-test that allows users to
draw inference about the presence vs absence of the effect, heterogeneity
of variances, and outliers. The 'RoBTT' packages estimates model ensembles
of models created as a combination of the competing hypotheses and uses
Bayesian model-averaging to combine the models using posterior model
probabilities. Users can obtain the model-averaged posterior distributions
and inclusion Bayes factors which account for the uncertainty in the data
generating process (Maier et al., 2022, <doi:10.31234/osf.io/d5zwc>).
Users can define a wide range of informative priors for all parameters of
interest. The package provides convenient functions for summary,
visualizations, and fit diagnostics.
An implementation of Bayesian model-averaged t-tests that allows users to
draw inferences about the presence versus absence of an effect, variance
heterogeneity, and potential outliers. The 'RoBTT' package estimates
ensembles of models created by combining competing hypotheses and applies
Bayesian model averaging using posterior model probabilities. Users can
obtain model-averaged posterior distributions and inclusion Bayes factors,
accounting for uncertainty in the data-generating process (Maier et al.,
2024, <doi:10.3758/s13423-024-02590-5>). The package also provides a
truncated likelihood version of the model-averaged t-test, enabling users
to exclude potential outliers without introducing bias (Godmann et al.,
2024, <doi:10.31234/osf.io/j9f3s>). Users can specify a wide range of
informative priors for all parameters of interest. The package offers
convenient functions for summary, visualization, and fit diagnostics.

%prep
%setup -q -c -n %{packname}
Expand Down
60 changes: 60 additions & 0 deletions specs/R-CRAN-SegEnvIneq.spec
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
%global __brp_check_rpaths %{nil}
%global __requires_exclude ^libmpi
%global packname SegEnvIneq
%global packver 1.2
%global rlibdir /usr/local/lib/R/library

Name: R-CRAN-%{packname}
Version: 1.2
Release: 1%{?dist}%{?buildtag}
Summary: Environmental Inequality Indices Based on Segregation Measures

License: GPL-2 | GPL-3
URL: https://cran.r-project.org/package=%{packname}
Source0: %{url}&version=%{packver}#/%{packname}_%{packver}.tar.gz


BuildRequires: R-devel >= 4.4.0
Requires: R-core >= 4.4.0
BuildArch: noarch
BuildRequires: R-CRAN-OasisR >= 3.1.1
BuildRequires: R-CRAN-spdep >= 1.3.6
BuildRequires: R-CRAN-sf >= 1.0.16
BuildRequires: R-CRAN-outliers >= 0.15
Requires: R-CRAN-OasisR >= 3.1.1
Requires: R-CRAN-spdep >= 1.3.6
Requires: R-CRAN-sf >= 1.0.16
Requires: R-CRAN-outliers >= 0.15

%description
A set of segregation-based indices and randomization methods to make
robust environmental inequality assessments, as described in Schaeffer and
Tivadar (2019) "Measuring Environmental Inequalities: Insights from the
Residential Segregation Literature" <doi:10.1016/j.ecolecon.2019.05.009>.

%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}
4 changes: 2 additions & 2 deletions specs/R-CRAN-UPG.spec
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
%global __brp_check_rpaths %{nil}
%global __requires_exclude ^libmpi
%global packname UPG
%global packver 0.3.4
%global packver 0.3.5
%global rlibdir /usr/local/lib/R/library

Name: R-CRAN-%{packname}
Version: 0.3.4
Version: 0.3.5
Release: 1%{?dist}%{?buildtag}
Summary: Efficient Bayesian Algorithms for Binary and Categorical Data Regression Models

Expand Down
4 changes: 2 additions & 2 deletions specs/R-CRAN-bootES.spec
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
%global __brp_check_rpaths %{nil}
%global __requires_exclude ^libmpi
%global packname bootES
%global packver 1.3.0
%global packver 1.3.1
%global rlibdir /usr/local/lib/R/library

Name: R-CRAN-%{packname}
Version: 1.3.0
Version: 1.3.1
Release: 1%{?dist}%{?buildtag}
Summary: Bootstrap Confidence Intervals on Effect Sizes

Expand Down
8 changes: 4 additions & 4 deletions specs/R-CRAN-ctrdata.spec
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
%global __brp_check_rpaths %{nil}
%global __requires_exclude ^libmpi
%global packname ctrdata
%global packver 1.19.4
%global packver 1.19.5
%global rlibdir /usr/local/lib/R/library

Name: R-CRAN-%{packname}
Version: 1.19.4
Version: 1.19.5
Release: 1%{?dist}%{?buildtag}
Summary: Retrieve and Analyze Clinical Trials in Public Registers

Expand All @@ -18,7 +18,7 @@ BuildRequires: R-devel
Requires: R-core
BuildArch: noarch
BuildRequires: R-CRAN-curl >= 5.1.0
BuildRequires: R-CRAN-nodbi >= 0.10.0
BuildRequires: R-CRAN-nodbi >= 0.10.7
BuildRequires: R-CRAN-jsonlite
BuildRequires: R-CRAN-httr
BuildRequires: R-CRAN-clipr
Expand All @@ -34,7 +34,7 @@ BuildRequires: R-CRAN-readr
BuildRequires: R-CRAN-digest
BuildRequires: R-CRAN-countrycode
Requires: R-CRAN-curl >= 5.1.0
Requires: R-CRAN-nodbi >= 0.10.0
Requires: R-CRAN-nodbi >= 0.10.7
Requires: R-CRAN-jsonlite
Requires: R-CRAN-httr
Requires: R-CRAN-clipr
Expand Down
4 changes: 2 additions & 2 deletions specs/R-CRAN-data.table.threads.spec
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
%global __brp_check_rpaths %{nil}
%global __requires_exclude ^libmpi
%global packname data.table.threads
%global packver 1.0.0
%global packver 1.0.1
%global rlibdir /usr/local/lib/R/library

Name: R-CRAN-%{packname}
Version: 1.0.0
Version: 1.0.1
Release: 1%{?dist}%{?buildtag}
Summary: Analyze Multi-Threading Performance for 'data.table' Functions

Expand Down
6 changes: 2 additions & 4 deletions specs/R-CRAN-ggreveal.spec
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
%global __brp_check_rpaths %{nil}
%global __requires_exclude ^libmpi
%global packname ggreveal
%global packver 0.1.3
%global packver 0.1.4
%global rlibdir /usr/local/lib/R/library

Name: R-CRAN-%{packname}
Version: 0.1.3
Version: 0.1.4
Release: 1%{?dist}%{?buildtag}
Summary: Reveal a 'ggplot' Incrementally

Expand All @@ -21,15 +21,13 @@ BuildRequires: R-CRAN-cli
BuildRequires: R-CRAN-dplyr
BuildRequires: R-CRAN-ggplot2
BuildRequires: R-CRAN-ggplotify
BuildRequires: R-CRAN-lemon
BuildRequires: R-CRAN-rlang
BuildRequires: R-CRAN-stringr
BuildRequires: R-CRAN-tidyr
Requires: R-CRAN-cli
Requires: R-CRAN-dplyr
Requires: R-CRAN-ggplot2
Requires: R-CRAN-ggplotify
Requires: R-CRAN-lemon
Requires: R-CRAN-rlang
Requires: R-CRAN-stringr
Requires: R-CRAN-tidyr
Expand Down
7 changes: 5 additions & 2 deletions specs/R-CRAN-inline.spec
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
%global __brp_check_rpaths %{nil}
%global __requires_exclude ^libmpi
%global packname inline
%global packver 0.3.19
%global packver 0.3.20
%global rlibdir /usr/local/lib/R/library

Name: R-CRAN-%{packname}
Version: 0.3.19
Version: 0.3.20
Release: 1%{?dist}%{?buildtag}
Summary: Functions to Inline C, C++, Fortran Function Calls from R

Expand Down Expand Up @@ -32,6 +33,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' {} \;

Expand Down
Loading

0 comments on commit 7042bbf

Please sign in to comment.