Running 'spelling.R' [0s]
  Running 'testthat.R' [255s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > library(detrendr)
  > 
  > test_check("detrendr")
  -- 1. Failure: myrpois works on windows (@test-myrs.R#33)  ---------------------
  `myrp` not equal to c(-6, -4, -2, -1, -1, 0, 1, 6, 4, 6, 7).
  9/11 mismatches (average diff: 2.33)
  [1]  -8 - -6 == -2
  [2]  -7 - -4 == -3
  [3]  -4 - -2 == -2
  [4]  -3 - -1 == -2
  [5]   0 - -1 ==  1
  [7]   0 -  1 == -1
  [8]   1 -  6 == -5
  [9]   2 -  4 == -2
  [11]  4 -  7 == -3
  
  -- 2. Failure: rfromboxes works on windows (@test-myrs.R#88)  ------------------
  `rfb` not equal to c(1, 2, 2, 3, 2).
  2/5 mismatches (average diff: 1)
  [4] 2 - 3 == -1
  [5] 3 - 2 ==  1
  
  -- 3. Failure: rtoboxes works on windows (@test-myrs.R#138)  -------------------
  `rtb` not equal to c(2, 6, 0, 2).
  2/4 mismatches (average diff: 2)
  [2] 4 - 6 == -2
  [3] 2 - 0 ==  2
  
  -- 4. Failure: `myarray2vec()` works (@test-utils.R#131)  ----------------------
  `myarray2vec(...)` threw an error with unexpected message.
  Expected match: "You are requesting an array index outside the\\s?dimension of.+your array.+Row 3 of `iarr` is `c\\(3, 2,\\s?4, 5\\)` and `dim` is `c\\(4, 4,.+4, 4\\)`, so element 4\\s?of that row, 5, is too big as it is.+bigger than\\s?element 4 of `dim`, 4."
  Actual message: "You are requesting an array index outside the dimension of\nyour array.\n    * Row 1 of `iarr` is `c(5, 3, 3, 1)` and `dim` is `c(4, 4,\n      4, 4)`, so element 1 of that row, 5, is too big as it is\n      bigger than element 1 of `dim`, 4."
  
  == testthat results  ===========================================================
  OK: 213 SKIPPED: 9 FAILED: 4
  1. Failure: myrpois works on windows (@test-myrs.R#33) 
  2. Failure: rfromboxes works on windows (@test-myrs.R#88) 
  3. Failure: rtoboxes works on windows (@test-myrs.R#138) 
  4. Failure: `myarray2vec()` works (@test-utils.R#131) 
  
  Error: testthat unit tests failed
  Execution halted