Done it myself as a new F/O on ATR turboprop. Empty A/C, positioning flt.
The Capt. decided to demonstrate to me (and the observer on the j/s) the impressive climb performance of the ATR-42-500. He briefed that since we were very light, we could retract flaps below acceleration alt. Sounded like a good idea at the time...
During taxi I kept telling myself "don't retract flaps below min speed, don't retract flaps below min speed, don't retract...)
We took off, Capt. Commanded "Gear up!". I looked at the ASI, saw speed above the bug, guess which lever I moved...