dygraphs icon indicating copy to clipboard operation
dygraphs copied to clipboard

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.

Open ckatsulis opened this issue 6 years ago • 1 comments

Has the following issue been address for certain settings within dyOptions? Getting this error from jsonlite

dygraph(data) %>% dyOptions(sigFigs = 4)

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.

ckatsulis avatar Dec 21 '18 18:12 ckatsulis

Could you please provide a Minimal Working Example (https://www.r-bloggers.com/writing-a-minimal-working-example-mwe-in-r/)?

przmv avatar Jan 11 '19 19:01 przmv