vignetteInfo
Extract Metadata from Vignette Source File

Description

Parse the %\Vignette* entries in the source file of a vignette.

Usage

vignetteInfo(file)

Arguments

file The source file for a vignette. It should contain lines of the form "%\Vignette'name'{'value'}", e.g. "%\VignetteEngine{knitr::knitr}".
Value
A list of five named entries.
See Also
vignetteEngine
Examples
tools::vignetteInfo(system.file(mustWork=TRUE, package="RinR",
    "doc", "RinR.Rmd"))
Package tools version 6.0.0-69
Package Index