Integrate r documentation. If the package cubature is not installed, th...