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

Error in data frame .... replacement has 1 row, data has 0 #13

Open
haseebmahmud opened this issue Apr 8, 2018 · 2 comments
Open

Error in data frame .... replacement has 1 row, data has 0 #13

haseebmahmud opened this issue Apr 8, 2018 · 2 comments

Comments

@haseebmahmud
Copy link

I was testing the package on my follower list. I am having this error. I have about 900 followers in twitter.

> data <- botornot(df.haseebmahmud$screenName)
Warning: /1.1/statuses/user_timeline.json - Not authorized.
Warning: /1.1/statuses/user_timeline.json - Not authorized.
Warning: /1.1/statuses/user_timeline.json - Not authorized.
Warning: /1.1/statuses/user_timeline.json - Not authorized.
Warning: /1.1/statuses/user_timeline.json - Not authorized.
Warning: /1.1/statuses/user_timeline.json - Not authorized.
Warning: /1.1/statuses/user_timeline.json - Not authorized.
Warning: /1.1/statuses/user_timeline.json - Not authorized.
Warning: /1.1/statuses/user_timeline.json - Not authorized.
Warning: /1.1/statuses/user_timeline.json - Not authorized.
Warning: /1.1/statuses/user_timeline.json - Not authorized.
Warning: /1.1/statuses/user_timeline.json - Not authorized.
Warning: Rate limit exceeded - 88
Error in `$<-.data.frame`(`*tmp*`, "app", value = "twitter") : 
  replacement has 1 row, data has 0

Could anyone can give me any hint what is wrong? I have the same error with an account having 80000 followers. Also, I tried to run the example codes and had the same error in data.frame.

> users <- c("realdonaldtrump", "netflix_bot",
+            "kearneymw", "dataandme", "hadleywickham",
+            "ma_salmon", "juliasilge", "tidyversetweets", 
+            "American__Voter", "mothgenerator", "hrbrmstr")
> dataq <- botornot(users)
Warning: Rate limit exceeded - 88
Error in `$<-.data.frame`(`*tmp*`, "app", value = "twitter") : 
  replacement has 1 row, data has 0

My sessioninfo() is as follows,

> sessionInfo()
R version 3.4.4 (2018-03-15)
Platform: x86_64-pc-linux-gnu (64-bit)
Running under: Linux Mint 18.2

Matrix products: default
BLAS: /usr/lib/libblas/libblas.so.3.6.0
LAPACK: /usr/lib/lapack/liblapack.so.3.6.0

locale:
 [1] LC_CTYPE=en_US.UTF-8       LC_NUMERIC=C               LC_TIME=en_US.UTF-8        LC_COLLATE=en_US.UTF-8    
 [5] LC_MONETARY=de_DE.UTF-8    LC_MESSAGES=en_US.UTF-8    LC_PAPER=de_DE.UTF-8       LC_NAME=C                 
 [9] LC_ADDRESS=C               LC_TELEPHONE=C             LC_MEASUREMENT=de_DE.UTF-8 LC_IDENTIFICATION=C       

attached base packages:
[1] stats     graphics  grDevices utils     datasets  methods   base     

other attached packages:
 [1] botrnot_0.0.2   gridExtra_2.3   forcats_0.3.0   stringr_1.3.0   dplyr_0.7.4     purrr_0.2.4     readr_1.1.1    
 [8] tidyr_0.8.0     tibble_1.4.2    ggplot2_2.2.1   tidyverse_1.2.1 rtweet_0.6.20   twitteR_1.1.9  

loaded via a namespace (and not attached):
 [1] reshape2_1.4.3   haven_1.1.1      lattice_0.20-35  colorspace_1.3-2 yaml_2.1.18      rlang_0.2.0      pillar_1.2.1    
 [8] foreign_0.8-69   glue_1.2.0       DBI_0.8          bit64_0.9-7      modelr_0.1.1     readxl_1.0.0     bindrcpp_0.2.2  
[15] bindr_0.1.1      plyr_1.8.4       munsell_0.4.3    gtable_0.2.0     cellranger_1.1.0 rvest_0.3.2      psych_1.8.3.3   
[22] parallel_3.4.4   curl_3.1         broom_0.4.4      Rcpp_0.12.16     openssl_1.0.1    scales_0.5.0     jsonlite_1.5    
[29] bit_1.1-12       mnormt_1.5-5     rjson_0.2.15     hms_0.4.2        stringi_1.1.7    grid_3.4.4       cli_1.0.0       
[36] tools_3.4.4      magrittr_1.5     lazyeval_0.2.1   crayon_1.3.4     pkgconfig_2.0.1  xml2_1.2.0       lubridate_1.7.3 
[43] assertthat_0.2.0 httr_1.3.1       rstudioapi_0.7   R6_2.2.2         nlme_3.1-131.1   compiler_3.4.4  
@Sujaya93
Copy link

hello Sir,has the above issue been resolved?

@Sujaya93
Copy link

I am in a similar situation

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

2 participants