Running ‘testthat.R’ [24s/36s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(wk)
  > 
  > test_check("wk")
  [ FAIL 12 | WARN 0 | SKIP 0 | PASS 1599 ]
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Failure ('test-grd-subset.R:372:3'): grd_cell_xy() works for grd_rct() ──────
  grd_cell_xy(empty, 0, 0) (`actual`) not identical to xy(NA, NA) (`expected`).
  
    `actual$x`: NaN
  `expected$x`:  NA
  
    `actual$y`: NaN
  `expected$y`:  NA
  ── Failure ('test-grd-subset.R:398:3'): grd_cell_xy() works for grd_xy() ───────
  grd_cell_xy(empty, 0, 0) (`actual`) not identical to xy(NA, NA) (`expected`).
  
    `actual$x`: NaN
  `expected$x`:  NA
  
    `actual$y`: NaN
  `expected$y`:  NA
  ── Failure ('test-pkg-sf.R:127:3'): conversion to sf works ─────────────────────
  sf::st_as_sf(wkb) (`actual`) not equal to `sf` (`expected`).
  
    `unclass(actual$geometry[[1]])`: NaN NaN
  `unclass(expected$geometry[[1]])`:  NA  NA
  ── Failure ('test-pkg-sf.R:128:3'): conversion to sf works ─────────────────────
  sf::st_as_sfc(wkb) (`actual`) not equal to `sfc` (`expected`).
  
    `unclass(actual[[1]])`: NaN NaN
  `unclass(expected[[1]])`:  NA  NA
  ── Failure ('test-pkg-sf.R:133:3'): conversion to sf works ─────────────────────
  sf::st_as_sf(xy(c(NA, 0, NA), c(NA, 1, NA), crs = 4326)) (`actual`) not equal to `sf` (`expected`).
  
    `unclass(actual$geometry[[1]])`: NaN NaN
  `unclass(expected$geometry[[1]])`:  NA  NA
  
    `unclass(actual$geometry[[3]])`: NaN NaN
  `unclass(expected$geometry[[3]])`:  NA  NA
  ── Failure ('test-pkg-sf.R:134:3'): conversion to sf works ─────────────────────
  sf::st_as_sfc(xy(c(NA, 0, NA), c(NA, 1, NA), crs = 4326)) (`actual`) not equal to `sfc` (`expected`).
  
    `unclass(actual[[1]])`: NaN NaN
  `unclass(expected[[1]])`:  NA  NA
  
    `unclass(actual[[3]])`: NaN NaN
  `unclass(expected[[3]])`:  NA  NA
  ── Failure ('test-sfc-writer.R:9:3'): sfc_writer() works with fixed-length input ──
  wk_handle(...) (`actual`) not equal to sf::st_sfc(...) (`expected`).
  
    `unclass(actual[[1]])`: NaN NaN
  `unclass(expected[[1]])`:  NA  NA
  ── Failure ('test-sfc-writer.R:128:5'): sfc_writer() turns NULLs into EMPTY ────
  wk_handle(c(all_types[i], wkb(list(NULL))), sfc_writer()) (`actual`) not equal to wk_handle(c(all_types[i], all_types[i]), sfc_writer()) (`expected`).
  
    `unclass(actual[[2]])`:  NA  NA
  `unclass(expected[[2]])`: NaN NaN
  ── Failure ('test-sfc-writer.R:158:5'): sfc_writer() turns NULLs into EMPTY ────
  vec[[2]] (`actual`) not equal to wk_handle(all_types[i], sfc_writer())[[1]] (`expected`).
  
    `unclass(actual)`:  NA  NA
  `unclass(expected)`: NaN NaN
  ── Failure ('test-sfc-writer.R:172:5'): sfc_writer() turns NULLs into EMPTY ────
  wk_handle(c(zm_types[i], wkb(list(NULL))), sfc_writer()) (`actual`) not equal to wk_handle(c(zm_types[i], zm_types_empty[i]), sfc_writer()) (`expected`).
  
    `unclass(actual[[2]])`:  NA  NA  NA  NA
  `unclass(expected[[2]])`: NaN NaN NaN NaN
  ── Failure ('test-sfc-writer.R:172:5'): sfc_writer() turns NULLs into EMPTY ────
  wk_handle(c(zm_types[i], wkb(list(NULL))), sfc_writer()) (`actual`) not equal to wk_handle(c(zm_types[i], zm_types_empty[i]), sfc_writer()) (`expected`).
  
    `unclass(actual[[2]])`:  NA  NA  NA
  `unclass(expected[[2]])`: NaN NaN NaN
  ── Failure ('test-sfc-writer.R:172:5'): sfc_writer() turns NULLs into EMPTY ────
  wk_handle(c(zm_types[i], wkb(list(NULL))), sfc_writer()) (`actual`) not equal to wk_handle(c(zm_types[i], zm_types_empty[i]), sfc_writer()) (`expected`).
  
    `unclass(actual[[2]])`:  NA  NA  NA
  `unclass(expected[[2]])`: NaN NaN NaN
  
  [ FAIL 12 | WARN 0 | SKIP 0 | PASS 1599 ]
  Error: Test failures
  Execution halted