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
I updated R to Version 4.4 and lost some functionality within the Raster package (and packages downstream that use Raster will be affected). It became apparent when this portion of code would not run after updating:
This is early in the assignment, and downstream raster functions are not supported either.
The error message shows up when you hit data=rast(lc_change), and the usual workarounds (specifying the package from which you're calling the command OR replacing "rast" with "raster") do not work.
The text was updated successfully, but these errors were encountered:
I updated R to Version 4.4 and lost some functionality within the Raster package (and packages downstream that use Raster will be affected). It became apparent when this portion of code would not run after updating:
ggplot() +
geom_sf(data=houstonMSA) +
geom_raster(data=rast(lc_change) %>% na.omit %>% filter(value > 0),
aes(x,y,fill=as.factor(value))) +
scale_fill_viridis(direction = -1, discrete=TRUE, name ="Land Cover\nChange") +
labs(title = "Land Cover Change, 2000-2010") +
mapTheme +
theme(legend.direction="horizontal")
This is early in the assignment, and downstream raster functions are not supported either.
The error message shows up when you hit data=rast(lc_change), and the usual workarounds (specifying the package from which you're calling the command OR replacing "rast" with "raster") do not work.
The text was updated successfully, but these errors were encountered: