I just tried this for the first time and got the following error:
[MAME]> r = require "robotron"
error: ./Plugins/robotron.lua:8: attempt to index a nil value (local 'cpu')
I'm using 0.217 on macOS Catalina.
Edit: Oops, my error, messed ROM path up. It works now, it is really awesome stuff.