Skip to content

Commit 6629945

Browse files
committed
Merge branch 'master'
2 parents decab9d + 50a415b commit 6629945

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

R/trace_calls.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ trace_calls <- function (x, parent_functions = NULL, parent_ref = NULL) {
2828
lapply(y, trace_calls, parent_functions = parent_functions)
2929
}
3030

31-
if (is.atomic(x) || is.name(x)) {
31+
if (is.atomic(x) || is.name(x) || is.null(x)) {
3232
if (is.null(parent_ref)) {
3333
x
3434
}

0 commit comments

Comments
 (0)