How to install plotly 4.0 in R?

There seems to be a new version of plotly (4.0) with additional functionalities, such as “add_lines”. See for example the example of this blog post:
I installed the latest version of plotly from the github repository (development version), however I get the error: “Error in function_list[i] : could not find function “add_lines””.

Thank you, Valérie

The best way to try this out before an official release will be using devtools.


Thank you for your help. I was away for a while and just tried now, but I receive an error :
“Error: parse error: trailing garbage 404: Not Found”