summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCoprDistGit <copr-devel@lists.fedorahosted.org>2022-04-19 04:42:02 +0000
committerCoprDistGit <copr-devel@lists.fedorahosted.org>2022-04-19 04:42:02 +0000
commitd90f48a4c0c5950915699455930794ccb26e863a (patch)
treef4a39f1bd8cd8aa70fcffa4dbb4885e41294d236
parent16e0c470f490cfebb8f1b13b54baf4c000b861e7 (diff)
automatic import of R-CRAN-predictionIntervalf36
-rw-r--r--.gitignore1
-rw-r--r--R-CRAN-predictionInterval.spec58
-rw-r--r--sources1
3 files changed, 60 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index e69de29..af82c19 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/predictionInterval_1.0.0.tar.gz
diff --git a/R-CRAN-predictionInterval.spec b/R-CRAN-predictionInterval.spec
new file mode 100644
index 0000000..458d086
--- /dev/null
+++ b/R-CRAN-predictionInterval.spec
@@ -0,0 +1,58 @@
+%global __brp_check_rpaths %{nil}
+%global packname predictionInterval
+%global packver 1.0.0
+%global rlibdir /usr/local/lib/R/library
+
+Name: R-CRAN-%{packname}
+Version: 1.0.0
+Release: 2%{?dist}%{?buildtag}
+Summary: Prediction Interval Functions for Assessing Replication StudyResults
+
+License: MIT License + 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-ggplot2
+BuildRequires: R-CRAN-MBESS
+BuildRequires: R-MASS
+BuildRequires: R-stats
+BuildRequires: R-CRAN-pbapply
+Requires: R-CRAN-ggplot2
+Requires: R-CRAN-MBESS
+Requires: R-MASS
+Requires: R-stats
+Requires: R-CRAN-pbapply
+
+%description
+A common problem faced by journal reviewers and authors is the question of
+whether the results of a replication study are consistent with the
+original published study. One solution to this problem is to examine the
+effect size from the original study and generate the range of effect sizes
+that could reasonably be obtained (due to random sampling) in a
+replication attempt (i.e., calculate a prediction interval). This package
+has functions that calculate the prediction interval for the correlation
+(i.e., r), standardized mean difference (i.e., d-value), and mean.
+
+%prep
+%setup -q -c -n %{packname}
+
+find -type f -executable -exec grep -Iq . {} \; -exec sed -i -e '$a\' {} \;
+[ -d %{packname}/src ] && find %{packname}/src -type f -exec \
+ sed -i 's@/usr/bin/strip@/usr/bin/true@g' {} \; || true
+
+%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
+
+%files
+%{rlibdir}/%{packname}
diff --git a/sources b/sources
new file mode 100644
index 0000000..b74d878
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+24ca1d8d7e6e1d8e8ec628b1d0cc651f predictionInterval_1.0.0.tar.gz