How to wire a ceiling fan with a red, black, white, ground in ceiling box?
Connect the remote receiver to the fan wiring: black to black, blue to blue, white to white. 

Connect the supply wires to the remote receiver: black to black, white to white. 

Connect the grounds together: green (supply) to green (fan), along with a pigtail to the junction box if it's metal. 

Cap off the red wire in the ceiling.

Remove the red wire from the switch and cap it off.

If you wanted the switch to control the fan or lights directly, connect the supply black to the black (fan) or blue (lights) from the fan, not the remote receiver. Cap off the corresponding wire from the remote receiver. Given that you only have 1 switch on the wall, though, it's probably best to control everything via the remote. Also keep in mind that if you connect the fan this way, you lose the ability to adjust the speed.