克隆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最有可能是问题,而不是软件包本身。话虽这么说,这是环境:
我该如何解决?我正在尝试避免使用chmod -R 777 /tmp/
注释:我还运行了devtools::test()
和devtools::check()
,没有错误或警告。