Package installation says it fails but package is installed

Error Information:

Description of issue - When installing packages using the yellow warning bar ("Package x is required but not installed"), RStudio says that the installation fails but the package is actually installed. This started after updating to the current versions of R and RStudio. Installation in console and in R had problems with the company firewall, but that has been resolved and installation now occurs without issue.

Steps taken so far - I have worked with my companies IT department to determine the cause after getting package installation to work with the firewall. They can't see a reason on their end for RStudio to get a false negative on package download.

System Information:

  • RStudio Edition: Desktop
  • RStudio Version: 2022.07.1
  • OS Version: Windows 10 Enterprise
  • R Version: 4.2.1


From Troubleshooting Guide: Using RStudio

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.