Running examples in ‘getmstatistic-Ex.R’ failed
The error most likely occurred in:

> ### Name: getmstatistic
> ### Title: Quantifying Systematic Heterogeneity in Meta-Analysis.
> ### Aliases: getmstatistic getm getmstat Rgetmstatistic
> ###   getmstatistic.default
> 
> ### ** Examples
> 
> library(getmstatistic)
> library(gridExtra)
> 
> 
> # Basic M analysis using the heartgenes214 dataset.
> # heartgenes214 is a multi-ethnic GWAS meta-analysis dataset for coronary artery disease.
> # To learn more about the heartgenes214 dataset ?heartgenes214
> 
> # Running an M analysis on 20 GWAS significant variants (p < 5e-08) in the first 10 studies
> 
> heartgenes44_10studies <- subset(heartgenes214, studies <= 10 & fdr214_gwas46 == 2) 
> heartgenes20_10studies <- subset(heartgenes44_10studies, 
+     variants %in% unique(heartgenes44_10studies$variants)[1:20])
> 
> # Set directory to store plots, this can be a temporary directory
> # or a path to a directory of choice e.g. plots_dir <- "~/Downloads"
> plots_dir <- tempdir()
> 
> getmstatistic_results <- getmstatistic(heartgenes20_10studies$beta_flipped, 
+                                         heartgenes20_10studies$gcse, 
+                                         heartgenes20_10studies$variants, 
+                                         heartgenes20_10studies$studies,
+                                         save_dir = plots_dir)

Warning in graphics::mtext(sprintf("help(\"%s\")", nameEx()), side = 4,  :
  no font could be found for family "Arial"
Warning in graphics::mtext(sprintf("help(\"%s\")", nameEx()), side = 4,  :
  no font could be found for family "Arial"
Warning in graphics::mtext(sprintf("help(\"%s\")", nameEx()), side = 4,  :
  no font could be found for family "Arial"
Warning in title(main = main, sub = sub, xlab = xlab, ylab = ylab, ...) :
  no font could be found for family "Arial"
Warning in title(main = main, sub = sub, xlab = xlab, ylab = ylab, ...) :
  no font could be found for family "Arial"
Warning in title(main = main, sub = sub, xlab = xlab, ylab = ylab, ...) :
  no font could be found for family "Arial"
Warning in title(main = main, sub = sub, xlab = xlab, ylab = ylab, ...) :
  no font could be found for family "Arial"
Warning in title(main = main, sub = sub, xlab = xlab, ylab = ylab, ...) :
  no font could be found for family "Arial"
Warning in title(main = main, sub = sub, xlab = xlab, ylab = ylab, ...) :
  no font could be found for family "Arial"
Warning in title(main = main, sub = sub, xlab = xlab, ylab = ylab, ...) :
  no font could be found for family "Arial"
Warning in title(main = main, sub = sub, xlab = xlab, ylab = ylab, ...) :
  no font could be found for family "Arial"
Warning in axis(1, ...) : no font could be found for family "Arial"
Warning in axis(1, ...) : no font could be found for family "Arial"
Warning in axis(1, ...) : no font could be found for family "Arial"
Warning in axis(1, ...) : no font could be found for family "Arial"
Warning in axis(1, ...) : no font could be found for family "Arial"
Warning in axis(1, ...) : no font could be found for family "Arial"
Warning in axis(1, ...) : no font could be found for family "Arial"
Warning in axis(1, ...) : no font could be found for family "Arial"
Warning in axis(1, ...) : no font could be found for family "Arial"
Warning in axis(1, ...) : no font could be found for family "Arial"
Warning in axis(1, ...) : no font could be found for family "Arial"
Warning in axis(1, ...) : no font could be found for family "Arial"
Warning in axis(1, ...) : no font could be found for family "Arial"
Warning in axis(1, ...) : no font could be found for family "Arial"
Warning in axis(1, ...) : no font could be found for family "Arial"
Warning in axis(1, ...) : no font could be found for family "Arial"
Warning in axis(2, ...) : no font could be found for family "Arial"
Warning in axis(2, ...) : no font could be found for family "Arial"
Warning in axis(2, ...) : no font could be found for family "Arial"
Warning in axis(2, ...) : no font could be found for family "Arial"
Warning in axis(2, ...) : no font could be found for family "Arial"
Warning in axis(2, ...) : no font could be found for family "Arial"
Warning in axis(2, ...) : no font could be found for family "Arial"
Warning in axis(2, ...) : no font could be found for family "Arial"
Warning in axis(2, ...) : no font could be found for family "Arial"
Warning in axis(2, ...) : no font could be found for family "Arial"
Warning in axis(2, ...) : no font could be found for family "Arial"
Warning in axis(2, ...) : no font could be found for family "Arial"
Warning in axis(2, ...) : no font could be found for family "Arial"
Warning in axis(2, ...) : no font could be found for family "Arial"
Warning in axis(2, ...) : no font could be found for family "Arial"
Warning in axis(2, ...) : no font could be found for family "Arial"
Warning in grid.Call.graphics(C_text, as.graphicsAnnot(x$label), x$x, x$y,  :
  no font could be found for family "Arial"
Warning in grid.Call.graphics(C_text, as.graphicsAnnot(x$label), x$x, x$y,  :
  no font could be found for family "Arial"
Warning in grid.Call.graphics(C_text, as.graphicsAnnot(x$label), x$x, x$y,  :
  no font could be found for family "Arial"
Warning in grid.Call(C_stringMetric, as.graphicsAnnot(x$label)) :
  no font could be found for family "Arial"
Warning in grid.Call(C_stringMetric, as.graphicsAnnot(x$label)) :
  no font could be found for family "Arial"
Warning in grid.Call(C_stringMetric, as.graphicsAnnot(x$label)) :
  no font could be found for family "Arial"
Warning in grid.Call(C_stringMetric, as.graphicsAnnot(x$label)) :
  no font could be found for family "Arial"
Warning in grid.Call(C_stringMetric, as.graphicsAnnot(x$label)) :
  no font could be found for family "Arial"
Warning in grid.Call(C_stringMetric, as.graphicsAnnot(x$label)) :
  no font could be found for family "Arial"
Warning in grid.Call(C_stringMetric, as.graphicsAnnot(x$label)) :
  no font could be found for family "Arial"
Warning in grid.Call(C_stringMetric, as.graphicsAnnot(x$label)) :
  no font could be found for family "Arial"
Warning in grid.Call(C_stringMetric, as.graphicsAnnot(x$label)) :
  no font could be found for family "Arial"
Warning in grid.Call(C_stringMetric, as.graphicsAnnot(x$label)) :
  no font could be found for family "Arial"
Warning in grid.Call(C_stringMetric, as.graphicsAnnot(x$label)) :
  no font could be found for family "Arial"
Warning in grid.Call(C_stringMetric, as.graphicsAnnot(x$label)) :
  no font could be found for family "Arial"
Warning in grid.Call(C_stringMetric, as.graphicsAnnot(x$label)) :
  no font could be found for family "Arial"
Warning in grid.Call(C_stringMetric, as.graphicsAnnot(x$label)) :
  no font could be found for family "Arial"
Warning in grid.Call(C_stringMetric, as.graphicsAnnot(x$label)) :
  no font could be found for family "Arial"
Warning in grid.Call(C_stringMetric, as.graphicsAnnot(x$label)) :
  no font could be found for family "Arial"
Warning in grid.Call(C_stringMetric, as.graphicsAnnot(x$label)) :
  no font could be found for family "Arial"
Warning in grid.Call(C_stringMetric, as.graphicsAnnot(x$label)) :
  no font could be found for family "Arial"
Warning in grid.Call(C_stringMetric, as.graphicsAnnot(x$label)) :
  no font could be found for family "Arial"
Warning in grid.Call(C_stringMetric, as.graphicsAnnot(x$label)) :
  no font could be found for family "Arial"
Warning in grid.Call(C_stringMetric, as.graphicsAnnot(x$label)) :
  no font could be found for family "Arial"
Warning in grid.Call(C_stringMetric, as.graphicsAnnot(x$label)) :
  no font could be found for family "Arial"
Warning in grid.Call(C_stringMetric, as.graphicsAnnot(x$label)) :
  no font could be found for family "Arial"
Warning in grid.Call(C_stringMetric, as.graphicsAnnot(x$label)) :
  no font could be found for family "Arial"
Warning in grid.Call(C_stringMetric, as.graphicsAnnot(x$label)) :
  no font could be found for family "Arial"
Warning in grid.Call(C_stringMetric, as.graphicsAnnot(x$label)) :
  no font could be found for family "Arial"
Warning in grid.Call(C_stringMetric, as.graphicsAnnot(x$label)) :
  no font could be found for family "Arial"
Warning in grid.Call(C_textBounds, as.graphicsAnnot(x$label), x$x, x$y,  :
  no font could be found for family "Arial"
Error in grid.Call(C_textBounds, as.graphicsAnnot(x$label), x$x, x$y,  : 
  polygon edge not found
Calls: getmstatistic ... <Anonymous> -> widthDetails -> widthDetails.text -> grid.Call
Execution halted