You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 10, 2024. It is now read-only.
I believe this happens when all of the returned users haven't tweeted anything, yet. Because then, status_object(x) returns a list with all elements being NULL. That is because if (&&(is.data.frame(x), c("favorite_count", "source") %in% names(x))) does not return TRUE; without any tweets there aren't any column named favorite_count and source.
The text was updated successfully, but these errors were encountered:
When calling
rtweet::search_users("John Doe", parse = TRUE)
, one might encounter the error messageError: Columns
NA,
NA,
NA,
NA,
NA,
NA,
NA,
NA,
NA,
NA,
NA,
NA,
NA,
NA,
NA,
NA,
NA,
NA,
NA,
NA,
NA,
NA,
NA,
NA,
NA,
NA,
NA,
NA,
NA,
NA,
NA,
NA,
NA,
NA,
NA,
NA,
NA,
NA,
NA,
NA,
NA,
NA,
NA,
NA,
NA,
NA,
NA,
NA,
NA,
NA,
NA,
NA,
NA,
NA,
NA,
NA,
NA,
NA,
NA,
NA,
NA,
NA,
NA,
NA,
NA,
NA,
NA,
NAmust have unique names
I believe this happens when all of the returned users haven't tweeted anything, yet. Because then,
status_object(x)
returns a list with all elements beingNULL
. That is becauseif (
&&(is.data.frame(x), c("favorite_count", "source") %in% names(x)))
does not returnTRUE
; without any tweets there aren't any column namedfavorite_count
andsource
.The text was updated successfully, but these errors were encountered: