另外,在联网电脑上使用install.packages(tidyverse),出现一段问题如下:
* installing *source* package 'lifecycle' ...
** package 'lifecycle' successfully unpacked and MD5 sums checked
** R
** inst
** preparing package for lazy loading
Error in loadNamespace(i, c(lib.loc, .libPaths()), versionCheck = vI[[i]]) :
namespace 'rlang' 0.2.0 is being loaded, but >= 0.4.0 is required
ERROR: lazy loading failed for package 'lifecycle'
* removing 'C:/Users/GRB/Documents/R/win-library/3.3/lifecycle'
* installing *source* package 'broom' ...
** package 'broom' successfully unpacked and MD5 sums checked
** R
** data
*** moving datasets to lazyload DB
** inst
** preparing package for lazy loading
Error in loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]]) :
there is no package called 'pillar'
ERROR: lazy loading failed for package 'broom'
* removing 'C:/Users/GRB/Documents/R/win-library/3.3/broom'
* installing *source* package 'cli' ...
** package 'cli' successfully unpacked and MD5 sums checked
** R
** inst
** preparing package for lazy loading
Error : object 'glue_collapse' is not exported by 'namespace:glue'
ERROR: lazy loading failed for package 'cli'
* removing 'C:/Users/GRB/Documents/R/win-library/3.3/cli'
* installing *source* package 'dbplyr' ...
** package 'dbplyr' successfully unpacked and MD5 sums checked
** R
** inst
** preparing package for lazy loading
Error in loadNamespace(i, c(lib.loc, .libPaths()), versionCheck = vI[[i]]) :
namespace 'dplyr' 0.7.4 is being loaded, but >= 0.8.0 is required
ERROR: lazy loading failed for package 'dbplyr'
* removing 'C:/Users/GRB/Documents/R/win-library/3.3/dbplyr'
ERROR: dependency 'ellipsis' is not available for package 'forcats'
* removing 'C:/Users/GRB/Documents/R/win-library/3.3/forcats'
* installing *source* package 'ggplot2' ...
** package 'ggplot2' successfully unpacked and MD5 sums checked
** R
** data
*** moving datasets to lazyload DB
** inst
** preparing package for lazy loading
Error in loadNamespace(i, c(lib.loc, .libPaths()), versionCheck = vI[[i]]) :
namespace 'rlang' 0.2.0 is being loaded, but >= 0.3.0 is required
ERROR: lazy loading failed for package 'ggplot2'
* removing 'C:/Users/GRB/Documents/R/win-library/3.3/ggplot2'
ERROR: dependency 'vctrs' is not available for package 'hms'
* removing 'C:/Users/GRB/Documents/R/win-library/3.3/hms'
ERROR: dependency 'hms' is not available for package 'progress'
* removing 'C:/Users/GRB/Documents/R/win-library/3.3/progress'
ERROR: dependency 'broom' is not available for package 'modelr'
* removing 'C:/Users/GRB/Documents/R/win-library/3.3/modelr'
ERROR: dependencies 'cli', 'vctrs' are not available for package 'pillar'
* removing 'C:/Users/GRB/Documents/R/win-library/3.3/pillar'
ERROR: dependencies 'broom', 'cli', 'dbplyr', 'forcats', 'ggplot2', 'hms', 'modelr', 'pillar' are not available for package 'tidyverse'
* removing 'C:/Users/GRB/Documents/R/win-library/3.3/tidyverse'
The downloaded source packages are in
‘C:\Users\GRB\AppData\Local\Temp\RtmpaM6504\downloaded_packages’
There were 22 warnings (use warnings() to see them)
再libarary(“tidyverse”)
> library("tidyverse")
Error in library("tidyverse") : there is no package called ‘tidyverse’
这个又是怎么回事?
|