I am trying to install "ggplot2" package and i get this message:
here are binary versions available but the source versions are later:
binary source needs_compilation
lifecycle 0.2.0 1.0.0 FALSE
rlang 0.4.5 0.4.11 TRUE
scales 1.1.0 1.1.1 FALSE
ggplot2 3.3.0 3.3.5 FALSE
Binaries will be installed
trying URL 'https://cran.rstudio.com/bin/windows/contrib/3.5/rlang_0.4.5.zip'
Content type 'application/zip' length 1115838 bytes (1.1 MB)
downloaded 1.1 MB
package ‘rlang’ successfully unpacked and MD5 sums checked
The downloaded binary packages are in
C:\Users\stef info\AppData\Local\Temp\RtmpaYqw6x\downloaded_packages
installing the source packages ‘lifecycle’, ‘scales’, ‘ggplot2’
trying URL 'https://cran.rstudio.com/src/contrib/lifecycle_1.0.0.tar.gz'
Content type 'application/x-gzip' length 83389 bytes (81 KB)
downloaded 81 KB
trying URL 'https://cran.rstudio.com/src/contrib/scales_1.1.1.tar.gz'
Content type 'application/x-gzip' length 515201 bytes (503 KB)
downloaded 503 KB
trying URL 'https://cran.rstudio.com/src/contrib/ggplot2_3.3.5.tar.gz'
Content type 'application/x-gzip' length 3063309 bytes (2.9 MB)
downloaded 2.9 MB
- installing source package 'lifecycle' ...
** package 'lifecycle' correctement décompressé et sommes MD5 vérifiées
** R
** inst
** byte-compile and prepare package for lazy loading
Error in loadNamespace(i, c(lib.loc, .libPaths()), versionCheck = vI[[i]]) :
namespace 'rlang' 0.4.5 is being loaded, but >= 0.4.10 is required
ERROR: lazy loading failed for package 'lifecycle' - removing 'C:/Users/stef info/Documents/R/win-library/3.5/lifecycle'
In R CMD INSTALL
Warning in install.packages :
installation of package ‘lifecycle’ had non-zero exit status
ERROR: dependency 'lifecycle' is not available for package 'scales' - removing 'C:/Users/stef info/Documents/R/win-library/3.5/scales'
In R CMD INSTALL
Warning in install.packages :
installation of package ‘scales’ had non-zero exit status
ERROR: dependency 'scales' is not available for package 'ggplot2' - removing 'C:/Users/stef info/Documents/R/win-library/3.5/ggplot2'
In R CMD INSTALL
Warning in install.packages :
installation of package ‘ggplot2’ had non-zero exit status
The downloaded source packages are in
‘C:\Users\stef info\AppData\Local\Temp\RtmpaYqw6x\downloaded_packages’
and when I am trying to library the ggplot2 packahe; i get this error message:
Error in library(ggplot2) : no package named 'ggplot2' is found