My shiny application was working fine when I read data in globally as .csv files with no issue, however, I wanted to speed up the start up of the application by using the data as .rds files instead. I've seen a couple of blog posts about speed benchmarks between read.csv and read_rds, so this seemed the way to go. However, after switching to initializing with these .rds data structures, I get this new error message:
Input to asJSON(keep_vec_names=TRUE) is a named vector. In a future version of jsonlite, this option will not be supported, and named vectors will be translated into arrays instead of objects. If you want JSON object output, please use a named list instead. See ?toJSON.
I have no idea what could be causing this. Does anyone have insight into this? Or is there a way that I can set options to narrow down what function is throwing this error?
Thanks for any guidance!