diff --git a/DESCRIPTION b/DESCRIPTION index 0b19d8c2..4b5281b5 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -1,6 +1,6 @@ Package: blavaan Title: Bayesian Latent Variable Analysis -Version: 0.5-4.1279 +Version: 0.5-4.1280 Authors@R: c(person(given = "Edgar", family = "Merkle", role = c("aut", "cre"), email = "merklee@missouri.edu", diff --git a/R/blavaan.R b/R/blavaan.R index f98e3d9d..f8d7eb82 100644 --- a/R/blavaan.R +++ b/R/blavaan.R @@ -352,6 +352,15 @@ blavaan <- function(..., # default lavaan arguments if(!inherits(LAV2, 'try-error')) LAV <- LAV2 } + ## ensure verbose appears in lavoptions, for 0.6-18 (FIXME also warn/debug?) + if(!("verbose" %in% names(LAV@Options))) { + if(!("verbose" %in% names(dotdotdot))) { + LAV@Options$verbose <- FALSE + } else { + LAV@Options$verbose <- dotdotdot$verbose + } + } + if(LAV@Data@data.type == "moment") { if(target != "stan") stop('blavaan ERROR: full data are required for ', target, ' target.\n Try target="stan", or consider using kd() from package semTools.') }