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

Add param profile to quarto_inspect() and quarto_render() #123

Merged
merged 11 commits into from
Oct 13, 2023

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