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
This is because format_tbl() no longer includes a focus argument, but rather an input with a pillar_focus attribute. This can result in upstream issues in tibble() - see tibble issue #1351 for details.
I'd suggest either retaining a soft-deprecated focus argument and using something like the following in format_tbl(), or improving the error messages somehow (although the focus argument was experimental to begin with).
#... From line 66
setup <- tbl_format_setup(x,
width = width, ...,
n = n,
max_extra_cols = max_extra_cols,
max_footer_lines = max_footer_lines,
# `%||%` allows a user to override the attribute value, meaning old code won't break
focus = focus %||% attr(x, "pillar_focus")
)
The text was updated successfully, but these errors were encountered:
This is because
format_tbl()
no longer includes afocus
argument, but rather an input with apillar_focus
attribute. This can result in upstream issues intibble()
- see tibble issue #1351 for details.I'd suggest either retaining a soft-deprecated
focus
argument and using something like the following informat_tbl()
, or improving the error messages somehow (although thefocus
argument was experimental to begin with).The text was updated successfully, but these errors were encountered: