Get QC Passed Environment Variable
getQCpassedEnvironmentVariable.RdThis function retrieves the value of the environment variable `QCpassed`. It attempts to convert the value to a logical type. If the environment variable is not set, is empty, or is non-logical, a warning is issued and the function defaults the value to `FALSE`.
See also
Other project initialization:
ProjectConfigurationRF,
createProjectConfiguration(),
initProject(),
setWorkflowOptions()
Examples
if (FALSE) { # \dontrun{
# Set the environment variable for testing
Sys.setenv(QCpassed = "TRUE")
getQCpassedEnvironmentVariable() # Should return TRUE
# Unset the environment variable for testing
Sys.unsetenv("QCpassed")
getQCpassedEnvironmentVariable() # Should return FALSE and issue a warning
} # }