Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

getVignetteHeader

A function to read vignette header information


Description

Given a vignette filename, will read in the vignette header metadata.

Usage

getVignetteHeader(vig, field)
hasVigHeaderField(vig, field="VignetteIndexEntry")

Arguments

vig

Vignette filename

field

A specific field to extract

Details

The getVignetteHeader function will extract the metadata from a vignette file and return it as a named list, where the names of the list elements correspond to the metadata fields, and the elements themselves the values. If a specific field is desired, it can be specified with the 'field' argument.

The hasVigHeaderField function is a simple wrapper around getVignetteHeader and will most likely be removed in the very near future. It just is a boolean to report if a given header field exists or not.

Author(s)

Jeff Gentry


DynDoc

Dynamic document tools

v1.68.0
Artistic-2.0
Authors
R. Gentleman, Jeff Gentry
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.