I am trying to read xlsx files belongs to path but sometimes it works perfectly and sometimes it gives error .
what can be a reason ....???
my_file <- read_xlsx(my_path, sheet = 1, col_names = T, col_types = "text", trim_ws = F, na = "",.name_repair = "minimal")
Error in read_xlsx(my_path, sheet = 1, col_names = T, col_types = "text", :
unused arguments (sheet = 1, col_names = T, col_types = "text", trim_ws = F, na = "", .name_repair = "minimal")