Yihui Xie

Results 1055 comments of Yihui Xie
trafficstars

I've been extremely busy recently and probably won't free up until August, so let me give you some quick answers first. I've spent a large amount of time on the...

One thing I forgot to mention re: caching was that **litedown** can be made to mimic jupyter's behavior: https://yihui.org/litedown/#sec:option-cache:~:text=freeze%20the%20computation That is, once the computation is done for a code chunk,...

Yes, the documentation needs a lot more work (which may take two months). Not only `fig.alt`, but most chunk options are not documented yet.

I've finally finished documenting all chunk options (my brain hurts now). Unfortunately GIthub Action on macOS is [currently broken](https://github.com/yihui/litedown/actions/runs/12004130069/job/33458621572) so the website can't be automatically deployed. I'm not sure [when...

@remlapmot Thank you! It seems they have applied the workaround in the setup-r action: https://github.com/r-lib/actions/pull/953 I just re-ran the action and it worked. @hturner @TimTaylor `fig.alt` is documented at https://yihui.org/litedown/#sec:option-fig

@vhxs Thanks for posting the solution!

`xfun:::handle_error()` doesn't try to catch errors at all (it doesn't use `tryCatch()` or `withCallingHandlers()`). It is intended to run a "handler" function when errors occur in the expression. You can...

Thanks for the suggestion! Previously I actually had a `template` argument for `mark()` but removed it later, since my brain started to hurt when I had three ways to provide...

Thanks for the explanation! I'll think more about it. The current overriding mechanism for `meta`, `options`, and `template` is a little messy. That said, occasionally I feel the need for...

For the first problem, **formatR** is not intelligent enough to move an inline comment to a block comment. You have to use a block comment in the original source. For...