## Not run:
#
# # copy sample images to another location (so we don't mess around in the package directory)
# wd_images_ID <- system.file("pictures/sample_images", package = "camtrapR")
# file.copy(from = wd_images_ID, to = tempdir(), recursive = TRUE)
# wd_images_ID_copy <- file.path(tempdir(), "sample_images")
#
# data(timeShiftTable)
#
#
# timeshift_run <- timeShiftImages(inDir = wd_images_ID_copy,
# timeShiftTable = timeShiftTable,
# stationCol = "Station",
# hasCameraFolders = FALSE,
# timeShiftColumn = "timeshift",
# timeShiftSignColumn = "sign",
# undo = FALSE
# )
#
#
# timeshift_undo <- timeShiftImages(inDir = wd_images_ID_copy,
# timeShiftTable = timeShiftTable,
# stationCol = "Station",
# hasCameraFolders = FALSE,
# timeShiftColumn = "timeshift",
# timeShiftSignColumn = "sign",
# undo = TRUE
# )
# ## End(Not run)
Run the code above in your browser using DataLab