nlrx
nlrx copied to clipboard
Turtle shapes that contain a space (e.g., "circle 2") ruin the simulation results tibble
I request the shape of a turtle in the metrics.turtles object, e.g.,
metrics.turtles <- list("turtles" = c("who", "shape"))
One of the shapes is "circle 2", but when creating the results tibble with nlrx::run_nl_all(nl), these are considered two separate character strings, "circle" and "2". This ruins the results tibble.
I assume this will also give problems for other turtle or link metrics that contain spaces.
Hi @aosavi, thanks for the bug report. Unfortunately, I barely have time to develop the package aside from critical failures and general maintenance. I hope to find a slot for fixing smaller bugs in the next weeks. For now, you could just create a duplicate of the shape in NetLogo and rename it to a string without spaces.