Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue with status_id column ? #8

Open
munoztd0 opened this issue Aug 18, 2022 · 0 comments
Open

Issue with status_id column ? #8

munoztd0 opened this issue Aug 18, 2022 · 0 comments

Comments

@munoztd0
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant