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
Related to #767 , and how I found it. For some reason get_main_branch() is always running get_main_branch_config() even when it shouldn't because the tests on line 83 (remote %in% remote_list$name) and 85 (length(remote_main)) succeed.
There's 2 possibilities I can think of. The first is there's a build time issue leading to the tests failing in the function but working when the same lines of code are run interactively, or for some other reason the function isn't ending at the return() call and because the implied "else" clause isn't in an explicit else{} section get_main_branch_config() keeps getting run.
Parallel to all that length() is as in #767 not a good test for dataframes.
The text was updated successfully, but these errors were encountered:
what I find more problematic is that if the "origin" branch doesn't exist, get_main_branch_remote() will error. (I ran get_main_branch_remote("bla") to try). so that should probably be made more robust.
Related to #767 , and how I found it. For some reason
get_main_branch()
is always runningget_main_branch_config()
even when it shouldn't because the tests on line 83 (remote %in% remote_list$name
) and 85 (length(remote_main)
) succeed.There's 2 possibilities I can think of. The first is there's a build time issue leading to the tests failing in the function but working when the same lines of code are run interactively, or for some other reason the function isn't ending at the
return()
call and because the implied "else" clause isn't in an explicitelse{}
sectionget_main_branch_config()
keeps getting run.Parallel to all that
length()
is as in #767 not a good test for dataframes.The text was updated successfully, but these errors were encountered: