If the file ‘.Rprofile’ does not exist in the current directory, copy
the file from the ‘resources’ directory of blogdown. If the option
blogdown.hugo.version is not found in this file, append
options(blogdown.hugo.version = "VERSION") to it, where
is obtained from
As a side-effect, the file ‘.Rprofile’ is created or modified.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.