Skip to content

Commit fcf4477

Browse files
committed
add check for tempdir
1 parent dd17c7e commit fcf4477

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

R/visualization.R

+1-1
Original file line numberDiff line numberDiff line change
@@ -371,7 +371,7 @@ color_kegg_pathway <- function(pw_id, change_vec, scale_vals = TRUE, node_cols =
371371

372372
############ Assign the input change values to any corresponding pathway gene nodes
373373
# create pathway graph object and collect all pathway genes
374-
ggkegg_temp_dir <- tempdir()
374+
ggkegg_temp_dir <- tempdir(check = TRUE)
375375

376376
g <- tryCatch({
377377
ggkegg::pathway(pid = pw_id, directory = ggkegg_temp_dir)

0 commit comments

Comments
 (0)