Nothing
#' @importFrom parallel detectCores
.onLoad <- function(libname, pkgname) {
Sys.setenv(
'_R_CHECK_LIMIT_CORES_' = 'false',
# otherwise ?parallel:::.check_ncores causes error when ?devtools::check the quarto vignette (up to R 4.5.1)
'_R_CHECK_SYSTEM_CLOCK_' = 0
# https://stackoverflow.com/questions/63613301/r-cmd-check-note-unable-to-verify-current-time
# to disable "checking for future file timestamps" in R Check
)
options(
bitmapType = 'cairo', # unicode support # MUST as of macOS, R 4.5.1
# .Platform$OS.type # as of R 4.5, only two responses, 'windows' or 'unix'
cores = detectCores()
# \CRANpkg{doParallel} convention, the '^mc\\.' prefix is dropped! i.e., not 'mc.cores', but 'cores'
# NEED this option to suppress parallel computing when submitting to CRAN !!!
# read this discussion very very carefully! Especially Dirk's reply!!!!
# https://github.com/Rdatatable/data.table/issues/5658
)
}
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.