expect_equal_crs: Compare two non-null CRS

View source: R/expect_equal_crs.R

expect_equal_crsR Documentation

Compare two non-null CRS

Description

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

Usage

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

Author(s)

Luigi Ranghetti, phD (2020)

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. \Sexpr[results=rd]{tools:::Rd_expr_doi("10.1016/j.cageo.2020.104473")}, URL: https://sen2r.ranghetti.info/.


sen2r documentation built on Nov. 10, 2023, 9:08 a.m.