To minimize installation errors, ensure your R environment is as follows:
- R version is recent.
- All packages are updated (run
update.packages()
; maybe useask = FALSE
). - No other R session is running.
- Current R session is clean (click Session > Restart R).
If you still get installation errors, upgrade R, RStudio, and R packages and retry. If you still fail, read how to raise an issue.