From adf983717bbbb1409989ad9ccbf6ab062c5a4d11 Mon Sep 17 00:00:00 2001 From: richarddmorey Date: Sat, 19 Sep 2015 14:04:12 +0300 Subject: [PATCH] added imports suggested by check --- pkg/BayesFactor/DESCRIPTION | 4 ++-- pkg/BayesFactor/NAMESPACE | 10 ++++++++++ 2 files changed, 12 insertions(+), 2 deletions(-) diff --git a/pkg/BayesFactor/DESCRIPTION b/pkg/BayesFactor/DESCRIPTION index d5f4e5c..b3af68e 100644 --- a/pkg/BayesFactor/DESCRIPTION +++ b/pkg/BayesFactor/DESCRIPTION @@ -16,7 +16,6 @@ VignetteBuilder: knitr Depends: R (>= 3.0.2), coda, - methods, Matrix (>= 1.1-1) Imports: pbapply, @@ -26,7 +25,8 @@ Imports: graphics, gtools, MatrixModels, - Rcpp (>= 0.11.2) + Rcpp (>= 0.11.2), + methods Suggests: doMC, foreach, diff --git a/pkg/BayesFactor/NAMESPACE b/pkg/BayesFactor/NAMESPACE index 8383427..5f034de 100644 --- a/pkg/BayesFactor/NAMESPACE +++ b/pkg/BayesFactor/NAMESPACE @@ -34,6 +34,16 @@ importFrom(gtools, rdirichlet) importFrom(MatrixModels, model.Matrix) import(mvtnorm, pbapply, stringr, coda, Matrix) +importFrom("graphics", "abline", "axis", "barplot", "par", "segments", + "text") +importFrom("methods", ".hasSlot", "S3Part", "S3Part<-", "as", "is", + "new", "slot", "slot<-", "slotNames") +importFrom("stats", "aov", "dbinom", "dnorm", "dt", "formula", + "integrate", "lm", "nlm", "optim", "pcauchy", "plogis", + "pt", "qlogis", "rgamma", "sd", "t.test", "terms", "var") +importFrom("utils", "combn", "setTxtProgressBar", "txtProgressBar", + "vignette") + exportClasses("BFmodel", "BFBayesFactor","BFlinearModel", "BFodds") exportClasses("BFBayesFactorList", "BFoneSample","BFindepSample","BFcontingencyTable")