This function checks if specified key variables are present in each tibble's "id" column and returns only tibbles that contain all required key variables.
Examples
if (FALSE) { # \dontrun{
# Create sample data
path <- file.path(find.package("tutorial.helpers"), "tests/testthat/fixtures/answers_html")
tibble_list <- gather_submissions(path, "stop")
result <- check_key_vars(tibble_list,
key_vars = c("name", "email"))
} # }