A few test blocks to check ob-reticulate works library(reticulate) use_python(Sys.which("python")) import pandas as pd df = pd.DataFrame({"X":[1,2,3], "Y":["a","b","c"]}) df XY 1a 2b 3c summary(py$df) Convert this file into proper unit tests