Skip to content
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

summarise_ds_models spits error when dealing with uniform without adjustments #180

Open
erex opened this issue Mar 19, 2024 · 1 comment

Comments

@erex
Copy link
Member

erex commented Mar 19, 2024

Question from list on 18Mar24 about an error message:

Minimum reproducible example

library(Distance)
data(ducknest)
x <- ds(ducknest, key="unif", adjustment = NULL)
summarize_ds_models(x)
Error in `[.data.frame`(res, , 4:7) : undefined columns selected
@erex
Copy link
Member Author

erex commented Apr 8, 2024

Debugging with MRE above:

Line that throws the error is 110 in summarize_ds_models.R. res data frame contains only 6 columns, hence res[, 4:7] results in undefined column message.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant