Reverse argument order in R.tap. Solve #453

R.tap took its arguments value first, function second but it was
generally agreed that the function is more extensible if the arguments
were reversed.
we don't need this type check anymore i think