Error in tokenize(reference, what = c("word")) : unused argument (what = c("word"))

That link suggests that the quateda::tokenize function is depreciated which may be a problem and depending on what packages you load, and their order, the readr package also has a tokenize function which may have overridden the quateda function.

I think we need more of your code and some sample data.