vignetteInfo {tools} | R Documentation |
Extract metadata from a vignette source file.
vignetteInfo(file)
file |
file name of the vignette. |
A list
with the following
character
components:
file |
the |
title |
the vignette title from ‘\VignetteIndexEntry’, possibly an empty string. |
depends |
a vector of package dependencies from ‘\VignetteDepends’, possibly of length 0. |
keywords |
a vector of keywords from ‘\VignetteKeyword’, possibly of length 0. |
engine |
the |
package_dependencies
for recursive dependencies.
gridEx <- system.file("doc", "grid.Rnw", package = "grid")
vi <- vignetteInfo(gridEx)
str(vi)