Skip to content

Commit

Permalink
sync
Browse files Browse the repository at this point in the history
  • Loading branch information
Enchufa2 committed Nov 23, 2024
1 parent 939693a commit 378a4eb
Show file tree
Hide file tree
Showing 55 changed files with 506 additions and 348 deletions.
4 changes: 2 additions & 2 deletions specs/R-CRAN-AID.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 AID
%global packver 2.9
%global packver 3.0
%global rlibdir /usr/local/lib/R/library

Name: R-CRAN-%{packname}
Version: 2.9
Version: 3.0
Release: 1%{?dist}%{?buildtag}
Summary: Box-Cox Power Transformation

Expand Down
4 changes: 2 additions & 2 deletions specs/R-CRAN-AOboot.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 AOboot
%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: Bootstrapping in Different One-Way and Two-Way ANOVA

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

Name: R-CRAN-%{packname}
Version: 0.1.0.2
Version: 0.1.1.1
Release: 1%{?dist}%{?buildtag}
Summary: Allelic Series Test

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

Name: R-CRAN-%{packname}
Version: 1.0.9
Version: 1.0.10
Release: 1%{?dist}%{?buildtag}
Summary: Diagnostics for OMOP Common Data Model Drug Records

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

Name: R-CRAN-%{packname}
Version: 1.0.1
Release: 1%{?dist}%{?buildtag}
Summary: Geographically Weighted Lasso

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-CRAN-dplyr
BuildRequires: R-CRAN-ggplot2
BuildRequires: R-CRAN-ggside
BuildRequires: R-CRAN-glmnet
BuildRequires: R-CRAN-GWmodel
BuildRequires: R-CRAN-lifecycle
BuildRequires: R-CRAN-magrittr
BuildRequires: R-methods
BuildRequires: R-CRAN-progress
BuildRequires: R-CRAN-rlang
BuildRequires: R-CRAN-sf
BuildRequires: R-CRAN-tidyr
Requires: R-CRAN-dplyr
Requires: R-CRAN-ggplot2
Requires: R-CRAN-ggside
Requires: R-CRAN-glmnet
Requires: R-CRAN-GWmodel
Requires: R-CRAN-lifecycle
Requires: R-CRAN-magrittr
Requires: R-methods
Requires: R-CRAN-progress
Requires: R-CRAN-rlang
Requires: R-CRAN-sf
Requires: R-CRAN-tidyr

%description
Performs geographically weighted Lasso regressions. Find optimal
bandwidth, fit a geographically weighted lasso or ridge regression, and
make predictions. These methods are specially well suited for ecological
inferences. Bandwidth selection algorithm is from A. Comber and P. Harris
(2018) <doi:10.1007/s10109-018-0280-7>.

%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}
16 changes: 8 additions & 8 deletions specs/R-CRAN-LTFHPlus.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 LTFHPlus
%global packver 2.1.1
%global packver 2.1.2
%global rlibdir /usr/local/lib/R/library

Name: R-CRAN-%{packname}
Version: 2.1.1
Version: 2.1.2
Release: 1%{?dist}%{?buildtag}
Summary: Implementation of LT-FH++

Expand Down Expand Up @@ -52,12 +52,12 @@ Implementation of LT-FH++, an extension of the liability threshold family
history (LT-FH) model. LT-FH++ uses a Gibbs sampler for sampling from the
truncated multivariate normal distribution and allows for flexible family
structures. LT-FH++ was first described in Pedersen, Emil M., et al.
(2022) <https://pure.au.dk/ws/portalfiles/portal/353346245/> as an
extension to LT-FH with more flexible family structures, and again as the
age-dependent liability threshold (ADuLT) model Pedersen, Emil M., et al.
(2023) <https://www.nature.com/articles/s41467-023-41210-z> as an
alternative to traditional time-to-event genome-wide association studies,
where family history was not considered.
(2022) <doi:10.1016/j.ajhg.2022.01.009> as an extension to LT-FH with more
flexible family structures, and again as the age-dependent liability
threshold (ADuLT) model Pedersen, Emil M., et al. (2023)
<doi:10.1038/s41467-023-41210-z> as an alternative to traditional
time-to-event genome-wide association studies, where family history was
not considered.

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

Name: R-CRAN-%{packname}
Version: 3.7.2
Version: 3.7.3
Release: 1%{?dist}%{?buildtag}
Summary: Management Strategy Evaluation Toolkit

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

Name: R-CRAN-%{packname}
Version: 2.2.4
Version: 2.2.5
Release: 1%{?dist}%{?buildtag}
Summary: Analise multivariada (brazilian portuguese)

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

Name: R-CRAN-%{packname}
Version: 2.2.4
Version: 2.2.5
Release: 1%{?dist}%{?buildtag}
Summary: Multivariate Analysis

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

Name: R-CRAN-%{packname}
Version: 1.3.1
Version: 1.4.0
Release: 1%{?dist}%{?buildtag}
Summary: Interactive 3D Visualization of Molecular Structures

Expand Down Expand Up @@ -40,6 +41,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
4 changes: 2 additions & 2 deletions specs/R-CRAN-OlinkAnalyze.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 OlinkAnalyze
%global packver 4.0.1
%global packver 4.0.2
%global rlibdir /usr/local/lib/R/library

Name: R-CRAN-%{packname}
Version: 4.0.1
Version: 4.0.2
Release: 1%{?dist}%{?buildtag}
Summary: Facilitate Analysis of Proteomic Data from Olink

Expand Down
45 changes: 29 additions & 16 deletions specs/R-CRAN-REDCapCAST.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 REDCapCAST
%global packver 24.10.3
%global packver 24.11.2
%global rlibdir /usr/local/lib/R/library

Name: R-CRAN-%{packname}
Version: 24.10.3
Version: 24.11.2
Release: 1%{?dist}%{?buildtag}
Summary: REDCap Castellated Data Handling
Summary: REDCap Metadata Casting and Castellated Data Handling

License: GPL (>= 3)
URL: https://cran.r-project.org/package=%{packname}
Expand All @@ -31,6 +31,12 @@ BuildRequires: R-CRAN-zip
BuildRequires: R-CRAN-assertthat
BuildRequires: R-CRAN-openxlsx2
BuildRequires: R-CRAN-readODS
BuildRequires: R-CRAN-forcats
BuildRequires: R-CRAN-vctrs
BuildRequires: R-CRAN-gt
BuildRequires: R-CRAN-bslib
BuildRequires: R-CRAN-here
BuildRequires: R-CRAN-glue
Requires: R-CRAN-dplyr
Requires: R-CRAN-REDCapR
Requires: R-CRAN-tidyr
Expand All @@ -45,21 +51,28 @@ Requires: R-CRAN-zip
Requires: R-CRAN-assertthat
Requires: R-CRAN-openxlsx2
Requires: R-CRAN-readODS
Requires: R-CRAN-forcats
Requires: R-CRAN-vctrs
Requires: R-CRAN-gt
Requires: R-CRAN-bslib
Requires: R-CRAN-here
Requires: R-CRAN-glue

%description
Originally forked from the R part of 'REDCapRITS' by Paul Egeler. See
<https://github.com/pegeler/REDCapRITS>. 'REDCap' database casting and
handling of castellated data when using repeated instruments and
longitudinal projects. Keeps a focused data export approach, by allowing
to only export required data from the database. 'REDCap' (Research
Electronic Data Capture) is a secure, web-based software platform designed
to support data capture for research studies, providing 1) an intuitive
interface for validated data capture; 2) audit trails for tracking data
manipulation and export procedures; 3) automated export procedures for
seamless data downloads to common statistical packages; and 4) procedures
for data integration and interoperability with external sources (Harris et
al (2009) <doi:10.1016/j.jbi.2008.08.010>; Harris et al (2019)
<doi:10.1016/j.jbi.2019.103208>).
Casting metadata for REDCap database creation and handling of castellated
data using repeated instruments and longitudinal projects in 'REDCap'.
Keeps a focused data export approach, by allowing to only export required
data from the database. Also for casting new REDCap databases based on
datasets from other sources. Originally forked from the R part of
'REDCapRITS' by Paul Egeler. See <https://github.com/pegeler/REDCapRITS>.
'REDCap' (Research Electronic Data Capture) is a secure, web-based
software platform designed to support data capture for research studies,
providing 1) an intuitive interface for validated data capture; 2) audit
trails for tracking data manipulation and export procedures; 3) automated
export procedures for seamless data downloads to common statistical
packages; and 4) procedures for data integration and interoperability with
external sources (Harris et al (2009) <doi:10.1016/j.jbi.2008.08.010>;
Harris et al (2019) <doi:10.1016/j.jbi.2019.103208>).

%prep
%setup -q -c -n %{packname}
Expand Down
4 changes: 2 additions & 2 deletions specs/R-CRAN-Rveg.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 Rveg
%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: Digitization of Phytosociological Relevés

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

Name: R-CRAN-%{packname}
Version: 0.2.9.2
Version: 0.2.9.3
Release: 1%{?dist}%{?buildtag}
Summary: Implementation of the SVM-Maj Algorithm

Expand All @@ -19,6 +19,7 @@ Requires: R-core >= 2.13.0
BuildArch: noarch
BuildRequires: R-stats
BuildRequires: R-graphics
BuildRequires: R-parallel
BuildRequires: R-CRAN-reshape2
BuildRequires: R-CRAN-scales
BuildRequires: R-CRAN-gridExtra
Expand All @@ -27,6 +28,7 @@ BuildRequires: R-CRAN-ggplot2
BuildRequires: R-CRAN-kernlab
Requires: R-stats
Requires: R-graphics
Requires: R-parallel
Requires: R-CRAN-reshape2
Requires: R-CRAN-scales
Requires: R-CRAN-gridExtra
Expand Down
Loading

0 comments on commit 378a4eb

Please sign in to comment.