kfarleigh/PopGenHelpR

Error when knitting rmd file with mapping functions

Closed this issue · 1 comments

Users may see the error below when using the Div_Stats_Map or Dif_Stats_Map` functions.

Error in ggplot2::geom_sf():

! Problem while setting up layer.
ℹ Error occurred in the 2nd layer.
Caused by error in sym():
! Can't convert NULL to a symbol.

The fix is to save the .rmd file and run the command below to knit the markdown file. Please email me if you have questions.

rmarkdown::render("PopGenHelpR_Example.Rmd")