Internal function: convenience function to compare two non-null CRS in tests without using EPSG (so usable with rgdal >= 1.5).

expect_equal_crs(crs1, crs2)

Arguments

crs1

CRS 1 to compare

crs2

CRS 2 to compare

Value

testthat::expect_equal() output.

Note

License: GPL 3.0

References

L. Ranghetti, M. Boschetti, F. Nutini, L. Busetto (2020). "sen2r": An R toolbox for automatically downloading and preprocessing Sentinel-2 satellite data. Computers & Geosciences, 139, 104473. DOI: 10.1016/j.cageo.2020.104473, URL: http://sen2r.ranghetti.info/.