Error in:
RomProperty$new(ds, config = list(pid = 5006812), TRUE)
Error in raw_data$tabledata[[1]] : subscript out of bounds
The issue is in the self$load_data(config, load_remote) ultimately stemming from self$from_list(). The issue is below since tabledata technically is returned from the JSON, but it is an empty named list() which can't be indexed by index 1
raw_data = jsonlite::fromJSON(config$data_matrix)
if ("tabledata" %in% names(raw_data)) {
data_header <- raw_data$tabledata[[1]]