Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

metricsgraphics_html returned an object of class list instead of a shiny.tag #54

Open
jvcasillas opened this issue Dec 6, 2022 · 0 comments

Comments

@jvcasillas
Copy link

When I run the following code from the documentation:

data.frame(year=seq(1790, 1970, 10), uspop=as.numeric(uspop)) %>%
  mjs_plot(x=year, y=uspop) %>%
  mjs_line()

I get the following message:

Warning message:
In widget_html(name = class(x)[1], package = attr(x, "package"), :
metricsgraphics_html returned an object of class list instead of a shiny.tag.

The plot is produced in RStudio, but does not show up in an Rmd file when it is rendered.
In ideas as to how to get this working again in an Rmd file?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant