From c444060cb1270dcd1414e693554f8933ebd6010a Mon Sep 17 00:00:00 2001 From: Edgar Manukyan Date: Mon, 9 Dec 2024 02:13:48 +0000 Subject: [PATCH] #107 todo --- R/generate_code.R | 3 +++ 1 file changed, 3 insertions(+) diff --git a/R/generate_code.R b/R/generate_code.R index 70adf21..442bccd 100644 --- a/R/generate_code.R +++ b/R/generate_code.R @@ -89,6 +89,9 @@ generate_code <- function(spec, domain, out_dir = ".") { one_topic <- identical(length(code_by_topics), 1L) + # TODO + # - refactor into function + # - dynamically select the templates based on domain styled_code <- if (one_topic) { code_by_topics |> unlist() |>