I am glad you sorted this out, but the issue still bugs me. Real life™ prevented me from looking into this in a finer detail, but it still feels wrong.
The workshop I was refering to was https://github.com/rstudio-conf-2020/geospatial, but we did not touch it in the main line; I was just goofing off with a participant who had some time left, having finished her exercises early.