Check that the online climate data server is available and working correctly.
check_server(climatic_var = NULL, year = NULL, verbose = TRUE)
Optional. One of "Prcp", "Tmin", or "Tmax".
Optional. Year between 1950 and 2022.
Logical. Print diagnostic messages, or just return TRUE/FALSE?
TRUE if the server seems available, FALSE otherwise.
This function checks access to the latest version of the climatic dataset (version 4).
if (FALSE) { # interactive()
check_server()
}