This code seems to be incomplete as it is using the template directly without substitutions.
|
else if (length(private$template_index) == 1) { |
|
private$.index <- private$template_index |
|
} |
Relatedly, index_string function also does not seem to be working because glue complains about missing title variable.
|
if (!is.null(private$custom_index)) { |
|
string_index <- glue::glue(private$custom_index, .open = "{%", .close = "%}") |
|
|
|
private$.index <- string_index |
|
} |