In the example below I would like to have only the label for Ghana in the tm_text("name")
layer showing.
Any idea how to do this? Thank you for your help.
library(tmap)
data("World")
tmap_mode("view")
tm_shape(World) +
tm_polygons("HPI", id="HPI")+tm_text("name")