R/zzz.R

#This file contains the global variables.
#These variables are usually values that are created by functions and then referenced by other functions
#This leads R to think there might be an error when the R CMD checks are being performed.
#By adding these variables to the global functions this becomes clear there is no error
utils::globalVariables(
c(
  ".",
  ".data",
 "Adjacent",
 "AllData",
"Bus.1",
"Bus.2",
"Bus.Name",
"Bus.Order",
"Circuits",
"Column",
"DeadIsland",
"Degree",
"Demand",
"Demand2",
"Demand3",
"Edgename",
"Frequency",
"GenBal",
"GenPair",
"Generation",
"Generation2",
"Generation3",
"Line.Limit",
"Link",
"MinGen",
"Name",
"Names",
"NetGen1",
"NetGen2",
"Node1",
"Node2",
"NodeType",
"PGfract",
"RemovalType",
"RemovalType.x",
"RemovalType.y",
"RemovalTypeEdge",
"RoundRemoved.x",
"RoundRemoved.y",
"RoundRemovedEdge",
"Simulation",
"SimulationID",
"Transformers",
"V1",
"V2",
"alpha",
"alpha_temp",
"annotation_logticks",
"attack_round",
"blackout_size",
"calc",
"combn",
"component",
"from",
"gc_fract",
"generation",
"iter",
"keep",
"largest_component",
"mean_alpha",
"mean_degree",
"mean_degree_sqrd",
"mean_loading",
"median_alpha",
"median_loading",
"metric",
"n",
"name",
"name1",
"name2", "nodes",
"to",
"type",
"type1",
"type2",
"x",
"y")
)
JonnoB/PowerGridNetworking documentation built on Aug. 7, 2021, 3:04 a.m.