Skip to content

Commit

Permalink
fix warnings on CRAN #5696 (#5712)
Browse files Browse the repository at this point in the history
* fix warnings on CRAN #5696
  • Loading branch information
jangorecki authored Nov 6, 2023
1 parent e66f5dc commit af82d40
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions inst/tests/tests.Rraw
Original file line number Diff line number Diff line change
Expand Up @@ -14473,8 +14473,8 @@ options(datatable.rbindlist.check=NULL) # this option is set to NULL at the top
if (.Platform$OS.type == 'windows') local({
lc_collate <- Sys.getlocale(c('LC_COLLATE'))
lc_ctype <- Sys.getlocale(c('LC_CTYPE'))
Sys.setlocale('LC_COLLATE', "Chinese (Simplified)_China.936")
Sys.setlocale('LC_CTYPE', "Chinese (Simplified)_China.936")
suppressWarnings(Sys.setlocale('LC_COLLATE', "Chinese (Simplified)_China.936")) ## fix CRAN warning #5696
suppressWarnings(Sys.setlocale('LC_CTYPE', "Chinese (Simplified)_China.936"))
on.exit({
Sys.setlocale('LC_COLLATE', lc_collate)
Sys.setlocale('LC_CTYPE', lc_ctype)
Expand Down

0 comments on commit af82d40

Please sign in to comment.