R/utils-globals.R

#' @title Global Variable Declarations
#' @description Declare global variables to avoid R CMD check NOTEs.
#' @name utils-globals
#' @keywords internal
NULL

# Declare global variables used in ggplot2 aes() calls and other NSE contexts
# This prevents "no visible binding for global variable" NOTEs
utils::globalVariables(c(
  "x", "y", "id", "group", "color", "fill", "label",
  "xmin", "xmax", "ymin", "ymax", "value", "total",
  "line_color", "flow_color", "lw"
))

Try the cograph package in your browser

Any scripts or data that you put into this service are public.

cograph documentation built on April 1, 2026, 1:07 a.m.