Constraints onRngravity from precession of orbits of S2-like stars