Skip to content

Commit 55ca5eb

Browse files
committed
fix(create_all_plots): assign result of filtering "srcref" to 'all_combinations' data frame
1 parent 502029d commit 55ca5eb

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

R/create_all_plots.R

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,8 @@ create_all_plots <- function(ecodata_name = NULL, write_only = F, n = 0) {
3636

3737
# Remove unused "srcref" attributes, which exist in some plot functions
3838
if ("srcref" %in% colnames(all_combinations)) {
39-
dplyr::select(all_combinations, !srcref)
39+
all_combinations <- all_combinations |>
40+
dplyr::select(!srcref)
4041
}
4142

4243
# For plot functions that include an "EPU" argument:

0 commit comments

Comments
 (0)