When running with the current version of ggplot, I'm getting error messages like
Error in .subset2(x, i) : no such index at level 1
Calls: <Anonymous> ... eval -> eval -> heatmap_dims -> unique -> [[ -> [[.tbl_df
I believe this error is due to the fact that the column names aren't able to be accessed inside of the mapping attribute of the plot object. Here is the relevant code:
I am working on a fix, where I get the number of rows and columns from the data frame, rather than the plot. This will avoid introspection of ggplot objects and will hopefully be less sensitive to errors in the future.
When running with the current version of ggplot, I'm getting error messages like
I believe this error is due to the fact that the column names aren't able to be accessed inside of the mapping attribute of the plot object. Here is the relevant code:
https://github.com/sunbeam-labs/sbx_report/blob/843d9f0ab7ec7a5d78f10510c6779b4480926b72/final_report.Rmd#L157-L158
I am working on a fix, where I get the number of rows and columns from the data frame, rather than the plot. This will avoid introspection of ggplot objects and will hopefully be less sensitive to errors in the future.