Do I understand it correctly, that you would rather just have 'result'
instead of 'return(result)'?

Kind regards,
Stefan
Den 13/03/2014 22.10 skrev "Hadley Wickham" <notifications@github.com>:

> In R/facet-labels.r:
>
> > +      } else if (required_args == 1) {
> > +        result <- res(values)
> > +      } else if (required_args > 2) {
> > +        stop('`labeller` misses argument for method provided for `', variable, '`.')
> > +      } else {
> > +        result <- res(variable, values)
> > +      }
> > +
> > +    } else {
> > +      result <- res[values]
> > +    }
> > +
> > +    if (any(is.na(result))) {
> > +      result[is.na(result)] <- 'NA'
> > +    }
> > +    return(result)
>
> No return please
>
> --
> Reply to this email directly or view it on GitHub<https://github.com/hadley/ggplot2/pull/910/files#r10586259>
> .
>