R/globals.R

#' Global Variables Declaration
#'
#' This file declares global variables used in the SIMPLICA package to avoid
#' R CMD check notes about "no visible binding for global variable".
#' These variables are typically used within ggplot2 aesthetics and data manipulation
#' functions where they refer to column names in data frames created during execution.
#'
#' @name globals
NULL

utils::globalVariables(c(
  "Column", "Row", "Value", "SC", "Label",        # Used in plot.simplica for ggplot2 aesthetics
  "Iteration", "Fitness", "Replicate", "Fraction", "MetricLabel", # Used in other plotting functions
  "ComponentID", "Col"
))

Try the SIMPLICA package in your browser

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

SIMPLICA documentation built on Sept. 11, 2025, 1:08 a.m.