Error in png(png_file, width = width, height = height) :
invalid quartz() device size
In addition: Warning messages:
1: create_magick_pattern_img(): zero size
2: In FALSE :
create_pattern_array(): Expecting a numeric RGBA array with dim = c(1, 0, 4) but instead got a "array" of type double with dimensions c(1L, 10L, 4L)
while running
got