pharmaverse / admiral

ADaM in R Asset Library
https://pharmaverse.github.io/admiral
Apache License 2.0
215 stars 60 forks source link

Remove non-ascii characers #2456

Closed bms63 closed 1 month ago

bms63 commented 1 month ago

CRAN is detecting non-ascii characters as NOTES - these usually get flagged and ask for updates

image

Ugly R code

r_files <- list.files(path = pkg_path, pattern = "\.R$", recursive = TRUE, full.names = TRUE) names(r_files) <- list.files(path = pkg_path, pattern = "\.R$", recursive = TRUE, full.names = TRUE) lapply(r_files, tools::showNonASCIIfile)

Fancy github search

repo:pharmaverse/pharmaversesdtm /[^\x00-\x7F]+/

image