tests/testthat/test_umx_CLPM.r

# library(testthat)
# library(umx)
# test_package("umx")
# test_active_file("~/bin/umx/tests/testthat/test_umx_CLPM.r")

test_that("testing umxCLPM", {
  hamaker <- umxCLPM(waves = 4, name = "mymodel", model = "Hamaker2015")
  is(mxModel(hamaker))
})

Try the umx package in your browser

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

umx documentation built on Nov. 17, 2023, 1:07 a.m.