I changed the computer today in the service and my codes stopped working, giving encoding error in the files folder:
> setwd("I:/AGG/01. DIGEP/Relatórios Gerenciais/Edição/2018-08-17")
> getwd()
[1] "I:/AGG/01. DIGEP/Relatórios Gerenciais/Edição/2018-08-17"
> listao <- read_csv2('listao.csv', locale = locale(encoding = 'latin1'), col_types = cols(.default = col_character())) %>% clean_names
Using ',' as decimal and '.' as grouping mark. Use read_delim() for more control.
Error in guess_header_(datasource, tokenizer, locale) :
Cannot read file I:/AGG/01. DIGEP/Relatórios Gerenciais/Edição/2018-08-17/listao.csv: O sistema não pode encontrar o caminho especificado.
Does anyone have any idea how to solve this? I know that without a reproducible code it is difficult, but I do not think I can reproduce that error on another computer.