temp <- tempdir()
pkgbuild::build(dest_path = temp)
repo <- "docs"
unlink(repo, recursive = TRUE)
dir.create(repo)
miniCRAN::addLocalPackage("metR", pkgPath = temp, path = repo)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.