#'Stop implicit cluster
#'
#'@export
stopImplicitCluster2 <- function() {
options <- doParallel:::.options
if (exists(".revoDoParCluster", where = options) &&
!is.null(get(".revoDoParCluster", envir = options))) {
parallel::stopCluster(get(".revoDoParCluster", envir = options))
remove(".revoDoParCluster", envir = options)
}
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.