I'm relieved to read that this issue is becoming more visible. In my own
work on optimizers, I've been finding it awkward to provide a clean
solution to allowing users to run e.g., optimx, when some optimizers are
not installed. Unfortunately, I've not found what I consider to be a
solution with an
Sorry guys, I've been my stupid self again. Indeed, I had been playing
around and had a FUN in my global environment. I've checked my history and
what I actually did, was this:
FUN <- round
myfun <- function(x, FUN, ...){
FUN(x, ...)
}
round <- 2
myfun(0.85, FUN = round, digits=1)
And then eve