Skip to content
Prev 3406 / 12125 Next

[R-pkg-devel] Avoiding differences between Examples output on Windows due to tibble

Thank Uwe, I also had some discussions on Twitter with various people
about this.

Thanks to Brodie Gaslam (@BrodieG) via Twitter, a solution seems to be
to set the global option `cli.unicode` to `FALSE` for checking, as
this is coming from the cli pkg.

Hence for my purposes in examples I am using

\dontshow{op <- options(cli.unicode = FALSE)}
....
\dontshow{options(op)}

around sections of examples that print tibble-based output.

This is a bit of a pain, but as it is already common to reduce
precision on example output, setting this option is just one more
thing to configure if you want to continue using reference Example
output with R CMD check and tibbles.

All the best

Gavin

On Thu, 17 Jan 2019 at 05:15, Uwe Ligges
<ligges at statistik.tu-dortmund.de> wrote: