Skip to content

When evaluating a chunk in an RMD file, the params in the yaml metadata header should be evaluated first #1673

@tomtom

Description

@tomtom

Is your feature request related to a problem? Please describe.

In RMD files, the yaml metadata header is ignored when evaluating chunks.

Describe the solution you'd like

The above problem can be circumvented by evaluating params <- rmarkdown::yaml_front_matter(\"$$\")$params (e.g., from a custom key mapping) beforehand. This is cumbersome though. It would be better, if the R extension would always do this before evaluating code chunks in an Rmd document.

Describe alternatives you've considered

Users can define a key map but this solution is cumbersome.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions