tests/testthat/setup-cl.data.R

## set up a cl.data for tests
rows <- 7:14
cl.data <- (ern::cl.data
   |> dplyr::filter(pt == "on")
   |> dplyr::slice(rows)
   |> dplyr::mutate(t = seq(7, 7*length(rows), by = 7))
)

Try the ern package in your browser

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

ern documentation built on April 4, 2025, 2:13 a.m.