I want to call a function but depending on the situation I might call it with extra arguments or not. Here is a simple example:
FUN <- function(arg1 = \"defau
Continuing the discussion from the comments on flodel's answer, here's an extension of my idea, out of curiosity. Not sure if it's really a feasible option:
FUN(arg1 = x1, arg2 = x2, arg3 = if(use.arg3) x3 else formals(FUN)$arg3)