Describe the bug
Tables doc (08_tables.qmd) is missing the header when created with create_template(). Issue is avoided when create_tables_doc() is run on its own.
Describe how to reproduce the bug
See above
Screenshots
No response
Which OS are you seeing the problem on?
Windows
Which version of asar are you seeing the problem on?
2.5.0
Additional Context
At first glance, this might be the solution:
Remove these lines in create_template() (starting at line 683):
tables_doc <- ""
utils::capture.output(cat(tables_doc),
file = fs::path(subdir, tables_doc_name),
append = FALSE
) |>
suppressMessages() |>
suppressWarnings()
Describe the bug
Tables doc (08_tables.qmd) is missing the header when created with
create_template(). Issue is avoided whencreate_tables_doc()is run on its own.Describe how to reproduce the bug
See above
Screenshots
No response
Which OS are you seeing the problem on?
Windows
Which version of asar are you seeing the problem on?
2.5.0
Additional Context
At first glance, this might be the solution:
Remove these lines in
create_template()(starting at line 683):