The wk_crs_equal() function uses special S3 dispatch on wk_crs_equal_generic() to evaluate whether or not two CRS values can be considered equal. When implementing wk_crs_equal_generic(), every attempt should be made to make wk_crs_equal(x, y) and wk_crs_equal(y, x) return identically.

wk_crs_equal(x, y)

wk_crs_equal_generic(x, y, ...)


x, y

Objects stored in the crs attribute of a vector.




TRUE if x and y can be considered equal, FALSE otherwise.