Running ‘testthat.R’ [8s/12s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(ICvectorfields)
  > 
  > test_check("ICvectorfields")
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Failure (test-DispField.R:16:3): DispField correctly estimates displacement ──
  round(VFdf1$dispy, 7) (`actual`) not equal to -0.1111111 (`expected`).
  
    `actual`:  0.0
  `expected`: -0.1
  ── Failure (test-DispField.R:17:3): DispField correctly estimates displacement ──
  VFdf1$dispx (`actual`) not equal to 0 (`expected`).
  
    `actual`: 0.1
  `expected`: 0.0
  ── Failure (test-DispFieldST.R:27:3): DispFieldST correctly estimates vertical velocity ──
  round(VFdf2$dispy, 7) (`actual`) not equal to -0.1111111 (`expected`).
  
    `actual`: -0.0
  `expected`: -0.1
  ── Failure (test-DispFieldST.R:28:3): DispFieldST correctly estimates vertical velocity ──
  VFdf2$dispx (`actual`) not equal to 0 (`expected`).
  
    `actual`: 0.1
  `expected`: 0.0
  ── Failure (test-DispFieldSTall.R:27:3): DispFieldSTall correctly estimates vertical velocity ──
  round(VFdf4$dispy, 7) (`actual`) not equal to -0.1111111 (`expected`).
  
    `actual`: -0.0
  `expected`: -0.1
  ── Failure (test-DispFieldSTall.R:28:3): DispFieldSTall correctly estimates vertical velocity ──
  VFdf4$dispx (`actual`) not equal to 0 (`expected`).
  
    `actual`: 0.1
  `expected`: 0.0
  ── Failure (test-DispFieldSTbb.R:22:3): DispFieldST correctly estimates vertical velocity ──
  round(VFdf3$dispy, 7) (`actual`) not equal to -0.1111111 (`expected`).
  
    `actual`: -0.0
  `expected`: -0.1
  ── Failure (test-DispFieldSTbb.R:23:3): DispFieldST correctly estimates vertical velocity ──
  VFdf3$dispx (`actual`) not equal to 0 (`expected`).
  
    `actual`: 0.1
  `expected`: 0.0
  ── Failure (test-DispFieldSTbball.R:27:3): DispFieldSTbball correctly estimates vertical velocity ──
  round(VFdf5$dispy, 7) (`actual`) not equal to -0.1111111 (`expected`).
  
    `actual`: -0.0
  `expected`: -0.1
  ── Failure (test-DispFieldSTbball.R:28:3): DispFieldSTbball correctly estimates vertical velocity ──
  VFdf5$dispx (`actual`) not equal to 0 (`expected`).
  
    `actual`: 0.1
  `expected`: 0.0
  ── Failure (test-DispFieldbb.R:14:3): DispFieldbb correctly estimates displacement ──
  round(VFdf1$dispy, 7) (`actual`) not equal to -0.1111111 (`expected`).
  
    `actual`:  0.0
  `expected`: -0.1
  ── Failure (test-DispFieldbb.R:15:3): DispFieldbb correctly estimates displacement ──
  VFdf1$dispx (`actual`) not equal to 0 (`expected`).
  
    `actual`: 0.1
  `expected`: 0.0
  ── Failure (test-utils_functions.R:30:3): raster to matrix conversion works ────
  RastToMatrix(rastz) (`actual`) not equal to `matz` (`expected`).
  
  actual vs expected
                  [,1] [,2] [,3]
  - actual[1, ]      1    4    7
  + expected[1, ]    1    2    3
  - actual[2, ]      2    5    8
  + expected[2, ]    4    5    6
  - actual[3, ]      3    6    9
  + expected[3, ]    7    8    9
  
  [ FAIL 13 | WARN 0 | SKIP 0 | PASS 8 ]
  Error: Test failures
  Execution halted