Example sketch IRremote ReceiveDump not working

Unfortunately I'm not able to upload that code to the uno r4 (probably it is written for the ATmega328P controlled boards).