Skip to content

Commit af82d40

Browse files
authored
fix warnings on CRAN #5696 (#5712)
* fix warnings on CRAN #5696
1 parent e66f5dc commit af82d40

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

inst/tests/tests.Rraw

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14473,8 +14473,8 @@ options(datatable.rbindlist.check=NULL) # this option is set to NULL at the top
1447314473
if (.Platform$OS.type == 'windows') local({
1447414474
lc_collate <- Sys.getlocale(c('LC_COLLATE'))
1447514475
lc_ctype <- Sys.getlocale(c('LC_CTYPE'))
14476-
Sys.setlocale('LC_COLLATE', "Chinese (Simplified)_China.936")
14477-
Sys.setlocale('LC_CTYPE', "Chinese (Simplified)_China.936")
14476+
suppressWarnings(Sys.setlocale('LC_COLLATE', "Chinese (Simplified)_China.936")) ## fix CRAN warning #5696
14477+
suppressWarnings(Sys.setlocale('LC_CTYPE', "Chinese (Simplified)_China.936"))
1447814478
on.exit({
1447914479
Sys.setlocale('LC_COLLATE', lc_collate)
1448014480
Sys.setlocale('LC_CTYPE', lc_ctype)

0 commit comments

Comments
 (0)