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
When a reprex output shows a long warning or error message, it does not add new lines consistent with typical experience with character max-widths from the R console.
For example, (perhaps an odd example, but it's one I recently used on RStudio Community)
#> Warning in storage.mode(v) <- "double": NAs introduced by coercion#> Error in lm.fit(x, y, offset = offset, singular.ok = singular.ok, ...): NA/NaN/Inf in 'y'
In the console, this appears as the following, Screenshot R Console:
On Stack Overflow, this appears as the following (not you have to scroll left to see the full error) Screenshot Stack Overflow:
Screenshot RStudio Community:
That horizontal scrolling can be awkward for some folks. Particularly for long errors and warnings (e.g. some package install errors). I feel it'd be ideal for warning and error messages to roughly replicate the new lines seen in the R console.
New lines can certainly be added manually -- I have a feeling there are other concerns or trickiness I'm missing -- but I feel the default behavior should be with styling that works better on gh, so, and rstudio community.
The text was updated successfully, but these errors were encountered:
When a reprex output shows a long warning or error message, it does not add new lines consistent with typical experience with character max-widths from the R console.
For example, (perhaps an odd example, but it's one I recently used on RStudio Community)
this produces a somewhat long error,
In the console, this appears as the following,
Screenshot R Console:
On Stack Overflow, this appears as the following (not you have to scroll left to see the full error)
Screenshot Stack Overflow:
Screenshot RStudio Community:
That horizontal scrolling can be awkward for some folks. Particularly for long errors and warnings (e.g. some package install errors). I feel it'd be ideal for warning and error messages to roughly replicate the new lines seen in the R console.
New lines can certainly be added manually -- I have a feeling there are other concerns or trickiness I'm missing -- but I feel the default behavior should be with styling that works better on gh, so, and rstudio community.
The text was updated successfully, but these errors were encountered: