今天安装Remap跟baidumap包,操碎了心。
一、通畅版(无需再看)
library(devtools)
install_github('badbye/baidumap')
install_github('lchiffon/REmap')
二、便秘版
经多次尝试:函数安装+手动下载安装 REmap安装成功(还可重新设置默认浏览器尝试),结果baidumap均失败
installing *source* package 'baidumap' ...
** R
** tests
** preparing package for lazy loading
Error in loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]]) :
there is no package called 'munsell'
ERROR: lazy loading failed for package 'baidumap'
* removing 'D:/R/R-3.4.1-win/R-3.4.1/library/baidumap'
Installation failed: Command failed (1)
苦逼的我左看右看上看下看,左找右找均无果
后来灵机一动
我发现一个问题
Error in loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]]) :
there is no package called 'munsell'
然后我就手动下载munsell包
https://cran.rstudio.com/bin/windows/contrib/3.4
一、通畅版(无需再看)
library(devtools)
install_github('badbye/baidumap')
install_github('lchiffon/REmap')
二、便秘版
经多次尝试:函数安装+手动下载安装 REmap安装成功(还可重新设置默认浏览器尝试),结果baidumap均失败
installing *source* package 'baidumap' ...
** R
** tests
** preparing package for lazy loading
Error in loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]]) :
there is no package called 'munsell'
ERROR: lazy loading failed for package 'baidumap'
* removing 'D:/R/R-3.4.1-win/R-3.4.1/library/baidumap'
Installation failed: Command failed (1)
苦逼的我左看右看上看下看,左找右找均无果
后来灵机一动
我发现一个问题
Error in loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]]) :
there is no package called 'munsell'
然后我就手动下载munsell包
https://cran.rstudio.com/bin/windows/contrib/3.4