The multiple magnetic transitions and magnetic entropy change of RGa compounds