dygraphs icon indicating copy to clipboard operation
dygraphs copied to clipboard

Error from JSONlite when using dygraphs

Open ckatsulis opened this issue 6 years ago • 1 comments

I receive this error when using certain features with dygraphs in R

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.

Typically the base call of dygraphs works fine, however when I use the "pipe" %>% with %>% dyOptions(drawPoints = T, strokeWidth = 0)

ckatsulis avatar Aug 23 '18 13:08 ckatsulis

Hello @ckatsulis! Thanks for your report!

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

przmv avatar Aug 24 '18 19:08 przmv