Issue with status_id column ?
munoztd0 opened this issue · comments
Hello,
When I try to run the basic gathertweet tutos I get:
INFO [2022-08-18 17:35:58] ---- gathertweet timeline start ----
INFO [2022-08-18 17:35:58] Gathering tweets by hadleywickham
WARN [2022-08-18 17:35:58] Twitter API for timelines returns a maximum of 3200 tweets per user
Error in `vectbl_as_row_location()`:
! Must subset rows with a valid subscript vector.
i Logical subscripts must match the size of the indexed input.
x Input has size 1976 but subscript `!duplicated(tweets$status_id)` has size 0.
Backtrace:
x
1. \-global do_gathertweet()
2. +-base::do.call("gathertweet_timeline", opts)
3. \-gathertweet::gathertweet_timeline(...)
4. \-gathertweet:::save_tweets_or_exit(tweets, file)
5. +-tweets[!duplicated(tweets$status_id), ]
6. \-tibble:::`[.tbl_df`(tweets, !duplicated(tweets$status_id), )
7. \-tibble:::tbl_subset_row(xo, i = i, i_arg)
8. \-tibble:::vectbl_as_row_index(i, x, i_arg)
9. \-tibble:::vectbl_as_row_location(i, nr, i_arg, assign)
10. +-tibble:::subclass_row_index_errors(...)
11. | \-base::withCallingHandlers(...)
12. \-vctrs::vec_as_location(i, n)
13. \-vctrs (local) `<fn>`()
14. \-vctrs:::stop_indicator_size(...)
15. \-rlang::cnd_signal(...)
Warning message:
Unknown or uninitialised column: `status_id`.
Execution halted
I'm running it on windows (not my choice unfortunately) and on R version 4.1.3 if it helps.
Thanks for this great tool anyway
David