diff options
author | CoprDistGit <copr-devel@lists.fedorahosted.org> | 2020-03-01 07:00:26 +0000 |
---|---|---|
committer | CoprDistGit <copr-devel@lists.fedorahosted.org> | 2020-03-01 07:00:26 +0000 |
commit | 36297889b13148d90a79b15827f0619e1169508b (patch) | |
tree | ff1b62dd5b48b63356450fd65949b30ac9ce45df | |
parent | b52561a2776740bfb5197fe4f4ee24f771853dc6 (diff) |
automatic import of R-CRAN-AdaptGauss
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | R-CRAN-AdaptGauss.spec | 63 | ||||
-rw-r--r-- | sources | 1 |
3 files changed, 65 insertions, 0 deletions
@@ -0,0 +1 @@ +/AdaptGauss_1.5.6.tar.gz diff --git a/R-CRAN-AdaptGauss.spec b/R-CRAN-AdaptGauss.spec new file mode 100644 index 0000000..3335d1c --- /dev/null +++ b/R-CRAN-AdaptGauss.spec @@ -0,0 +1,63 @@ +%global packname AdaptGauss +%global packver 1.5.6 +%global rlibdir /usr/local/lib/R/library + +Name: R-CRAN-%{packname} +Version: 1.5.6 +Release: 1%{?dist} +Summary: Gaussian Mixture Models (GMM) + +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 +BuildRequires: R-CRAN-Rcpp +BuildRequires: R-CRAN-shiny +BuildRequires: R-CRAN-pracma +BuildRequires: R-methods +BuildRequires: R-CRAN-DataVisualizations +Requires: R-CRAN-Rcpp +Requires: R-CRAN-shiny +Requires: R-CRAN-pracma +Requires: R-methods +Requires: R-CRAN-DataVisualizations + +%description +Multimodal distributions can be modelled as a mixture of components. The +model is derived using the Pareto Density Estimation (PDE) for an +estimation of the pdf. PDE has been designed in particular to identify +groups/classes in a dataset. Precise limits for the classes can be +calculated using the theorem of Bayes. Verification of the model is +possible by QQ plot, Chi-squared test and Kolmogorov-Smirnov test. The +package is based on the publication of Ultsch, A., Thrun, M.C., +Hansen-Goos, O., Lotsch, J. (2015) <DOI:10.3390/ijms161025897>. + +%prep +%setup -q -c -n %{packname} + + +%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 +%dir %{rlibdir}/%{packname} +%doc %{rlibdir}/%{packname}/html +%{rlibdir}/%{packname}/Meta +%{rlibdir}/%{packname}/help +%{rlibdir}/%{packname}/data +%{rlibdir}/%{packname}/DESCRIPTION +%{rlibdir}/%{packname}/NAMESPACE +%{rlibdir}/%{packname}/R +%doc %{rlibdir}/%{packname}/doc +%{rlibdir}/%{packname}/INDEX +%{rlibdir}/%{packname}/libs @@ -0,0 +1 @@ +7bc41d1dacd8e8f4e9b96e0350a3b776 AdaptGauss_1.5.6.tar.gz |