Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

issue with testthat test-distributions.R - line 67 #4

Closed
yrosseel opened this issue Apr 23, 2020 · 1 comment
Closed

issue with testthat test-distributions.R - line 67 #4

yrosseel opened this issue Apr 23, 2020 · 1 comment

Comments

@yrosseel
Copy link

Hi,
This came up during revdep checks for lavaan. In the test-distributions.R file (in tests/testthat), you now have (lines 65-67)

x <- as.data.frame(scale(mtcars[, 1:3]))
x[1, 1] <- NA
expect_warning(m <- testDistribution(x, distr = "mvnormal", use = "fiml"))

However, the last expression runs without producing a warning, and therefore, this 'test' fails, as it was expecting a warning. Could you please adapt this line, and update JWileymisc on CRAN? (It would otherwise prevent lavaan from being updated).
Thanks,
Yves.

@JWiley
Copy link
Owner

JWiley commented Apr 28, 2020

fixed and submitted to CRAN

@JWiley JWiley closed this as completed Apr 28, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants