Make the asis file for static PDF or HTML vignettes which is named the same as
the file
argument with".asis" appended. The asis file will not be written
if it already exists, if the file
file argument does not exist in the
vignettes
folder, or if file
does not have a '.pdf' or '.html' extension.
Compared to make_vignette_rnw
, make_vignette_asis allows using
static HTML vignettes. However, it requires adding R.rsp to the Suggests and
VignetteBuilder fields in the DESCRIPTION file to execute.
make_vignette_asis(file, vignette_title, package = basename(getwd()))
file | Name of the pdf or html file in the |
---|---|
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. |
Other make vignette functions:
make_vignette_rnw()