Check that mr is installed before using it