在安装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> 停止
在安装GitHub上的 PStestR 包时,报错.
- 写回答
- 好问题 0 提建议
- 关注问题
- 邀请回答
-