eliminate persons who have entries in a time laps of 20 seconds

hey guys, i have a problem in my script, im trying to eliminate same rows with time laps of 20 seconds between the 2 datas, i've used ::
dplyr::mutate(heure=lubridate::hms(heure),time_laps=diff(heure))%>%

lubridate::make_difftime(time_laps,units="second")%>%

filter(time_laps>20)

but it return time_laps error : object is not found

Hi!

To help us help you, could you please prepare a reproducible example (reprex) illustrating your issue? Please have a look at this guide, to see how to create one: