View source: R/check_geoserver.R
check_geoserver | R Documentation |
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.
check_geoserver(timeout = 15, quiet = FALSE)
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 |
logical, TRUE if the geoserver is working
try(
check_geoserver()
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.