I am building a Shiny app using golem, and I need to use exiftool to rename photos. After using  usethis::use_package('exifr') in my 02_dev.R script, exifr::read_exif() works fine, but when the app hits my system call to use exiftool (system('exiftool ...')), it gives the error "Warning: Error in system: 'exiftool' not found." I have exiftool and strawberry PERL installed on my computer (strawberry is in the C: drive), and I tried copying exiftool into my inst/app/www/ folder, but I am still getting the same message.
Edit: here is the full command that triggers the error: system("exiftool -r -d %Y%m%d_%H%M%S \"-filename<SWWLF2021/${userlabel;s/ //g}/",vals$pcode,"_${userlabel;s/ //g}_${DateTimeOriginal}_${triggermode;s/(.)(.*\\s)(.)(.*)/$1$3/}${sequence;s/(\\d)(.*)/_$1/}.%e\" "
where userlabel, DateTimeOriginal, triggermode, and sequence are all part of the photo metadata.
Is there a call I should be using in my 02_dev.R, or in golem_add_external_resources() in my app_ui script?
