Could you please describe your issue so we know what you need help with?
Just a guess based on what you've included:
Are you trying to install the tidyverse package? If so, you should run
Right now, you're using
installed.packages() which is a function that:
Find(s) (or retrieve(s)) details of all packages installed in the specified libraries.
Edit Also, please note that unless this works for you in vanilla R but not in RStudio, then the IDE category is not the best fit (see FAQ below for disambiguation).