Make the Sweave Rnw file for static PDF vignettes with the same file name. The Rnw file will not be written if it already exists, if the pdf_file file argument does not exist in the vignettes folder, or if pdf_file does not have a '.pdf' extension.

make_vignette_rnw(pdf_file, vignette_title, package = basename(getwd()))

Arguments

pdf_file

Name of the pdf file in the vignettes/ directory. The full path is not required.

vignette_title

The title of the vignette that will be indexed.

package

Package that the vignette belongs to. Defaults to the basename of the current working directory.

See also

Other make vignette functions: make_vignette_asis()