Skip to content

Commit

Permalink
fix UTF-8
Browse files Browse the repository at this point in the history
  • Loading branch information
emanuele-guidotti committed Mar 1, 2021
1 parent 582c571 commit a638815
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions R/covid19.R
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@ covid19 <- function(country = NULL,

# set locale
Sys.setlocale("LC_ALL", "C")
suppressWarnings(try(Sys.setlocale("LC_CTYPE", "en_US.UTF-8"), silent = TRUE))

# cache
cachekey <- make.names(sprintf("covid19_%s_%s_%s_%s",paste0(country, collapse = "."), level, ifelse(vintage, end, 0), raw))
Expand Down

0 comments on commit a638815

Please sign in to comment.