This is usually a sign that you have not defined or connected the SPI pins correctly.
These posts may help:
If you need more help, please tell us:
Which version of Arduino are you using?
Which version of the Espressif ESP32 board package are you using?
Which board do you have selected in the IDE?
Which ESP32-WROOM development board are you using? Please post a link to the board.
How have you connected the ESP32 to the ARTIC R2 board? Please list the connections and/or post a photo of the connections. Please include the power connection.
Have you changed the pin definitions in the code example? Please post your modified pin numbers.