Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for message = NA in a different that Quarto would support (using YAML options) #2375

Closed
Tracked by #2239
cderv opened this issue Oct 17, 2024 · 2 comments
Closed
Tracked by #2239

Comments

@cderv
Copy link
Collaborator

cderv commented Oct 17, 2024

Since 1.42, if a user wants the logging in console, message = NA or warning = NA needs to be used.

Though Quarto is using YAML format for options

#| message: false

As NA is not something in YAML spec, writing it like this does not work

#| message: NA

It required to use !expr

#| message: !expr NA

which adds a layer of explanation.

It would be greate to have another way that can be used in YAML directly.

Or we could also recognized message = "NA" in Quarto context as a the same as message = NA

@yihui
Copy link
Owner

yihui commented Oct 17, 2024

Sure, we can support the character string "NA".

@yihui yihui closed this as completed in ec7715c Nov 4, 2024
@yihui
Copy link
Owner

yihui commented Nov 4, 2024

Done.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants