View source: R/checkPackageAsciiCode.R
checkPackageAsciiCode | R Documentation |
Check a package directory for non-ASCII characters in source files.
checkPackageAsciiCode(dir, respect_quotes = FALSE)
dir |
Character variable with path to directory to be checked |
respect_quotes |
Logical variable whether quotes need to be checked |
The function is a renamed and slightly edited copy of the base R function
.check_package_ASCII_code
. It uses an unexported C function, also
included, from base R, called as _check_nonASCII
.
A vector of things that are wrong per this function, also displayed on standard output
Dirk Eddelbuettel for this version, R Core for the underlying code
## Not run:
checkPackageAsciiCode(".", FALSE)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.