For install new package which previous install use different R version cause the error:
"Error: Package 'XXX' was build before 3.x.x: please re-install it"
solution:
update.packages(checkBuilt = TRUE, ask = FALSE)
for user privilege issue:
use SUDO R, then update.packages(checkBuilt = TRUE, ask = FALSE)
Reference:
https://stackoverflow.com/questions/16987948/causes-of-error-package-was-built-before-3-0-0-please-re-install-it