tests/testthat/test-activate.R

test_that("activate works with singulars and plurals of level names", {

  expect_error(  egor32 %>% 
                   activate(ego), NA)
  
  # expect_error(  egor32 %>% 
  #                  activate(egos), NA)
})

Try the egor package in your browser

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

egor documentation built on March 31, 2023, 11:33 p.m.