The ralmass R package