I had redefined the \vec command to remove kerning, and have noticed how after loading "accents" the kerning is back to normal (it is as if my redefinition of \vec was being ignored).
\documentclass{article}
\usepackage[utf8]{inputenc}
% Accents
\usepackage{accents}
% Change kerning for vectors
\let\originalvec\vec
\renewcommand\vec[1]{\originalvec{\kern0pt #1}}
\begin{document}
$\vec{r}$
\end{document}
Any idea on what could be happening? Thanks!