Vignette Workflow

Apologies if this is a really simple issue...

In their R Packages, Hadley Wickham and Jennifer Bryan offer this very brief workflow for package vignettes:

  1. Create vignette with usethis::use_vignette("my-vignette").
  2. Modify vignette.
  3. Knit vignette to preview output.

However, the vignette includes a call to the package under development, which hasn't been installed, so when I click Knit, it throws an error saying "there is no package called ..."

So, am I supposed to build/install the package first? Or, instead of knitting, should I maybe be using devtools::build_vignettes instead?