summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCoprDistGit <copr-devel@lists.fedorahosted.org>2021-02-21 21:14:23 +0000
committerCoprDistGit <copr-devel@lists.fedorahosted.org>2021-02-21 21:14:23 +0000
commitd701ab33b4f3e2be2a80cf505053b8af4239b289 (patch)
tree621d89572847559cfe0d158903dc3855bc4a6d7a
parent2ff36bd1a7e1573cd6c8856c94615fec75b340d4 (diff)
automatic import of R-CRAN-bayesvlf34
-rw-r--r--.gitignore1
-rw-r--r--R-CRAN-bayesvl.spec79
-rw-r--r--sources1
3 files changed, 81 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index e69de29..b078e0e 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/bayesvl_0.8.5.tar.gz
diff --git a/R-CRAN-bayesvl.spec b/R-CRAN-bayesvl.spec
new file mode 100644
index 0000000..40cfb7e
--- /dev/null
+++ b/R-CRAN-bayesvl.spec
@@ -0,0 +1,79 @@
+%global packname bayesvl
+%global packver 0.8.5
+%global rlibdir /usr/local/lib/R/library
+
+Name: R-CRAN-%{packname}
+Version: 0.8.5
+Release: 3%{?dist}%{?buildtag}
+Summary: Visually Learning the Graphical Structure of Bayesian Networksand Performing MCMC with 'Stan'
+
+License: GPL (>= 3)
+URL: https://cran.r-project.org/package=%{packname}
+Source0: %{url}&version=%{packver}#/%{packname}_%{packver}.tar.gz
+
+
+BuildRequires: R-devel >= 3.4.0
+Requires: R-core >= 3.4.0
+BuildArch: noarch
+BuildRequires: R-CRAN-StanHeaders >= 2.18.0
+BuildRequires: R-CRAN-rstan >= 2.10.0
+BuildRequires: R-stats
+BuildRequires: R-graphics
+BuildRequires: R-methods
+BuildRequires: R-CRAN-coda
+BuildRequires: R-CRAN-bnlearn
+BuildRequires: R-CRAN-ggplot2
+BuildRequires: R-CRAN-bayesplot
+BuildRequires: R-CRAN-viridis
+BuildRequires: R-CRAN-reshape2
+BuildRequires: R-CRAN-dplyr
+Requires: R-CRAN-StanHeaders >= 2.18.0
+Requires: R-CRAN-rstan >= 2.10.0
+Requires: R-stats
+Requires: R-graphics
+Requires: R-methods
+Requires: R-CRAN-coda
+Requires: R-CRAN-bnlearn
+Requires: R-CRAN-ggplot2
+Requires: R-CRAN-bayesplot
+Requires: R-CRAN-viridis
+Requires: R-CRAN-reshape2
+Requires: R-CRAN-dplyr
+
+%description
+Provides users with its associated functions for pedagogical purposes in
+visually learning Bayesian networks and Markov chain Monte Carlo (MCMC)
+computations. It enables users to: a) Create and examine the (starting)
+graphical structure of Bayesian networks; b) Create random Bayesian
+networks using a dataset with customized constraints; c) Generate 'Stan'
+code for structures of Bayesian networks for sampling the data and
+learning parameters; d) Plot the network graphs; e) Perform Markov chain
+Monte Carlo computations and produce graphs for posteriors checks. The
+package refers to one reference item, which describes the methods and
+algorithms: Vuong, Quan-Hoang and La, Viet-Phuong (2019)
+<doi:10.31219/osf.io/w5dx6> The 'bayesvl' R package. Open Science
+Framework (May 18).
+
+%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
+%{rlibdir}/%{packname}/INDEX
diff --git a/sources b/sources
new file mode 100644
index 0000000..ef7d440
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+e3ebd478547c0153206516b4488612ca bayesvl_0.8.5.tar.gz