Source code and documentation for SCORER2 R package