poissonconsulting / subfoldr2

An R package to facilitate saving and loading objects, data, plots, numbers and strings
https://poissonconsulting.github.io/subfoldr2/
Other
2 stars 0 forks source link

test-save-load.R error in test "save df as gpkg with linstring column and sf point" #97

Closed aylapear closed 1 year ago

aylapear commented 1 year ago

Currently there is an error due to #96 but it also appears to be a typo in the expect_identical() functions at the end. Since both the output and actual are the same object.

  expect_identical(gpkg$X, gpkg$X) 
  expect_identical(gpkg$Y, gpkg$Y)

I think it should be the data df expected argument

  expect_identical(gpkg$X, data$X) 
  expect_identical(gpkg$Y, data$Y)