Closed MichaelChirico closed 5 years ago
Fyi, the recursion aspect is likely affected by the changes between the CRAN version and the github version: https://github.com/tidyverse/magrittr/commit/5fea9abf7c63dcb59f08cd7704a2dad11f97b858#diff-64d2ab9799f460c863110d704757bd66
FWIW, the segfault probably has nothing to do with magrittr:
xx <- parse(text = build_pipe(100000L))
xx[[1]]
## Error: segfault from C stack overflow
Having a pair list that deeply nested seems to throw a wrench into some part of the internals.
I see. Will close here in that case, maybe I'll raise to r-devel
.
Was playing around with scaling piping and crashed R:
parse
ing works fine, it's the evaluation that crashes:It's also funny that
magrittr
skips nested recursion limits imposed byoptions('expressions')
:That is, the same stack overflow is caught and crashed gracefully without
%>%