Clean the built site

Source: R/build.R

Removes all generated site files: the output directory, the ⁠reference/⁠ and ⁠articles/⁠ staging directories, and Quarto’s ⁠.quarto/⁠ and ⁠_freeze/⁠ caches.

Usage

clean_site(pkg = ".", quiet = FALSE)

Arguments

pkg

Path to the package root directory

quiet

Suppress progress messages

Value

Invisibly returns TRUE if cleaning succeeded