TIL `tools::showNonASCIIfile()`, thank you @maelle!! Having actually combed through my code line by line in search of an offending non-ascii character, I’m grateful for this post!

https://masalmon.eu/2023/08/30/three-r-functions/

Three (four?) R functions I enjoyed this week · Maëlle's R Blog

@maelle it’s such a small thing, but imagine how much collective confusion and time would be saved if the R CMD check warning

‼️ Found the following file with non-ASCII characters

also included the phrase “find them with tools::showNonASCIIfile(<filename>)”

@grrrck @maelle I'll try to add this message as part of the #RSprint2023 ! Thanks for the idea! 👍
@grrrck @maelle And proposed: https://github.com/r-devel/r-project-sprint-2023/issues/55#issuecomment-1701471052. Not sure if I sent it to the right place but at least is public and someone else will have less effort to apply it.
Tasks to support CRAN · Issue #55 · r-devel/r-project-sprint-2023

Discussed in #54 Originally posted by hturner August 24, 2023 Uwe Ligges has some ideas for small tasks that volunteers might do to support the CRAN Team. This might include tasks such as Improving...

GitHub