jniedballa / camtrapR

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

problem columns in camera table #10

Closed jniedballa closed 11 months ago

jniedballa commented 4 years ago

in parseDateObject, this line fails when inputCol is POSIXct

inputColumn.char <- as.character(inputColumn)

Error in as.POSIXlt.character(x, tz, ...) :
  character string is not in a standard unambiguous format

But when calling as.character outside parseDateObject() it works.

Fixed temporarily by calling as.character before calling parseDateObject, but it's still weird.

jniedballa commented 11 months ago

fixed by now