<purrr_error_indexed/rlang_error/error/condition>
Error in `map2(.x, .y, .f, ...)`: i In index: 1.
Caused by error in `loadNamespace()`:
! there is no package called 'broom'

test_that("Check if netSEMp1 gives correct output", {
expect_s3_class(netSEMp1(acrylic, exogenous = "IrradTot", endogenous = "YI"), c("netSEMp1", "list"))
})

"Check if netSEMp1 gives correct output"

test_that("Check if netSEMp2 gives correct output", {
expect_s3_class(netSEMp2(acrylic, exogenous = "IrradTot", endogenous = "YI"), c("netSEMp2", "list"))
})

"Check if netSEMp2 gives correct output"

test_that("Check if plot.netSEMp1 has correct output", {
x <- netSEMp1(acrylic, exogenous = "IrradTot", endogenous = "YI")
test_that("Check if plot.netSEMp2 has correct output", {
x <- netSEMp2(acrylic, exogenous = "IrradTot", endogenous = "YI")

"Check if plot.netSEMp1 has correct output"
"Check if plot.netSEMp2 has correct output"

Check if plot.netSEMp1 has correct output

Check if plot.netSEMp2 has correct output