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

Ignore self-import directives #1488

Merged
merged 2 commits into from
Nov 6, 2023
Merged

Conversation

lionel-
Copy link
Member

@lionel- lionel- commented Jun 12, 2023

If I'm not missing anything that's all that is needed to provide a solution for r-lib/usethis#1853. With this PR, an #' @import(foo) directive is ignored when documenting the package foo. This makes it possible for standalone files to define their self dependencies.

@lionel-
Copy link
Member Author

lionel- commented Jun 12, 2023

The snapshot failures also happen with main.

R/roxygenize-setup.R Outdated Show resolved Hide resolved
R/roxygenize-setup.R Outdated Show resolved Hide resolved
@lionel- lionel- merged commit a6ab093 into r-lib:main Nov 6, 2023
12 checks passed
@lionel- lionel- deleted the discard-current-pkg branch November 6, 2023 15:31
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