Running ‘testthat.R’ [102s/114s]
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: 1396 Segmentation Fault(coredump)
  ── 1. Error: animate_move GIF (@test-animate_move.R#3)  ────────────────────────
  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:3
  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)
  
  ── 2. Error: animate_move MOV (@test-animate_move.R#11)  ───────────────────────
  out_format = 'mov' with conv_dir = 'convert' is not supported.
  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 = "mov")) at testthat/test-animate_move.R:11
  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 = "mov")
  5: out(paste0("out_format = '", out_format, "' with conv_dir = '", conv_dir, "' is not supported."), 
         type = 3)
  6: stop(input, call. = FALSE)
  
  ── 3. Failure: get_libraries() – all (@test-get_libraries.R#4)  ────────────────
  x <- get_libraries() not identical to c("convert", "ffmpeg").
  Lengths differ: 1 is not 2
  
  ══ testthat results  ═══════════════════════════════════════════════════════════
  OK: 15 SKIPPED: 0 FAILED: 3
  1. Error: animate_move GIF (@test-animate_move.R#3) 
  2. Error: animate_move MOV (@test-animate_move.R#11) 
  3. Failure: get_libraries() – all (@test-get_libraries.R#4) 
  
  Error: testthat unit tests failed
  Execution halted