install.URL(exe_URL, keep_install_file = FALSE, wait = TRUE,
download_dir = tempdir(), message = TRUE, installer_option = NULL,
download_fun = download.file, ...)
install.URL("adfadf") # shows the error produced when the URL is not valid.
Run the code above in your browser using DataLab