asciicast icon indicating copy to clipboard operation
asciicast copied to clipboard

feat: New `cast()`, `capture_cast()` and `expect_snapshot_cast()`

Open krlmlr opened this issue 8 months ago • 3 comments

Closes #61.

krlmlr avatar Apr 30 '25 20:04 krlmlr

Real-world use case: https://github.com/patperry/r-utf8/pull/72/files#diff-37deacfbc7e0b33ac42e8972fc42ce2ef9221f43339ea72e28249c07083157cf

I wonder why the width measurements seem to be off here. Arguably, this is an edge case.

krlmlr avatar Apr 30 '25 20:04 krlmlr

The work here could also be turned into a lighter-weight knitr engine. I wonder if there's value in showing the input too.

krlmlr avatar Apr 30 '25 20:04 krlmlr

@gaborcsardi: What would need to happen to get this (or a variant) to CRAN? Asking for https://github.com/krlmlr/utf8/pull/72 .

krlmlr avatar Jun 08 '25 17:06 krlmlr