from `input` argument generally used in reactive context in Shiny, this function generates R code to reproduce current plot. This function could not used out of reactive expression in Shiny.
generate_code_to_plot_line(input, name_of_iamc_data_variable = "D")it is same as the argument of shiny::ui() this function accesses following attributes: - model - period - variable - scenario - region
name of IAMC data variable
R code