DoubleYouGTT / hubspot

R package πŸ“¦ for working with Hubspot πŸ‘©β€πŸ’ΌπŸ‘¨β€πŸ’Ό data
https://itsalocke.com/hubspot/
Other
10 stars 8 forks source link

No such file or directory #105

Open henrywangnl opened 4 years ago

henrywangnl commented 4 years ago

Hi there,

I'm following the installation and the first example but got the issue when called hs_deal_properties_tidy():

deal_props <- hs_deal_properties_tidy()

Error in gzfile(file, "rb") : cannot open the connection In addition: Warning message: In gzfile(file, "rb") : cannot open compressed file 'C:UsershenryDocuments/.hubspot_token1.rds', probable reason 'No such file or directory'

BingoLaHaye commented 3 years ago

I also am having this issue

BingoLaHaye commented 3 years ago

It seems to be trying a directory that doesn't exist, due to deleting the first "/"

Error in gzfile(file, "rb") : cannot open the connection In addition: Warning message: In gzfile(file, "rb") : cannot open compressed file 'C:UserselahayeOneDrive - etcmd1.rds', probable reason 'No such file or directory'

henrywangnl commented 3 years ago

It seems to be trying a directory that doesn't exist, due to deleting the first "/"

Error in gzfile(file, "rb") : cannot open the connection In addition: Warning message: In gzfile(file, "rb") : cannot open compressed file 'C:UserselahayeOneDrive - etcmd1.rds', probable reason 'No such file or directory'

Yes it seems like that. I fixed it by manually updated the HUBSPOT_PAT path in the .Renviron. Hope it helps!