verify_ascii | R Documentation |
Check if a file contains only ASCII characters
verify_ascii(input, quiet = FALSE)
input |
Path to the text file. |
quiet |
Print the elements containing non-ASCII characters? |
Logical. TRUE
if the file only contains ASCII characters,
FALSE
otherwise.
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()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.