Skip to content

Conversation

@olivroy
Copy link
Contributor

@olivroy olivroy commented Feb 13, 2024

To display like rlang
r-lib/rlang#1622

Let me know if you think this is reasonable, and if it requires NEWS.

cli::cli_abort("{.obj_type_friendly {gt::gt(gt::exibble)}}")
Error:
! a <gt_tbl/list> object

With this PR (hopefully)

cli::cli_abort("{.obj_type_friendly {gt::gt(gt::exibble)}}")
Error:
! a <gt_tbl> object

@olivroy olivroy changed the title Only show first class Only show first class in {.obj_type_friendly} Feb 13, 2024
@gaborcsardi
Copy link
Member

Thanks!

@gaborcsardi gaborcsardi merged commit 1b5e691 into r-lib:main Feb 14, 2024
@olivroy olivroy deleted the patch-1 branch February 14, 2024 11:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants