quiet some R errors for complex argument types and anonymous functions