tests/testthat/test_insertVariable.R

test_that("insert variable in different order", {
  expect_error(insertVariable(dfSAV, var = "VAR3", after = "VAR1"),
               "'insertVariable()' has been deprecated, please use 'relocateVariable()' instead.", fixed = TRUE)
})

Try the eatGADS package in your browser

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

eatGADS documentation built on June 8, 2025, 12:42 p.m.