-
Notifications
You must be signed in to change notification settings - Fork 233
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Not supporting UTF-8 characters in file paths when generating documentation #1277
Comments
I have exactly the same issue (on windows 10). I'm forced by my institution to work in a path that has a "Università" with a unicode letter in the path. I used to be able to overcome this using symbolic links in older versions. But now I get |
Hello, |
Hmmmm, given that it works in 7.1.1 and not 7.1.2, the most likely cause would be the conversion from Rcpp to cpp11. Could any of you give me a |
Looks like readxl had the same problem: https://github.com/tidyverse/readxl/blob/330805693a0be798458dc3a919effa744429abea/src/XlsWorkBook.h#L29-L34 |
Is this what you need @hadley?
|
When making a custom template I noticed that after adding a custom format for the template I couldn't generate roxygen documentation with
devtools::document()
from RStudio which gave this error:Which, after some digging, led me to this piece of code throwing the error:
roxygen2::roxygenise("G:/Mój dysk/Zdalne/Dokumenty zdalne/Statystyka/JantoTools", NULL)
Note the change in the file path from
G:/Mój dysk/...
toG:\MĂłj dysk\...
Running the whole thing from another location with no
ó
in file path succeeded with no errors.I tried (or checked if it is set) with no effect:
options(encoding = "UTF-8")
Sys.setlocale()
The whole code is available here.
The text was updated successfully, but these errors were encountered: