tests/testthat/test-plot_profiles_varyingcov.R

test_that("plot_profiles works with varying covariances", {
  skip_on_cran()
  df <- iris[1:4]
  names(df) <- paste0("x", 1:4 )
  res <- mx_profiles(df, 2, covariances = "varying")
  expect_error(tidySEM::plot_profiles(res), NA)
})

Try the tidySEM package in your browser

Any scripts or data that you put into this service are public.

tidySEM documentation built on Oct. 25, 2023, 1:06 a.m.