depends on the bike.
something like a trance or a lapierre, doesnt even warrent an RP2, just a base R would do fine.
on something dumb/simple 😉 like an orange 5, i think i might want a RP23 (perhaps)
that or an RP2 tuned to the bike, rather than a stock off the shelf one (RP2s that come on bikes are tuned for the frame, for the manafacurers)
not a fan of the SLX brakes, i think i would go for older XT (the calipers look much cleaner), but then the cranks will be hardly different.
is an SLX cassette on an alloy carrier?
In short, i think it depends on specifics.
i wouldnt buy a groupset as a whole, i would (and have) choose parts specifically.