tests/testthat/test-pathwayRMSE.R

test_that("Check if pathwayRMSE output is data frame", {
  x <- netSEMp1(acrylic)
  expect_s3_class(pathwayRMSE(x, maxlen=2), "data.frame")
})

Try the netSEM package in your browser

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

netSEM documentation built on Sept. 8, 2023, 5:26 p.m.