From Anthony Clemento:
When I call close_matching_samples for the 2019 fishery mixture I get the following error:
Factor collection contains implicit NA, consider using forcats::fct_explicit_na Error: by required, because the data sources have no common variables
When I call close_matching_samples using the chinook_mix data I get and almost identical error:
Error: by required, because the data sources have no common variables
Call rlang::last_error() to see a backtrace
In addition: Warning message:
Factor collection contains implicit NA, consider using forcats::fct_explicit_na
However, if I bung a single reference individual to the end of my mixture tibble close_matching_samples runs successfully although still with the implicit NA warning, but this time for 'repunit':
Warning message:
Factor repunit contains implicit NA, consider using forcats::fct_explicit_na
R 3.6.1
rlang_0.4.0
dplyr_0.8.3
A good explanation of the warning on StackOverflow https://stackoverflow.com/questions/54999758/warning-factor-contains-implicit-na
From Anthony Clemento:
When I call close_matching_samples for the 2019 fishery mixture I get the following error:
Factor
collectioncontains implicit NA, consider usingforcats::fct_explicit_naError:byrequired, because the data sources have no common variablesWhen I call close_matching_samples using the chinook_mix data I get and almost identical error:
Error:
byrequired, because the data sources have no common variablesCall
rlang::last_error()to see a backtraceIn addition: Warning message:
Factor
collectioncontains implicit NA, consider usingforcats::fct_explicit_naHowever, if I bung a single reference individual to the end of my mixture tibble close_matching_samples runs successfully although still with the implicit NA warning, but this time for 'repunit':
Warning message:
Factor
repunitcontains implicit NA, consider usingforcats::fct_explicit_naR 3.6.1
rlang_0.4.0
dplyr_0.8.3
A good explanation of the warning on StackOverflow https://stackoverflow.com/questions/54999758/warning-factor-contains-implicit-na