r - 使用 R pkgdown 时的 ENOENT
问题描述
克隆pkgdown的 v 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()
没有错误或警告。
解决方案
在尝试从头开始构建一个包后,我发现我的错误...... Pandoc 丢失了,从AUR安装它修复了它。
推荐阅读
- javascript - Javascript:如何返回发生点击事件的元素?
- r - 如何以数据框格式绘制主成分的方差?
- python - 尝试下载 punkt 标记器:尝试加载标记器/punkt/PY3/english.pickle 不工作
- python - Flask socket-io 每个请求返回不同的 SID
- android - Webview 中未显示 Wordpress 视频海报 - 仅显示空白白色播放器
- javascript - $(...)甘特图不是函数
- c++ - 如何检查两个条件是否为真,而无需两次写入相同的条件
- php - 重力表提交后更新 ACF 用户单选按钮
- javascript - 为 Google 图表中的每个条形分配不同的颜色?
- r - 如何将导入的数据应用和过滤到 FlaxDashBoard 应用程序(ver.2)?