There is no RStudio 4.0 version, I think you are confusing R and RStudio, they are two separate pieces of software with independent versions.
In order to help you with your problem we need more information, please post the whole error message you get when you try to install the package.