#' CRAN Check using rhub
CRANCheck <- function() {
root <- rprojroot::is_rstudio_project
path <- dirname(
root$find_file(
project.Rproj
)
)
source(
file.path(
path,
"tools",
"project.R"
)
)
rhub::check_for_cran(
path = path,
email = git_email
)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.