Skip to content

Commit

Permalink
Check for .datatable.aware being FALSE Rdatatable#5654
Browse files Browse the repository at this point in the history
  • Loading branch information
dvg-p4 authored and MichaelChirico committed Feb 19, 2024
1 parent 4e274ab commit 9330709
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions R/cedta.R
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,9 @@ cedta = function(n=2L) {
if (isTRUE(env$.datatable.aware)) { # dtplyr 184
return(TRUE)
}
if (isFALSE(env$.datatable.aware)) { #5654
return(FALSE)
}
ns = topenv(env)
if (!isNamespace(ns)) {
# e.g. DT queries at the prompt (.GlobalEnv) and knitr's eval(,envir=globalenv()) but not DF[...] inside knitr::kable v1.6
Expand Down

0 comments on commit 9330709

Please sign in to comment.