r defect