diff options
author | CoprDistGit <copr-devel@lists.fedorahosted.org> | 2022-09-21 12:35:53 +0000 |
---|---|---|
committer | CoprDistGit <copr-devel@lists.fedorahosted.org> | 2022-09-21 12:35:53 +0000 |
commit | 320ed2dd7611857188ff64a37f6828d78f296f11 (patch) | |
tree | f4a39f1bd8cd8aa70fcffa4dbb4885e41294d236 | |
parent | 16e0c470f490cfebb8f1b13b54baf4c000b861e7 (diff) |
automatic import of R-CRAN-predictionIntervalf37
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | R-CRAN-predictionInterval.spec | 58 | ||||
-rw-r--r-- | sources | 1 |
3 files changed, 60 insertions, 0 deletions
@@ -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} @@ -0,0 +1 @@ +24ca1d8d7e6e1d8e8ec628b1d0cc651f predictionInterval_1.0.0.tar.gz |