Test if an argument of a function is set or not in R Test if an argument of a function is set or not in R r r