编写R代码, 完成之后, 点击快捷键, 生成网页, 但是出错了, 弹出报错窗口:

R 生成html弹出窗口报错_web开发

报错代码:

Error in rbind(info, getNamespaceInfo(env, "S3methods")) : 
  number of columns of matrices must match (see arg 2)
Error in loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]]) : 
  namespace ‘evaluate’ 0.12 is being loaded, but >= 0.13 is required

解决方法:

devtools::install_github("r-lib/evaluate")