Instantiate R lazily in order to remove dependency on DJANGO_SETTINGS_MODULE env variable when installing package