使用R pkgdown时为ENOENT

时间:2018-10-08 21:31:04

标签: r

克隆pkgdown的1.1.0版本并尝试运行pkgdown::build_site()会给我以下错误:

> pkgdown::build_site()
══ Building pkgdown site ═══════════════════════════════════════════════════════
Reading from: '/home/farm/Documents/pkgdown-1.1.0'
Writing to:   '/home/farm/Documents/pkgdown-1.1.0/docs'
── Initialising site ───────────────────────────────────────────────────────────
Writing 'sitemap.xml'
── Building home ───────────────────────────────────────────────────────────────
<ENOENT: [ENOENT] Failed to remove '/tmp/Rtmp0utBMA/file114d619b1b68.html': no such file or directory>
Error: [ENOENT] Failed to remove '/tmp/Rtmp0utBMA/file114d619b1b68.html': no such file or directory
Execution halted

我的Linux和R最有可能是问题,而不是软件包本身。话虽这么说,这是环境:

  • R:3.5.1
  • Manjaro:18.0.0-rc

我该如何解决?我正在尝试避免使用chmod -R 777 /tmp/

注释:我还运行了devtools::test()devtools::check(),没有错误或警告。

1 个答案:

答案 0 :(得分:1)

尝试从头开始构建软件包之后,我发现了我的错误... Pandoc丢失了,可以从AUR安装它来修复它。

相关问题