We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5f20480 commit 1f9dc1dCopy full SHA for 1f9dc1d
R/java_download.R
@@ -45,7 +45,7 @@ java_download <- function(
45
md5sum_expected <- readLines(dest_file_md5, warn = FALSE)
46
47
if (md5sum != md5sum_expected) {
48
- cli::cli_alert_danger("MD5 checksum mismatch. Please try downloading the file again.", .envir = environment())
+ cli::cli_abort("MD5 checksum mismatch. Please try downloading the file again.", .envir = environment())
49
unlink(dest_file)
50
return(NULL)
51
} else {
0 commit comments