I used camtrapR a few months ago and I had not any problem with exiftool. But now, I am using the package for other set of pictures and I get the following error:
Sounds like exiftool was not successfully installed? But I ran exiftool by typing "exiftool" in a terminal window and it worked!
> renaming_table <- imageRename(inDir = directory_original,
+ outDir = directory_images_renamed,
+ hasCameraFolders = F,
+ copyImages = T)
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LC_ALL = (unset),
LC_CTYPE = "en_MX.UTF-8",
LANG = "en_MX.UTF-8"
are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
File not found: NA
Warning: NA seems to contain no images; found 0 jpgs
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LC_ALL = (unset),
LC_CTYPE = "en_MX.UTF-8",
LANG = "en_MX.UTF-8"
are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
File not found:
Warning: seems to contain no images; found 0 jpgs
Error in `[.data.frame`(copy.info.table, , stationCol) :
undefined columns selected
In addition: Warning messages:
1: running command 'exiftool -q -f -t -r -Directory -FileName -EXIF:DateTimeOriginal -ext JPG "NA"' had status 1
2: running command 'exiftool -q -f -t -r -Directory -FileName -EXIF:DateTimeOriginal -ext JPG ""' had status 1