Use textstat_collocationsdev instead.
textstat_collocationsdev
collocationsdev(x, ...)
a character, corpus, tokens object
other arguments passed to textstat_collocationsdev