Skip to content

Commit

Permalink
Fix st_erase example (add missing sf prefixes)
Browse files Browse the repository at this point in the history
  • Loading branch information
elipousson committed Oct 9, 2024
1 parent bc2daed commit fd54df4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions examples/st_erase.R
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ nc <- st_transform_ext(nc, 3657)

plot(
st_erase(
st_buffer(nc[1, ], 1000),
sf::st_buffer(nc[1, ], 1000),
nc[1, ]
),
max.plot = 1
Expand All @@ -13,7 +13,7 @@ plot(
plot(
st_trim(
nc,
st_buffer(nc[1, ], 2000)
sf::st_buffer(nc[1, ], 2000)
),
max.plot = 1
)

0 comments on commit fd54df4

Please sign in to comment.