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

Use plain markdown language tag for gated code over eval=FALSE #1476

Merged
merged 2 commits into from
Nov 2, 2023

Conversation

MichaelChirico
Copy link
Contributor

This chunk throws a lint error for me (under object_usage_linter()) that I'd like to suppress.

It's suggested here to avoid eval=FALSE:

r-lib/lintr#581 (comment)

That's far from canon, but it does make sense to me.

If not, we'll need to revisit the {lintr} issue and come up with a better approach for handling eval=FALSE -- any advice in that direction would be helpful. I only saw knitr:::parse_params() which seems fragile.

Feedback welcome.

@hadley hadley merged commit 9a5bbcd into r-lib:main Nov 2, 2023
@MichaelChirico MichaelChirico deleted the patch-3 branch November 25, 2024 23:53
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.

2 participants