diff --git a/R/zzz.R b/R/zzz.R index 67ecf40e..e4e5a2f6 100644 --- a/R/zzz.R +++ b/R/zzz.R @@ -10,13 +10,11 @@ toset <- !(names(default_global_knitr) %in% names(op)) if (any(toset)) options(default_global_knitr[toset]) - invisible() -} - -.onAttach <- function(libname, pkgname) { packageStartupMessage( if (!requireNamespace("formatR", quietly = TRUE)) { "For better code formatting, consider installing the formatR package." } ) + + invisible() }