Check whether the pkgdown folder exists.
1 | pkgdown_folder_exists(directory)
|
directory |
character. The directory of the package to check for pkgdown. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.