From b9a6d58126e187c63911fa328562431445b1c742 Mon Sep 17 00:00:00 2001 From: Avraham Adler Date: Thu, 4 Apr 2024 14:13:48 -0400 Subject: [PATCH] False positive in linter --- R/zzz.R | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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) {