If you use the RStudio IDE (which is very useful for developing the package), you can display your Rmd-document created using devtools::use_vignette, by clicking the Knit button . This will create a preview of your vignette. By the way, the RStudio IDE provides useful keys and buttons for executing your Rmd document block with a piece to check if it works.
If you are not using the RStudio IDE, you can create your document without creating a package using the function rmarkdown::render.
, , , . , , library(mypackage), .
devtools::install(build_vignette = FALSE). RStudio IDE Build & Reload enougth . `
- Rstudio IDE devtools::load_all(path to your package) , . devtools::build vignette, .
, , . , , devtools::load_all library, .