i have a loop function to unzip and read files inside into. But when the .zip file is empty, the function stop. What can i do for the function continue to next objects [j]?
Erro: 1: Document is empty Beside: Warning message: In utils::unzip(zipped.file, exdir = rnd.folder.name) : Erro: 1: Document is empty
my.zip.file <- list.files()
for (j in 1:length(my.zip.file)) {
### other codes before
utils::unzip(my.zip.file[j], exdir = temp.dir, junkpaths = TRUE)
### other codes after
}