Displaying 1 result from an estimated 1 matches for "c_trycatchhelp".
Did you mean:
c_trycatchhelper
2020 Jun 25
1
Unexpected Error Handling by Generic in R 4.0.1
...in a shiny context:
> foo <- try(nrow(my_reactive()))
> attr(foo,"condition")
<shiny.silent.error: >
Where the S4 generic returns:
> bar <- try(BiocGenerics::nrow(my_reactive()))
> attr(bar,"condition")
<simpleError in (function (cond) .Internal(C_tryCatchHelper(addr, 1L, cond)))(structure(list(message = ""), class = c("shiny.silent.error", "validation", "error", "condition"), stack.trace = [... lots more output here ...]: error in evaluating the argument 'x' in selecting a method for function ...