Skip to content

Commit

Permalink
add lwgeom:: namesace and fix warn bug #88 (comment)
Browse files Browse the repository at this point in the history
  • Loading branch information
timelyportfolio committed Jan 21, 2019
1 parent d0fa02e commit a50b211
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions R/edit.R
Original file line number Diff line number Diff line change
Expand Up @@ -305,10 +305,10 @@ editFeatures.sf = function(
if(requireNamespace("lwgeom")) {
tryCatch(
{
merged <- st_make_valid(merged)
merged <- lwgeom::st_make_valid(merged)
},
error = function(e) {
warn("unable to make valid with lwgeom; please inspect closely", call. = FALSE)
warning("unable to make valid with lwgeom; please inspect closely", call. = FALSE)
}
)
} else {
Expand Down

0 comments on commit a50b211

Please sign in to comment.