Running ‘test-all.R’ [28s/37s]
Running the tests in ‘tests/test-all.R’ failed.
Complete output:
  > library(testthat)
  > test_check("NetLogoR")
  Loading required package: NetLogoR
  Error in pgmatrix(grobToPlot, col, real, size, minv, maxv, legend, legendText,  : 
    object 'nrowLegText' not found
  Error in pgmatrix(grobToPlot, col, real, size, minv, maxv, legend, legendText,  : 
    object 'nrowLegText' not found
  Error in pgmatrix(grobToPlot, col, real, size, minv, maxv, legend, legendText,  : 
    object 'nrowLegText' not found
  Error in pgmatrix(grobToPlot, col, real, size, minv, maxv, legend, legendText,  : 
    object 'nrowLegText' not found
  Error in pgmatrix(grobToPlot, col, real, size, minv, maxv, legend, legendText,  : 
    object 'nrowLegText' not found
  Error in pgmatrix(grobToPlot, col, real, size, minv, maxv, legend, legendText,  : 
    object 'nrowLegText' not found
  Error in pgmatrix(grobToPlot, col, real, size, minv, maxv, legend, legendText,  : 
    object 'nrowLegText' not found
  Error in pgmatrix(grobToPlot, col, real, size, minv, maxv, legend, legendText,  : 
    object 'nrowLegText' not found
  Error in pgmatrix(grobToPlot, col, real, size, minv, maxv, legend, legendText,  : 
    object 'nrowLegText' not found
  Error in pgmatrix(grobToPlot, col, real, size, minv, maxv, legend, legendText,  : 
    object 'nrowLegText' not found
  Error in pgmatrix(grobToPlot, col, real, size, minv, maxv, legend, legendText,  : 
    object 'nrowLegText' not found
  Error in pgmatrix(grobToPlot, col, real, size, minv, maxv, legend, legendText,  : 
    object 'nrowLegText' not found
  Error in pgmatrix(grobToPlot, col, real, size, minv, maxv, legend, legendText,  : 
    object 'nrowLegText' not found
  Error in pgmatrix(grobToPlot, col, real, size, minv, maxv, legend, legendText,  : 
    object 'nrowLegText' not found
  Error in pgmatrix(grobToPlot, col, real, size, minv, maxv, legend, legendText,  : 
    object 'nrowLegText' not found
  Error in pgmatrix(grobToPlot, col, real, size, minv, maxv, legend, legendText,  : 
    object 'nrowLegText' not found
  Error in pgmatrix(grobToPlot, col, real, size, minv, maxv, legend, legendText,  : 
    object 'nrowLegText' not found
  Error in pgmatrix(grobToPlot, col, real, size, minv, maxv, legend, legendText,  : 
    object 'nrowLegText' not found
  Error in pgmatrix(grobToPlot, col, real, size, minv, maxv, legend, legendText,  : 
    object 'nrowLegText' not found
  Error in pgmatrix(grobToPlot, col, real, size, minv, maxv, legend, legendText,  : 
    object 'nrowLegText' not found
  Error in pgmatrix(grobToPlot, col, real, size, minv, maxv, legend, legendText,  : 
    object 'nrowLegText' not found
  Error in pgmatrix(grobToPlot, col, real, size, minv, maxv, legend, legendText,  : 
    object 'nrowLegText' not found
  Error in pgmatrix(grobToPlot, col, real, size, minv, maxv, legend, legendText,  : 
    object 'nrowLegText' not found
  [ FAIL 1 | WARN 0 | SKIP 1 | PASS 1194 ]
  
  ══ Skipped tests (1) ═══════════════════════════════════════════════════════════
  • On CRAN (1): 'test-agentMatrix.R:145:3'
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Failure ('test-turtle-functions.R:397:3'): randomXcor and randomYcor work ───
  canMove(world = w1, turtles = t1, dist = 0) not identical to rep(TRUE, NLcount(t1)).
  1 element mismatch
  
  [ FAIL 1 | WARN 0 | SKIP 1 | PASS 1194 ]
  Error: Test failures
  Execution halted