Code for the R/gMCP bundle.