summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCoprDistGit <copr-devel@lists.fedorahosted.org>2024-04-10 01:54:22 +0000
committerCoprDistGit <copr-devel@lists.fedorahosted.org>2024-04-10 01:54:22 +0000
commit8f0eb60576d7c7b9e4c2de1a348fc6b9b3c95646 (patch)
treed04db381af5f3ce24bb6d689792097ac89649d1c
parent738f69f7ecf44b365335a64577e5c696b2f9aa6a (diff)
automatic import of R-CRAN-conover.testf40f38
-rw-r--r--.gitignore1
-rw-r--r--R-CRAN-conover.test.spec45
-rw-r--r--sources2
3 files changed, 30 insertions, 18 deletions
diff --git a/.gitignore b/.gitignore
index 4c35150..59abe21 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
/conover.test_1.1.5.tar.gz
+/conover.test_1.1.6.tar.gz
diff --git a/R-CRAN-conover.test.spec b/R-CRAN-conover.test.spec
index 7286ec7..823b048 100644
--- a/R-CRAN-conover.test.spec
+++ b/R-CRAN-conover.test.spec
@@ -1,11 +1,12 @@
%global __brp_check_rpaths %{nil}
+%global __requires_exclude ^libmpi
%global packname conover.test
-%global packver 1.1.5
+%global packver 1.1.6
%global rlibdir /usr/local/lib/R/library
Name: R-CRAN-%{packname}
-Version: 1.1.5
-Release: 3%{?dist}%{?buildtag}
+Version: 1.1.6
+Release: 1%{?dist}%{?buildtag}
Summary: Conover-Iman Test of Multiple Comparisons Using Rank Sums
License: GPL-2
@@ -18,20 +19,19 @@ Requires: R-core
BuildArch: noarch
%description
-Computes the Conover-Iman test (1979) for stochastic dominance and reports
-the results among multiple pairwise comparisons after a Kruskal-Wallis
-test for stochastic dominance among k groups (Kruskal and Wallis, 1952).
-The interpretation of stochastic dominance requires an assumption that the
-CDF of one group does not cross the CDF of the other. conover.test makes
-k(k-1)/2 multiple pairwise comparisons based on Conover-Iman
-t-test-statistic of the rank differences. The null hypothesis for each
-pairwise comparison is that the probability of observing a randomly
-selected value from the first group that is larger than a randomly
-selected value from the second group equals one half; this null hypothesis
-corresponds to that of the Wilcoxon-Mann-Whitney rank-sum test. Like the
-rank-sum test, if the data can be assumed to be continuous, and the
-distributions are assumed identical except for a difference in location,
-Conover-Iman test may be understood as a test for median difference.
+Computes the Conover-Iman test (1979) for 0th-order stochastic dominance
+and reports the results among multiple pairwise comparisons after a
+Kruskal-Wallis omnibus test for i0th-order stochastic dominance among k
+groups (Kruskal and Wallis, 1952). conover.test makes k(k-1)/2 multiple
+pairwise comparisons based on Conover-Iman t-test-statistic of the rank
+differences. The null hypothesis for each pairwise comparison is that the
+probability of observing a randomly selected value from the first group
+that is larger than a randomly selected value from the second group equals
+one half; this null hypothesis corresponds to that of the
+Wilcoxon-Mann-Whitney rank-sum test. Like the rank-sum test, if the data
+can be assumed to be continuous, and the distributions are assumed
+identical except for a difference in location, Conover-Iman test may be
+understood as a test for median difference and for mean difference.
conover.test accounts for tied ranks. The Conover-Iman test is strictly
valid if and only if the corresponding Kruskal-Wallis null hypothesis is
rejected.
@@ -39,6 +39,15 @@ rejected.
%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
@@ -48,6 +57,8 @@ 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}
diff --git a/sources b/sources
index e702d14..d33194d 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-5ffa6bec2a2aa6cf5a59ea94f236f543 conover.test_1.1.5.tar.gz
+32e61d9b68c700e81ae60096d49352a7 conover.test_1.1.6.tar.gz