-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Vignette 'docs.Rmd' is non-ASCII but has no declared encoding #23
Comments
Interesting. Could you take a look at the result of tools::showNonASCII(readLines("docs.Rmd")) and let me know what you encounter? |
Bingo. This should be "Tübingen". |
Great! This file is yours to edit so I presume updating that solves the problem? |
Not really, because I do not want to switch away from UTF, and the text looks fine in my editor. Where does the copyright come from? Are non-ascii characters forbidden in the header? |
By default the header information is populated from text parsed from your DESCRIPTION file. Can you try updating the vignette: |
%\VignetteIndexEntry{gastempt Documentation}
%\VignetteEngine{packagedocs::redirect}
%\VignetteEncoding{UTF-8} |
Works. Probably make it default? |
Using the default generated docs.Rmd, I get the following error message on build_vignettes().
"Vignette 'docs.Rmd' is non-ASCII but has no declared encoding"
German Windows 10, everything is UTF by default.
packagedocs_0.4.0
The text was updated successfully, but these errors were encountered: