diff options
author | CoprDistGit <copr-devel@lists.fedorahosted.org> | 2021-02-21 21:24:38 +0000 |
---|---|---|
committer | CoprDistGit <copr-devel@lists.fedorahosted.org> | 2021-02-21 21:24:38 +0000 |
commit | 71eb78ddc8322f7a8453435b2626ff13bc9ccd90 (patch) | |
tree | 90dda38f05f4966d8bbf4ce73fff1af1f39573fc | |
parent | 239e54ce283fafc1500fda0c2e12ecabd7461e8d (diff) |
automatic import of R-CRAN-autoTSf34
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | R-CRAN-autoTS.spec | 77 | ||||
-rw-r--r-- | sources | 1 |
3 files changed, 79 insertions, 0 deletions
@@ -0,0 +1 @@ +/autoTS_0.9.11.tar.gz diff --git a/R-CRAN-autoTS.spec b/R-CRAN-autoTS.spec new file mode 100644 index 0000000..7a9c126 --- /dev/null +++ b/R-CRAN-autoTS.spec @@ -0,0 +1,77 @@ +%global packname autoTS +%global packver 0.9.11 +%global rlibdir /usr/local/lib/R/library + +Name: R-CRAN-%{packname} +Version: 0.9.11 +Release: 3%{?dist}%{?buildtag} +Summary: Automatic Model Selection and Prediction for Univariate TimeSeries + +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-rlang +BuildRequires: R-CRAN-prophet +BuildRequires: R-CRAN-dplyr +BuildRequires: R-CRAN-magrittr +BuildRequires: R-CRAN-lubridate +BuildRequires: R-CRAN-tidyr +BuildRequires: R-CRAN-forecast +BuildRequires: R-CRAN-ggplot2 +BuildRequires: R-CRAN-RcppRoll +BuildRequires: R-CRAN-shiny +BuildRequires: R-CRAN-shinycssloaders +BuildRequires: R-CRAN-plotly +Requires: R-CRAN-rlang +Requires: R-CRAN-prophet +Requires: R-CRAN-dplyr +Requires: R-CRAN-magrittr +Requires: R-CRAN-lubridate +Requires: R-CRAN-tidyr +Requires: R-CRAN-forecast +Requires: R-CRAN-ggplot2 +Requires: R-CRAN-RcppRoll +Requires: R-CRAN-shiny +Requires: R-CRAN-shinycssloaders +Requires: R-CRAN-plotly + +%description +Offers a set of functions to easily make predictions for univariate time +series. 'autoTS' is a wrapper of existing functions of the 'forecast' and +'prophet' packages, harmonising their outputs in tidy dataframes and using +default values for each. The core function getBestModel() allows the user +to effortlessly benchmark seven algorithms along with a bagged estimator +to identify which one performs the best for a given time series. + +%prep +%setup -q -c -n %{packname} + +find -type f -executable -exec grep -Iq . {} \; -exec sed -i -e '$a\' {} \; + +%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}/DESCRIPTION +%{rlibdir}/%{packname}/NAMESPACE +%{rlibdir}/%{packname}/R +%doc %{rlibdir}/%{packname}/doc +%{rlibdir}/%{packname}/extdata +%doc %{rlibdir}/%{packname}/shiny-example +%{rlibdir}/%{packname}/INDEX @@ -0,0 +1 @@ +30d4aaf81027638e1e0045c3bdb7ef83 autoTS_0.9.11.tar.gz |