Skip to content
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

set locale warnings in documentation #266

Closed
nr0cinu opened this issue Jul 30, 2024 · 1 comment · Fixed by #268
Closed

set locale warnings in documentation #266

nr0cinu opened this issue Jul 30, 2024 · 1 comment · Fixed by #268

Comments

@nr0cinu
Copy link

nr0cinu commented Jul 30, 2024

Hi,

there are warnings in the documnation, for example here:
https://withr.r-lib.org/reference/with_collate.html

with_collate("fr_FR", sort(x))
#> Warning: OS reports request to set locale to "fr_FR" cannot be honored
#> [1] "bernard"  "boris"    "béatrice" "bérénice"

The result is also wrong?

Best,
Bela

lionel- added a commit that referenced this issue Jul 30, 2024
@nr0cinu
Copy link
Author

nr0cinu commented Jul 31, 2024

  1. Would it not be better to fix the underlying issue and set/install the locale in pkdown GHA?
  2. The issue is also in https://withr.r-lib.org/reference/with_locale.html?q=OS%20reports%20request#ref-examples
  3. On a maybe related side note: I also have to add .UTF-8 to the the locale for this to work on my machine.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant