我正在尝试安装kableExtra并收到以下错误:
Error in loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck =
vI[[j]]) :
there is no package called 'hms'
ERROR: lazy loading failed for package 'kableExtra'
*removing 'C:/Users/Tim/Documents/R/win-library/3.2/kableExtra'
Warning in install.packages :
running command '"C:/PROGRA~1/R/R-32~1.5/bin/x64/R" CMD INSTALL -l "C:\Users\Tim\Documents\R\win-library\3.2"
C:\Users\Tim\AppData\Local\Temp\RtmpUJQfwD/downloaded_packages/kableExtra_0.9.0.
tar.gz' had status 1
Warning in install.packages :
installation of package ‘kableExtra’ had non-zero exit status
The downloaded source packages are in
‘C:\Users\Tim\AppData\Local\Temp\RtmpUJQfwD\downloaded_packages’
如何解决我的问题?提前谢谢!
答案 0 :(得分:0)
似乎kableExtra取决于包装&#34; hms&#34;所以尝试安装它:
<div class="inner-div preset multi">
<img class="img-resp high" data-
src="https://image.test.co/skin/54asd15q1we12as1d1q/png.png"
title="New Skin" width="100%"/>
</div>
或通过rstudio界面: 包裹 - &gt;安装 并输入&#34; hms&#34;
答案 1 :(得分:0)