sample of qgis extension made in R