Learn R Programming

sen2r (version 1.6.0)

check_gui_deps: Check GUI dependencies

Description

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

Usage

check_gui_deps(abort = TRUE)

Value

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

Arguments

abort

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

Author

Luigi Ranghetti, phD (2020)

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.

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. tools:::Rd_expr_doi("10.1016/j.cageo.2020.104473"), URL: https://sen2r.ranghetti.info/.

Examples

Run this code
# \donttest{
check_gui_deps()
# }

Run the code above in your browser using DataLab