Closed tarakc02 closed 7 years ago
When the following function:
f <- function(x, y = TRUE) if (y) x else -x
gets rate-limited, the resulting function has signature ... = instead of x, y = TRUE. memoise::memoise is an example of how to bring over the signature into the modified function.
... =
x, y = TRUE
When the following function:
gets rate-limited, the resulting function has signature
... =
instead ofx, y = TRUE
. memoise::memoise is an example of how to bring over the signature into the modified function.