tests/testthat/test-scalp_plot.R

test_that("scalp_plot without errors", {
  edata <- epochdata |>
    dplyr::filter(subject == 2 & time == 10 & epoch == 1)
  expect_silent({
    open3d()
    on.exit(close3d())
    scalp_plot(edata, amplitude = "signal")
  })
})

Try the diegr package in your browser

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

diegr documentation built on Nov. 5, 2025, 5:25 p.m.