With glatos 0.6.3 or earlier, a column named "record_status", added to GLATOS detection exports (from GLATOS Data Portal) in August 2023, breaks read_glatos_detections() with error:
Error in data.table::fread(det_file, sep = ",", colClasses = col_classes, :
colClasses= is an unnamed vector of types, length 30, but there are 31 columns in the input. To specify types for a subset of columns, you can use a named vector, list format, or specify types using select= instead of colClasses=. Please see examples in ?fread.
With glatos 0.6.3 or earlier, a column named "record_status", added to GLATOS detection exports (from GLATOS Data Portal) in August 2023, breaks read_glatos_detections() with error: