get_object_version: Get the package version that created an object

Description Usage Value

View source: R/utils.R

Description

Return the the quanteda package version in which a dfm, tokens, or corpus object was created.

Usage

1
2
3

Value

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


koheiw/quanteda.core documentation built on Sept. 21, 2020, 3:44 p.m.