#' Build a package
#'
#' @description
#' Build a package located in \code{path} using \code{\link[pkgbuild]{build}}.
#'
#' @template path
#' @template return-itrue
#' @export
rbuild = function(path = getwd()) {
assertDirectoryExists(path)
loc = pkgbuild::build(path)
messagef("The package has been bundled to '%s'.", normalizePath(loc))
invisible(TRUE)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.