在安装GitHub上的 PStestR 包时,报错了,如下所示,求各位大神帮忙解决问题
E creating vignettes (10.5s)
--- re-building 'PStestR.Rmd' using rmarkdown
Error: processing vignette 'PStestR.Rmd' failed with diagnostics:
The 'rmarkdown' package should be installed and declared as a dependency of the 'PStestR' package (e.g., in the 'Suggests' field of DESCRIPTION), because the latter contains vignette(s) built with the 'rmarkdown' package. Please see https://github.com/yihui/knitr/issues/1864 for more information.
--- failed re-building 'PStestR.Rmd'
SUMMARY: processing the following file failed:
'PStestR.Rmd'
错误: Vignette re-building failed.
停止执行
错误: Failed to install 'PStestR' from GitHub:
System command 'Rcmd.exe' failed, exit status: 1, stdout + stderr (last 10 lines):
E> --- re-building 'PStestR.Rmd' using rmarkdown
E> Error: processing vignette 'PStestR.Rmd' failed with diagnostics:
E> The 'rmarkdown' package should be installed and declared as a dependency of the 'PStestR' package (e.g., in the 'Suggests' field of DESCRIPTION), because the latter contains vignette(s) built with the 'rmarkdown' package. Please see https://github.com/yihui/knitr/issues/1864 for more information.
E> --- failed re-building 'PStestR.Rmd'
E>
E> SUMMARY: processing the following file failed:
E> 'PStestR.Rmd'
E>
E> 错误: Vignette re-building failed.
E> 停止
这是啥软件
The 'rmarkdown' package should be installed and declared as a dependency of the 'PStestR' package
缺少依赖包rmarkdown
您好,我是有问必答小助手,您的问题已经有小伙伴解答了,您看下是否解决,可以追评进行沟通哦~
如果有您比较满意的答案 / 帮您提供解决思路的答案,可以点击【采纳】按钮,给回答的小伙伴一些鼓励哦~~
ps:问答VIP仅需29元,即可享受5次/月 有问必答服务,了解详情>>>https://vip.csdn.net/askvip?utm_source=1146287632
非常感谢您使用有问必答服务,为了后续更快速的帮您解决问题,现诚邀您参与有问必答体验反馈。您的建议将会运用到我们的产品优化中,希望能得到您的支持与协助!
速戳参与调研>>>https://t.csdnimg.cn/Kf0y