check_gui_deps: Check GUI dependencies

View source: R/check_gui_deps.R

check_gui_depsR Documentation

Check GUI dependencies

Description

Check if suggested dependencies required to run the sen2r GUI are present.

Usage

check_gui_deps(abort = TRUE)

Arguments

abort

Logical parameter: if TRUE (default), the function aborts in case some packages need to be installed; if FALSE, a warning is shown.

Details

Packages required to run the GUI (shiny- and leaflet-related packages), which were sen2r dependencies until version 1.3.4, are now suggested dependencies. sen2r can be used without them with the exception of the GUI.

Value

Logical (invisible): TRUE if all the required packages are installed, FALSE (if abort = FALSE) or an error if some is missing.

Note

License: GPL 3.0

Author(s)

Luigi Ranghetti, phD (2020) luigi@ranghetti.info

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. doi: 10.1016/j.cageo.2020.104473, URL: https://sen2r.ranghetti.info/.

Examples


check_gui_deps()


sen2r documentation built on Sept. 22, 2022, 5:06 p.m.