tests/testthat/test-isco08_to_isco88.R

test_that("check ncols", {

  crossed_base <- toy_base_lfs %>%
    isco08_to_isco88(.,isco = "ISCO3D")

  expect_equal(ncol(crossed_base), ncol(toy_base_lfs)+1)

  })
Guidowe/occupationcross documentation built on Oct. 4, 2023, 12:09 p.m.