Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # 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.

@lionel- lionel- force-pushed the discard-current-pkg branch from bcdd464 to aac8a0c Compare November 6, 2023 12:55
@lionel- lionel- force-pushed the discard-current-pkg branch from aac8a0c to 4f02838 Compare November 6, 2023 15:31
@lionel- lionel- merged commit a6ab093 into r-lib:main Nov 6, 2023
@lionel- lionel- deleted the discard-current-pkg branch November 6, 2023 15:31
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants