Genentech interview question

How do make R code reusable?