powered by
Check if a file contains only ASCII characters
verify_ascii(input, quiet = FALSE)
Logical. TRUE if the file only contains ASCII characters, FALSE otherwise.
TRUE
FALSE
Path to the text file.
Print the elements containing non-ASCII characters?
The contents of this section are shown in PDF user manual only.
pkg <- system.file("examples/pkg1", package = "pkglite") txt <- tempfile(fileext = ".txt") pkg %>% collate(file_default()) %>% pack(output = txt, quiet = TRUE) %>% verify_ascii()
Run the code above in your browser using DataLab