E.g., invisible(NULL) from forgetting to return a value from a computation where the last statement was some imperative-like computation that returned invisible(NULL). Or from users thinking they can return NULL to contribute 0 rows to the result that way. We should give a comprehensible error message rather than the one below. (Later, we could consider assigning NULL this special meaning no-rows-in-the-result meaning, but this probably requires more thought about future interface updates and dplyr incompatibilities.)
E.g.,
invisible(NULL)
from forgetting to return a value from a computation where the last statement was some imperative-like computation that returnedinvisible(NULL)
. Or from users thinking they can returnNULL
to contribute 0 rows to the result that way. We should give a comprehensible error message rather than the one below. (Later, we could consider assigningNULL
this special meaning no-rows-in-the-result meaning, but this probably requires more thought about future interface updates and dplyr incompatibilities.)Created on 2023-03-28 with reprex v2.0.2