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:

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.