LoslegenKostenlos starten

Build package vignettes

Using Knit HTML (or rmarkdown::render()) is one way to test the build-ability of your vignette. It is best to use the devtools package functionality to build all vignettes. Doing so allows you to automatically build and update the vignettes, ensuring that they are always up to date with the latest changes in your unitConverter package. This simplifies the workflow of creating, testing, and maintaining vignettes, saving time and effort in the documentation process.

The devtools package has been loaded for you along with the package so far, including both dist_conversion.Rmd and func_conversion.Rmd files.

Diese Übung ist Teil des Kurses

<Kurs>Developing R Packages</Kurs>
Kurs ansehen

Übungsanweisungen

  • Build all vignettes in the package with a single function call.

Interaktive praktische Übung

Versuche dich an dieser Übung, indem du diesen Beispielcode vervollständigst.

# Build all package vignettes
___
Code bearbeiten und ausführen