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

Cannot display message correctly for targets::tar_make() #405

Closed
psychelzh opened this issue Mar 10, 2023 · 4 comments
Closed

Cannot display message correctly for targets::tar_make() #405

psychelzh opened this issue Mar 10, 2023 · 4 comments

Comments

@psychelzh
Copy link

This is the message from radian:

image

Compare with that from R script:

image

@psychelzh
Copy link
Author

psychelzh commented Mar 10, 2023

Maybe it is caused by the locale:

image

Compare with that from R script:

image

But currently, R 4.2.0 supports utf-8 natively on Windows, so I think it should be enabled for R 4.2.0 or higher?

@randy3k
Copy link
Owner

randy3k commented Apr 12, 2023

Someone posted a solution here #269 (comment)

I don’t have a windows to test it.

@psychelzh
Copy link
Author

Seemingly, calling Sys.setlocale("LC_ALL", Sys.getenv("LANG")) solves this issue. Maybe this line should be included for Windows, though it will gives warnings.

@psychelzh
Copy link
Author

I am seeing that there is no more issues, now.

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

No branches or pull requests

2 participants