Skip to content

Improve error message for rm_spanners(), rm_footnotes(), and rm_source_notes()#1661

Merged
rich-iannone merged 4 commits intorstudio:masterfrom
olivroy:rm-error
May 14, 2024
Merged

Improve error message for rm_spanners(), rm_footnotes(), and rm_source_notes()#1661
rich-iannone merged 4 commits intorstudio:masterfrom
olivroy:rm-error

Conversation

@olivroy
Copy link
Collaborator

@olivroy olivroy commented May 13, 2024

Summary

took advantage of the item_label argument of resolve_vector_i()

For review, I highly recommend looking at both commits separately as the changes made to the code are in e498583

I made some test refactoring to use snapshots in 0a6e2e7

This builds on top of previous PRs that improved error messages recently such as #1638, #1640. I also have other things locally, but I will try to send them in digestible chunks as much as possible!

Related GitHub Issues and PRs

Checklist

Copy link
Member

@rich-iannone rich-iannone left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@rich-iannone
Copy link
Member

This is great! Thanks for these little fixes, they make a difference.

@rich-iannone rich-iannone merged commit 6f2ae5e into rstudio:master May 14, 2024
@olivroy olivroy deleted the rm-error branch July 16, 2024 00:09
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