dmpe / urlshorteneR

R package for 2 URL shortening service :loudspeaker: Compatible with Bitly API v4
http://cran.r-project.org/package=urlshorteneR
Apache License 2.0
22 stars 7 forks source link

Trying to run a simple example, cannot authenticate #17

Closed jpmarindiaz closed 5 years ago

jpmarindiaz commented 5 years ago
library(urlshorteneR)

bitly_auth() ## OK
x <- bitly_retrieve_bitlink()

Error in gzfile(file, "rb") : cannot open the connection
In addition: Warning message:
In gzfile(file, "rb") :
  cannot open compressed file 'tests/bitly_local_token.rds', probable reason 'No such file or directory'
dmpe commented 5 years ago

Hi @jpmarindiaz OK, seems tests related. Over the weekend I will prepare new release...thanks for reporting it...

dmpe commented 5 years ago

Yeeh, my mistake of course, I have submitted it already to CRAN..... you can install it now with devtools as well

devtools::install_github("dmpe/urlshorteneR", build_vignettes = FALSE)

Thanks for reporting it. a critical mistake: forgot to delete debug line...