What is going wrong here and why can't I install ggpubr? I want to install ggpubr to use ggboxplot and ggline.
Installing 'ggpubr' ...
[1/2] Installing rstatix...
Installing package into 'C:/Users/s166432/Documents/R/win-library/3.5'
(as 'lib' is unspecified)
Warning: dependency 'pbkrtest' is not available
also installing the dependency 'car'
There are binary versions available but the source versions are later:
binary source needs_compilation
car 3.0-7 3.0-8 FALSE
rstatix 0.4.0 0.5.0 FALSE
installing the source packages 'car', 'rstatix'
trying URL 'https://cran.rstudio.com/src/contrib/car_3.0-8.tar.gz'
Content type 'application/x-gzip' length 499932 bytes (488 KB)
downloaded 488 KB
trying URL 'https://cran.rstudio.com/src/contrib/rstatix_0.5.0.tar.gz'
Content type 'application/x-gzip' length 391492 bytes (382 KB)
downloaded 382 KB
ERROR: dependency 'pbkrtest' is not available for package 'car'
- removing 'C:/Users/s166432/Documents/R/win-library/3.5/car'
In R CMD INSTALL
ERROR: dependency 'car' is not available for package 'rstatix' - removing 'C:/Users/s166432/Documents/R/win-library/3.5/rstatix'
[2/2] Installing ggpubr...
In R CMD INSTALL
The downloaded source packages are in
'C:\Users\s166432\AppData\Local\Temp\RtmpawIxaU\downloaded_packages'
Installing package into 'C:/Users/s166432/Documents/R/win-library/3.5'
(as 'lib' is unspecified)
Warning: dependency 'pbkrtest' is not available
also installing the dependencies 'car', 'rstatix'
There are binary versions available but the source versions are later:
binary source needs_compilation
car 3.0-7 3.0-8 FALSE
rstatix 0.4.0 0.5.0 FALSE
ggpubr 0.2.5 0.3.0 FALSE
installing the source packages 'car', 'rstatix', 'ggpubr'
ERROR: dependency 'pbkrtest' is not available for package 'car'
- removing 'C:/Users/s166432/Documents/R/win-library/3.5/car'
In R CMD INSTALL
ERROR: dependency 'car' is not available for package 'rstatix' - removing 'C:/Users/s166432/Documents/R/win-library/3.5/rstatix'
In R CMD INSTALL
ERROR: dependency 'rstatix' is not available for package 'ggpubr' - removing 'C:/Users/s166432/Documents/R/win-library/3.5/ggpubr'
In R CMD INSTALL
The downloaded source packages are in
'C:\Users\s166432\AppData\Local\Temp\RtmpawIxaU\downloaded_packages'
<U+2714> Package 'ggpubr' successfully installed.
Warning messages:
installation of package 'car' had non-zero exit status
installation of package 'rstatix' had non-zero exit status
installation of package 'car' had non-zero exit status
installation of package 'rstatix' had non-zero exit status
5: In utils::install.packages("ggpubr", repos = "XXX") :
installation of package 'ggpubr' had non-zero exit status
library(ggpubr)
Error in library(ggpubr) : there is no package called ‘ggpubr’
In addition: Warning message:
In normalizePath(path.expand(path), winslash, mustWork) :
path[1]="NA": The system cannot find the file specified