RStudio Update, Installed packages are not working

I Update Rstudio, but packages installed are not working properly.
ERROR: The package was installed by an R version with different internals, it needs to be reinstall for use with the R version.

Did you update RStudio, or R?

This is expected with the update to R 3.5.0 — you can reinstall your packages with update.packages(ask=FALSE, checkBuilt = TRUE).


I updated RStudio. Thanks it's working now, by your suggestion.