file.exists.remote: Checks if a local or remote file exists.
Description
A wrapper around a bash script. Works with local files too if remote="".
Usage
file.exists.remote(file, remote = "")
Arguments
file
File path.
remote
Remote machine specification for ssh, in format such as user@server that does not
require interactive password entry. For local execution, pass an empty string "" (default).