Error in dplyr::mutate(., newcol = forcats::fct_cross(forcats::fct_na_value_to_level(Region.Geo, :
ℹ In argument: `newcol = forcats::fct_cross(...)`.
Caused by error:
! 'fct_na_value_to_level' is not an exported object from 'namespace:forcats'
When running:
iNZightTools::combine_vars(
data = d,
vars = c("Region.Geo", "Country"),
sep = "_",
name = "new_col"
)
When running:
Dataset: