Skip to content

Commit

Permalink
fixing cmd check
Browse files Browse the repository at this point in the history
  • Loading branch information
kartikeya committed Oct 3, 2023
1 parent 07543fa commit 54523a4
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions R/zzz.R
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,13 @@
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()
}

0 comments on commit 54523a4

Please sign in to comment.