-
-
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
20 changed files
with
601 additions
and
73 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
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
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,59 @@ | ||
%global __brp_check_rpaths %{nil} | ||
%global __requires_exclude ^libmpi | ||
%global packname HypergeoMat | ||
%global packver 4.0.3 | ||
%global rlibdir /usr/local/lib/R/library | ||
|
||
Name: R-CRAN-%{packname} | ||
Version: 4.0.3 | ||
Release: 1%{?dist}%{?buildtag} | ||
Summary: Hypergeometric Function of a Matrix Argument | ||
|
||
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.2 | ||
BuildRequires: R-CRAN-EigenR | ||
BuildRequires: R-CRAN-gsl | ||
BuildRequires: R-CRAN-JuliaConnectoR | ||
BuildRequires: R-CRAN-RcppEigen | ||
Requires: R-CRAN-Rcpp >= 1.0.2 | ||
Requires: R-CRAN-EigenR | ||
Requires: R-CRAN-gsl | ||
Requires: R-CRAN-JuliaConnectoR | ||
|
||
%description | ||
Evaluates the hypergeometric functions of a matrix argument, which appear | ||
in random matrix theory. This is an implementation of Koev & Edelman's | ||
algorithm (2006) <doi:10.1090/S0025-5718-06-01824-2>. | ||
|
||
%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,61 @@ | ||
%global __brp_check_rpaths %{nil} | ||
%global __requires_exclude ^libmpi | ||
%global packname IDSpatialStats | ||
%global packver 0.4.0 | ||
%global rlibdir /usr/local/lib/R/library | ||
|
||
Name: R-CRAN-%{packname} | ||
Version: 0.4.0 | ||
Release: 1%{?dist}%{?buildtag} | ||
Summary: Estimate Global Clustering in Infectious Disease | ||
|
||
License: GPL (>= 2) | ||
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 | ||
BuildRequires: R-CRAN-doParallel | ||
BuildRequires: R-CRAN-foreach | ||
BuildRequires: R-parallel | ||
BuildRequires: R-CRAN-igraph | ||
BuildRequires: R-CRAN-spatstat.explore | ||
BuildRequires: R-CRAN-spatstat.geom | ||
Requires: R-CRAN-doParallel | ||
Requires: R-CRAN-foreach | ||
Requires: R-parallel | ||
Requires: R-CRAN-igraph | ||
Requires: R-CRAN-spatstat.explore | ||
Requires: R-CRAN-spatstat.geom | ||
|
||
%description | ||
Implements various novel and standard clustering statistics and other | ||
analyses useful for understanding the spread of infectious disease. | ||
|
||
%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
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 corrMCT | ||
%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: Correlated Weighted Hochberg | ||
|
||
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-dplyr | ||
BuildRequires: R-CRAN-glue | ||
BuildRequires: R-CRAN-magrittr | ||
BuildRequires: R-CRAN-Matrix | ||
BuildRequires: R-CRAN-tibble | ||
Requires: R-CRAN-dplyr | ||
Requires: R-CRAN-glue | ||
Requires: R-CRAN-magrittr | ||
Requires: R-CRAN-Matrix | ||
Requires: R-CRAN-tibble | ||
|
||
%description | ||
Perform additional multiple testing procedure methods to p.adjust(), such | ||
as weighted Hochberg (Tamhane, A. C., & Liu, L., 2008) | ||
<doi:10.1093/biomet/asn018>, ICC adjusted Bonferroni method (Shi, Q., | ||
Pavey, E. S., & Carter, R. E., 2012) <doi:10.1002/pst.1514> and a new | ||
correlation corrected weighted Hochberg for correlated endpoints. | ||
|
||
%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
Oops, something went wrong.