Running ‘testthat.R’ [143s/160s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(moveVis)
  > 
  > Sys.setenv("R_TESTS" = "") ## needed to pass R CMD check: https://github.com/hadley/testthat/issues/144
  > 
  > test_check("moveVis")
  ./batch.bat: 19212 Segmentation Fault(coredump)
  ── 1. Error: animate_move GIF (@test-animate_move.R#4)  ────────────────────────
  Output file could not be found.
  1: expect_null(animate_move(vars.global$m, vars.global$out_dir, vars.global$conv_dir, 
         tail_elements = 10, paths_mode = "true_data", frames_nmax = 20, log_level = 3, 
         extent_factor = 2e-04, out_format = "gif")) at testthat/test-animate_move.R:4
  2: quasi_label(enquo(object), label)
  3: eval_bare(get_expr(quo), get_env(quo))
  4: animate_move(vars.global$m, vars.global$out_dir, vars.global$conv_dir, tail_elements = 10, 
         paths_mode = "true_data", frames_nmax = 20, log_level = 3, extent_factor = 2e-04, 
         out_format = "gif")
  5: out("Output file could not be found.", type = 3)
  6: stop(input, call. = FALSE)
  
  ./batch.bat: 19287 Segmentation Fault(coredump)
  ── 2. Error: animate_raster (gradient) GIF (@test-animate_raster.R#4)  ─────────
  Output file could not be found.
  1: expect_null(animate_raster(vars.global$r_bm, out_dir = vars.global$out_dir, conv_dir = vars.global$conv_dir, 
         layer_type = "gradient", log_level = 3, out_format = "gif", out_name = "mVar")) at testthat/test-animate_raster.R:4
  2: quasi_label(enquo(object), label)
  3: eval_bare(get_expr(quo), get_env(quo))
  4: animate_raster(vars.global$r_bm, out_dir = vars.global$out_dir, conv_dir = vars.global$conv_dir, 
         layer_type = "gradient", log_level = 3, out_format = "gif", out_name = "mVar")
  5: animate_move(raster_only = TRUE, layer = layer, layer_dt = layer_dt, layer_stretch = layer_stretch, 
         out_dir = out_dir, conv_dir = conv_dir, layer_type = layer_type, layer_col = layer_col, 
         layer_nacol = layer_nacol, ...)
  6: out("Output file could not be found.", type = 3)
  7: stop(input, call. = FALSE)
  
  ./batch.bat: 19916 Segmentation Fault(coredump)
  ── 3. Error: animate_raster (gradient) with timestamps GIF (@test-animate_raster
  Output file could not be found.
  1: expect_null(animate_raster(vars.global$r_bm, layer_dt = vars.global$dt_bm, out_dir = vars.global$out_dir, 
         conv_dir = vars.global$conv_dir, layer_type = "gradient", log_level = 3, out_format = "gif", 
         out_name = "mVar_dt")) at testthat/test-animate_raster.R:8
  2: quasi_label(enquo(object), label)
  3: eval_bare(get_expr(quo), get_env(quo))
  4: animate_raster(vars.global$r_bm, layer_dt = vars.global$dt_bm, out_dir = vars.global$out_dir, 
         conv_dir = vars.global$conv_dir, layer_type = "gradient", log_level = 3, out_format = "gif", 
         out_name = "mVar_dt")
  5: animate_move(raster_only = TRUE, layer = layer, layer_dt = layer_dt, layer_stretch = layer_stretch, 
         out_dir = out_dir, conv_dir = conv_dir, layer_type = layer_type, layer_col = layer_col, 
         layer_nacol = layer_nacol, ...)
  6: out("Output file could not be found.", type = 3)
  7: stop(input, call. = FALSE)
  
  ══ testthat results  ═══════════════════════════════════════════════════════════
  OK: 15 SKIPPED: 1 FAILED: 3
  1. Error: animate_move GIF (@test-animate_move.R#4) 
  2. Error: animate_raster (gradient) GIF (@test-animate_raster.R#4) 
  3. Error: animate_raster (gradient) with timestamps GIF (@test-animate_raster.R#8) 
  
  Error: testthat unit tests failed
  Execution halted