I don't know if the installation was write.
Here what was written :
also installing the dependency ‘scales’
There are binary versions available but the source versions are later:
binary source needs_compilation
scales 1.1.0 1.1.1 FALSE
ggplot2 3.3.0 3.3.2 FALSE
installing the source packages ‘scales’, ‘ggplot2’
installing source package ‘scales’ ...
** package ‘scales’ correctement décompressé et sommes MD5 vérifiées
** R
** byte-compile and prepare package for lazy loading
Error in loadNamespace(i, c(lib.loc, .libPaths()), versionCheck = vI[[i]]) :
namespace ‘rlang’ 0.3.0.1 is being loaded, but >= 0.4.0 is required
ERROR: lazy loading failed for package ‘scales’
removing ‘/Library/Frameworks/R.framework/Versions/3.5/Resources/library/scales’
Warning in install.packages :
installation of package ‘scales’ had non-zero exit status
ERROR: dependency ‘scales’ is not available for package ‘ggplot2’
removing ‘/Library/Frameworks/R.framework/Versions/3.5/Resources/library/ggplot2’
Warning in install.packages :
installation of package ‘ggplot2’ had non-zero exit status
The downloaded source packages are in
‘/private/var/folders/dt/b8z2y_y17g51hsh_q1hxhhm40000gn/T/RtmprnwMqQ/downloaded_packages’
This message indicates that ggplot2 did not install properly. It looks like you have an outdated version of rlang. Try install.packages("rlang") first and then attempt installing ggplot2.