You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
an improvement to sf revealed a coding error in opensensmapR, and breaks the vignette building. If you run osem-intro.Rmd up to line 147, and then do
> st_as_sf(pm25) |> names()
# [1] NA NA NA NA NA NA "NA."
you see that the column names vanished. This now breaks because the geometry column name is set to geometry and passed on to sf_sf() where it needs to be found (but isn't). The error comes from https://github.com/sensebox/opensensmapR/blob/master/R/external_generics.R#L27
where mostattributes<- fails to set names when columns are deselected:
pm25[-c(3,4)] |> head()
# NULL
The text was updated successfully, but these errors were encountered:
an improvement to
sf
revealed a coding error in opensensmapR, and breaks the vignette building. If you runosem-intro.Rmd
up to line 147, and then doyou see that the column names vanished. This now breaks because the geometry column name is set to
geometry
and passed on tosf_sf()
where it needs to be found (but isn't). The error comes fromhttps://github.com/sensebox/opensensmapR/blob/master/R/external_generics.R#L27
where
mostattributes<-
fails to set names when columns are deselected:The text was updated successfully, but these errors were encountered: