Skip to content

Commit

Permalink
expand paths for safety since phantomjs and webshot do not handle it …
Browse files Browse the repository at this point in the history
…properly (#71)
  • Loading branch information
cjyetman authored Aug 19, 2024
1 parent b102e73 commit 8362b1f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions R/plot_aggregate_loanbooks.R
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ plot_aggregate_loanbooks <- function() {
pacta.multi.loanbook.plot::plot_sankey(
data_sankey_sector,
group_var = by_group,
save_png_to = output_path_aggregated,
save_png_to = path.expand(output_path_aggregated),
png_name = glue::glue("plot_{output_file_sankey_sector}.png"),
nodes_order_from_data = TRUE
)
Expand Down Expand Up @@ -159,7 +159,7 @@ plot_aggregate_loanbooks <- function() {
pacta.multi.loanbook.plot::plot_sankey(
data_sankey_company_sector,
group_var = by_group,
save_png_to = output_path_aggregated,
save_png_to = path.expand(output_path_aggregated),
png_name = glue::glue("plot_{output_file_sankey_company_sector}.png")
)
}
Expand Down

0 comments on commit 8362b1f

Please sign in to comment.