Running ‘testthat.R’ [15s/18s]
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")
  Error in download.file(gurl, filename, mode = "wb", quiet = TRUE) : 
    cannot open URL 'http://maps.googleapis.com/maps/api/staticmap?center=47.7510831325931,8.92962154577853&zoom=16&size=500x500&maptype=satellite&format=gif&sensor=false&scale=1'
  ── 1. Error: animate_move GIF (@test-animate_move.R#3)  ────────────────────────
  Download from Google failed. Please check your internet connection.
  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("Download from Google failed. Please check your internet connection.", type = 3)
  6: stop(input, call. = FALSE)
  
  Error in download.file(gurl, filename, mode = "wb", quiet = TRUE) : 
    cannot open URL 'http://maps.googleapis.com/maps/api/staticmap?center=47.7510831325931,8.92962154577853&zoom=16&size=500x500&maptype=satellite&format=gif&sensor=false&scale=1'
  ── 2. Error: animate_move MOV (@test-animate_move.R#11)  ───────────────────────
  Download from Google failed. Please check your internet connection.
  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("Download from Google failed. Please check your internet connection.", type = 3)
  6: stop(input, call. = FALSE)
  
  ══ testthat results  ═══════════════════════════════════════════════════════════
  OK: 9 SKIPPED: 0 FAILED: 2
  1. Error: animate_move GIF (@test-animate_move.R#3) 
  2. Error: animate_move MOV (@test-animate_move.R#11) 
  
  Error: testthat unit tests failed
  Execution halted