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
In function commodity_lookup(), if there is one (and only one) search result for each element of the input arg values, the return is a named vector, regardless of whether arg return_char is TRUE or FALSE. The intention is for the function to return an unnamed vector if return_char is TRUE, and a list if return_char is FALSE.
010119 - Horses; live, other than pure-bred breeding animals
"010119"
010231 - Buffalo; live, pure-bred breeding animals
"010231"
0105 - Poultry; live, fowls of the species gallus domesticus, ducks, geese, turkeys and guinea fowls
"0105"
010594 - Poultry; live, fowls of the species Gallus domesticus, weighing more than 185g
"010594"
010119
"010119 - Horses; live, other than pure-bred breeding animals"
010231
"010231 - Buffalo; live, pure-bred breeding animals"
010594
"010594 - Poultry; live, fowls of the species Gallus domesticus, weighing more than 185g"
The text was updated successfully, but these errors were encountered:
In function
commodity_lookup()
, if there is one (and only one) search result for each element of the input argvalues
, the return is a named vector, regardless of whether argreturn_char
isTRUE
orFALSE
. The intention is for the function to return an unnamed vector ifreturn_char
isTRUE
, and a list ifreturn_char
isFALSE
.Here are two reproducible examples:
Ex. 1:
returns
Ex. 2:
returns
The text was updated successfully, but these errors were encountered: