Use try(silent = TRUE)