Skip to content

Commit

Permalink
sync
Browse files Browse the repository at this point in the history
  • Loading branch information
Enchufa2 committed Dec 4, 2024
1 parent d4e5e4b commit 2a0984a
Show file tree
Hide file tree
Showing 42 changed files with 430 additions and 469 deletions.
4 changes: 2 additions & 2 deletions specs/R-CRAN-BANAM.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 BANAM
%global packver 0.2.1
%global packver 0.2.2
%global rlibdir /usr/local/lib/R/library

Name: R-CRAN-%{packname}
Version: 0.2.1
Version: 0.2.2
Release: 1%{?dist}%{?buildtag}
Summary: Bayesian Analysis of the Network Autocorrelation Model

Expand Down
22 changes: 14 additions & 8 deletions specs/R-CRAN-BFpack.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 BFpack
%global packver 1.3.0
%global packver 1.4.0
%global rlibdir /usr/local/lib/R/library

Name: R-CRAN-%{packname}
Version: 1.3.0
Version: 1.4.0
Release: 1%{?dist}%{?buildtag}
Summary: Flexible Bayes Factor Testing of Scientific Expectations

Expand All @@ -28,6 +28,9 @@ BuildRequires: R-CRAN-ergm
BuildRequires: R-CRAN-Bergm
BuildRequires: R-CRAN-sandwich
BuildRequires: R-CRAN-QRM
BuildRequires: R-CRAN-coda
BuildRequires: R-CRAN-metaBMA
BuildRequires: R-methods
Requires: R-CRAN-bain
Requires: R-stats
Requires: R-utils
Expand All @@ -40,6 +43,9 @@ Requires: R-CRAN-ergm
Requires: R-CRAN-Bergm
Requires: R-CRAN-sandwich
Requires: R-CRAN-QRM
Requires: R-CRAN-coda
Requires: R-CRAN-metaBMA
Requires: R-methods

%description
Implementation of default Bayes factors for testing statistical hypotheses
Expand All @@ -53,17 +59,17 @@ that can be tested are location parameters (e.g., group means, regression
coefficients), variances (e.g., group variances), and measures of
association (e.g,. polychoric/polyserial/biserial/tetrachoric/product
moments correlations), among others. The statistical underpinnings are
described in Mulder and Xin (2019) <DOI:10.1080/00273171.2021.1904809>,
described in Mulder and Xin (2022) <DOI:10.1080/00273171.2021.1904809>,
Mulder and Gelissen (2019) <DOI:10.1080/02664763.2021.1992360>, Mulder
(2016) <DOI:10.1016/j.jmp.2014.09.004>, Mulder and Fox (2019)
<DOI:10.1214/18-BA1115>, Mulder and Fox (2013)
<DOI:10.1007/s11222-011-9295-3>, Boeing-Messing, van Assen, Hofman,
Hoijtink, and Mulder (2017) <DOI:10.1037/met0000116>, Hoijtink, Mulder,
van Lissa, and Gu, (2018) <DOI:10.31234/osf.io/v3shc>, Gu, Mulder, and
Hoijtink, (2018) <DOI:10.1111/bmsp.12110>, Hoijtink, Gu, and Mulder,
(2018) <DOI:10.1111/bmsp.12145>, and Hoijtink, Gu, Mulder, and Rosseel,
(2018) <DOI:10.1037/met0000187>. When using the packages, please refer to
Mulder et al. (2021) <DOI:10.18637/jss.v100.i18>.
van Lissa, and Gu (2018) <DOI:10.1037/met0000201>, Gu, Mulder, and
Hoijtink (2018) <DOI:10.1111/bmsp.12110>, Hoijtink, Gu, and Mulder (2018)
<DOI:10.1111/bmsp.12145>, and Hoijtink, Gu, Mulder, and Rosseel (2018)
<DOI:10.1037/met0000187>. When using the packages, please refer to Mulder
et al. (2021) <DOI:10.18637/jss.v100.i18>.

%prep
%setup -q -c -n %{packname}
Expand Down
4 changes: 2 additions & 2 deletions specs/R-CRAN-MazamaCoreUtils.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 MazamaCoreUtils
%global packver 0.5.2
%global packver 0.5.3
%global rlibdir /usr/local/lib/R/library

Name: R-CRAN-%{packname}
Version: 0.5.2
Version: 0.5.3
Release: 1%{?dist}%{?buildtag}
Summary: Utility Functions for Production R Code

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

Name: R-CRAN-%{packname}
Version: 1.0
Release: 1%{?dist}%{?buildtag}
Summary: Robust Copy Number Alteration Detection (RCNA)

License: GPL-3
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-CRAN-doParallel
BuildRequires: R-methods
BuildRequires: R-utils
BuildRequires: R-CRAN-modeest
BuildRequires: R-CRAN-data.table
BuildRequires: R-CRAN-foreach
BuildRequires: R-CRAN-R.utils
Requires: R-CRAN-doParallel
Requires: R-methods
Requires: R-utils
Requires: R-CRAN-modeest
Requires: R-CRAN-data.table
Requires: R-CRAN-foreach
Requires: R-CRAN-R.utils

%description
Detects copy number alteration events in targeted exon sequencing data for
tumor samples without matched normal controls. The advantage of this
method is that it can be applied to smaller sequencing panels including
evaluations of exon, transcript, gene, or even user specified genetic
regions of interest. Functions in the package include steps for GC-content
correction, calculation of quantile based normal karyotype ranges, and
calculation of feature score. Cutoffs for "normal" quantile and score are
user-adjustable.

%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-RSQLite.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 RSQLite
%global packver 2.3.8
%global packver 2.3.9
%global rlibdir /usr/local/lib/R/library

Name: R-CRAN-%{packname}
Version: 2.3.8
Version: 2.3.9
Release: 1%{?dist}%{?buildtag}
Summary: SQLite Interface for R

Expand Down
10 changes: 5 additions & 5 deletions specs/R-CRAN-RcppEnsmallen.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 RcppEnsmallen
%global packver 0.2.21.1.1
%global packver 0.2.22.1.1
%global rlibdir /usr/local/lib/R/library

Name: R-CRAN-%{packname}
Version: 0.2.21.1.1
Version: 0.2.22.1.1
Release: 1%{?dist}%{?buildtag}
Summary: Header-Only C++ Mathematical Optimization Library for 'Armadillo'

Expand All @@ -16,7 +16,7 @@ Source0: %{url}&version=%{packver}#/%{packname}_%{packver}.tar.gz

BuildRequires: R-devel >= 4.0.0
Requires: R-core >= 4.0.0
BuildRequires: R-CRAN-RcppArmadillo >= 0.9.800.0.0
BuildRequires: R-CRAN-RcppArmadillo >= 0.10.8.2.0
BuildRequires: R-CRAN-Rcpp
Requires: R-CRAN-Rcpp

Expand All @@ -34,8 +34,8 @@ Note that 'Ensmallen' is licensed under 3-Clause BSD, 'Armadillo' starting
from 7.800.0 is licensed under Apache License 2, 'RcppArmadillo' (the
'Rcpp' bindings/bridge to 'Armadillo') is licensed under the GNU GPL
version 2 or later. Thus, 'RcppEnsmallen' is also licensed under similar
terms. Note that 'Ensmallen' requires a compiler that supports 'C++11' and
'Armadillo' 9.800 or later.
terms. Note that 'Ensmallen' requires a compiler that supports 'C++14' and
'Armadillo' 10.8.2 or later.

%prep
%setup -q -c -n %{packname}
Expand Down
4 changes: 2 additions & 2 deletions specs/R-CRAN-SSDforR.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 SSDforR
%global packver 1.5.35
%global packver 1.5.36
%global rlibdir /usr/local/lib/R/library

Name: R-CRAN-%{packname}
Version: 1.5.35
Version: 1.5.36
Release: 1%{?dist}%{?buildtag}
Summary: Functions to Analyze Single System Data

Expand Down
5 changes: 3 additions & 2 deletions specs/R-CRAN-abc.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 abc
%global packver 2.2.1
%global packver 2.2.2
%global rlibdir /usr/local/lib/R/library

Name: R-CRAN-%{packname}
Version: 2.2.1
Version: 2.2.2
Release: 1%{?dist}%{?buildtag}
Summary: Tools for Approximate Bayesian Computation (ABC)

Expand Down
4 changes: 2 additions & 2 deletions specs/R-CRAN-aphylo.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 aphylo
%global packver 0.3-3
%global packver 0.3-4
%global rlibdir /usr/local/lib/R/library

Name: R-CRAN-%{packname}
Version: 0.3.3
Version: 0.3.4
Release: 1%{?dist}%{?buildtag}
Summary: Statistical Inference and Prediction of Annotations in Phylogenetic Trees

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

Name: R-CRAN-%{packname}
Version: 0.25
Release: 1%{?dist}%{?buildtag}
Summary: Recovering a Basic Space from Issue Scales

License: GPL-2
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
BuildRequires: R-tools
Requires: R-tools

%description
Provides functions to estimate latent dimensions of choice and judgment
using Aldrich-McKelvey and Blackbox scaling methods, as described in Poole
et al. (2016, <doi:10.18637/jss.v069.i07>). These techniques allow
researchers (particularly those analyzing political attitudes, public
opinion, and legislative behavior) to recover spatial estimates of
political actors' ideal points and stimuli from issue scale data,
accounting for perceptual bias, multidimensional spaces, and missing data.
The package uses singular value decomposition and alternating least
squares (ALS) procedures to scale self-placement and perceptual data into
a common latent space for the analysis of ideological or evaluative
dimensions. Functionality also include tools for assessing model fit,
handling complex survey data structures, and reproducing simulated
datasets for methodological validation.

%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}
Loading

0 comments on commit 2a0984a

Please sign in to comment.