Running singularity containers in a High Performance Computing (HPC) environment

Preface Working in an HPC environment, the “dependency hell” is the most bothersome nuisance. (Yep, I personally regard it “the most”, not “one of the most”.) For instance, in R, users often receive messages such as: "Error: package or namespace load failed for XXX:package YYY was installed before R 4.0.0: please re-install it" The solution could be relatively easy, you may upgrade to the latest version of R or trying re-installing the YYY package.