During the package checks, when checking the example I am getting the following error:
Warning in grid.Call(C_stringMetric, as.graphicsAnnot(x$label)) : font family 'My Font' not found in PostScript font database
My package contains the definition of a custom ggplot theme which refers to a custom font ('My Font'). This custom theme is included in the example.
I am using a windows machine and the required font is included in the
windowsFonts(), therefore the example is working without any issue during normal circumstances.
I assume that a PostScript graphic device is used as default during the package checks and this is the reason why I getting this error. Is it correct?
Is there any workaround for this error?