Skip to content
Prev 46449 / 63424 Next

Accessing the formals() of a non-exported method without :::?

On Aug 23, 2013, at 11:15, Gavin Simpson <ucfagls at gmail.com> wrote:

            
Something like (untested)

formalsS3 <- function(...) formals(getS3method(...))

might work. I haven't checked to see how R CMD check feels about getS3method() though. 

Michael