You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
transmit_along_path is tested against an object created by crw_in_polygon using the to-be-deprecated SpatialPointsDataFrame greatLakesPoly (inst/testdata/test-transmit_along_path-tr_spin_spout.rds). Unfortunately, using the sf great_lakes_polygon will not be a drop-in replacement for the test as it creates different CRS output at the crw_in_polygon level (see below).
Error: `sp_in` (`actual`) not equal to `sf_in` (`expected`).
attr(actual$geometry, 'crs')$input vs attr(expected$geometry, 'crs')$input
- "WGS 84 (with axis order normalized for visualization)"
+ "EPSG:4326"
lines(attr(actual$geometry, 'crs')$wkt) vs lines(attr(expected$geometry, 'crs')$wkt)
- "GEOGCRS[\"WGS 84 (with axis order normalized for visualization)\","
+ "GEOGCRS[\"WGS 84\","
" DATUM[\"World Geodetic System 1984\","
" ELLIPSOID[\"WGS 84\",6378137,298.257223563,"
- " LENGTHUNIT[\"metre\",1]],"
+ " LENGTHUNIT[\"metre\",1]]],"
- " ID[\"EPSG\",6326]],"
+ " PRIMEM[\"Greenwich\",0,"
- " PRIMEM[\"Greenwich\",0,"
+ " ANGLEUNIT[\"degree\",0.0174532925199433]],"
- " ANGLEUNIT[\"degree\",0.0174532925199433],"
+ " CS[ellipsoidal,2],"
- " ID[\"EPSG\",8901]],"
+ "
The text was updated successfully, but these errors were encountered:
mhpob
changed the title
Deprecation of greatLakesPoly will break tests for transmit_along_path
Future removal of greatLakesPoly will break tests for transmit_along_pathJan 14, 2024
transmit_along_path
is tested against an object created bycrw_in_polygon
using the to-be-deprecated SpatialPointsDataFramegreatLakesPoly
(inst/testdata/test-transmit_along_path-tr_spin_spout.rds
). Unfortunately, using the sfgreat_lakes_polygon
will not be a drop-in replacement for the test as it creates different CRS output at thecrw_in_polygon
level (see below).The text was updated successfully, but these errors were encountered: