Running ‘testthat.R’ [163s/207s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(ggmap)
  Loading required package: ggplot2
  The legacy packages maptools, rgdal, and rgeos, underpinning the sp package,
  which was just loaded, will retire in October 2023.
  Please refer to R-spatial evolution reports for details, especially
  https://r-spatial.org/r/2023/05/15/evolution4.html.
  It may be desirable to make the sf package available;
  package maintainers should consider adding sf to Suggests:.
  The sp package is now running under evolution status 2
       (status 2 uses the sf package in place of rgdal)
  ℹ Google's Terms of Service: <https://mapsplatform.google.com>
  ℹ Please cite ggmap if you use it! Use `citation("ggmap")` for details.
  > library(FLightR)
  This is FLightR 0.5.2
   Note that for use of plotting functions relying on google maps you should get the Google maps api key
  
  > test_check("FLightR")
  `google_api_key` env var has not been setlikelihood correction turned off as no correction found in the calibration
  estimating dusks
  doing 1 
  doing 11 
  estimating dawns
  doing 1 
  doing 11 
  processing results
  likelihood correction turned off as no correction found in the calibration
  estimating dusks
  doing 1 
  doing 11 
  estimating dawns
  doing 1 
  doing 11 
  processing results
  likelihood correction turned off as no correction found in the calibration
  estimating dusks
  doing 1 
  doing 11 
  doing 21 
  doing 31 
  doing 41 
  doing 51 
  doing 61 
  doing 71 
  doing 81 
  estimating dawns
  doing 1 
  doing 11 
  doing 21 
  doing 31 
  doing 41 
  doing 51 
  doing 61 
  doing 71 
  doing 81 
  processing results
  likelihood correction turned off as no correction found in the calibration
  estimating dusks
  doing 1 
  doing 11 
  doing 21 
  doing 31 
  doing 41 
  doing 51 
  doing 61 
  doing 71 
  doing 81 
  estimating dawns
  doing 1 
  doing 11 
  doing 21 
  doing 31 
  doing 41 
  doing 51 
  doing 61 
  doing 71 
  doing 81 
  processing results
  likelihood correction turned off as no correction found in the calibration
  estimating dusks
  doing 1 
  doing 11 
  doing 21 
  doing 31 
  doing 41 
  doing 51 
  doing 61 
  doing 71 
  doing 81 
  estimating dawns
  doing 1 
  doing 11 
  doing 21 
  doing 31 
  doing 41 
  doing 51 
  doing 61 
  doing 71 
  doing 81 
  processing results
  likelihood correction turned off as no correction found in the calibration
  estimating dusks
  doing 1 
  doing 11 
  estimating dawns
  doing 1 
  doing 11 
  processing results
  [ FAIL 2 | WARN 25 | SKIP 0 | PASS 27 ]
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test_data_result_summary_and_plotting.R:36:4'): map_flightr_ggmap_works ──
  Error in `.make_numeric_version(x, strict, .standard_regexps()$valid_numeric_version)`: invalid non-character version specification 'x' (type: double)
  Backtrace:
      ▆
   1. └─base::Ops.numeric_version(...) at test_data_result_summary_and_plotting.R:36:3
   2.   └─base::as.numeric_version(e2)
   3.     └─base::numeric_version(x)
   4.       └─base::.make_numeric_version(x, strict, .standard_regexps()$valid_numeric_version)
  ── Error ('test_data_result_summary_and_plotting.R:69:4'): plot_util_distr_works ──
  Error in `.make_numeric_version(x, strict, .standard_regexps()$valid_numeric_version)`: invalid non-character version specification 'x' (type: double)
  Backtrace:
      ▆
   1. └─base::Ops.numeric_version(...) at test_data_result_summary_and_plotting.R:69:3
   2.   └─base::as.numeric_version(e2)
   3.     └─base::numeric_version(x)
   4.       └─base::.make_numeric_version(x, strict, .standard_regexps()$valid_numeric_version)
  
  [ FAIL 2 | WARN 25 | SKIP 0 | PASS 27 ]
  Error: Test failures
  Execution halted