Closed Aariq closed 1 year ago
Made a typo and did remote.copy.to(host = settings$hots, ...) and rsync failed with uninformative error. It ended up running this:
remote.copy.to(host = settings$hots, ...)
rsync '-a' '-q' '/path/to/src' ' :/path/to/dst'
instead of
rsync '-a' '-q' '/path/to/src' ' username@host:/path/to/dst'
PEcAn functions should fail early if host is NULL with informative message.
host
NULL
I would like to work on this issue.
Bug Description
Made a typo and did
remote.copy.to(host = settings$hots, ...)
and rsync failed with uninformative error. It ended up running this:instead of
Expected behavior
PEcAn functions should fail early if
host
isNULL
with informative message.