init_site | R Documentation |
Sets up the necessary infrastructure for building a pkgdown site offline by copying locally cached dependencies to the pkgdown cache directory.
init_site(...)
... |
Arguments passed to |
Invisible NULL
, called for side effect of initializing site resources.
## Not run:
pkgdown.offline::init_site(override = list(destination = tempdir()))
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.