You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The protocol argument check gets evaluated even when copy_type == "download" . It shouldn't. The !protocol %in% c("https", "ssh") in the if should only evaluate if copy_type == "clone" passes. So probably change & to && (preferred) or used nested ifs.
> ghdump::ghd_copy("co-analysis", "~/Desktop/co-analysis_copies", copy_type = "download")
Error in if (copy_type == "clone" & !protocol %in% c("https", "ssh")) { :
argument is of length zero
The text was updated successfully, but these errors were encountered:
The
protocol
argument check gets evaluated even whencopy_type == "download"
. It shouldn't. The!protocol %in% c("https", "ssh")
in theif
should only evaluate ifcopy_type == "clone"
passes. So probably change&
to&&
(preferred) or used nestedif
s.The text was updated successfully, but these errors were encountered: