Skip to content

fix: partial matching warnings#139

Open
salim-b wants to merge 2 commits intotomoakin:masterfrom
salim-b:patch-1
Open

fix: partial matching warnings#139
salim-b wants to merge 2 commits intotomoakin:masterfrom
salim-b:patch-1

Conversation

@salim-b
Copy link
Copy Markdown

@salim-b salim-b commented Jun 18, 2025

Param name of methods::setMethod() is actually definition, while for methods::setAs() and methods::setGeneric() it's def. Stupid API inconsistency (as often is the case in R).

Set options(warnPartialMatchArgs = TRUE) to trigger the warning that this change fixes.

salim-b added 2 commits June 18, 2025 19:31
Param name of [`methods::setMethod()`](https://rdrr.io/r/methods/setMethod.html) is actually `definition`, while for `methods::setAs()` and `methods::setGeneric()` it's `def`. Stupid API inconsistency (as often is the case in R).

Set `options(warnPartialMatchArgs = TRUE)` to trigger the warning that this change fixes.
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.

1 participant