R/set_cz.R

Defines functions set_cz

Documented in set_cz

#' Sets locale to UTF-8 for working with czech characters
#'
#' @import tidyverse
#' @import readxl
#' @examples
#' set_cz()
#' @export

set_cz <- function(){
  if (.Platform$OS.type == 'windows') {
    Sys.setlocale(category = 'LC_ALL','English_United States.1250')
  } else {
    Sys.setlocale(category = 'LC_ALL','en_US.UTF-8')
  }
}
jmunich/readMSMT documentation built on March 17, 2020, 9:14 a.m.