tests/testthat/test-delin.R

test_that("delin", {
  expect_error(delin())
  
  skip_if_not(interactive())
  
  # adjust full delineations
  stimuli <- demo_stim()
  expect_message(x <- delin(stimuli))
  draw_tem(x)
  
  # add delineations
  stimuli <- demo_stim() |> remove_tem()
  x2 <- delin(stimuli)
  draw_tem(x2)
})

Try the webmorphR package in your browser

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

webmorphR documentation built on June 2, 2022, 5:07 p.m.