Move to R v3.1, update BuildPackage