checkPackageAsciiCode {dang}R Documentation

checkPackageAsciiCode

Description

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

Usage

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

## Not run: 
checkPackageAsciiCode(".", FALSE)

## End(Not run)

[Package dang version 0.0.15 Index]