Tidy design principles - Case study: rep()