Return the the quanteda package version in which a dfm, tokens, or corpus object was created.
get_object_version(x)is_pre2(x)
A three-element integer vector of class "package_version". For
versions of the package < 1.5 for which no version was recorded in the
object, c(1, 4, 0)
is returned.
ispre2()
returns TRUE
if the object was created before
quanteda version 2, or FALSE
otherwise