Skip to content

Commit e24b5f6

Browse files
committed
clean test output
1 parent 7c860cc commit e24b5f6

File tree

1 file changed

+41
-10
lines changed

1 file changed

+41
-10
lines changed

tests/crs.Rout.save

Lines changed: 41 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11

2-
R version 4.2.2 Patched (2022-11-10 r83330) -- "Innocent and Trusting"
3-
Copyright (C) 2022 The R Foundation for Statistical Computing
2+
R version 4.2.3 (2023-03-15) -- "Shortstop Beagle"
3+
Copyright (C) 2023 The R Foundation for Statistical Computing
44
Platform: x86_64-pc-linux-gnu (64-bit)
55

66
R is free software and comes with ABSOLUTELY NO WARRANTY.
@@ -74,8 +74,6 @@ POINT (111319.5 111325.1)
7474
+ stopifnot(inherits(try(sf_project("+proj=longlat", "+proj=bar", matrix(1:4,2)), silent = TRUE), "try-error"))
7575
+ stopifnot(inherits(try(sf_project("+proj=foo", "+proj=longlat", matrix(1:4,2)), silent = TRUE), "try-error"))
7676
+ }
77-
proj_create: Error 1027 (Invalid value for an argument): Unknown projection
78-
proj_create: Error 1027 (Invalid value for an argument): Unknown projection
7977
>
8078
> if (sf_extSoftVersion()["USE_PROJ_H"] == "true" || sf_proj_info("have_datum_files")) {
8179
+ "datum files installed"
@@ -95,9 +93,45 @@ proj_create: Error 1027 (Invalid value for an argument): Unknown projection
9593
+ y = as(y0, "CRS")
9694
+ cat(sp::wkt(y), "\n")
9795
+ }
98-
96+
GEOGCRS["WGS 84",
97+
ENSEMBLE["World Geodetic System 1984 ensemble",
98+
MEMBER["World Geodetic System 1984 (Transit)",
99+
ID["EPSG",1166]],
100+
MEMBER["World Geodetic System 1984 (G730)",
101+
ID["EPSG",1152]],
102+
MEMBER["World Geodetic System 1984 (G873)",
103+
ID["EPSG",1153]],
104+
MEMBER["World Geodetic System 1984 (G1150)",
105+
ID["EPSG",1154]],
106+
MEMBER["World Geodetic System 1984 (G1674)",
107+
ID["EPSG",1155]],
108+
MEMBER["World Geodetic System 1984 (G1762)",
109+
ID["EPSG",1156]],
110+
MEMBER["World Geodetic System 1984 (G2139)",
111+
ID["EPSG",1309]],
112+
ELLIPSOID["WGS 84",6378137,298.257223563,
113+
LENGTHUNIT["metre",1],
114+
ID["EPSG",7030]],
115+
ENSEMBLEACCURACY[2.0],
116+
ID["EPSG",6326]],
117+
PRIMEM["Greenwich",0,
118+
ANGLEUNIT["degree",0.0174532925199433],
119+
ID["EPSG",8901]],
120+
CS[ellipsoidal,2],
121+
AXIS["longitude",east,
122+
ORDER[1],
123+
ANGLEUNIT["degree",0.0174532925199433,
124+
ID["EPSG",9122]]],
125+
AXIS["latitude",north,
126+
ORDER[2],
127+
ANGLEUNIT["degree",0.0174532925199433,
128+
ID["EPSG",9122]]],
129+
USAGE[
130+
SCOPE["unknown"],
131+
AREA["World."],
132+
BBOX[-90,-180,90,180]]]
99133
Coordinate Reference System:
100-
User input: +init=epsg:4326
134+
User input: WGS 84
101135
wkt:
102136
GEOGCRS["WGS 84",
103137
ENSEMBLE["World Geodetic System 1984 ensemble",
@@ -162,9 +196,6 @@ GEOGCRS["WGS 84",
162196
AREA["World."],
163197
BBOX[-90,-180,90,180]],
164198
ID["EPSG",4326]]
165-
Warning message:
166-
In CPL_crs_from_input(x) :
167-
GDAL Message 1: +init=epsg:XXXX syntax is deprecated. It might return a CRS with a non-EPSG compliant axis order.
168199
>
169200
> # https://github.com/r-spatial/sf/issues/1170
170201
> g = st_as_sfc("POLYGON ((-61.66957 10.69214, -61.565 10.75728, -61.37453 10.77654, -61.40721 10.60681, -61.66957 10.69214))")
@@ -182,4 +213,4 @@ In CPL_crs_from_input(x) :
182213
>
183214
> proc.time()
184215
user system elapsed
185-
1.217 0.763 1.086
216+
1.345 0.712 1.171

0 commit comments

Comments
 (0)