Skip to content

Conversation

@salim-b
Copy link
Contributor

@salim-b salim-b commented Oct 4, 2023

Also makes quarto_render() arg checks more robust (for the case where a NULL value is explicitly supplied).

Note that profile isn't checked for validity/existence, but forwarded 1:1 to quarto inspect --profile. This means that if a profile is specified that doesn't exist, Quarto silently falls back to the default profile.

Fixes #95.

@salim-b salim-b changed the title Add param profile to quarto_inspect() Add param profile to quarto_inspect() and quarto_render() Oct 4, 2023
Copy link
Collaborator

@cderv cderv left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks. I'll do some tweaks and merge

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think I will handle the arg check improvement separately. I want to add test as is before. Thanks

Copy link
Collaborator

@cderv cderv left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks. I'll do some tweaks and merge

@cderv cderv merged commit 2fd494e into quarto-dev:main Oct 13, 2023
@salim-b salim-b deleted the config branch October 13, 2023 13:58
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

Successfully merging this pull request may close these issues.

Define profiles with an argument?

2 participants