#' @title check packages for cran release
#' @description convenience function to run cran package checks on rhub and win-builder
#' @return nothing
#' @author Berry Boessenkool, \email{berry-b@@gmx.de}, included here Aug 2023
#' @keywords package
#' @importFrom rhub check_for_cran
#' @importFrom devtools check_win_devel
#' @export
#'
crancheck <- function()
{
message("Submitting to rhub...")
rhub::check_for_cran(env_vars=c(`_R_CHECK_FORCE_SUGGESTS_`="false"), show_status=FALSE)
message("Submitting to win-builder...")
devtools::check_win_devel(quiet=TRUE)
message("Done. Results will come in by email.")
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.