-
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
23 changed files
with
825 additions
and
27 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,69 @@ | ||
%global __brp_check_rpaths %{nil} | ||
%global __requires_exclude ^libmpi | ||
%global packname ATQ | ||
%global packver 0.2.0 | ||
%global rlibdir /usr/local/lib/R/library | ||
|
||
Name: R-CRAN-%{packname} | ||
Version: 0.2.0 | ||
Release: 1%{?dist}%{?buildtag} | ||
Summary: Alert Time Quality - Evaluating Timely Epidemic Metrics | ||
|
||
License: GPL (>= 3) | ||
URL: https://cran.r-project.org/package=%{packname} | ||
Source0: %{url}&version=%{packver}#/%{packname}_%{packver}.tar.gz | ||
|
||
|
||
BuildRequires: R-devel >= 2.10 | ||
Requires: R-core >= 2.10 | ||
BuildArch: noarch | ||
BuildRequires: R-CRAN-dplyr | ||
BuildRequires: R-CRAN-purrr | ||
BuildRequires: R-CRAN-zoo | ||
BuildRequires: R-CRAN-ggplot2 | ||
BuildRequires: R-CRAN-gridExtra | ||
BuildRequires: R-CRAN-rlang | ||
BuildRequires: R-CRAN-scales | ||
Requires: R-CRAN-dplyr | ||
Requires: R-CRAN-purrr | ||
Requires: R-CRAN-zoo | ||
Requires: R-CRAN-ggplot2 | ||
Requires: R-CRAN-gridExtra | ||
Requires: R-CRAN-rlang | ||
Requires: R-CRAN-scales | ||
|
||
%description | ||
Provides tools for evaluating timely epidemic detection models within | ||
school absenteeism-based surveillance systems. Introduces the concept of | ||
alert time quality as an evaluation metric. Includes functions to simulate | ||
populations, epidemics, and alert metrics associated with epidemic spread | ||
using population census data. The methods are based on research published | ||
in Vanderkruk et al. (2023) <doi:10.1186/s12889-023-15747-z> and Jarvis et | ||
al. (2019) <doi:10.1186/s12889-019-7521-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} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 BEAMR | ||
%global packver 1.1.0 | ||
%global rlibdir /usr/local/lib/R/library | ||
|
||
Name: R-CRAN-%{packname} | ||
Version: 1.1.0 | ||
Release: 1%{?dist}%{?buildtag} | ||
Summary: Bootstrap Evaluation of Association Matrices | ||
|
||
License: GPL (>= 3) | ||
URL: https://cran.r-project.org/package=%{packname} | ||
Source0: %{url}&version=%{packver}#/%{packname}_%{packver}.tar.gz | ||
|
||
|
||
BuildRequires: R-devel >= 2.10 | ||
Requires: R-core >= 2.10 | ||
BuildArch: noarch | ||
BuildRequires: R-CRAN-dplyr | ||
BuildRequires: R-CRAN-ggmosaic | ||
BuildRequires: R-CRAN-ggplot2 | ||
BuildRequires: R-CRAN-ggpubr | ||
BuildRequires: R-CRAN-logistf | ||
BuildRequires: R-CRAN-magrittr | ||
BuildRequires: R-CRAN-MASS | ||
BuildRequires: R-CRAN-purrr | ||
BuildRequires: R-CRAN-rlist | ||
BuildRequires: R-stats | ||
BuildRequires: R-CRAN-stringr | ||
BuildRequires: R-CRAN-survival | ||
BuildRequires: R-CRAN-survminer | ||
Requires: R-CRAN-dplyr | ||
Requires: R-CRAN-ggmosaic | ||
Requires: R-CRAN-ggplot2 | ||
Requires: R-CRAN-ggpubr | ||
Requires: R-CRAN-logistf | ||
Requires: R-CRAN-magrittr | ||
Requires: R-CRAN-MASS | ||
Requires: R-CRAN-purrr | ||
Requires: R-CRAN-rlist | ||
Requires: R-stats | ||
Requires: R-CRAN-stringr | ||
Requires: R-CRAN-survival | ||
Requires: R-CRAN-survminer | ||
|
||
%description | ||
A bootstrap-based approach to integrate multiple forms of high dimensional | ||
genomic data with multiple clinical endpoints. This method is used to | ||
find clinically meaningful groups of genomic features, such as genes or | ||
pathways. A manuscript describing this method is in preparation. | ||
|
||
%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} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
%global __brp_check_rpaths %{nil} | ||
%global __requires_exclude ^libmpi | ||
%global packname ORIONZ.G | ||
%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: EAP Scoring in Exploratory FA Solutions with Correlated Residuals | ||
|
||
License: GPL-3 | ||
URL: https://cran.r-project.org/package=%{packname} | ||
Source0: %{url}&version=%{packver}#/%{packname}_%{packver}.tar.gz | ||
|
||
|
||
BuildRequires: R-devel >= 3.5 | ||
Requires: R-core >= 3.5 | ||
BuildArch: noarch | ||
|
||
%description | ||
Obtaining Bayes Expected A Posteriori (EAP) individual score estimates | ||
based on linear and non-linear extended Exploratoy Factor Analysis | ||
solutions that include a correlated-residual structure. | ||
|
||
%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} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,73 @@ | ||
%global __brp_check_rpaths %{nil} | ||
%global __requires_exclude ^libmpi | ||
%global packname baggingbwsel | ||
%global packver 1.1 | ||
%global rlibdir /usr/local/lib/R/library | ||
|
||
Name: R-CRAN-%{packname} | ||
Version: 1.1 | ||
Release: 1%{?dist}%{?buildtag} | ||
Summary: Bagging Bandwidth Selection in Kernel Density and Regression Estimation | ||
|
||
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 | ||
BuildRequires: R-CRAN-Rcpp >= 1.0.3 | ||
BuildRequires: R-CRAN-mclust | ||
BuildRequires: R-CRAN-foreach | ||
BuildRequires: R-parallel | ||
BuildRequires: R-CRAN-doParallel | ||
BuildRequires: R-CRAN-kedd | ||
BuildRequires: R-stats | ||
BuildRequires: R-CRAN-sm | ||
BuildRequires: R-CRAN-nor1mix | ||
BuildRequires: R-CRAN-misc3d | ||
Requires: R-CRAN-Rcpp >= 1.0.3 | ||
Requires: R-CRAN-mclust | ||
Requires: R-CRAN-foreach | ||
Requires: R-parallel | ||
Requires: R-CRAN-doParallel | ||
Requires: R-CRAN-kedd | ||
Requires: R-stats | ||
Requires: R-CRAN-sm | ||
Requires: R-CRAN-nor1mix | ||
Requires: R-CRAN-misc3d | ||
|
||
%description | ||
Bagging bandwidth selection methods for the Parzen-Rosenblatt and | ||
Nadaraya-Watson estimators. These bandwidth selectors can achieve greater | ||
statistical precision than their non-bagged counterparts while being | ||
computationally fast. See Barreiro-Ures et al. (2020) | ||
<doi:10.1093/biomet/asaa092> and Barreiro-Ures et al. (2021) | ||
<doi:10.48550/arXiv.2105.04134>. | ||
|
||
%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} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,56 @@ | ||
%global __brp_check_rpaths %{nil} | ||
%global __requires_exclude ^libmpi | ||
%global packname callme | ||
%global packver 0.1.10 | ||
%global rlibdir /usr/local/lib/R/library | ||
|
||
Name: R-CRAN-%{packname} | ||
Version: 0.1.10 | ||
Release: 1%{?dist}%{?buildtag} | ||
Summary: Easily Compile and Call Inline C Functions | ||
|
||
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-methods | ||
Requires: R-methods | ||
|
||
%description | ||
Compile inline 'C' code and easily call with automatically generated | ||
wrapper functions. By allowing user-defined headers and compilation flags | ||
(preprocessor, compiler and linking flags) the user can configure | ||
optimization options and linking to third party libraries. Multiple | ||
functions may be defined in a single block of code - which may be defined | ||
in a string or a path to a source file. | ||
|
||
%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} |
Oops, something went wrong.