R function in variadic templates