add custom sanity check for R in easyblock