Closed ratnanil closed 8 months ago
options(warn=2)
?
I was rather hoping for a fix. Not for me, but my students... But feel free to close this as wontfix
. I also posted this here for other people stumbling over this issue.
Teach your students that in R, warnings are not to be ignored.
If anything, this is an units
issue, not an sf
issue.
Describe the bug
I'm not sure if I should place this issue here or here.
In any case,
st_distance
units seem to be incompatible withdifftime
units. Is there a possibility to fix this?To Reproduce
The object
speed
has the wrong unit (m
instead ofm/s
).timediff
needs to be converted withas_units()
Now the unit is correct