Skip to content

Commit a9b28b3

Browse files
deprecate cedta.override (#7163)
1 parent d3252f8 commit a9b28b3

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

R/cedta.R

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
11

2-
cedta.override = NULL # If no need arises, will deprecate.
3-
42
cedta.pkgEvalsUserCode = c("gWidgetsWWW","statET","FastRWeb","slidify","rmarkdown","knitr","ezknitr","IRkernel", "rtvs")
53
# These packages run user code in their own environment and thus do not
64
# themselves Depend or Import data.table. knitr's eval is passed envir=globalenv() so doesn't
@@ -72,7 +70,6 @@ cedta = function(n=2L) {
7270
(all(c("FUN", "X") %chin% ls(parent.frame(n))) ||
7371
.any_sd_queries_in_stack(sc))) ||
7472
(nsname %chin% cedta.pkgEvalsUserCode && .any_eval_calls_in_stack()) ||
75-
nsname %chin% cedta.override ||
7673
isTRUE(ns$.datatable.aware) || # As of Sep 2018: RCAS, caretEnsemble, dtplyr, rstanarm, rbokeh, CEMiTool, rqdatatable, RImmPort, BPRMeth, rlist
7774
tryCatch("data.table" %chin% get(".Depends",paste("package",nsname,sep=":"),inherits=FALSE),error=function(e)FALSE) # both ns$.Depends and get(.Depends,ns) are not sufficient
7875
if (!ans && getOption("datatable.verbose")) {

0 commit comments

Comments
 (0)