Skip to content

Commit 1643f36

Browse files
trailing ws
1 parent 885dbb1 commit 1643f36

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

R/cedta.R

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -54,9 +54,9 @@ cedta.pkgEvalsUserCode = c("gWidgetsWWW","statET","FastRWeb","slidify","rmarkdow
5454
.cedta_impl_ <- function(ns, n) {
5555
nsname = getNamespaceName(ns)
5656
if (nsname == "data.table") return(TRUE)
57-
57+
5858
if ("data.table" %chin% names(getNamespaceImports(ns))) return(TRUE)
59-
59+
6060
sc <- sys.calls()
6161
if (nsname == "utils") {
6262
if (exists("debugger.look", parent.frame(n+1L))) return(TRUE)
@@ -72,11 +72,11 @@ cedta.pkgEvalsUserCode = c("gWidgetsWWW","statET","FastRWeb","slidify","rmarkdow
7272
}
7373

7474
if (nsname %chin% cedta.pkgEvalsUserCode && .any_eval_calls_in_stack(sc)) return(TRUE)
75-
75+
7676
if (nsname %chin% cedta.override) return(TRUE)
77-
77+
7878
if (isTRUE(ns$.datatable.aware)) return(TRUE)
79-
79+
8080
# both ns$.Depends and get(.Depends,ns) are not sufficient
8181
pkg_ns = paste("package", nsname, sep=":")
8282
tryCatch("data.table" %chin% get(".Depends", pkg_ns, inherits=FALSE), error=function(e) FALSE)

0 commit comments

Comments
 (0)