HEX-1976 predict on PCA model fix for R