Skip to content

Commit

Permalink
fix for globals in ggheatmap
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexChristensen committed Feb 9, 2024
1 parent 1c5d525 commit 675e5e2
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions R/helpers.R
Original file line number Diff line number Diff line change
Expand Up @@ -2550,6 +2550,7 @@ compare_plots <- function(comparison_network, comparison_wc, plot_ARGS)
}

#' @noRd
# Heatmap ----
# Creates a basic heatmap of a symmetric matrix
# Updated 07.02.2024
ggheatmap <- function(matrix_input, type = c("full", "lower", "upper"), ...)
Expand Down Expand Up @@ -2603,6 +2604,11 @@ ggheatmap <- function(matrix_input, type = c("full", "lower", "upper"), ...)

}

#' @noRd
# Global variables needed for CRAN checks ----
# Updated 09.02.2024
utils::globalVariables(c("Rows", "Columns", "Values"))

#%%%%%%%%%%%%%%%%%%%%%
# ERROR FUNCTIONS ----
#%%%%%%%%%%%%%%%%%%%%%
Expand Down

0 comments on commit 675e5e2

Please sign in to comment.