

def update_package(r_library_path=r_library_path):
    'Update ArcGIS R bindings on this machine.'
    validate_environment()
    if (r_pkg_version() is None):
        arcpy.AddWarning('Package is not installed. First use the "Install R bindings" script.')
    elif compare_release_versions():
        arcpy.AddMessage('New release detected! Installing.')
        install_package(overwrite=True, r_library_path=r_library_path)
    else:
        msg = ('The installed ArcGIS R package (version ' + '{}) is the current version on GitHub.'.format(r_pkg_version()))
        arcpy.AddMessage(r_library_path)

dataset/ETHPy150Open R-ArcGIS/r-bridge-install/rtools/update_package.py update_package/VarMisuse@86/202 `msg`->`r_library_path`