'Error: package or namespace load failed for ‘GGally’

I'm not able to open the GGally package. I keep getting this message:

> library(GGally)
Error: package or namespace load failed for ‘GGally’ in loadNamespace(i, c(lib.loc, .libPaths()), versionCheck = vI[[i]]):
 namespace ‘rlang’ 0.4.12 is already loaded, but >= 1.0.0 is required
In addition: Warning message:
package ‘GGally’ was built under R version 4.1.3 

I have tried installing GGally like so: install.packages('GGally', dependencies = TRUE), as well as installing rlang. This problem has not arose with any other library.

Any help would be greatly appreciated. Thank you!



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source