Closed cregouby closed 2 years ago
Hello @dfalbel, I may need some help to pass the R-CMD-check / ubuntu-20-04 (release) workflow. It seems the machine is missing a font
> bboxed <- draw_bounding_boxes(image, boxes, colors = "black", fill = TRUE)
Error in graphics::mtext(sprintf("help(\"%s\")", nameEx()), side = 4, :
R: unable to read font `helvetica' @ error/annotate.c/RenderFreetype/1338
free(): double free detected in tcache 2
Aborted (core dumped)
and it seems linked to this https://github.com/ropensci/magick/issues/174
I don't know if it is a good idea to bypass the test (what I'm trying to do right now) or if there is a way to add the font in the ubuntu-20-04 image in the CICD pipeline (for which I've no idea on how to).
Sorry for taking so long to work on this PR @cregouby . I have made a few changes to the code. Mainly:
$tile()
in the draw_segmentation_mask which I believe were an error.Do you want to take a look?
FWIW the Windows errors seem to be spurious. I think they will solve automatically in a few days.
Great for me ! Thanks for the rework !
Thank you! Merging now!
Created on 2022-09-13 by the reprex package (v2.0.1)
gives a X11 window with
and
Created on 2022-09-13 by the reprex package (v2.0.1)
giving