vignetteInfo {tools} | R Documentation |
Provide basic information including package and dependency of a vignette from its source file.
vignetteInfo(file)
file |
file name of the vignette. |
a list
with components, each a possibly empty
character
:
file |
the |
title |
the vignette title. |
depends |
the package dependencies. |
keywords |
keywords if provided. |
engine |
the vignette engine such as |
vignetteInfo(file)$depends
is a substitute for the deprecated
vignetteDepends()
functionality.
## This may not be installed, as it requires lattice gridEx <- system.file("doc", "grid.Rnw", package = "grid") vi <- vignetteInfo(gridEx) str(vi)