Setup
run the following chunk to setup
usethis::use_vignette("tmp.qmd")
file.remove("vignettes/tmp.qmd")
then remove knitr from the DESCRIPTION file.
For each vignette do:
change name of file from filename.Rmd to filename.qmd
-
Remove %\VignetteEngine{knitr::rmarkdown} from vignette: >
-
Remove output field in the yaml.
-
Make sure the following are listed under vignette: >
%\VignetteEngine{quarto::html}
%\VignetteEncoding{UTF-8}
- add the following to the yaml
knitr:
opts_chunk:
collapse: true
comment: '#>'
Setup
run the following chunk to setup
then remove
knitrfrom theDESCRIPTIONfile.For each vignette do:
change name of file from
filename.Rmdtofilename.qmdRemove
%\VignetteEngine{knitr::rmarkdown}fromvignette: >Remove output field in the yaml.
Make sure the following are listed under
vignette: >