Skip to content

Commit

Permalink
final for 0.4-6 (version bumps due to some CRAN issues)
Browse files Browse the repository at this point in the history
  • Loading branch information
ecmerkle committed Feb 11, 2023
1 parent abf0a0a commit 0285566
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Package: blavaan
Title: Bayesian Latent Variable Analysis
Version: 0.4-5
Version: 0.4-6
Authors@R: c(person(given = "Edgar", family = "Merkle",
role = c("aut", "cre"),
email = "merklee@missouri.edu",
Expand Down
2 changes: 1 addition & 1 deletion NEWS.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Version 0.4-5
# Version 0.4-6
## New features
* For target = "stan", meanstructure=FALSE is allowed, along with use of sample.cov and sample.nobs instead of raw data

Expand Down
2 changes: 1 addition & 1 deletion R/blavaan.R
Original file line number Diff line number Diff line change
Expand Up @@ -299,7 +299,7 @@ blavaan <- function(..., # default lavaan arguments
}


if("meanstructure" %in% names(dotdotdot) && "sample.cov" %in% names(dotdotdot)) stop('blavaan ERROR: meanstructure is not currently allowed when sample.cov is supplied')
if("sample.mean" %in% names(dotdotdot) && !("data" %in% names(dotdotdot))) stop('blavaan ERROR: sample.mean cannot currently be used in place of data')

# call lavaan
mcdebug <- FALSE
Expand Down

0 comments on commit 0285566

Please sign in to comment.