[Qgis-developer] R in Processing: errors not shown

Paolo Cavallini cavallini at faunalia.it
Sun Mar 12 15:58:59 PDT 2017


Hi all,
when installing R scripts from online repo for Processing, no error is
visible to users when necessary R modules are missing, but models are
not shown. Errors are in the log:
===
2017-03-12T23:39:03	0	Comandi di esecuzione R
			options("repos"="http://cran.at.r-project.org/")
			tryCatch(find.package("rgdal"), error=function(e)
install.packages("rgdal", dependencies=TRUE))
			tryCatch(find.package("raster"), error=function(e)
install.packages("raster", dependencies=TRUE))
			library("raster")
===
IMHO this is difficult to grasp for the user, and an explicit error
should be given, together with the suggestion to install the missing libs.
Am I missing something?
Thanks.
-- 
Paolo Cavallini - www.faunalia.eu
QGIS & PostGIS courses: http://www.faunalia.eu/training.html
https://www.google.com/trends/explore?date=all&geo=IT&q=qgis,arcgis


More information about the Qgis-developer mailing list