Running ‘testthat.R’ [7s/8s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(ggmap)
  Loading required package: ggplot2
  ℹ Google's Terms of Service: <https://mapsplatform.google.com>
    Stadia Maps' Terms of Service: <https://stadiamaps.com/terms-of-service/>
    OpenStreetMap's Tile Usage Policy: <https://operations.osmfoundation.org/policies/tiles/>
  ℹ Please cite ggmap if you use it! Use `citation("ggmap")` for details.
  > library(FLightR)
  This is FLightR 0.5.5
   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 set[ FAIL 11 | WARN 0 | SKIP 0 | PASS 8 ]
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test_data_import.R:75:4'): get.tags.data works ──────────────────────
  Error in `!lig.raw$excluded`: invalid argument type
  Backtrace:
      ▆
   1. └─FLightR::get.tags.data(File) at test_data_import.R:75:4
   2.   └─FLightR:::read.tags.light.twilight(...)
   3.     ├─...[]
   4.     └─base::`[.data.frame`(...)
  ── Error ('test_data_processing.R:3:4'): plot_slopes_by_location works ─────────
  Error in `!lig.raw$excluded`: invalid argument type
  Backtrace:
      ▆
   1. └─FLightR::get.tags.data(File) at test_data_processing.R:3:4
   2.   └─FLightR:::read.tags.light.twilight(...)
   3.     ├─...[]
   4.     └─base::`[.data.frame`(...)
  ── Error ('test_data_processing.R:12:4'): get.tags.data works ──────────────────
  Error in `!lig.raw$excluded`: invalid argument type
  Backtrace:
      ▆
   1. └─FLightR::get.tags.data(File) at test_data_processing.R:12:4
   2.   └─FLightR:::read.tags.light.twilight(...)
   3.     ├─...[]
   4.     └─base::`[.data.frame`(...)
  ── Error ('test_data_processing.R:30:4'): find.stationary.location works ───────
  Error in `!lig.raw$excluded`: invalid argument type
  Backtrace:
      ▆
   1. └─FLightR::get.tags.data(File) at test_data_processing.R:30:4
   2.   └─FLightR:::read.tags.light.twilight(...)
   3.     ├─...[]
   4.     └─base::`[.data.frame`(...)
  ── Error ('test_data_processing.R:47:4'): parallel setup works works ───────────
  Error in `!lig.raw$excluded`: invalid argument type
  Backtrace:
      ▆
   1. └─FLightR::get.tags.data(...) at test_data_processing.R:47:4
   2.   └─FLightR:::read.tags.light.twilight(...)
   3.     ├─...[]
   4.     └─base::`[.data.frame`(...)
  ── Error ('test_data_processing.R:64:4'): run.particle.filter works without outlier detection ──
  Error in `!lig.raw$excluded`: invalid argument type
  Backtrace:
      ▆
   1. └─FLightR::get.tags.data(...) at test_data_processing.R:64:4
   2.   └─FLightR:::read.tags.light.twilight(...)
   3.     ├─...[]
   4.     └─base::`[.data.frame`(...)
  ── Error ('test_data_processing.R:82:4'): run.particle.filter works with outlier detection ──
  Error in `!lig.raw$excluded`: invalid argument type
  Backtrace:
      ▆
   1. └─FLightR::get.tags.data(...) at test_data_processing.R:82:4
   2.   └─FLightR:::read.tags.light.twilight(...)
   3.     ├─...[]
   4.     └─base::`[.data.frame`(...)
  ── Error ('test_data_result_summary_and_plotting.R:5:4'): plot_lon_lat_works ───
  Error in `!lig.raw$excluded`: invalid argument type
  Backtrace:
      ▆
   1. └─FLightR::get.tags.data(...) at test_data_result_summary_and_plotting.R:5:4
   2.   └─FLightR:::read.tags.light.twilight(...)
   3.     ├─...[]
   4.     └─base::`[.data.frame`(...)
  ── Error ('test_data_result_summary_and_plotting.R:24:4'): map_flightr_ggmap_works ──
  Error in `!lig.raw$excluded`: invalid argument type
  Backtrace:
      ▆
   1. └─FLightR::get.tags.data(...) at test_data_result_summary_and_plotting.R:24:4
   2.   └─FLightR:::read.tags.light.twilight(...)
   3.     ├─...[]
   4.     └─base::`[.data.frame`(...)
  ── Error ('test_data_result_summary_and_plotting.R:57:4'): plot_util_distr_works ──
  Error in `!lig.raw$excluded`: invalid argument type
  Backtrace:
      ▆
   1. └─FLightR::get.tags.data(...) at test_data_result_summary_and_plotting.R:57:4
   2.   └─FLightR:::read.tags.light.twilight(...)
   3.     ├─...[]
   4.     └─base::`[.data.frame`(...)
  ── Error ('test_data_result_summary_and_plotting.R:87:5'): summary produces null foor stationary tag ──
  Error in `!lig.raw$excluded`: invalid argument type
  Backtrace:
      ▆
   1. └─FLightR::get.tags.data(...) at test_data_result_summary_and_plotting.R:87:5
   2.   └─FLightR:::read.tags.light.twilight(...)
   3.     ├─...[]
   4.     └─base::`[.data.frame`(...)
  
  [ FAIL 11 | WARN 0 | SKIP 0 | PASS 8 ]
  Error: Test failures
  Execution halted