Open PMassicotte opened 2 months ago
It's falling in this case:
aa$bb$$cc
This also doesn't seem to be 100% correct:
aa <- list(bb=c("w" = 1, "x" = 2, "y"= 3, "z" = 4))
aa$bb[3]
because the output of aa$bb[3]
is different from the output of aa[["bb"]][[3]]
.
Good catch. Will work on that.
This is a complete rework of this functionality. It avoids using recursive function, which simplify the logic. It is also faster.