If you follow the examples in 5.5.2 and 5.5.3, and run getGPS(), you will get errors because getGPS() expects ts to not be POSIX.  You can fix this by running something like the code below first (leaving off the part converting the ts to POSIX timestamps from the code block immediately above the gps_index example).
df.alltags.sub <- tbl.filtered.alltags %>% 
  filter(probability == 1) %>%
  collect() %>%
  as.data.frame()
 
This highlights an inconsistency that many functions need ts in timestamp format, but not getGPS()
This is also related to issue #36 in that there are other places in the book where df.alltags.sub is generated without converting ts to a POSIX timestamp.