I found that my package "cola" was imported in my code: "library(cola)". This was obviously a mistake, so I removed it, and now it works