Skip to content

YAML arrays are rejected for cache-globals but accepted for cache-vars #14735

Description

@colinorourke

What would you like to do?

Report an issue on quarto.org

Description

For knitr documents, Quarto accepts YAML array for cache-vars:

cache-vars:
  - var_1
  - var_2

However, the corresponding YAML array syntax is not accepted for cache-globals:

cache-globals:
  - var_1
  - var_2

Both options represent lists of object names, so their YAML handling should be consistent.

Environment
OS: Windows
Quarto version: 1.9.38
Engine: knitr

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationDoc improvements & quarto-webneeds-reproIssues that are blocked until reporter provides an adequate reproduction

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions