I am a huge Subaru fan, have had somewhere near a dozen of them and I would not recommend any Subaru with a CVT transmission. These are maintenance free transmissions that have one solution to any problem. Replacement to the tune of $8,000. We had our 13 Crosstrek transmission go just before the powertrain warranty expired. We're now wondering whether we should pay the $1600 for a 7 yr/100k mile Gold warranty from Subaru or chance it and dump it at 90k miles.
For the same reason, I would not buy the Honda. Their CVT is the weak point in the car.
So that leaves the Rav4 with what appears to be a "real" automatic, shifting transmission.
On other issues, the FA and FB engines used in Subarus except STi are completely new and have not had head gasket issues. They have, however been subject to a class action settlement for oil usage. Even this is small and for anyone who has owned a Porsche, the oil use is nothing by comparison. They test by doing an oil change and seeing if the level goes down 10 ounces in 1200 miles. If it does, you get a new engine. The engine warranty has been extended because of the lawsuit settlement to 100k miles. Along with the engine, the problematic Subaru steering pump is replaced with an electric assist which to me, feels exactly the same but is no longer self destructive when turned all the way to one side.
I would avoid Subaru for long-term reliability. I have been listening to people claim that their headgasket/engine issues are 'now fixed' for nearly 20 years. All that really means is this current generation doesn't have a critical mass of vehicles past 100k where the failures become common.
Subaru is consistently near the bottom in long-term powertrain reliability. http://dashboard-light.com/reports/Subaru.html
Wrong engine unless you're buying an STi with an EJ25. The current Subaru/Toyota engine is brand new, has a timing chain and I have not seen a single report of a head gasket issue in the FA or FB engines (2.0L Crosstrek and Impreza with a turbo in the WRX and 2.5L in the rest of the lineup H4 coengineered by Subaru and Toyota) since the Impreza started using it in 2012. There are tons of Subaru F engines well over 100k miles including the WRX which started using this engine in turbo direct injection form in 2015 and the BRZ/toyota FRS that started using the N/A direct injected version in 2013.