Skip to content

Commit 00e0fe9

Browse files
committed
fixed wrong parameter
1 parent d19b206 commit 00e0fe9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

R/visualization_functions.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -661,7 +661,7 @@ download_kegg_png <- function(pw_url, f_path, quiet = TRUE) {
661661
res <- tryCatch({
662662
cond <- utils::download.file(url = pw_url,
663663
destfile = f_path,
664-
method = "wb",
664+
mode = "wb",
665665
quiet = quiet)
666666
cond
667667
}, error = function(e) {

0 commit comments

Comments
 (0)