You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I think we're supposed to end up in the is_symbol branch of dt_squash? But rlang:::is_symbol(NULL) returns FALSE despite appearing like it's intended to return TRUE?
is_symbol
function (x, name = NULL)
{
# typeof(NULL) is "NULL", but is_null is returning
# x == R_NilValue from C, so I'm not sure how we'd
# get to the latter branch without returning from this one
if (typeof(x) != "symbol") {
return(FALSE)
}
if (is_null(name)) {
return(TRUE)
}
as_string(x) %in% name
}
Within regular dplyr, setting a variable to
NULL
removes that column:Following these same steps within a lazy_dt with dtplyr produces an error:
The text was updated successfully, but these errors were encountered: