# Import all packages listed as Imports or Depends
import(
  foreach)
importFrom(plotKML,kml)
importFrom(sp,SpatialPoints)
importFrom(sp,proj4string)
importFrom(spacetime,STIDF)
importFrom(stats,aggregate)
importFrom(stats,sd)
importFrom(utils,read.csv)
importFrom(stats,na.omit)
importFrom(parallel,makeCluster)
importFrom(doParallel,registerDoParallel)
importFrom(doParallel,stopImplicitCluster)
importFrom(parallel,stopCluster)
importFrom(sp,coordinates)
importFrom(sp,CRS)
importFrom(sp,spDists)
importFrom(sp,SpatialLinesLengths)
importFrom(gdistance,shortestPath)
importFrom(raster,crs)
importFrom(plyr,ddply)
importFrom(plyr,dlply)
importFrom(plyr,summarize)
importFrom(lubridate,ymd_hms)

# Export all external functions
export(
  COA,
  ComputeAzimuth,
  ComputeDistance,
  ExtractData,
  ExtractRecSummary,
  ExtractStationSummary,
  ExtractTagSummary,
  ExtractUniqueValues,
  GenerateAnimationKMLFile,
  GenerateAnimationKMLFile_Multitag,
  GenerateAnimationKMLFile_Track,
  GenerateCircuitousDistance,
  GenerateDirectDistance,
  GenerateLeastCostDistance,
  NonResidenceExtractId,
  ReadInputData,
  ReturnVR2Distance,
  RunResidenceExtraction,
  RunSensorEventExtraction,
  RunTimeProfile
)