- 已编辑
我想要加载一个包“ggpubr", 但是输入install.packages("ggpubr")后,包有下载下来,显示如下:
“There is a binary version available but the source
version is later:
binary source needs_compilation
ggpubr 0.1.4 0.1.5 FALSE
installing the source package ‘ggpubr’
trying URL 'https://cran.rstudio.com/src/contrib/ggpubr_0.1.5.tar.gz'
Content type 'application/x-gzip' length 1792379 bytes (1.7 MB
downloaded 1.7 MB
installing source package ‘ggpubr’ ...
package ‘ggpubr’ successfully unpacked and MD5 sums checked
R
data
moving datasets to lazyload DB
inst
preparing package for lazy loading
Warning: package ‘ggplot2’ was built under R version 3.3.2
help
installing help indices
building package indices
testing if installed package can be loaded
Warning: package ‘ggplot2’ was built under R version 3.3.2
DONE (ggpubr)
The downloaded source packages are in
‘/private/var/folders/7j/jn67r8jx77zbcfc7y3nqcs0c0000gn/T/RtmpFjtWlq/downloaded_packages’ ”
但是library(ggpubr)之后却显示
” Error in loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]]) :
namespace ‘tibble’ 1.2 is already loaded, but >= 1.3.1 is required
Error: package or namespace load failed for ‘ggpubr’ “
请问要怎么处理?