Hi,

> 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.

that sounds weird. Unless I'm wrong (and except the packages rgdal and
raster) I thought that Processing would automatically download and
install the additional packages if missing.

Are you sure that the error is related to the missing packages?

Matteo
_______________________________________________
Qgis-developer mailing list
[email protected]
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer

Reply via email to