R package for computing graph orbits