knitr::opts_chunk$set(
  collapse = TRUE,
  comment = "#>",
  fig.path = "man/figures/README-",
  out.width = "100%"
)

methodtest

Apparently if:

> checking S3 generic/method consistency ... WARNING
  foo1:
    function(x, new, old, ...)
  foo1.character:
    function(x, old, ...)

  See section ‘Generic functions and methods’ in the ‘Writing R
  Extensions’ manual.

Here are the generics https://github.com/DavisVaughan/generictest

It is worth noting that if the ... came earlier in the signature, like before the new and old arguments, then this would not have been an issue. See foo5().



DavisVaughan/methodtest documentation built on Jan. 12, 2022, 12:22 a.m.