Let $R$ be a commutative ring with identity $1 \in R$, let $R[x]$ be the ring of polynomials with coefficients in $R$, and let the polynomial $f(x)$ be invertible in $R[x]$. If $R$ is an integral domain, show that $\text{deg}(f(x))=0$