How to get 3d plots and countour diagram

Previously I used to get the 3d plots and countour diagram too, but with the same code I am getting the same plot and contour diagram for every trials... How to get rid of this error?

Error in surJoeBiCopula(param = c(1, 1)) : 
  This functionality  is deprecated in 'VineCopula'. Use the package 'VC2copula' instead.

I have used "scatterplot3d" and "ggplot2" libraries for the same

Error in surJoeBiCopula(param = c(1, 1)) :
This functionality is deprecated in 'VineCopula'. Use the package 'VC2copula' instead.

This is the problem you have and the suggested solution is : Use the package 'VC2copula' instead.