From 1dc4c6f47476b68bf05fe965f4a3e7a24c84913a Mon Sep 17 00:00:00 2001 From: Anthony North Date: Tue, 19 Dec 2023 06:54:53 +0000 Subject: [PATCH] fix test - projjson not backwards compatible --- tests/testthat/test-wk-trans.R | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/testthat/test-wk-trans.R b/tests/testthat/test-wk-trans.R index b796029..fa82659 100644 --- a/tests/testthat/test-wk-trans.R +++ b/tests/testthat/test-wk-trans.R @@ -11,7 +11,7 @@ test_that("proj_trans print method works", { expect_match(str, "source_crs=OGC:CRS84", fixed = TRUE) expect_match(str, "target_crs=EPSG:3857", fixed = TRUE) - crs_to_crs2 <- proj_create(wk::wk_crs_projjson("OGC:CRS84"), 3857) + crs_to_crs2 <- proj_create("OGC:CRS84", 3857) str2 <- capture_output(print(crs_to_crs2)) expect_match(str2, "")