Add_surface() not found

I installed and reinstalled plotly from CRAN, but for some reason the my code always returns “add_surface() function not found”.

The package loads, and I can see “add_trace” but no add_surface

upgrading to latest version of R (3.3.1) did the trick