Skip to content

Error: polygon edge not found when using bayesplot #283

Open
@njtierney

Description

@njtierney

Hi there!

Thanks for maintaining bayesplot!

I've got a bit of a funny issue that I was wondering if you have encountered with bayesplot. I find that sometimes, but not always, GitHub actions fails building a vignette when calling a function from bayesplot, giving the error:

Quitting from lines 469-474 (get_started.Rmd) 
  Error: processing vignette 'get_started.Rmd' failed with diagnostics:
  polygon edge not found
  --- failed re-building ‘get_started.Rmd’

(GH action line here: https://github.com/greta-dev/greta/runs/5233369273?check_suite_focus=true#step:11:245)

This is occurring at this line of the vignette:

https://github.com/greta-dev/greta/blob/master/vignettes/get_started.Rmd#L469-L473

Having a look around, it initially appeared that there was an issue with fonts: https://community.rstudio.com/t/ggplot2-polygon-edge-not-found/116475/4 - however, taking a look at your code it doesn't seem that there are custom fonts loaded, so I'm not sure why this is happening.

In any case, please do feel free to close this issue, I just thought in case you've come across this before, if you have any tips on how to resolve this!

Cheers!

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions