Skip to content

Commit

Permalink
updated .onload()
Browse files Browse the repository at this point in the history
  • Loading branch information
kartikeyakirar committed Oct 3, 2023
1 parent 54523a4 commit 706d504
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions R/zzz.R
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,9 @@
tidy = FALSE
))

toset <- !(names(default_global_knitr) %in% names(op))
if (any(toset)) options(default_global_knitr[toset])
if (!("teal.reporter.global_knitr" %in% names(op))) {
options(default_global_knitr)
}

invisible()
}
Expand Down

0 comments on commit 706d504

Please sign in to comment.