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

Make roxygen hook work with language: r #247

Merged
merged 36 commits into from
May 9, 2021
Merged

Make roxygen hook work with language: r #247

merged 36 commits into from
May 9, 2021

Conversation

lorenzwalthert
Copy link
Owner

@lorenzwalthert lorenzwalthert commented May 6, 2021

Closes #243. The solution proposed here involves displaying an informative error message if the package can't be loaded in the renv and offering snippet_generate() auxiliary function to generate the c/p text one can put into .pre-commit-config.yaml. A similar check is performed when there are roxygen roclets that require other packages which are not installed. Testing infra tools like local_test_setup has been further improved to also test the newly introduced functionality.

@lorenzwalthert lorenzwalthert merged commit d70f4c5 into master May 9, 2021
@lorenzwalthert lorenzwalthert deleted the issue-243 branch May 9, 2021 19:58
lorenzwalthert added a commit that referenced this pull request May 9, 2021
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.

roxygen hook does not work out of the box with language: r
1 participant