Black Lives Matter. Please consider donating to Black Girls Code today.
Learn how to use COVID-19 data in open source Dash apps. Register for the Sept 23rd webinar with IQT!

Plotly error object ... not found

I try to run the sample line from "https://plot.ly/r/user-guide/"
library(plotly)
p <- plot_ly(economics, x = date, y = unemploy / pop)
Error in plot_ly(economics, x = date, y = unemploy/pop) :
object ‘unemploy’ not found

The package version 4.5.2

Hi there,
The R package version 4 included many updates. The link you attached has been updated, as well as our R getting started page.
Additionally you can see this blog post for more information on the new package.

Thanks for the references