Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

sqldf not working after update

Tags:

r

sqldf

When I run the first example from sqldf function documentation:

library(sqldf)
a1s <- sqldf("select * from warpbreaks limit 6")

I get an error:

Error in if (.allows_extensions(db)) { :missing value where TRUE/FALSE needed    

This error appeared today after updating some packages to their latest versions. Any suggestions how to fix this or how to revert to previous versions?

like image 876
tomaz Avatar asked Mar 19 '23 02:03

tomaz


1 Answers

Adding the following code to the beginning of my script solved the issue

library(checkpoint)
checkpoint("2014-10-08") # the date when the script worked fine
like image 109
tomaz Avatar answered Mar 26 '23 02:03

tomaz