Skip to contents

Identifies source files flagged by R CMD check as containing non-ASCII characters, then replaces them with escaped \uXXXX sequences. All changes are committed before making modifications, so they can be reverted with undo().

Usage

fix_utf8_encoding(pkg = ".", check)

Arguments

pkg

the package to scan

check

output of a devtools::check() command (will check automatically if not provided)

Value

nothing