The polynomial $p(x)$ must have $r$ as a repeated root. Let's consider the factorization of $p$ over the rational numbers, and let $p_1$ be the irreducible factor of $p$ having $r$ as a root. Since $r$ is a repeated root of $p$, the factor $p_1$ must likewise occur multiple times in the factorization of $p$. Also the degree of $p_1$ is obviously at most $2$. So over the rationals we have one of the following three situations: (i) $p=p_1^4$ with $p_1$ of degree $1$; (ii) $p=p_1^2p_2$ with $p_1$ of degree $1$ and $p_2$ irreducible of degree $2$ (and with non-real roots); or (iii) $p=p_1^2$ with $p_1$ irreducible of degree $2$.
If $p_1$ has degree $1$ then $r$ is obviously rational, so we may assume it has degree $2$. But if a polynomial of degree $2$ with rational coefficients has precisely one real root, then that root must be rational (because the discriminant must then be zero). But this means that $p_1$ was not irreducible, which is a contradiction, showing that case (iii) can't occur in the first place.