我在用:
我正在尝试在Blogdown中建立一个网站。我试图建立的网站是Hugo XMin,因为它没有任何修改。我有:
blogdown::build_site()
,在Bash中以交互模式进入R后,在站点根文件夹中执行命令R
。我得到的错误如下:
> blogdown::build_site()
Rendering content/_index.Rmarkdown
running: bash -c "cd ../..;
find . -not -path '*/exampleSite/*' \\( -name '*.html' -o -name '*.css' \\) | xargs wc -l"
pandoc: Error running filter pandoc-citeproc
pandoc-citeproc not found in path
Error: pandoc document conversion failed with error 83
Execution halted
Warning message:
In file.remove(intermediate_html) :
cannot remove file '_index.tmp.html', reason 'No such file or directory'
Error in render_page(f) : Failed to render 'content/_index.Rmarkdown'
在我的Windows机器上,这很好用。
我被这个消息欺骗了,并没有看到pandoc-citeproc
被要求但没找到。所以修复很简单:
yum install pandoc-citeproc