Skip to content

[Bug]: tables doc is missing header #539

Description

@sbreitbart-NOAA

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()

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingtriage_neededThis issue needs review

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions