Unable to get token
Opened this issue · 1 comments
prokulski commented
oauth_token <- Auth(client.id = "xxxx", client.secret = "xxx")
causes
createTcpServer: address already in use
Error in httpuv::startServer(use$host, use$port, list(call = listen)) :
Failed to create server
I've re-installed RGoogleAnalytics and httpuv (which probably causes an error) from github - still the same.
sessionInfo():
R version 3.5.2 (2018-12-20)
Platform: x86_64-pc-linux-gnu (64-bit)
Running under: Ubuntu 18.04.2 LTS
Matrix products: default
BLAS: /usr/lib/x86_64-linux-gnu/blas/libblas.so.3.7.1
LAPACK: /usr/lib/x86_64-linux-gnu/lapack/liblapack.so.3.7.1
locale:
[1] LC_CTYPE=en_US.UTF-8 LC_NUMERIC=C LC_TIME=en_US.UTF-8
[4] LC_COLLATE=en_US.UTF-8 LC_MONETARY=en_US.UTF-8 LC_MESSAGES=en_US.UTF-8
[7] LC_PAPER=en_US.UTF-8 LC_NAME=en_US.UTF-8 LC_ADDRESS=en_US.UTF-8
[10] LC_TELEPHONE=en_US.UTF-8 LC_MEASUREMENT=en_US.UTF-8 LC_IDENTIFICATION=en_US.UTF-8
attached base packages:
[1] stats graphics grDevices utils datasets methods base
other attached packages:
[1] RGoogleAnalytics_0.1.5 digest_0.6.18 httr_1.4.0 mailR_0.4.1
[5] glue_1.3.0 lubridate_1.7.4 forcats_0.3.0.9000 stringr_1.4.0.9000
[9] dplyr_0.8.0.9000 purrr_0.3.0.9000 readr_1.3.1.9000 tidyr_0.8.2.9000
[13] tibble_2.0.99.9000 ggplot2_3.1.0.9000 tidyverse_1.2.1.9000
loaded via a namespace (and not attached):
[1] Rcpp_1.0.0 lattice_0.20-38 prettyunits_1.0.2 ps_1.3.0 assertthat_0.2.0
[6] rprojroot_1.3-2 packrat_0.5.0 R6_2.4.0 cellranger_1.1.0 backports_1.1.3
[11] reprex_0.2.1.9000 pillar_1.3.1.9000 rlang_0.3.1.9000 lazyeval_0.2.1 curl_3.3
[16] readxl_1.3.0 rstudioapi_0.9.0 callr_3.1.1 R.utils_2.8.0 R.oo_1.22.0
[21] desc_1.2.0 devtools_2.0.1 munsell_0.5.0 broom_0.5.1 compiler_3.5.2
[26] httpuv_1.4.5.9003 modelr_0.1.3 pkgconfig_2.0.2 askpass_1.1 pkgbuild_1.0.2
[31] openssl_1.2.1 tidyselect_0.2.5 crayon_1.3.4 dbplyr_1.3.0 withr_2.1.2
[36] later_0.8.0 R.methodsS3_1.7.1 grid_3.5.2 nlme_3.1-137 jsonlite_1.6
[41] gtable_0.2.0 DBI_1.0.0 magrittr_1.5 scales_1.0.0 cli_1.0.1
[46] stringi_1.3.1 remotes_2.0.2 fs_1.2.6 promises_1.0.1 testthat_2.0.1
[51] xml2_1.2.0 generics_0.0.2 tools_3.5.2 hms_0.4.2.9001 processx_3.2.1
[56] pkgload_1.0.2 colorspace_1.4-0 sessioninfo_1.1.1 rvest_0.3.2 memoise_1.1.0
[61] rJava_0.9-10 haven_2.0.0 usethis_1.4.0
cghv94 commented
I have a similar issue: Error, could not find function "Auth"