If someone had the same problem, I could solve it by changing a few of characters thare are not from english language sucha as "ç", "á". One shoud not use the to name variables, vectors, etc... Now I only use them inside " " to build text.
Other solution I've seen is the usage of the R version 3.6 instead of 4.0.