[R-pkg-devel] Effieciency drop in do.call?
p@ul@buerkner @ending from gm@il@com
Mon Nov 19 17:49:56 CET 2018
today, I stumbled upon a puzzling (to me) problem apparently related to
do.call() that resulted
in an efficiency drop of multiple orders of magnitudes compared to just
calling the function directly (multiple minutes as compared to one second).
fun(a = a, b = b, c = c, ...)
took one second, while
args <- list(a = a, b = b, c = c, ...)
took multiple minutes.
In my package (brms), I use do.call in various places but only in one it
resulted in this
Before I try to make a reproducible example, I wanted to ask if there are
any known issues
with do.call that may explain this?
[[alternative HTML version deleted]]
More information about the R-package-devel