Skip to content

Commit 4b4f774

Browse files
committed
Fix thumbnail path
1 parent f1907dd commit 4b4f774

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/testthat.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ save_outputs <- function(gg, name) {
8282
try(print(gg))
8383
dev.off()
8484
# now convert png to a smaller size
85-
args <- c(filename, "-density", "72x72", "-write",
85+
args <- c(gg_file, "-density", "72x72", "-write",
8686
file.path(gg_thumb_dir, paste0(name, ".png")), "+delete")
8787
system2("convert", args)
8888
}

0 commit comments

Comments
 (0)