Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

checkPackageAsciiCode

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)

dang

'Dang' Associated New Goodies

v0.0.13
GPL (>= 2)
Authors
Dirk Eddelbuettel with contributions by Brodie Gaslam, Kevin Denny, Kabira Namit, Colin Gillespie, R Core, Josh Ulrich, and others.
Initial release
2021-02-17

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.