I compared the HR-V in detail back in 2016, but ended up purchasing a KIA Soul instead.
It made my comparison list again when considering the CX-30 but was soon dismissed and didn't even waste my time going to the dealership to look at the updated version or drive it. The HR-V does have an advantage in overall cargo space vs the CX-30 and more rear leg room, depends on your priorities.