Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Avoid use of NextMethod() in .DollarNames.R6() #299

Merged
merged 3 commits into from
Feb 14, 2025
Merged

Conversation

wch
Copy link
Member

@wch wch commented Feb 14, 2025

Fixes #298.

In the RStudio IDE prior to this PR, it essentially called .DollarNames.R6 directly, and so the call to NextMethod() would throw an error.

This PR makes it so we avoid NextMethod() entirely.

Copy link
Member

@hadley hadley left a comment

Choose a reason for hiding this comment

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

Do you want to add a couple of tests?

@wch wch merged commit 4c9ddd4 into main Feb 14, 2025
1 check passed
@wch wch deleted the fix-dollarnames-rstudio branch February 14, 2025 21:12
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.

Error in NextMethod() : generic function not specified
2 participants