devtools::build() does not result in vignettes that are "pretty"
vinhdizzo opened this issue · 1 comments
vinhdizzo commented
Hi,
My goal is to have vignettes in my package built with the prettydoc engine so the generated html's included in the package and hosted on CRAN are pretty, similar to what you have here.
My Rmd vignette file does have the following:
output:
prettydoc::html_pretty:
theme: architect
highlight: github
toc: true
vignette: >
%\VignetteIndexEntry{Example: Multi-Ethnicity Categorization}
%\VignetteEngine{knitr::rmarkdown}
%\VignetteEncoding{UTF-8}
My DESCRIPTION
files does have the following:
Suggests: knitr,
rmarkdown,
markdown,
prettydoc
VignetteBuilder: knitr, rmarkdown
I am building my package directory using the devtools::build()
function.
The resulting tar.gz file has the vignettes built in inst/doc
, but the generated html files do not display the theme.
Am I missing a step? Or does your package not work with devtools::build
?
Thank you for your assistance.