Hi,
I have a project associated to a personal package, with a vignettes folder ; I created a vignette with usethis::use_vignette("my-vignette")
, and I got a my-vignette.Rmd
in the vignettes folder.
The header of this file is:
---
title: "Sunsound"
output: rmarkdown::html_vignette
vignette: >
%\VignetteIndexEntry{sunsound}
%\VignetteEngine{knitr::rmarkdown}
%\VignetteEncoding{UTF-8}
---
In the DESCRIPTION file of my project, I have VignetteBuilder: knitr
and the packages knitr, markdown and markdown as suggested.
When I check my package, I get no errors, no warnings and no note.
But the file my-vignette.html
doesn't appear in my project. If I knitr the Rmd file (knit button), RStudio viewer says that the html output file is in /private/var/folders/1w/fl286mps55...
(I'm on macOS).
If a open RStudio outside the project, and then knitr my-vignette.Rmd
, I get the html output in the vignettes folder as expected.
Could you help me please ? Thank you in advance.
R 4.1.0
RStudio 1.4.1717
All packages updated (knitr, markdown, markdown)