ropensci-archive/rtweet

auth_sitrep errors in old tokens/files

Closed this issue · 0 comments

llrs commented

In CRAN checks there seems to be a problem with old tokens:

> ### Name: auth_sitrep
> ### Title: Twitter Tokens sitrep
> ### Aliases: auth_sitrep
>
> ### ** Examples
>
> auth_sitrep()
Tokens from rtweet version < 1.0.0 found on C:/Users/CRAN/Documents:
Error in names(x) <- value :
  'names' attribute [3] must be the same length as the vector [2]
Calls: auth_sitrep ... auth_check -> handle_token -> token_auth -> colnames<-
Execution halted

I created a fake token to test it.