Magnetic properties of RNi1-xIn1+x (R = Gd-Er) compounds