traitecoevo / taxonlookup

A versioned and dynamically updating taxonomic lookup table for land plants
http://onlinelibrary.wiley.com/doi/10.1111/2041-210X.12517/abstract
Other
31 stars 6 forks source link

sporadic error #12

Closed gtaseski closed 9 years ago

gtaseski commented 9 years ago

Error in file(file, mode) : cannot open the connection In addition: Warning message: In file(file, mode) : cannot open file '/Users/guytaseski/Library/Application Support/TaxonLookup/data/27dfd87685cad856f6ce808ab7b56b39.rds': No such file or directory

wcornwell commented 9 years ago

I've also had this on another machine, it's solved by restarting R, but it's a bit awkward...

richfitz commented 9 years ago

That's super weird. Do you have any way of replicating it? (sporadic errors are such a pain to debug).

wcornwell commented 9 years ago

try this:

> plant_lookup_delete()
> pl<-plant_lookup()
  |========================================================================================================================| 100%
Error in file(file, mode) : cannot open the connection
In addition: Warning message:
In file(file, mode) :
  cannot open file '/Users/willcornwell/Library/Application Support/taxonlookup/data/27dfd87685cad856f6ce808ab7b56b39.rds': No such file or directory

you might have to delete the package and install in the first time during that R session...

richfitz commented 9 years ago

Perfect: can reproduce here.

richfitz commented 9 years ago

OK, that should fix the error that Will found (plus added a test to catch any regressions). Given the warning + error combo is the same as @gtaseski's hopefully that's the same error. Time will tell I guess.

wcornwell commented 9 years ago

Since this hasn't re-occurred, I think it's probably fixed.