check_geoserver {VicmapR} | R Documentation |
Check Geoserver Response
Description
VicmapR relies upon a functioning geoserver. If for whatever reason the geoserver is not functioning then the functions in this package will not work. This function will check the response of the geoserver; erroring out if the connection is down.
Usage
check_geoserver(timeout = 15, quiet = FALSE)
Arguments
timeout |
numeric: the time (in seconds) to wait for the response before timing out (default is 15) |
quiet |
logical: whether to silently check the connection and if working, return nothing. If |
Value
logical, TRUE if the geoserver is working
Examples
try(
check_geoserver()
)
[Package VicmapR version 0.2.3 Index]