#' Remove temporary files from a package
#'
#' @description
#' Cleanup temporary files for a package located in \code{path} using \code{\link[pkgbuild]{clean_dll}}.
#'
#' @template path
#' @template return-itrue
#' @export
rclean = function(path = getwd()) {
# FIXME: Also clean other files, such as vignette leftovers
messagef("Cleaning package '%s'", pkgload::pkg_name(path = path))
pkgbuild::clean_dll(path)
invisible(TRUE)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.