Former House Speaker Kevin McCarthy, R-Calif., will retire at the end of this year, leaving just weeks left in his time in office.