checkPackageAsciiCode: checkPackageAsciiCode

Description Usage Arguments Details Value Author(s) Examples

View source: R/checkPackageAsciiCode.R

Description

Check a package directory for non-ASCII characters in source files.

Usage

1
checkPackageAsciiCode(dir, respect_quotes = FALSE)

Arguments

dir

Character variable with path to directory to be checked

respect_quotes

Logical variable whether quotes need to be checked

Details

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.

Value

A vector of things that are wrong per this function, also displayed on standard output

Author(s)

Dirk Eddelbuettel for this version, R Core for the underlying code

Examples

1
2
3
4
## Not run: 
checkPackageAsciiCode(".", FALSE)

## End(Not run)

dang documentation built on Oct. 17, 2021, 5:06 p.m.