I tried to Install ggplot2 with the following code:
install.packages("ggplot2")
And it doesn't work and show this warnings:
There are binary versions available but the source versions
are later:
binary source needs_compilation
cli 3.2.0 3.6.1 TRUE
gtable 0.3.0 0.3.4 FALSE
lifecycle 1.0.1 1.0.3 FALSE
rlang 1.0.2 1.1.1 TRUE
scales 1.2.0 1.2.1 FALSE
vctrs 0.4.1 0.6.3 TRUE
ggplot2 3.3.5 3.4.3 FALSE
Binaries will be installes
installation of package ‘scales’ had non-zero exit status
ERROR: dependencies 'gtable', 'lifecycle', 'scales' are not available for package 'ggplot2'
- removing 'C:/Users/fabri/Documents/R/win-library/4.0/ggplot2'
Warning in install.packages :
installation of package ‘ggplot2’ had non-zero exit status
Please help me resolve this issue