Escapes non-ASCII string literals to \uXXXX and transliterates
comments / roxygen so the package passes CRAN's "non-ASCII characters"
check. Dry-run by default: pass dry_run = FALSE to actually rewrite
files. Wraps asciify_pkg().
Path to the package to rewrite.
Subdirectories to rewrite.
Rewrite strategy (see asciify_r_source()).
What to do when a non-ASCII identifier is found.
If TRUE (default), only report what would change.
Invisibly, a data frame of the changes per file.
if (FALSE) { # \dontrun{
pkg <- create_example_pkg()
fix_ascii(pkg, dry_run = TRUE)
} # }