Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Handle missing plot_legend1 in data_transformation_plot else condition #161

Open
pdiakumis opened this issue Aug 20, 2024 · 0 comments
Open
Assignees

Comments

@pdiakumis
Copy link
Member

The data_transformation_plot chunk has an if-else condition that handles the filter param. The plot_legend1 variable is defined and used in the if part, but it's also used in the else part. This results in:

processing file: rnasum.Rmd
  |...                        |  11%                                            [data_transformation_plot]                 [goi_summary]                             
Quitting from lines 573-766 [data_transformation_plot] (rnasum.Rmd)
Error in `as.graphicsAnnot()`:
! object 'plot_legend1' not found
Backtrace:
 1. graphics::legend(...)
 2. grDevices::as.graphicsAnnot(legend)
                                                                                                                                     
Execution halted
@pdiakumis pdiakumis self-assigned this Aug 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant