Closed IndrajeetPatil closed 10 months ago
the wrong parent assignment bug was fixed long time ago and we don’t even support R versions that old with styler, so I guess the test can be deleted. Context; https://github.com/r-lib/styler/issues/187
I am not really sure how to get rid of this warning:
using locale code page other than 65001 ("UTF-8") may cause problems
Using the specified locale code instead leads to a different warning about the OS not honouring the requested locale.
A web search yields many (apparently relevant) results, e.g. also https://github.com/Rdatatable/data.table/issues/5696. Maybe these can help?
Maybe these can help?
Only if suppressWarnings()
is an option. That's what {data.table}
seems to be doing 🙈
But maybe we can do the same thing. I agree with what Michael says in the PR you mentioned:
Probably we should just suppressWarnings() since this is in tests, any "problems" would be detected by a test failure. Alternatively, we might check if the "new" (4.2.0) Sys.setlanguage() will work for those tests.
cf. https://github.com/r-lib/styler/actions/runs/7078474055/job/19263996467
test-io.R
test-parsing.R