kosukeimai / wru

Who Are You? Bayesian Prediction of Racial Category Using Surname and Geolocation
132 stars 31 forks source link

Error in gzfile(file, "rb") : cannot open the connection #143

Closed dkallattil closed 8 months ago

dkallattil commented 8 months ago

Some info on my specs: I am running macOS 13.0.1 (22A400), RStudio version 4.3.2, and wru 3.0.0. I was able to successfully run predict_race() with an older version of R

This is the error I am getting:

There was an error retrieving data: incorrect number of dimensions Error in gzfile(file, "rb") : cannot open the connection In addition: Warning message: In gzfile(file, "rb") : cannot open compressed file '/var/folders/h8/p4qmr1s15cz6ry_vkcx1nz1r0000gp/T//RtmprezHYz/wru-data-first_c.rds', probable reason 'No such file or directory'

I've tried updating and downgrading my package version, and I have not been able to run predict_race() any time recently, so I don't think it's a connection issue. Any ideas for how to resolve this?

1beb commented 8 months ago

Please update to the newest version of wru (3.0.1 is on CRAN). After installing the new version, be sure to completely restart your R session. Verify that you're running wru_3.0.1 by looking at sessionInfo().