Skip to content

Commit

Permalink
sync
Browse files Browse the repository at this point in the history
  • Loading branch information
Enchufa2 committed Nov 2, 2024
1 parent b9213b1 commit 21a6f89
Show file tree
Hide file tree
Showing 36 changed files with 814 additions and 103 deletions.
4 changes: 2 additions & 2 deletions specs/R-CRAN-ASMap.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 ASMap
%global packver 1.0-7
%global packver 1.0-8
%global rlibdir /usr/local/lib/R/library

Name: R-CRAN-%{packname}
Version: 1.0.7
Version: 1.0.8
Release: 1%{?dist}%{?buildtag}
Summary: Linkage Map Construction using the MSTmap Algorithm

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

Name: R-CRAN-%{packname}
Version: 1.6.0
Version: 1.6.1
Release: 1%{?dist}%{?buildtag}
Summary: Breeding Program Simulations

Expand Down
11 changes: 5 additions & 6 deletions specs/R-CRAN-CDGHMM.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 CDGHMM
%global packver 0.1.0
%global packver 0.1.1
%global rlibdir /usr/local/lib/R/library

Name: R-CRAN-%{packname}
Version: 0.1.0
Version: 0.1.1
Release: 1%{?dist}%{?buildtag}
Summary: Hidden Markov Models for Multivariate Panel Data

Expand All @@ -30,10 +30,9 @@ Requires: R-CRAN-cluster
Estimates hidden Markov models from the family of Cholesky-decomposed
Gaussian hidden Markov models (CDGHMM) under various missingness schemes.
This family improves upon estimation of traditional Gaussian HMMs by
directly modelling the distinct correlation structures that arise from
longitudinal data, as well as, controlling for dropped out observations
and non-random missingness. See Neal, Sochaniwsky and McNicholas (2024)
<DOI:10.48550/arXiv.2404.04122>.
introducing parsimony, as well as, controlling for dropped out
observations and non-random missingness. See Neal, Sochaniwsky and
McNicholas (2024) <DOI:10.1007/s11222-024-10462-0>.

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

Name: R-CRAN-%{packname}
Version: 0.9.2
Version: 0.9.3
Release: 1%{?dist}%{?buildtag}
Summary: Causal Inference with Continuous (Multiple Time Point) Interventions

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

Name: R-CRAN-%{packname}
Version: 1.1
Version: 2.0
Release: 1%{?dist}%{?buildtag}
Summary: Regression Model on Network-Linked Data with Statistical Inference
Summary: Generalized Linear Regression Models on Network-Linked Data with Statistical Inference

License: GPL (>= 2)
URL: https://cran.r-project.org/package=%{packname}
Expand All @@ -17,24 +17,25 @@ Source0: %{url}&version=%{packver}#/%{packname}_%{packver}.tar.gz
BuildRequires: R-devel
Requires: R-core
BuildArch: noarch
BuildRequires: R-CRAN-Matrix
BuildRequires: R-stats
BuildRequires: R-CRAN-randnet
BuildRequires: R-CRAN-RSpectra
Requires: R-CRAN-Matrix
Requires: R-stats
Requires: R-CRAN-randnet
Requires: R-CRAN-RSpectra

%description
Linear regression model with nonparametric network effects on
network-linked observations. The model is proposed by Le and Li (2022)
<arXiv:2007.00803> and is assumed on observations that are connected by a
network or similar relational data structure. The model does not assume
that the relational data or network structure to be precisely observed;
thus, the method is provably robust to a certain level of perturbation of
the network structure. The package contains the estimation and inference
function for the model.
Linear regression model and generalized linear models with nonparametric
network effects on network-linked observations. The model is originally
proposed by Le and Li (2022) <doi:10.48550/arXiv.2007.00803> and is
assumed on observations that are connected by a network or similar
relational data structure. A more recent work by Wang, Le and Li (2024)
<doi:10.48550/arXiv.2410.01163> further extends the framework to
generalized linear models. All these models are implemented in the current
package. The model does not assume that the relational data or network
structure to be precisely observed; thus, the method is provably robust to
a certain level of perturbation of the network structure. The package
contains the estimation and inference function for the model.

%prep
%setup -q -c -n %{packname}
Expand Down
78 changes: 78 additions & 0 deletions specs/R-CRAN-OPSR.spec
Original file line number Diff line number Diff line change
@@ -0,0 +1,78 @@
%global __brp_check_rpaths %{nil}
%global __requires_exclude ^libmpi
%global packname OPSR
%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: Ordinal Probit Switching Regression

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
BuildRequires: R-CRAN-Rdpack >= 0.7
BuildRequires: R-CRAN-car
BuildRequires: R-CRAN-Formula
BuildRequires: R-CRAN-MASS
BuildRequires: R-CRAN-maxLik
BuildRequires: R-methods
BuildRequires: R-CRAN-mvtnorm
BuildRequires: R-CRAN-Rcpp
BuildRequires: R-CRAN-sandwich
BuildRequires: R-stats
BuildRequires: R-CRAN-texreg
BuildRequires: R-utils
BuildRequires: R-CRAN-RcppArmadillo
Requires: R-CRAN-Rdpack >= 0.7
Requires: R-CRAN-car
Requires: R-CRAN-Formula
Requires: R-CRAN-MASS
Requires: R-CRAN-maxLik
Requires: R-methods
Requires: R-CRAN-mvtnorm
Requires: R-CRAN-Rcpp
Requires: R-CRAN-sandwich
Requires: R-stats
Requires: R-CRAN-texreg
Requires: R-utils

%description
Estimates ordinal probit switching regression models - a Heckman type
selection model with an ordinal selection and continuous outcomes.
Different model specifications are allowed for each treatment/regime. For
more details on the method, see Wang & Mokhtarian (2024)
<doi:10.1016/j.tra.2024.104072> or Chiburis & Lokshin (2007)
<doi:10.1177/1536867X0700700202>.

%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}
8 changes: 4 additions & 4 deletions specs/R-CRAN-PakPC2023.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 PakPC2023
%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: Pakistan Population Census 2023

Expand All @@ -14,8 +14,8 @@ 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-devel >= 4.0
Requires: R-core >= 4.0
BuildArch: noarch
BuildRequires: R-CRAN-DT
BuildRequires: R-CRAN-htmltools
Expand Down
6 changes: 3 additions & 3 deletions specs/R-CRAN-PxWebApiData.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 PxWebApiData
%global packver 0.9.0
%global packver 1.0.0
%global rlibdir /usr/local/lib/R/library

Name: R-CRAN-%{packname}
Version: 0.9.0
Version: 1.0.0
Release: 1%{?dist}%{?buildtag}
Summary: PX-Web Data by API

License: Apache License 2.0 | file LICENSE
License: MIT + file LICENSE
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-R.oo.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 R.oo
%global packver 1.26.0
%global packver 1.27.0
%global rlibdir /usr/local/lib/R/library

Name: R-CRAN-%{packname}
Version: 1.26.0
Version: 1.27.0
Release: 1%{?dist}%{?buildtag}
Summary: R Object-Oriented Programming with or without References

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

Name: R-CRAN-%{packname}
Version: 0.3.6
Version: 0.3.7
Release: 1%{?dist}%{?buildtag}
Summary: Identification of Cell Types, Inference of Lineage Trees, and Prediction of Noise Dynamics from Single-Cell RNA-Seq Data

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

Name: R-CRAN-%{packname}
Version: 0.1.0
Version: 0.1.1
Release: 1%{?dist}%{?buildtag}
Summary: Reliability Growth Analysis

Expand Down
84 changes: 84 additions & 0 deletions specs/R-CRAN-SensIAT.spec
Original file line number Diff line number Diff line change
@@ -0,0 +1,84 @@
%global __brp_check_rpaths %{nil}
%global __requires_exclude ^libmpi
%global packname SensIAT
%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: Sensitivity Analysis for Irregular Assessment Times

License: MIT + file LICENSE
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
BuildRequires: R-CRAN-Rcpp >= 1.0.12
BuildRequires: R-CRAN-assertthat
BuildRequires: R-CRAN-dplyr
BuildRequires: R-CRAN-glue
BuildRequires: R-CRAN-KernSmooth
BuildRequires: R-CRAN-MASS
BuildRequires: R-methods
BuildRequires: R-CRAN-orthogonalsplinebasis
BuildRequires: R-CRAN-pracma
BuildRequires: R-CRAN-purrr
BuildRequires: R-CRAN-rlang
BuildRequires: R-splines
BuildRequires: R-stats
BuildRequires: R-CRAN-survival
BuildRequires: R-CRAN-tibble
BuildRequires: R-CRAN-tidyr
BuildRequires: R-utils
Requires: R-CRAN-Rcpp >= 1.0.12
Requires: R-CRAN-assertthat
Requires: R-CRAN-dplyr
Requires: R-CRAN-glue
Requires: R-CRAN-KernSmooth
Requires: R-CRAN-MASS
Requires: R-methods
Requires: R-CRAN-orthogonalsplinebasis
Requires: R-CRAN-pracma
Requires: R-CRAN-purrr
Requires: R-CRAN-rlang
Requires: R-splines
Requires: R-stats
Requires: R-CRAN-survival
Requires: R-CRAN-tibble
Requires: R-CRAN-tidyr
Requires: R-utils

%description
Sensitivity analysis for trials with irregular and informative assessment
times, based on a new influence function-based, augmented inverse
intensity-weighted estimator.

%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 21a6f89

Please sign in to comment.