Skip to content

bug(S7): Use local() to avoid rm() call - #6522

Merged
teunbrand merged 1 commit into
tidyverse:mainfrom
schloerke:patch-2
Jun 19, 2025
Merged

teunbrand merged 1 commit into
tidyverse:mainfrom
schloerke:patch-2

Conversation

@schloerke

Copy link
Copy Markdown
Contributor

If/when S7 decides to fix the bug, rm("non-existant") will produce a warning message.

By using local(), it will work for the current version and if/when S7 fixes it.

schloerke added a commit to ggobi/ggally that referenced this pull request Jun 19, 2025

@teunbrand teunbrand left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Thanks, this is a more elegant solution to the problem!

@teunbrand
teunbrand merged commit c495e9b into tidyverse:main Jun 19, 2025
@hadley

hadley commented Jun 19, 2025

Copy link
Copy Markdown
Member

Nice work around!

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.

3 participants