pillar
pillar copied to clipboard
Add option to suppress hints
e.g. ℹ Use `print(n = ...)` to see more rows
.
CC @juliasilge.
Should it be off by default in non-interactive environments?
I think so, it would be awkward to have to show the code to turn them off in slides. And doing it with some global options can also get confusing for people seeing what's on slides and seeing their output doesn't exactly match up.
I would really like to have any changes to tibbles vetted in the tidyverse meeting. This is wreaking havoc with snapshots and adding unicode characters to our Rd files (which requires me to figure out and do a parsnip submission).
The printing matters and we need more oversight on changes. I didn't seen anything about this in news files either.
(edit for spelling)
Yes, should definitely be turned off interactively, and we should offer an option to globally suppress. @krlmlr could you please try and priortise this?
An option to turn it off entirely would be good too. The 'ℹ' adds unicode to our Rd files and, for slides, it eats up one more row of output.
Taking a look now.
Apologies for the trouble it causes, waiting until after the conf would have been better here.
Updated the NEWS file.
Does #577 work for you? I can push a fix to CRAN tomorrow.
In the main branch now, does it work for you? Is the option name "pillar.advice"
good?
Thanks for working on this! Option name sounds good to me.
pillar 1.8.1 on CRAN now.
This old thread has been automatically locked. If you think you have found something related to this, please open a new issue and link to this old issue if necessary.