Rook endings
Check from the long side
Check from the long side when you can stay far enough away to follow the king. Compare the next check and entrance squares before moving closer.
Worked example
Position in text
Black to move. White: pawn c7, king c6, rook c1. Black: king a8, rook h5.
FEN: k7/2P5/2K5/7r/8/8/8/2R5 b - - 0 1
Rh6+ checks from the h-file, with four files between the rook and the white king. The king cannot take the rook on this move. This is a safer checking square, not proof of a draw: Syzygy shows White can still win this position.
A plausible mistake
Rc5+? Kxc5 shows what can happen if the rook checks up the nearby c-file. The king can simply capture it. Distance, not the mere fact of giving check, keeps the rook in the game.
Try it yourself
Position in text
Black to move. White: rook b7, pawn c7, king d7. Black: king a5, rook h4.
FEN: 8/1RPK4/8/k7/7r/8/8/8 b - - 0 1
Black can check from h7 or d4. Which square keeps the defense alive? If White replies to the long-side check with Kd8, find the next check.
Check your answer
1. …Rh7+ 2. Kd8 Rh8+ keeps the rook far away and follows the king to the eighth rank. If 3. Kd7, 3. …Rh7+ is available again. Syzygy confirms a draw after the first check. 1. …Rd4+? 2. Kc8 lets White get next to the pawn from the other direction; for example, 2. …Rc4 3. Kb8 prepares c8=Q. The nearer check gives up the draw.