Skip to content

Commit

Permalink
Merge pull request #39 from mdsumner/measures-named-message
Browse files Browse the repository at this point in the history
augment 'cheap' warn message with named measures
  • Loading branch information
mpadge authored May 10, 2024
2 parents 7c85bf9 + 8072c09 commit df073cd
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion R/utils.R
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,8 @@ check_max_d <- function (d, measure) {
message (
"Maximum distance is > 100km. The 'cheap' measure is ",
"inaccurate over such\nlarge distances, you'd likely ",
"be better using a different 'measure'."
"be better using a different 'measure', \n",
"one of 'haversine', 'vincenty', or 'geodesic'. "
)
}
}
Expand Down

0 comments on commit df073cd

Please sign in to comment.