throw if R.func is called with no arguments

That's outside the scope of this pull request.