Skip to content

Commit

Permalink
sync
Browse files Browse the repository at this point in the history
  • Loading branch information
Enchufa2 committed Jan 22, 2025
1 parent a0b2d9e commit 4ff9b2b
Show file tree
Hide file tree
Showing 44 changed files with 689 additions and 258 deletions.
7 changes: 4 additions & 3 deletions specs/R-CRAN-BAwiR.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 BAwiR
%global packver 1.3.2
%global packver 1.3.3
%global rlibdir /usr/local/lib/R/library

Name: R-CRAN-%{packname}
Version: 1.3.2
Version: 1.3.3
Release: 1%{?dist}%{?buildtag}
Summary: Analysis of Basketball Data

Expand Down Expand Up @@ -73,7 +73,8 @@ stats, team heatmaps, team shooting plots, team four factors plots,
cross-tables with the results of regular season games, maps of
nationalities, combinations of lineups, possessions-related variables,
timeouts, performance by periods, personal fouls and offensive rebounds.
Please see Vinue (2020) <doi:10.1089/big.2018.0124>.
Please see Vinue (2020) <doi:10.1089/big.2018.0124> and Vinue (2024)
<doi:10.1089/big.2023.0177>.

%prep
%setup -q -c -n %{packname}
Expand Down
78 changes: 0 additions & 78 deletions specs/R-CRAN-BIOMASS.spec

This file was deleted.

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

Name: R-CRAN-%{packname}
Version: 0.3.4
Release: 1%{?dist}%{?buildtag}
Summary: Interface to Bank of Japan Statistics

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
BuildRequires: R-CRAN-dplyr
BuildRequires: R-CRAN-readr
BuildRequires: R-CRAN-tidyr
BuildRequires: R-CRAN-tidyselect
BuildRequires: R-CRAN-rvest
BuildRequires: R-CRAN-xml2
Requires: R-CRAN-dplyr
Requires: R-CRAN-readr
Requires: R-CRAN-tidyr
Requires: R-CRAN-tidyselect
Requires: R-CRAN-rvest
Requires: R-CRAN-xml2

%description
Provides an interface to Bank of Japan <https://www.boj.or.jp> statistics.

%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-BiodiversityR.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 BiodiversityR
%global packver 2.17-1
%global packver 2.17-1.1
%global rlibdir /usr/local/lib/R/library

Name: R-CRAN-%{packname}
Version: 2.17.1
Version: 2.17.1.1
Release: 1%{?dist}%{?buildtag}
Summary: Package for Community Ecology and Suitability Analysis

Expand Down
8 changes: 4 additions & 4 deletions specs/R-CRAN-Blend.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 Blend
%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: Bayesian Longitudinal Regularized Semiparametric Quantile Mixed Models
Summary: Robust Bayesian Longitudinal Regularized Semiparametric Mixed Models

License: GPL-2
URL: https://cran.r-project.org/package=%{packname}
Expand All @@ -27,7 +27,7 @@ Requires: R-stats
Requires: R-CRAN-ggplot2

%description
Our recently developed fully Bayesian semiparametric quantile mixed-effect
Our recently developed fully robust Bayesian semiparametric mixed-effect
model for high-dimensional longitudinal studies with heterogeneous
observations can be implemented through this package. This model can
distinguish between time-varying interactions and constant-effect-only
Expand Down
4 changes: 2 additions & 2 deletions specs/R-CRAN-GeDS.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 GeDS
%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: Geometrically Designed Spline Regression

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

Name: R-CRAN-%{packname}
Version: 2.2.0
Version: 2.2.1
Release: 1%{?dist}%{?buildtag}
Summary: Standardized Git Repository Data

Expand Down
8 changes: 4 additions & 4 deletions specs/R-CRAN-HDANOVA.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 HDANOVA
%global packver 0.8.1
%global packver 0.8.2
%global rlibdir /usr/local/lib/R/library

Name: R-CRAN-%{packname}
Version: 0.8.1
Version: 0.8.2
Release: 1%{?dist}%{?buildtag}
Summary: High-Dimensional Analysis of Variance

Expand All @@ -17,14 +17,14 @@ 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-mixlm >= 1.4.0
BuildRequires: R-CRAN-mixlm >= 1.4.2
BuildRequires: R-CRAN-car
BuildRequires: R-CRAN-lme4
BuildRequires: R-CRAN-pls
BuildRequires: R-CRAN-pracma
BuildRequires: R-CRAN-progress
BuildRequires: R-CRAN-RSpectra
Requires: R-CRAN-mixlm >= 1.4.0
Requires: R-CRAN-mixlm >= 1.4.2
Requires: R-CRAN-car
Requires: R-CRAN-lme4
Requires: R-CRAN-pls
Expand Down
6 changes: 4 additions & 2 deletions specs/R-CRAN-HMDHFDplus.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 HMDHFDplus
%global packver 2.0.3
%global packver 2.0.6
%global rlibdir /usr/local/lib/R/library

Name: R-CRAN-%{packname}
Version: 2.0.3
Version: 2.0.6
Release: 1%{?dist}%{?buildtag}
Summary: Read Human Mortality Database and Human Fertility Database Data from the Web

Expand All @@ -26,6 +26,7 @@ BuildRequires: R-CRAN-readr
BuildRequires: R-CRAN-stringr
BuildRequires: R-CRAN-tidyr
BuildRequires: R-CRAN-rlang
BuildRequires: R-CRAN-tidyselect
Requires: R-CRAN-httr
Requires: R-CRAN-rvest
Requires: R-CRAN-dplyr
Expand All @@ -35,6 +36,7 @@ Requires: R-CRAN-readr
Requires: R-CRAN-stringr
Requires: R-CRAN-tidyr
Requires: R-CRAN-rlang
Requires: R-CRAN-tidyselect

%description
Utilities for reading data from the Human Mortality Database
Expand Down
63 changes: 63 additions & 0 deletions specs/R-CRAN-JICO.spec
Original file line number Diff line number Diff line change
@@ -0,0 +1,63 @@
%global __brp_check_rpaths %{nil}
%global __requires_exclude ^libmpi
%global packname JICO
%global packver 0.1
%global rlibdir /usr/local/lib/R/library

Name: R-CRAN-%{packname}
Version: 0.1
Release: 1%{?dist}%{?buildtag}
Summary: Joint and Individual Regression

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-CRAN-nleqslv
BuildRequires: R-CRAN-Matrix
BuildRequires: R-CRAN-MASS
BuildRequires: R-CRAN-rlist
Requires: R-CRAN-nleqslv
Requires: R-CRAN-Matrix
Requires: R-CRAN-MASS
Requires: R-CRAN-rlist

%description
An R package that implements the JICO algorithm [Wang, P., Wang, H., Li,
Q., Shen, D., & Liu, Y. (2024). <Journal of Computational and Graphical
Statistics, 33(3), 763-773>]. It aims at solving the multi-group
regression problem. The algorithm decomposes the responses from multiple
groups into shared and group-specific components, which are driven by
low-rank approximations of joint and individual structures from the
covariates respectively.

%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 4ff9b2b

Please sign in to comment.