0
There is some function in the R so that the given condition it jumps to a certain part of the code. I am implementing an audit model, but at certain points it needs external files that are sent only at the end of the year, but I would like to review the other items before that. The code I thought would be something similar to the one below, but not the one to insert inside the if
.
if(length(list.files(pattern = "RREO"))==0){#Proximo item da auditoria}
I think you should consider changing the logic of the code.
if(o ficheiro existe){processar ficheiro} else {seguir em frente}
.– Rui Barradas