north-road / qgis-processing-r

QGIS Processing R Provider Plugin
https://north-road.github.io/qgis-processing-r/
GNU General Public License v3.0
63 stars 14 forks source link

question about montecarlo script #132

Closed Cebrian007 closed 5 months ago

Cebrian007 commented 5 months ago

Hello everyone,

The library maptools was needed to run the montecarlo script, but this library has been removed from Cran. My question is if in the latest version of the plugin maptools is still needed to run the script montecarlo or the script has been updated and uses other libraries.

Many thanks in advance.

All the best,

David

JanCaha commented 5 months ago

If you use the package in the script then yes, you need that package. Since maptools have been officially removed along with some other packages like rgdal, it is best to rewrite the script using other packages - like sp, sf and whatever else you need.

You could probably install maptools from CRAN archive sources, but quite likely you will run into dependency issues. I understand that it is not what one would like to do, but things like that really ask for rewriting the stuff using more up to date packages.

Cebrian007 commented 5 months ago

Many thanks for your answer @JanCaha