The function allows to graphically check that all the optional runtime dependencies are installed.



NULL (the function is called for its side effects)


This package needs some external dependencies in order to run specific actions:

  • Sen2Cor for atmospheric correction;

  • GDAL for cloud mask smoothing and buffering;

  • aria2 to download SAFE images with an alternative downloader.

This function opens a GUI which allows to check that these dependencies are installed. This check is highly suggested before using the library for the fist time, in order to avoid errors.


License: GPL 3.0


L. Ranghetti, M. Boschetti, F. Nutini, L. Busetto (2020). "sen2r": An R toolbox for automatically downloading and preprocessing Sentinel-2 satellite data. Computers & Geosciences, 139, 104473. DOI: 10.1016/j.cageo.2020.104473, URL:


if (interactive()) { check_sen2r_deps() }