Closed jtlandis closed 5 months ago
Thanks for the report, unfortunately, that's not Quarto, it's knitr
behaviour.
I would suggest to open it on https://github.com/yihui/knitr/issues. (cc @cderv)
I would say this is even lower in the stack withing evaluate R package. It uses sink()
internally so I guess there are some side effect of using evaluate::evaluate()
on a call with another sink()
.
Some weird behavior with this are reported already, so could be related:
So I would really look into R itself and evaluate package outside of the Quarto or R Markdown context.
You should open a discussion upstream - we'll close this here in the meantime.
Thanks.
Bug description
As the title describes, attempting
base::sink(stdout(), type = "message")
halts execution with no indication of why.This seems to be only for the case when using
stdout()
andtype = "message"
. A different file connection works withsink()
.Steps to reproduce