New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
need a sort of unique(kNNnames) in loadKNNspeciesLayers #10
Comments
achubaty
added a commit
to ianmseddy/LandR
that referenced
this issue
Mar 26, 2019
will deal with in new PR for PredictiveEcology#10
we need to verify the correct behaviour and ensure that sorting matches the order of the layers. this change should definitely be accompanied by unit tests that verify the behaviour. |
from Tati:
|
any updates on this? |
No clue, but presumably it's been fixed? |
this looks fixed in branch: correctOrder <- sapply(unique(kNNnames), function(x) grep(pattern = x, x = targetFiles, value = TRUE))
names(speciesLayers) <- names(correctOrder)[match(correctOrder, targetFiles)] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Line 413 needs to be sorted first or it may potentially mix up species:
but should be something like
The text was updated successfully, but these errors were encountered: