I made a docker container based on rocker/r-base:4.0.3 that runs an R library that is dependent on a Python module. Under the hood this library uses retic
rocker/r-base:4.0.3
retic