In A New Hope, after Han and Luke fight off the TIE Fighters while escaping from the Death Star, these exchanges happen:
INT. DEATH STAR - CONTROL ROOM Darth Vader strides into the control room, where Tarkin is watching the huge view screen. A sea of stars is before him. TARKIN Are they away? VADER They have just made the jump into hyperspace. TARKIN You're sure the homing beacon is secure aboard their ship? I'm taking an awful risk, Vader. This had better work. INT. MILLENNIUM FALCON - COCKPIT Han, removes his gloves and smiling, is at the controls of the ship. Chewie moves into the aft section to check the damage. Leia is seated near Han. HAN Not a bad bit of rescuing, huh? You know, sometimes I even amaze myself. LEIA That doesn't sound too hard. Besides, they let us go. It's the only explanation for the ease of our escape. HAN Easy... you call that easy? LEIA They're tracking us! HAN Not this ship, sister. Frustrated, Leia shakes her head. LEIA At least the information in Artoo is still intact. HAN What's so important? What's he carrying? LEIA The technical readouts of that battle station. I only hope that when the data is analyzed, a weakness can be found. It's not over yet!
Leia doesn't even know if there is a weakness, let alone whether they'll find one. If she (correctly) realizes that they're being tracked, why doesn't she suggest that the Millennium Falcon go somewhere besides Yavin 4 instead of just frustratedly shaking her head? I know the plans apparently have to be delivered in person, but it seems unlikely that continuing to fly to the secret Rebel base in the ship she's certain is being tracked is the only option. They are already in hyperspace when this conversation happens, but they apparently have time to talk for a little while after, so presumably they'd have time to stop and reroute.