As an object is printed, knitr will collect metadata about it (if
available). After knitting is done, all the metadata is accessible via this
function.
Usage
knit_meta(class = NULL, clean = TRUE)
Arguments
class
optionally return only metadata entries that inherit from the
specified class; the default, NULL, returns all entries.
clean
whether to clean the collected metadata; by default, the
metadata stored in knitr is cleaned up once retrieved, because we may
not want the metadata to be passed to the next knit() call; to be
defensive (i.e. not to have carryover