4x4 Keypad Activating Relay

I am trying to get each button on a 4x4 keypad to send a digital out to some relays. Can someone take a look at my code? It uploads fine but nothing happens once uploaded.

#include <Keypad.h>
const byte rows = 4;
const byte cols = 4;
char keys[rows][cols] = {
{‘1’,‘2’,‘3’,‘A’},
{‘4’,‘5’,‘6’,‘B’},
{‘7’,‘8’,‘9’,‘C’},
{’*’,‘0’,’#’,‘D’}
};
byte rowPins[rows] = {37, 35, 33, 31};
byte colPins[cols] = {36, 34, 32, 30};
Keypad keypad = Keypad( makeKeymap(keys), rowPins, colPins, rows, cols );

int R1 = 53;
int R2 = 51;
int R3 = 49;
int R4 = 47;
int R5 = 45;
int R6 = 43;
int R7 = 41;
int R8 = 39;

void setup() {
pinMode(R1, OUTPUT);
pinMode(R2, OUTPUT);
pinMode(R3, OUTPUT);
pinMode(R4, OUTPUT);
pinMode(R5, OUTPUT);
pinMode(R6, OUTPUT);
pinMode(R7, OUTPUT);
pinMode(R8, OUTPUT);
digitalWrite(R1, HIGH);
digitalWrite(R2, HIGH);
digitalWrite(R3, HIGH);
digitalWrite(R4, HIGH);
digitalWrite(R5, HIGH);
digitalWrite(R6, HIGH);
digitalWrite(R7, HIGH);
digitalWrite(R8, HIGH);
}

void loop() {
char key = keypad.getKey();

if (int(key) == 1){
digitalWrite(R1, LOW);
delay(1000);
digitalWrite(R1, HIGH);
delay(1000);
}
}

How you wanted to activate relay.can you say which key pressed to activate relay.

How often relay going to activate??

Which board your using ???
Here below represent the pin no

byte rowPins[rows] = {37, 35, 33, 31};
byte colPins[cols] = {36, 34, 32, 30};
 if (int(key) == '1'){

Let's play spot-the-difference

AWOL:

 if (int(key) == '1'){

Let's play spot-the-difference

Let's also ask why you (OP) are casting the char to an int. That is useless.

AWOL:

 if (int(key) == '1'){

Let's play spot-the-difference

Thanks so much! I figured it out! It was just the '1'