I created a function inside, however, if at some point an error occurs, it's not important to me and I want it to go through to the end, ignoring the error.
valor<-1
Erro<-function(valor){
valor<-valor+1
print(valor)
valor<-valor+1
print(valor)
na.fail(NA)
valor<-valor+1
print(valor)
valor<-valor+1
print(valor)
}
Erro(valor)
And what are the repercussions of this?