We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cd95e05 commit 4441945Copy full SHA for 4441945
R/server.R
@@ -331,7 +331,7 @@ argsForServerFunc <- function(serverFunc, session) {
331
getEffectiveBody <- function(func) {
332
if (is.null(func))
333
NULL
334
- else if (isS4(func) && class(func) == "functionWithTrace")
+ else if (isS4(func) && inherits(func, "functionWithTrace"))
335
body(func@original)
336
else
337
body(func)
0 commit comments