You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The documentation for lint_dir() claims that .qmd files are included in the default argument for 'pattern', but I have discovered that this is not the case. The default argument for patter is a rex()-generated regex that matches '.Rmd' and '.rmd', but neither '.qmd' nor '.Qmd'.
I would make a pull request but I find rex pretty confusing, and the default argument is already quite long.
Here is lint_dir() as documented. It's easy to see that there's no allowance made for qmd files:
The documentation for
lint_dir()
claims that .qmd files are included in the default argument for 'pattern', but I have discovered that this is not the case. The default argument for patter is arex()
-generated regex that matches '.Rmd' and '.rmd', but neither '.qmd' nor '.Qmd'.I would make a pull request but I find rex pretty confusing, and the default argument is already quite long.
Here is
lint_dir()
as documented. It's easy to see that there's no allowance made for qmd files:And here is a worked example using the same regex:
Created on 2023-09-12 with reprex v2.0.2
The text was updated successfully, but these errors were encountered: