Running examples in 'track2KBA-Ex.R' failed
The error most likely occurred in:

> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: indEffectTest
> ### Title: Test site fidelity
> ### Aliases: indEffectTest
> 
> ### ** Examples
> 
> tracks_raw <- track2KBA::boobies
> ## format data
> tracks_formatted <- formatFields(
+   dataGroup = tracks_raw,
+   fieldID   = "track_id",
+   fieldLat  ="latitude",
+   fieldLon  ="longitude",
+   fieldDate ="date_gmt",
+   fieldTime ="time_gmt"
+ )
No format supplied for Date and Time fields, a default format ('ymd_HMS')
      attempted when combining the fields. If error produced, see help page
      ('?lubridate::parse_date_time') for information on date formats.
> ## Don't show: 
> library(dplyr)

Attaching package: 'dplyr'

The following objects are masked from 'package:stats':

    filter, lag

The following objects are masked from 'package:base':

    intersect, setdiff, setequal, union

>   tracks_formatted <- subset(
+   tracks_formatted, ID %in% c("69324", "69302")
+   ) %>% 
+     dplyr::filter(dplyr::row_number() %% 20 == 1)
> ## End(Don't show)
> colony <- data.frame(
+   Longitude = tracks_formatted$Longitude[1], 
+   Latitude = tracks_formatted$Latitude[1]
+ )
> ## Split into trips
> Trips <- tripSplit(tracks_formatted,
+                    colony=colony,
+                    innerBuff=2,
+                    returnBuff=20,
+                    duration=1,
+                    nests = FALSE,
+                    rmNonTrip = TRUE
+ )
track 693023 does not return to the colony
Warning in proj4string(obj) :
  CRS object has comment, which is lost in output; in tests, see
https://cran.r-project.org/web/packages/sp/vignettes/CRS_warnings.html
> ## project dataset
> tracks_prj <- projectTracks(
+   Trips,
+   projType = "azim",
+   custom = "TRUE"
+ )
NOTE: projection is data specific
> ## estimate fidelity of individuals across trips
> result <- indEffectTest(
+   tracks_prj, 
+   tripID = "tripID", 
+   groupVar = "ID", 
+   scale = 30
+ )
Error: Package "Matching" needed for  function to work. Please install.
Execution halted