tests/testthat/test-graphics.R

test_that("nlme_gastempt graphics creates a plot", {
  skip_on_cran()
  d = simulate_gastempt(seed = 4711)$data
  fit = nlme_gastempt(d)
  expect_is(fit, "nlme_gastempt")
  p = plot(fit)
  vdiffr::expect_doppelganger("nlme gastempt", p)
})

Try the gastempt package in your browser

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

gastempt documentation built on May 2, 2022, 9:09 a.m.