check_sen2r_deps: Check package dependencies

View source: R/check_sen2r_deps.R

check_sen2r_depsR Documentation

Check package dependencies

Description

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

Usage

check_sen2r_deps()

Details

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.

Value

NULL (the function is called for its side effects)

Note

License: GPL 3.0

Author(s)

Luigi Ranghetti, phD (2019)

References

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. \Sexpr[results=rd]{tools:::Rd_expr_doi("10.1016/j.cageo.2020.104473")}, URL: https://sen2r.ranghetti.info/.

Examples

if (interactive()) {
  check_sen2r_deps()
}

sen2r documentation built on Nov. 10, 2023, 9:08 a.m.