Can you make sure that you are starting from a completely fresh session? If you are using RStudio, you can press Ctrl/Cmd + Shift + F10 for that.
Usually this error means that, unsurprisingly, Rcpp is already loaded, but it might not be obvious why and when it is loaded.