Skip to content

Commit

Permalink
case where new folder is needed
Browse files Browse the repository at this point in the history
  • Loading branch information
Melkiades committed Jul 10, 2024
1 parent c923bf0 commit 9728b81
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion package/tests/testthat/helper.R
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,10 @@ test_article <- function(article_path) {
withr::with_seed(
123,
suppressMessages(
ggplot2::ggsave(plot_file, data_snap[[i]], width = plot_dims[["width"]], height = plot_dims[["height"]])
ggplot2::ggsave(plot_file, data_snap[[i]],
width = plot_dims[["width"]], height = plot_dims[["height"]],
create.dir = TRUE
)
)
)

Expand Down

0 comments on commit 9728b81

Please sign in to comment.