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
In Lesson 7 - Vector Shapefile Attributes in R, there is an error in the Challenge "Plot Line Width by Attribute". In the second line of the plotting code in the solution:
yes definitely. this has been there a while. I have eliminated size= completely from episode 7, along with the following changes from other issues:
#256 -- cutting the formatting that never gets demonstrated #341 -- softened the transition from points to lines #262 #357 #356 -- dplyr is needed, and I added the other necessary libraries #436 -- removing hard-coded maintainers list.
What is the problem?
In Lesson 7 - Vector Shapefile Attributes in R, there is an error in the Challenge "Plot Line Width by Attribute". In the second line of the plotting code in the solution:
geom_sf(data = lines_HARV, aes(size = TYPE)) +
should be:
geom_sf(data = lines_HARV, aes(linewidth = TYPE)) +
Using size in aes() doesn't change the linewidth properly in the figure. The figure in the solution should also be updated to show the true solution.
Location of problem (optional)
https://datacarpentry.github.io/r-raster-vector-geospatial/07-vector-shapefile-attributes-in-r.html
The text was updated successfully, but these errors were encountered: