I am getting this error as well. I think I have improperly (or not at all) attempted to set my POSIXlt and POSIXct which may be a source of many of my errors regarding other code (???). Anyway, I am having this exact error when trying to run detectionHistory and would love any feedback you may have.
'data.frame': 2061 obs. of 30 variables:
$ Camera_name : Factor w/ 45 levels "C18","C19","C19_&_C27",..: 1 1 1 1 1 1 1 1 1 1 ...
$ X.x : int 2015 1679 1680 1677 1887 2085 2002 1757 1681 2016 ...
$ Species : Factor w/ 32 levels "Chicken/roster",..: 14 14 14 14 23 14 23 27 14 14 ...
$ DateTimeOriginal : Factor w/ 1927 levels "1/10/17 19:57",..: 1901 1830 91 1901 93 1804 62 237 331 1830 ...
$ Date : Factor w/ 346 levels "1/10/17","1/11/18",..: 341 324 33 341 34 320 28 59 81 324 ...
$ Time : Factor w/ 2004 levels "0:01:27","0:02:08",..: 1577 1405 1282 1576 18 1403 1046 1140 1203 1406 ...
$ delta.time.secs : int 0 259267 2584370 83126 0 0 0 0 1811499 1189649 ...
$ delta.time.mins : int 0 4321 43073 1385 0 0 0 0 30192 19827 ...
$ delta.time.hours : num 0 72 717.9 23.1 0 ...
$ delta.time.days : num 0 3 29.9 1 0 0 0 0 21 13.8 ...
$ Directory : Factor w/ 65 levels "/Volumes/Untitled/Photos_original//2017-photos/C21",..: 40 40 40 40 40 40 40 40 40 40 ...
$ FileName : Factor w/ 1303 levels "01030049.JPG",..: 431 469 494 429 498 434 485 520 510 470 ...
$ metadata_Number : Factor w/ 10 levels ">5","1","1_&_2",..: 2 2 2 2 2 2 2 2 2 2 ...
$ metadata_Group : Factor w/ 12 levels "Bird","Bird_&_Mammal-IUCN EN or NT",..: 6 6 6 6 12 6 12 9 6 6 ...
$ metadata_Species : Factor w/ 38 levels "Chicken/roster",..: 16 16 16 16 26 16 26 31 16 16 ...
$ metadata_Sex : Factor w/ 4 levels "Female","Female_&_Male",..: NA NA NA NA NA NA NA NA NA NA ...
$ metadata_Age_class : Factor w/ 1 level "Juvenile": NA NA NA NA NA NA NA NA NA NA ...
$ metadata_Activity : Factor w/ 2 levels "Collecting","Hiking": NA NA NA NA NA NA NA NA NA NA ...
$ metadata_Note : Factor w/ 7 levels "Blur","Blur_&_Eye reflection",..: NA NA NA NA 2 NA 4 3 NA NA ...
$ HierarchicalSubject.1: Factor w/ 2 levels "2017-photos",..: 2 2 2 2 2 2 2 2 2 2 ...
$ HierarchicalSubject : Factor w/ 750 levels "Activity|Collecting, Group|Human, Number|1, Sex|Male, Site ID|C70, SiteID|C70, Species|Other People",..: 613 331 331 331 557 740 598 427 331 613 ...
DateTimeOrginal (bolded) looks to me as it is in "%m/%d/%y %H:%M" format so my code for detection history is:
but I get the error "Error in as.POSIXlt.character(x, tz, ...) : character string is not in a standard unambiguous format"
Also, I noticed that my recordTable was in "%Y-%m-%d %H:%M:%S" format as a matrix, but when I converted it to a data.frame, the DateTimeOriginal column changed to "%m/%d/%y %H:%M". Is this a concern? I don't particularly need the seconds info.