Skip to content

Commit

Permalink
remove the od::
Browse files Browse the repository at this point in the history
  • Loading branch information
mem48 committed Aug 19, 2024
1 parent 469533c commit dd9c8f5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions R/points_to_od.R
Original file line number Diff line number Diff line change
Expand Up @@ -84,15 +84,15 @@ points_to_od.sf = function(p, pd = NULL, interzone_only = FALSE, ids_only = FALS


if(interzone_only) {
odf = od::od_interzone(odf)
odf = od_interzone(odf)
}
if(ids_only) {
return(odf)
}
if(single_geometry) {
odc = od::od_coordinates(odf, p)
odc = od_coordinates(odf, p)
} else {
odc = od::od_coordinates(odf, p, pd = pd)
odc = od_coordinates(odf, p, pd = pd)
}
cbind(odf, odc)
}
Expand Down

0 comments on commit dd9c8f5

Please sign in to comment.