mapscanner
mapscanner copied to clipboard
pkgdown error
@mpadge https://github.com/r-universe/ropensci/actions/runs/9990550299/job/27611472207
Error is due to _pkgdown.yml, but there's nothing wrong with that, as far as I can tell. Strange ...
:question:
Warning messages:
1: In readLines(file, warn = readLines.warn) :
incomplete final line found on '_pkgdown.yml'
2: In readLines(file, warn = readLines.warn) :
incomplete final line found on '/tmp/RtmpTvtrZh/mapscanner-source/_pkgdown.yml'
3: In readLines(file, warn = readLines.warn) :
incomplete final line found on '/tmp/RtmpTvtrZh/mapscanner-source/_pkgdown.yml'
4: In readLines(con, warn = readLines.warn) :
incomplete final line found on '/tmp/RtmpTvtrZh/mapscanner-source/_pkgdown.yml'
Execution halted
@maelle There does indeed seem to be an error, from knitr::include_graphics(), which generates:
Error: [ENOENT] Failed to realize '/tmp/RtmplQApHk/omama-polygons.png': no such file or directory
But the file does exist. I think the "Failed to realize" is somehow key. The file has to be copied across from elsewhere. I've inserted code to ensure that all works, which it does. The file does exist, but my suspicion is that something in pkgdown is mucking up the copying across of the png file, triggering "Failed to realize". Any ideas?
weird. any chance of a reprex?
any update?
@mpadge friendly reminder 😸
Still errors ... :confused: ❓
Aha, but now at least i can reproduce locally, so should be able to fix 🔧 🚄
Finally 🥳