R/zzz.R

Defines functions .onLoad

# nocov start
esqlabsEnv$colorPalette <- .getEsqlabsColors()

.onLoad <- function(libname, pkgname) {
  Sys.setenv("_R_CHECK_LENGTH_1_CONDITION_" = "true")

  # Change maximal caption width in figures coming from TLF
  tlf::setDefaultMaxCharacterWidth(75)
}

utils::globalVariables(c(
  "DataCombinedName", "IndividualId", "OutputPath", "OutputPathId",
  "PKMeanPercentChange", "PKParameter", "PKParameterValue", "PKPercentChange",
  "Parameter", "ParameterFactor", "ParameterPath", "ParameterValue",
  "QuantityPath", "SensitivityPKParameter", "Study Id", "Unit", "Value",
  "dataType", "name", "outputName", "paths", "plotGridName", "plotID",
  "scenario", "xOffsets", "xScaleFactors", "xValues", "yOffsets",
  "yScaleFactors", "yValues"
))
# nocov end
esqLABS/esqlabsR documentation built on April 17, 2025, 10:51 a.m.