Explorar el Código

Don't not keep going if stopifnot condition was TRUE

simplify
Garrick Aden-Buie hace 7 años
padre
commit
d01229d424
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. +1
    -1
      R/tweet_io.R

+ 1
- 1
R/tweet_io.R Ver fichero

@@ -22,7 +22,7 @@ save_tweets <- function(
if (nrow(tweets_not_new)) {
tweets <- bind_rows(tweets, tweets_not_new)
}
if (length(setdiff(tweets_prev$status_id, tweets$status_id)) == 0) {
if (length(setdiff(tweets_prev$status_id, tweets$status_id)) != 0) {
log_fatal("An error occurred that would have lost stored tweets")
}
}

Cargando…
Cancelar
Guardar