Skip to content

Commit

Permalink
fix lfactor test, run-extended
Browse files Browse the repository at this point in the history
  • Loading branch information
helske committed May 24, 2024
1 parent 4b7c2e6 commit ccaeffb
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions tests/testthat/test-lfactor.R
Original file line number Diff line number Diff line change
Expand Up @@ -120,14 +120,15 @@ test_that("latent factor related parameters can be got", {
skip_if_not(run_extended_tests)
expect_equal(
get_parameter_types(latent_factor_example_fit),
c("alpha", "lambda", "omega_psi", "psi", "sigma", "sigma_lambda", "kappa")
c("alpha", "lambda", "omega_psi", "psi", "sigma", "sigma_lambda",
"tau_psi", "kappa", "zeta")
)
})

test_that("lambdas can be plotted", {
skip_if_not(run_extended_tests)
expect_error(
plot(latent_factor_example_fit, types = "lambda"),
plot(latent_factor_example_fit, types = "lambda", n_params = 10),
NA
)
})
Expand Down

0 comments on commit ccaeffb

Please sign in to comment.