This code accompanies the paper "Competing risks joint models using R-INLA" by Van Niekerk, Bakka and Rue.