jniedballa / camtrapR

R package for camera trap data management
https://jniedballa.github.io/camtrapR/
31 stars 5 forks source link

imageRename, probably others: error with empty inDir #7

Closed jniedballa closed 4 years ago

jniedballa commented 4 years ago

Empty inDir (without subfolders) causes this error:

Error in rep("=", times = round(perc * progress_bar_width)) : 
  invalid 'times' argument
In addition: Warning message:
In system(command.tmp, intern = TRUE) :
  running command 'exiftool -q -f -t -r -Directory -FileName -EXIF:DateTimeOriginal -ext JPG "NA"' had status 1
jniedballa commented 4 years ago

solved with commit 2020-02-12