if (FALSE) {
# Test all files in a directory
test_jsons(path = "path/to/jsons", recursive = FALSE)
# Test all files in a directory and its subdirectories
test_jsons(path = "path/to/jsons", recursive = TRUE)
# Test specific files
test_jsons(files = c("file1.json", "file2.json"))
# Test files in a directory, but skip those that are already in the database
test_jsons(path = "path/to/jsons", db = db)
}
Run the code above in your browser using DataLab