Nothing
check_parallel_cores <- function(num_cores) {
requireNamespace("parallel", quietly = FALSE)
if (num_cores > (parallel::detectCores() - 1)) {
num_cores <-
num_cores %>%
min(parallel::detectCores() - 1)
warning(
"This computer appears to have ",
parallel::detectCores(),
" cores available. `est.incidence.by()` has reduced its `num_cores` argument to ",
num_cores,
" to avoid destabilizing the computer."
)
}
return(num_cores)
}
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.