An R package for utility-based learning