R package for RL-Glue