As reported to the FAA. Reports are unverified, and codes are left as the FAA publishes them.
What was found
PILOT NOTED THAT THE GEAR WOULD NOT RETRACT AFTER TAKEOFF. IT MADE A REPETATIVE CLUNKING SOUND AND THE RED GEAR INDICATION LIGHT FLASHED ON AND OFF. CYCLED THE GEAR BACK DOWN NORMALLY AND LANDED. THE RT MLG UPLOCK SWITCH WAS REPLACED. PERFORMED GEAR EXTENSION AND RETRACTION AND CHECKED OK.