You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I just tried it and I find a blank line is too clear a distinction, like the backtrace is not part of the same output. A --- ruler seems like a better fit. In your example it's less clear because of the leading - bullet, but that's not a very common case. What do you think about this more representative output:
Also backtrace should be displayed in bold. Are you sure it isn't?
I think my concern is that blank lines are very rare in normal output so it seems too much of a separation. Blank lines would confuse the sectioning of the console between prompt+input and output.
Activity
lionel- commentedon Feb 24, 2022
Or maybe
---as in yaml sectioning?hadley commentedon Feb 24, 2022
I think just a blank line is a clearer distinction
lionel- commentedon Mar 1, 2022
I just tried it and I find a blank line is too clear a distinction, like the backtrace is not part of the same output. A
---ruler seems like a better fit. In your example it's less clear because of the leading-bullet, but that's not a very common case. What do you think about this more representative output:Also backtrace should be displayed in bold. Are you sure it isn't?
lionel- commentedon Mar 1, 2022
I think my concern is that blank lines are very rare in normal output so it seems too much of a separation. Blank lines would confuse the sectioning of the console between prompt+input and output.
hadley commentedon Mar 1, 2022
Ok, lets go with
---then, and I'll tweak the bullet I used in R7.lionel- commentedon Mar 1, 2022
Another place where a
---separation creates better sectioning islast_warnings(), which prints a list of warnings + backtraces separated by newlines:Merge pull request #1373 from r-lib/backtrace-ruler