Names in indexed errors in map2()
can be misleading
#1151
Labels
feature
a feature request or enhancement
map2()
can be misleading
#1151
The recently introduced indexed error messages are super helpful, many thanks! However, I’ve spent some time head-scratching recently because I had some ill-sorted named lists that I wanted to merge using
dplyr
'sbind_rows()
and the error message sort of navigated me to compare list elements by name, not by index.Maybe in case of
map2()
, can we have a note that the name of list element refers only to the first list? Or even better, names of both lists could be provided. If both names are equal at the given index, it can be left as it is currently implemented.What do you think about that?
Created on 2024-09-11 with reprex v2.1.0
The text was updated successfully, but these errors were encountered: