mapscanner icon indicating copy to clipboard operation
mapscanner copied to clipboard

pkgdown error

Open maelle opened this issue 1 year ago • 5 comments

@mpadge https://github.com/r-universe/ropensci/actions/runs/9990550299/job/27611472207

maelle avatar Jul 18 '24 14:07 maelle

Error is due to _pkgdown.yml, but there's nothing wrong with that, as far as I can tell. Strange ...

mpadge avatar Jul 18 '24 14:07 mpadge

: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

mpadge avatar Jul 18 '24 14:07 mpadge

@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?

mpadge avatar Jul 18 '24 15:07 mpadge

weird. any chance of a reprex?

maelle avatar Jul 19 '24 05:07 maelle

any update?

maelle avatar Sep 02 '24 10:09 maelle

@mpadge friendly reminder 😸

maelle avatar Feb 07 '25 08:02 maelle

Still errors ... :confused: ❓

mpadge avatar Feb 07 '25 10:02 mpadge

Aha, but now at least i can reproduce locally, so should be able to fix 🔧 🚄

mpadge avatar Feb 07 '25 10:02 mpadge

Image

Finally 🥳

mpadge avatar Feb 07 '25 11:02 mpadge