diff --git a/R/zzz.R b/R/zzz.R index a1d3736..68934a2 100644 --- a/R/zzz.R +++ b/R/zzz.R @@ -1,7 +1,7 @@ # nocov start .onLoad <- function(libname, pkgname) { # Get reasonable selction for "max" cpus - options("DLPCPU" = as.integer( + options("DLPCPU" = as.integer( # nolint getOption("DLPCPU", default = parallel::detectCores()) )) } @@ -9,7 +9,7 @@ .onDetach <- function(libpath) { # Restore reasonable option and remove holding variable setDelapThreads(getOption("DLPCPU")) - options("DLPCPU" = NULL) + options("DLPCPU" = NULL) # nolint } .onUnload <- function(libpath) {