Skip to content

_404.Rmd causing issues on dev-pkgs workflow #1148

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
Robinlovelace opened this issue Jan 2, 2025 · 5 comments
Closed

_404.Rmd causing issues on dev-pkgs workflow #1148

Robinlovelace opened this issue Jan 2, 2025 · 5 comments

Comments

@Robinlovelace
Copy link
Collaborator

With this message:

Error in `wk_handle.wk_wkb()`:
! Loop 0 is not valid: Edge 0 is degenerate (duplicate vertex)
Backtrace:
  1. base::eval(...)
  4. rmarkdown (local) `<fn>`("_404.Rmd", `<rmrkdw__>`, output_file = "404.html", quiet = TRUE)
  5. knitr::knit(knit_input, knit_output, envir = envir, quiet = quiet)
  6. knitr:::process_file(text, output)
  9. knitr:::process_group(group)
     ...
 17. base::withRestarts(...)
 18. base (local) withRestartList(expr, restarts)
 19. base (local) withOneRestart(withRestartList(expr, restarts[-nr]), restarts[[nr]])
 20. base (local) docall(restart$handler, restartArgs)
 22. evaluate (local) fun(base::quote(`<smplErrr>`))

Quitting from lines 4-14 [c404] (_404.Rmd)

Source: https://github.com/geocompx/geocompr/actions/runs/12573433040/job/35046433503#step:4:2753

Any ideas @Nowosad ?

@Robinlovelace
Copy link
Collaborator Author

@Nowosad
Copy link
Member

Nowosad commented Jan 2, 2025

It seems like a tmap issue: r-tmap/tmap#1011.

@Robinlovelace
Copy link
Collaborator Author

OK. We could fix it downstream here or await an upstream fix. Probably worth awaiting for upstream fix as with #1147 which I will re-open.

@Nowosad
Copy link
Member

Nowosad commented Jan 3, 2025

It should be fine now with the newest changes in tmap.

@Robinlovelace
Copy link
Collaborator Author

Great job.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants