I guess this is a case of 64 bit int and NA handling? ```r library(s2) cells <- s2_cells_at_level(5) any(duplicated(cells)) # TRUE (wrong) length(unique(cells)) # 6144 (right) anyDuplicated(as.character(cells)) # 0 (right) which(is.nan(unclass(cells))) # [1] 4606 6142 ```
Activity
paleolimbot commentedon Aug 11, 2026
Good catch! I wonder if
duplicated/anyDuplicatedare S3 methods that need implementing here.