check_host.Rd
Check if code is running remotely and react accordingly.
check_host(auto_connect = FALSE, verbose = FALSE)
Set to TRUE if you want the function to create an ssh session (if necessary).
Set this to TRUE for verbose messages from the function.
TRUE if a remote session is detected, FALSE otherwise.
The function will (optionally) attempt a connection if necessary, and stores it in a global variable (ssh_session).
check_host(auto_connect=TRUE)
#> [1] FALSE