Try lubridate::interval(). You might need a date_time rather than just time though. Also next time provide a reproducible example.
lubridate::interval()