Closed milesalanmoore closed 2 years ago
Dear Miles, Thank you very much for raising this issue! I am at a conference today and tomorrow, but will try look into it as soon as possible. Jakob
Hi Miles,
I was able to replicate the error using the code example you took from the readme on GitHub.
The example from the GitHub readme was first written for an earlier version of the lsat_export_ts() function and we must have missed it when changing the default value for the option specifying the identifier column (now "sample_id" instead of previously "site").
Your code example should run if you change the column name from "site" to "smaple_id" when constructing the sf object of example locations.
[...]
st_sf() %>%
mutate(site = c("toolik_1",
"toolik_2",
[...]
should be:
[...]
st_sf() %>%
mutate(sample_id = c("toolik_1",
"toolik_2",
[...]
I fixed the bug in the code example provided in the readme. It should now work as intended. See e91a2bf0bbcf76cf75448848adc8a5ba8d454c32.
Jakob
Hello Dr. Logan Berner and Dr. Jakob Assman!
Thanks for this fantastic package. I am encountering an error I am having trouble debugging when I step through your lsat_export_ts() example in the readMe here on github.
I am running lsatTS 1.0.1.
running the task_list line here at the bottom returns:
I will post an update if I am able to solve this issue or reproduce it with other point geometries. Stepping away for now but I figured I would put this up here.
An update: Using my own geometries failed to reproduce this error. Only the readme example seems to be returning the above error.
Thank you both,
Miles Alan Moore INSTAAR