Darboux theory of integrability for real polynomial vector fields on Sⁿ